/* =========================================================
   style.css（整理版）
   目的: 見た目・挙動を一切変更せず、可読性のみ改善
   ポリシー:
   - セレクタ/宣言の順序は元のまま（カスケード保持）
   - インデント/空行/コメントで区切りを追加
   - 既存コメントは保持（不要変更なし）
   - メディアクエリも元の位置を維持
   ========================================================= */

/* =========================================================
   01. ベース（共通・タイポグラフィ）
   ========================================================= */
/* 共通スタイル */
* {
    font-family: Noto Sans JP, メイリオ, Meiryo, sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0 auto;
    padding: 0;
    line-height: 1.6;
    background: #fff;
    color: #333;
    height: 100%;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 1em auto;
    text-align: left;
}

.hero > .container {
    margin: 0 auto;
}

.container h2 {
    font-size: 24px;
    background-color: #01b2dc;
    color: #FFF;
    padding: 5px 15px;
}

.container h3 {
    font-size: 21px;
    border-bottom: solid 3px #01b2dc;
}

.container-text {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
}

.y-marker {
    font-weight: bold;
    background: linear-gradient(to top, #ffff66 50%, transparent 50%);
}

.bold, strong {
    font-weight: bold;
}

.small {
    font-size: 1.2rem;
}

.note {
    font-size: 12px;
    color: #777;
}

.warning:empty::before {
    content: "⚠️";
    color: red;
    font-size: 16px;
    margin-right: 5px;
}

.emphasis {
    color: #ff3366;
    font-size: 1em;
    font-weight: bold;
    background: linear-gradient(to top, #ffff66 20%, transparent 50%);
}

.pc-only {
    display: table-row;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .container h2 {
        font-size: 20px;
    }

    .container h3 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    .note {
        font-size: 10px;
    }

    .container {
        width: 96%;
        margin: 1em auto;
    }

    .emphasis {
        font-size: 5vw;
    }

    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }
}

/* =========================================================
   02. ヘッダー
   ========================================================= */
/* ヘッダー全体 */
.header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.logo, .tel-banner {
    display: flex;
    align-items: center;
}

.logo img, .tel-banner img {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    .header .container {
        padding: 0;
        height: 50px;
    }

    .logo img, .tel-banner img {
        height: 23px;
    }

    .logo .tel-banner {
        margin-top: 10px;
    }
}

/* =========================================================
   03. アンカーリンク（ナビゲーション）
   ========================================================= */
/* アンカーリンク（ナビゲーション） */
.anchor-links {
    text-align: center;
    background: #f8f8f8;
    padding: 10px 0;
}

.anchor-links ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.anchor-links li {
    display: inline-block;
}

.anchor-links a {
    text-decoration: none;
    color: #0086b3;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.anchor-links a:hover {
    background: #0086b3;
    color: #fff;
}

@media screen and (max-width:768px) {
    .anchor-links ul {
        gap: 0px;
    }

    .anchor-links li {
        font-size: 2.7vw;
    }
}

/* =========================================================
   04. ヒーロー（FV）
   ========================================================= */
/* Hero */
.hero {
    position: relative;
    margin-top: 80px;
    background: url(images/background.jpg) center/cover no-repeat;
    background-size: cover;
    height: auto;
    display: flex;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero .container {
    max-width: 960px;
    width: 90%;
    z-index: 999;
    position: relative;
    padding-bottom: 4rem;
}

.hero .fv {
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.hero .fv_img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    z-index: 100;
}

.hero .fv_img img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    align-self: flex-end;
}

.hero .fv_cta {
    width: 100%;
    padding: 0.5rem 0 0;
    align-items: center;
}

.hero .fv_cta_content {
    position: relative;
    width: 85%;
    /* background: #fff; */
    /* box-shadow: 0px 5px 5px #939393; */
    margin: 0 auto;
    margin-bottom: 0.4rem;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.hero .fv_cta_txt {
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
}

.hero .fv_cta_txt p {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff,
    -1px 1px 0 #fff, 1px -1px 0 #fff,
    0px 1px 0 #fff,  0 -1px 0 #fff,
    -1px 0 0 #fff, 1px 0 0 #fff;
    white-space: nowrap;
}

.hero .fv_cta_title {
    font-weight: bold;
    color: #000;
    line-height: 1.3;
    width: 70%;
    margin: 0 auto;
    background: #fff;
    display: block;
    padding: 1rem;
    border: 2px #01b2dc solid;
    border-radius: 5px;
}

.hero .fv_cta_title h1 {
    margin: 0;
}

.hero .fv_cta_title_top,
.hero .fv_cta_title_bottom {
    display: inline-block;
    background: linear-gradient(0deg, #076ad9 40%, #01b2dc 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .fv_cta_title_top p {
    font-size: 5rem;
}

.hero .fv_cta_title_bottom p {
    font-size: 3.3rem;
}

.hero .fv_cta_btn {
    margin-top: 15px;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
}

.hero .fv_cta_btn a {
    display: inline-block;
    text-decoration: none;
}

.hero .fv_cta_btn button {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero .fv_cta_btn button:hover {
    background: #ff6600;
}

.fv_cta_achievements {
    width: 65%;
    margin: 0 auto;
    position: relative;
}

.fv_cta_achievements img {
    z-index: 100;
    width: 100%;
}

.fv_sp {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        /* margin-bottom: 20px; */
        /* max-height: 500px; */
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .hero .container {
        width: 100%;
        max-width: 600px;
        text-align: center;
        position: relative;
        padding-bottom: 1rem;
    }

    .hero .fv_cta_title {
        font-size: 10px;
        width: 90%;
        margin: 1rem auto 0;
        padding: .5rem;
    }

    .fv, .fv_img, .fv_cta, .fv_cta_content, .fv_cta_achievements, .fv_cta_btn {
        display: none!important;
    }

    .fv_sp {
        display: block;
        width: 100%;
        text-align: center;
    }

    .fv_sp_img img {
        width: 96%;
        height: auto;
        margin: 1em auto 0;
    }

    /* .fv_sp_cta {
        margin-top: 1em;
    } */

    .fv_sp_cta_content {
        width: 90%;
        margin: 0 auto;
        background: #fff;
        border-radius: 10px;
        position: relative;
        padding: 10px 10px 20px 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* height: 250px; */
    }

    .fv_sp_cta_pop {
        font-weight: bold;
        color: #fff;
        position: absolute;
        top: -7%;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        border: 2px solid #fff;
        border-radius: 50px;
        background-color: #076ad9;
    }

    .fv_sp_cta_txt {
        text-align: left;
        font-weight: bold;
    }

    .fv_sp_cta_txt p {
        font-size: 3.5vw;
    }

    .fv_sp_cta_btn {
        margin-top: 15px;
    }

    .fv_sp_cta_btn button {
        background: #f44336;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3sease;
    }

    .fv_sp_cta_btn button:hover {
        background: #ff6600;
    }

    .fv_sp_cta_achievements {
        width: 100%;
        margin: 5px auto;
        position: relative;
    }

    .fv_sp_cta_achievements img {
        width: 80%;
    }
}

/* =========================================================
   05. セクション共通
   ========================================================= */
/* 各セクション */
.section {
    padding: 0;
    text-align: center;
}

section#about {
    padding-top: 5rem;
    padding-bottom: 1rem;
    background: #01b2dc;
}

#about .container h2 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
}

#flow .container h2,
#risk .container h2,
#feature .container h2 {
    margin-top: 4rem;
    text-align: center;
    font-size: 2rem;
    color: #01b2dc;
    background-color: #fff;
}

.flow_img {
    margin-bottom: 3rem;
}

.flow_txt {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.flow_txt_emphasis {
    font-size: 1.8rem;
}

.flow_txt_emphasis span {
    color: #2e328e;
}

.risk_img {
    width: 80%;
    margin: 0 auto;
}

.risk_img img{
    width: 100%;
}

/* 固定ヘッダー対策（スクロール時に見出しが隠れないようにする） */
.section {
    scroll-margin-top: 100px; /* ヘッダーの高さ＋余白分 */
}

.section .container img {
    width: 100%;
    display: block;
    margin: 1em auto;
}

.section .container .flow_img img {
    width: 60%;
}

/* =========================================================
   06. 比較テーブル（comparison）
   ========================================================= */
/* テーブル */
.comparison-container {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

th, td {
    border: 1px solid #ccc;
    padding: 15px;
}

th {
    background-color: white;
    color: #004c72;
}

.comparison-table thead tr th:first-child {
    width: 18%;
}

.comparison-table thead tr th:nth-child(2) {
    width: 56%;
}

.comparison-table thead tr th:nth-child(3) {
    width: 26%;
}

th.col-our-service {
    color: white;
    background-color: #0086b3;
    border-left: 3px solid #00647b;
    border-right: 3px solid #00647b;
    border-top: 3px solid #00647b;
}

td.col-our-service {
    border-left: 3px solid #00647b;
    border-right: 3px solid #00647b;
    background: #fffeee;
}

.our-service {
    color: #ff3366;
}

.comparison-table tbody tr td:first-child {
    background-color: white;
    color: #004c72;
}

.comparison-table tbody tr:last-child td.col-our-service {
    border-bottom: 3px solid #00647b;
}

.circle {
    color: #ff3366;
    font-size: 2em;
}

.cross {
    color: #004c72;
    font-size: 2em;
}

.td-label, .td-label-self, .td-label-ari {
    display: none;
}

@media (max-width: 768px) {
    .section {
        scroll-margin-top: 70px; /* ヘッダーの高さ＋余白分 */
    }

    .comparison-container {
        display: block;
        width: 100%;
    }

    .comparison-table {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .comparison-container thead {
        display: none;
    }

    .comparison-container tbody {
        display: block;
        width: 100%;
    }

    .comparison-container tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
        padding: 10px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .comparison-container td:first-child {
        font-weight: bold;
        font-size: 14px;
        background: #005b72!important;
        color: white!important;
        padding: 3px;
        text-align: center;
        border-radius: 5px 5px 0 0;
        margin-bottom: -1px;
    }

    .comparison-container .our-service {
        background: #fffeee;
        border: 1px solid #ccc;
        /* border-left: 5px solid #0086b3; */
        padding: 3px;
        flex: 1;
        font-weight: bold;
        font-size: 14px;
        position: relative;
        margin-bottom: -1px;
    }

    .comparison-container .self-service {
        background: #fff;
        /* border-left: 5px solid #a0a0a0; */
        padding: 10px;
        flex: 1;
        font-weight: bold;
        font-size: 12px;
        position: relative;
    }

    .td-label, .td-label-self {
        display: block;
        font-size: 12px;
        font-weight: bold;
        color: #fff;
        padding: 3px 8px;
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .td-label {
        background: #0086b3;
    }

    .self-service .td-label-self {
        background: #a0a0a0;
    }

    .comparison-container .our-service.highlight {
        background: #0086b3;
        color: white;
    }
    .self-service {
        border-radius: 0 0 5px 5px;
    }
    td.col-our-service {
        border-left: none;
        border-right: none;
    }
    .comparison-table tbody tr:last-child td.col-our-service {
        border-bottom: none;
    }

    #flow .container h2, #risk .container h2, #feature .container h2 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    section#about {
        padding-top: 1rem;
    }

    #about .container h2 {
        font-size: 1.5rem;
    }
}

/* =========================================================
   07. リスク・事例・理由・バリュー（各種レイアウト）
   ========================================================= */
.risk {
    margin-top: 50px;
    margin-bottom: 50px;
}

.risk-img{
    width: 50%;
    margin: 0 auto;
}

.risk-content {
    height: 100%;
}

.risk-content img {
    width: 65% !important;
}

.risk-content p {
    text-align: center;
    font-weight: bold;
}

.attention {
    border: 1px solid #01b2dc;
    color: #01b2dc;
    font-weight: bold;
    text-align: center;
    width: 360px;
    margin: 30px auto;
}

/* .red-boxes {
    display: inline-flex;
    gap: 5px;
} */

.red-box {
    background: red;
    padding: 10px;
    color: white;
    margin-right: 5px;
    box-shadow: 5px 5px #000;
}

.case-list {
    font-weight: bold;
    font-size: 1.2rem;
    width: 70%;
    margin: 1em auto;
}

.case-section {
    margin-bottom: 2em;
}

.case-list ol {
    padding: 10px 20px;
    background-color: #fff;
    border: 2px #ff7e0f solid;
    border-radius: 20px;
}

.case-list ul {
    padding: 0.5em 0.5em 0.5em 2em;
    border: 2px #ff7e0f solid;}

.case-list ol li{
    list-style: none;
    line-height: 1.1;
    padding: 0.5em 0;
}

.case-list ul li{
    line-height: 1.1;
    padding: 0.5em 0;
}

.case-content {
    display: flex;
    gap: 20px;
}

.case-content img {
    width: 50%!important;
    margin: 0 auto!important;
    max-height: 120px;
}

.case-content p {
    margin: 0 auto;
}

.reason-list ol {
    list-style-position: inside;
    padding-left: 0;
}

.reason-list li {
    background: rgb(255 251 229);
    padding-top: 10px;
    padding-left: 10px;
    width: 80%;
    margin: 0 auto;
}

.reason-list li::marker {
    font-size: 1.2em;
    font-weight: bold;
}

.reason-list li strong,
.reason-list li p {
    padding: 10px;
}

.reason-content {
    display: flex;
    gap: 1em;
}

.reason-img {
    width: 30%;
}

.reason-img img {
    width: auto!important;
    margin: 0 auto!important;
    height: 100%;
}

.reason-img1 {
    /* width: 100%; */
    display: flex;
    justify-content: center;
}

.reason-img1 img {
    /* width: 100% !important; */
    height: 90px !important;
    margin: 0!important;
}

.reason-img2 {
    /* width: 100%; */
    display: flex;
    justify-content: center;
}

.reason-img2 img {
    /* width: 100% !important; */
    height: 110px !important;
    margin: 0!important;
}

.reason-img3 {
    /* width: 100%; */
    display: flex;
    justify-content: center;
}

.reason-img3 img {
    /* width: 100% !important; */
    height: 100px !important;
    margin: 0!important;
}

.reason-txt {
    width: 70%;
}

.cashback-img img {
    width: 60%!important;
}

.cashback-img-use img{
    border: 4px #ff3366 solid;
}

.great-value p {
    font-weight: bold;
    font-size: 2.3em;
    color: #ff3366;
    text-align: center;
}

/* .great-value p::before {
    content: "";
    display: inline-block;
    width: 30px;  
    height: 30px; 
    background-image: url('images/emphasis-icon-L.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
}

.great-value p::after {
    content: "";
    display: inline-block;
    width: 30px;  
    height: 30px; 
    background-image: url('images/emphasis-icon-R.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
} */

.value-img {
    width: 60%;
    margin: 2em auto;
}

@media screen and (max-width: 768px) {
    .attention {
        width: 100%;
    }

    .risk {
        margin: 20px auto;
    }

    .risk-img {
        width: 100%;
    }

    .risk-content img {
        width: 80%!important;
    }

    .case-list {
        width: 90%;
        font-size: 1rem;
    }

    .case-content {
        display: block;
    }

    .case-content img {
        width: 100%!important;
        max-height: none;
    }
    
    .case4.case-section {
        margin-bottom: 1.6em;
    }

    .reason-content {
        display: block;
    }

    .reason-img {
        width: 100%;
    }

    .reason-txt {
        width: 100%;
    }

    .reason-list li {
        width: 90%;
    }

    .reason-list li strong, .reason-list li p {
        padding: 0 10px 10px;
    }

    .cashback-img img {
        width: 100%!important;
    }

    .great-value p{
        font-size:1.2rem;
    }

    .value-img {
        width: 100%;
    }
}

/* =========================================================
   08. 強み（feature）
   ========================================================= */
/* feature */
.feature-item {
    display: flex;
    gap: 2rem;
}

.feature-image {
    width: 30%;
}

.feature-btn {
    margin: 2rem auto;
    display: block;
    width: 40%;
    text-align: center;
    background: #f44336;
    padding: 8px;
    border-radius: 8px;
}

.feature-btn a {
    margin: 0 auto;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

@media (max-width: 1024px){
  #feature .container{
    padding-left: 20px;
    padding-right: 20px;
  }
  #feature h2{
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.6;
    text-align: center;
  }
  #feature .feature-item{
    gap: 1.5rem;
  }
  #feature .feature-image{
    width: 40%;        /* PC:30% → タブレット:40%に拡大 */
  }
  #feature .feature-text h3{
    font-size: clamp(16px, 2.1vw, 20px);
    line-height: 1.6;
  }
  #feature .feature-text p{
    line-height: 1.9;
  }
}

/* === Mobile (～768px) ======================= */
@media (max-width: 768px){
  #feature .feature-item{
    flex-direction: column;     /* 常に縦積み */
    align-items: stretch;
    gap: 1rem;
  }
  #feature .feature-image{
    width: 100%;
    order: -1;                  /* 画像を常に先頭（画像→テキストの順） */
  }
  #feature .feature-text{
    width: 100%;
  }
  #feature .feature-text h3{
    font-size: clamp(16px, 4.4vw, 18px);
  }
  #feature .feature-text p{
    font-size: 15px;
  }
}

/* === Small Mobile (～480px) ================= */
@media (max-width: 480px){
  #feature h2{
    font-size: 18px;
  }
  #feature .feature-item{
    gap: .8rem;
  }
  #feature .feature-text p a{
    display: inline-block;
    padding: 6px 0;   /* タップしやすさ */
  }
}

/* =========================================================
   09. 実績（result）
   ========================================================= */
/* 実績 */
:root{
  --brand: #e8915f;          /* 見出し帯のオレンジ */
  --brand-deep: #d9763e;     /* 罫線・アクセント */
  --ink: #222;
  --muted: #666;
  --bg: #fff7f2;             /* セクション背景の淡いオレンジ */
  --line: #eadad0;
}

/* セクション全体 */
.result{
  padding: 48px 20px;
  background: #f9f9f9;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

.result h2{
    text-align: center;
    font-size: 2rem;
    margin: 0 0 28px;
    background: none;
    color: #1A2B5C;
}
.result-imgs {
    display: block;
}
.result-sp-imgs {
    display: none;
}
.result-img {
    width: 80%;
    margin: auto;
    margin-bottom: 2rem;
}

/* カード */
.result-card{
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  border-radius: 10px;
  overflow: clip;
}

/* 見出し（オレンジ帯） */
.result-head{
  position: relative;
  margin: 0;
  padding: 18px 20px;
  background: var(--brand);
  color: #fff;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  font-weight: 700;
}
.result-label{
  display: inline-block;
  margin-right: .4em;
  padding: 3px 8px;
  background: #fff;
  color: var(--brand-deep);
  border-radius: 6px;
  font-weight: 700;
}

/* 2カラム */
.result-grid{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  padding: 22px 22px 10px;
}
.result-photo{
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.result-photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 概要（表風） */
.result-summary .kv{
  margin: 0 0 14px;
  border: 1px solid var(--brand-deep);
  border-radius: 8px;
  overflow: hidden;
}
.kv-row{
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--line);
}
.kv-row:last-child{ border-bottom: none; }
.kv-row dt{
  background: #fff7ef;
  border-right: 1px solid var(--line);
  padding: 12px 14px;
  font-weight: 700;
  color: var(--ink);
}
.kv-row dd{
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  line-height: 1.8;
}
.case-lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* メリット・デメリット */
.pros-cons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 6px 22px 16px;
}
.box{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 10px;
  background: #fffaf6;
}
.box-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* チェックリスト */
.checklist{
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: none;
}
.checklist li{
  position: relative;
  margin: 10px 0;
  padding-left: 1.2em;
  line-height: 1.7;
  color: var(--ink);
}
.checklist li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-1.2em);
  font-weight: 900;
  color: var(--brand-deep);
}
.checklist--mute li{ color: var(--muted); }

/* 注釈と補足 */
.note{
  margin: 0 22px 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.8;
}
.cta-hint{
  margin: 0 22px 24px;
  padding: 12px 16px;
  background: #fff1e7;
  border: 1px solid #ffd6be;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 960px){
  .result h2 {
    font-size: 1.5rem;
  }
  .result-grid{ grid-template-columns: 1fr; }
  .result-imgs {
    display: none;
  }
  .result-sp-imgs {
    display: block;
  }
  .result-img {
    width: 100%;
  }
}
@media (max-width: 520px){
  .pros-cons{ grid-template-columns: 1fr; }
  .kv-row{ grid-template-columns: 110px 1fr; }
}

/* =========================================================
   10. 専門家（team / team-pc）
   ========================================================= */

/* デフォルトはSP想定：PC用 #team-pc を非表示 */
#team-pc { display: none; }

/* PC時はSP用 #team を非表示、PC用 #team-pc を表示 */
@media (min-width: 769px) {
  #team { display: none; }
  #team-pc { display: block; }
}

/* --- 以下、既存SPレイアウトのCSSをそのまま維持 --- */

:root{
  --ink: #222;
  --muted: #666;
  --line: #e6e6e6;
  --bg-card: #ffffff;
  --accent: #2b2b2b;
  --badge: #e5f4fb;
}

/* セクション */
.team-section{
  padding: 40px 16px 56px;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
}

.team-title{
  text-align: center;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .08em;
  margin: 0 0 22px;
}

.member-card{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  margin: 16px 0;
}

.member-media{
  width: 150px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #bfe3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-name {
  font-size: 21px;
  background: #d8f7ff;
  padding: .3rem .5rem;
  border-bottom: none!important;
}

.member-body{
  display: grid;
  gap: 10px;
}
.member-header{
  display: grid;
  gap: 4px;
}
.member-name{
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
}
.member-role{
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.member-desc{
  margin: 0;
  line-height: 1.9;
  color: var(--ink);
}

.member-button{
  display: inline-block;
  width: 170px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .05s ease, opacity .2s ease;
}
.member-button:hover{ opacity: .9; }
.member-button:active{ transform: translateY(1px); }

.member-top{ display: contents; }

/* SP（<=520px）時レイアウト */
@media (max-width: 520px){
  .member-card{
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .member-top{
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
  }
  .member-media{
    width: 100%;
    height: 110px;
  }
  .member-desc{
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .member-role {
    font-size: 0.65rem;
  }
}



/* =========================================================
   11. CTA
   ========================================================= */
/* CTA */
.cta {
    background: #03a687;
}

.cta-container h2 {
    color: white;
    text-align: center;
    font-size: 40px;
    padding: 10px;
}

/* .cta-container .cta-title::before {
    content: "";
    display: inline-block;
    width: 30px;  
    height: 30px; 
    background-image: url('images/cta-emphasis-icon-L.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
}

.cta-container .cta-title::after {
    content: "";
    display: inline-block;
    width: 30px;  
    height: 30px; 
    background-image: url('images/cta-emphasis-icon-R.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
} */

.cta-content {
    display: flex;
    width: 960px;
    gap: 20px;
    margin: 0 auto;
    height: 350px;
}

.cta-left {
    display: flex;
    width: 60%;
    position: relative;
}

.cta-balloon1 {
    position: relative;
    display: inline-block;
    width: 400px;
    height: 250px;
    text-align: center;
    color: #03473a;
    font-size: 27px;
    font-weight: bold;
    white-space: nowrap;
    background: #fff;
    border-radius: 50%;
    box-sizing: border-box;
}
  
.cta-balloon1:before {
    content: "";
    position: absolute;
    bottom: -35px;
    right: -20px;
    margin-top: -55px;
    border: 55px solid transparent;
    border-left: 100px solid #fff;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cta-balloon1 p {
    top: 48%;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
}

.cta-balloon2 {
    position: relative;
    width: 100%;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    background: #03473a;
    margin-bottom: 40px;
}

.cta-balloon2:before {
    content: "";
    position: absolute;
    bottom: -55px;
    left: 43%;
    border: 15px solid transparent;
    border-left: 30px solid #03473a;
    z-index: 0;
    -webkit-transform: rotate(90deg) translateX(-50%);
    transform: rotate(90deg) translateX(-50%);
}

.cta-balloon2 p {
    margin: 0 auto;
    width: 100%;
    display: block;
    padding: 10px;
    font-size: 18px;
}

.cta-operator {
    right: 0;
    bottom: 0;
    height: 60%;
    position: absolute;
}

.cta-operator img {
    height: 100%;
    vertical-align: bottom;
}

.cta-right {
    width: 40%;
}

.cta-btn {
    width: 100%;
    margin: 0 auto;
}

.cta-btn img {
    width: 100%;
}

@media screen and (max-width:768px) {
    .cta {
        margin-top: 1em;
    }

    .cta-content {
        width: 100%;
        height: 100%;
        display: block;
    }

    .cta-left,
    .cta-right {
        width: 96%;
        margin: 0 auto;
    }

    .cta-balloon1 {
        width: 60%;
        height: 130px;
        margin-bottom: 0.5em;
    }

    .cta-balloon1:before {
        bottom: 50px;
        right: -30px;
        border: 15px solid transparent;
        border-left: 30px solid #fff;
        transform: rotate(0deg);
    }

    .cta-balloon1 p {
        font-size: 14px;
    }

    .cta-operator {
        height: 100%;
        width: 40%;
    }

    .cta-balloon2 {
        width: 100%;
        margin: 0 auto;
        border-radius: 5px;
    }

    .cta-balloon2:before {
        bottom: -55px;
        left: 43%;
    }

    .cta-balloon2 p {
        margin: 0 auto;
        padding: 10px;
    }

    .cta-btn {
        width: 80%;
        margin: 30px auto 0 auto;
    }

    .cta-container h2 {
        font-size: 6.8vw;
    }

    .cta-container h2::before,
    .cta-container h2::after {
        width: 20px;
        height: 20px;
    }
}

/* =========================================================
   12. キャッシュバックサービス（料金比較）
   ========================================================= */
/* キャッシュバックサービス */
.comparison-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
}

.value-comparison-container {
    width: 100%;
    overflow-x: auto;
}

.value-comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.value-comparison-table th {
    background: #005b72;
    color: #fff;
    padding: 12px;
    border: 1px solid #ddd;
}

.value-comparison-table tbody tr td:first-child {
    font-weight: bold;
}

.value-comparison-table thead th:nth-child(3),
.value-comparison-table tbody tr:nth-child(7) td:nth-child(3) {
    border-left: 3px solid #ff3366;
    border-right: 3px solid #ff3366;
    border-top: 3px solid #ff3366;
}

.value-comparison-table tbody td:nth-child(3) {
    border-left: 3px solid #ff3366;
    border-right: 3px solid #ff3366;
}

.value-comparison-table tbody tr:nth-child(5) td:nth-child(3),
.value-comparison-table tbody tr:nth-child(10) td:nth-child(3) {
    border-left: 3px solid #ff3366;
    border-right: 3px solid #ff3366;
    border-bottom: 3px solid #ff3366;
}

.value-comparison-table td {
    position: relative;
    padding: 12px;
    border: 1px solid #ccc;
}

.value-btn-wrap {
    width: 40%;
    margin: auto;
}

.value-btn {
    margin: 2rem auto;
    display: block;
    text-align: center;
    background: #01b2dc;
    padding: 8px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

.total-row {
    background: #ffede0;
    font-size: 18px;
}

.total-cost1 {
    font-size: 18px;
    font-weight: bold;
}

.total-cost2 {
    color: #ff3366;
    font-size: 22px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .value-comparison-container {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .value-comparison-table th, .value-comparison-table td {
        padding: 10px;
        font-size: 14px;
        margin-bottom: -1px;
    }
    .value-comparison-container {
        display: block;
        width: 100%;
    }

    .value-comparison-table {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .value-comparison-container thead {
        display: none;
    }

    .value-comparison-container tbody {
        display: block;
        width: 100%;
    }

    .value-comparison-container tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
        /* padding: 15px;
        border-radius: 10px; */
        background: #fff;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    }

    .value-comparison-container td:first-child {
        font-weight: bold;
        font-size: 14px;
        background: #005b72!important;
        color: white!important;
        padding: 3px;
        text-align: center;
        border-radius: 5px 5px 0 0;
        margin-bottom: -1px;
    }

    /* .value-comparison-container .value-comparison-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 10px;
        border-top: 1px solid #ddd;
    } */

    .value-comparison-table thead th:nth-child(3), .value-comparison-table tbody tr:nth-child(7) td:nth-child(3),
    .value-comparison-table tbody tr:nth-child(5) td:nth-child(3), .value-comparison-table tbody tr:nth-child(10) td:nth-child(3),
    .value-comparison-table tbody td:nth-child(3) {
        border: 1px solid #ccc;
        color: #ff3366;
        font-size: 1.4em;
        border-radius: 0 0 5px 5px;
        margin-bottom: -1px;
        font-weight: bold;
    }

    .value-comparison-table tbody tr:nth-child(10) td:nth-child(2) {
        color: #333!important;
    }

    .value-comparison-container .our-service {
        background: #e6f7ff;
        border-left: 5px solid #0086b3;
        padding: 10px;
        flex: 1;
        font-weight: bold;
        font-size: 14px;
        position: relative;
    }

    .value-comparison-container .self-service {
        background: #ebebeb;
        border-left: 5px solid #a0a0a0;
        padding: 10px;
        flex: 1;
        font-weight: bold;
        font-size: 12px;
        position: relative;
    }

    .td-label, .td-label-self {
        display: block;
        font-size: 10px;
        font-weight: bold;
        color: #fff;
        padding: 3px 8px;
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .td-label {
        background: #0086b3;
    }

    .self-service .td-label-self {
        background: #a0a0a0;
    }

    .value-comparison-container .our-service.highlight {
        background: #0086b3;
        color: white;
    }
    .self-service {
        border-radius: 0 0 5px 5px;
    }
    td.col-our-service {
        border-left: none;
        border-right: none;
    }
    .value-comparison-table tbody tr:last-child td.col-our-service {
        border-bottom: none;
    }
    .td-label-ari {
        display: block;
        font-size: 10px;
        font-weight: bold;
        color: #333;
        padding: 3px 8px;
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* =========================================================
   13. FAQ
   ========================================================= */
/* FAQ */
.faq-box {
    width: 96%;
    margin: 0 auto;
}

.faq-box .faq-txt {
    box-sizing: border-box;
    padding: 1em 0;
    border-bottom: 1px solid #c8c8c8;
}

.faq-box .faq-txt dt,
.faq-box .faq-txt dd {
    display: flex;
    align-items: baseline;
    margin: 15px 0;
}

.faq-box .faq-txt dt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 12px;
    font-weight: bold;
}

.faq-box .faq-txt dd {
    margin: 0;
    padding-left: 15px;
    display: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 0;
}

.faq-box .faq-txt dt::before {
    content: "Q";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #005b72;
    width: 2em;
    height: 2em;
    flex-shrink: 0;
    margin-right: 1rem;
}

.faq-box .faq-txt dd::before {
    content: "A";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #ff3366;
    width: 2em;
    height: 2em;
    margin-right: 1rem;
}

.faq-box dt {
    display: inline-block;
    margin: 0 0 1em;
    padding: 16px 12px;
    border: 1px solid #ddd;
    background: #fbfbfb;
    font-size: 16px;
}

.faq-box .faq-txt:last-child {
    border: none;
}

.faq-arrow {
    font-size: 14px;
    color: #c9c9c9;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.faq-box .faq-txt.open dd {
    display: flex;
    opacity: 1;
    max-height: 500px;
}

.faq-box .faq-txt.open .faq-arrow {
    transform: rotate(180deg);
}

@media screen and (max-width:768px) {
    .faq-box .faq-txt {
        padding: 0;
        margin-bottom: 1rem;
    }

    .faq-box .faq-txt dt,
    .faq-box .faq-txt dd {
        font-size: 12px;
    }

    .faq-box .faq-txt dd {
        margin-bottom: 1rem;
    }
}

/* =========================================================
   14. 運営者情報テーブル／CTAボタン
   ========================================================= */
/* テーブル */
.info-table table {
    width: 100%;
}

.info-table table tr th,
.info-table table tr td {
    border: 2px solid #fff;
    background-color: #f8f8f8;
    padding: 1em;
}

.info-table table tr th {
    background-color: #cccccc;
    color: #333;
    font-weight: bold;
    text-align: center;
    width: 20%;
    min-width: 4em;
}

.table-cta-btn {
    width: 35%;
    margin: 3em auto;
    color: #fff;
    background: #f44336;
    padding: 20px;
    border-radius: 80px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease;
    border-bottom: 0.5em solid #992e26;
}

.table-cta-btn-txt1 {
    font-size: 1.6em;
}

.table-cta-btn-txt2 {
    font-size: 1.3em;
}

.table-cta-btn:hover {
    margin-top: 3.1em;
    color: #fff;
    background: #f44336;
    border-bottom: 0.3em solid #992e26;
}

.table-cta-btn-shadow {
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

@media screen and (max-width:768px) {
    .info-table table {
        font-size: 12px;
    }
    
    .info-table table tr th {
        min-width: 8em;
    }

    .info-table table tr th, .info-table table tr td {
        border: 1px solid #fff;
    }

    .table-cta-btn {
        width: 80%;
        margin: 2em auto;
        padding: 12px 20px;
        font-size: 16px;
    }

    .table-cta-btn-txt1 {
        font-size: 1.3em;
    }

    .table-cta-btn-txt2 {
        font-size: 1.1em;
    }
}

/* =========================================================
   15. アクセス（地図/アクセス文）
   ========================================================= */
/* アクセス情報 */
#map h4,
#access h4 {
    border-bottom: solid 3px #01b2dc;
    text-align: center;
    margin: 3em 0 1em 0;
}

.map-container {
    width: 100%;
    margin: 0 auto;
    margin-top: 1.6em;
}

.map-container h5 {
    text-align: left;
    font-size: 16px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.access p {
    font-size: 16px;
}

@media screen and (max-width:768px) {
    .map-container h5 {
        font-size: 14px;
    }

    .access p {
        font-size: 14px;
    }
}

/* =========================================================
   16. 電話CTA（tel-cta）
   ========================================================= */
/* tel-cta */
.tel-cta {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    border-radius: 0;
}

.tel-cta p {
    font-size:1.5rem; margin-bottom:10px; font-weight:bold;
}

.tel-cta a {
    display:inline-block; background-color:#01b2dc; color:#fff; padding:12px 24px; font-size:1rem; font-weight:bold; border-radius:6px; text-decoration:none;
}
@media screen and (max-width:768px) {
    .tel-cta p {
        font-size: 1.2rem;
    }
}

/* =========================================================
   17. フォーム
   ========================================================= */
/* フォーム */
.container form,
.contact-info {
    width: 70%;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.error {
    color: #ff3366;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    height: 60px;
    gap: 1rem;
}

.form-group .form-label {
    width: 30%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px #01b2dc solid;
    height: 100%;
    color: #01b2bc;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #fff;
}

.form-group .inputs {
    width: 70%;
}

.form-group .inputs label input {
    width: 10%;
}

.form-group input,
select#prefecture,
.form-group textarea,
#inquiry-type {
    width: 100%;
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#form form .submit-btn {
    margin: 1rem auto;
    display: block;
    background: #f44336;
    text-align: center;
    padding: 0.5rem 5rem;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
    transition: background 0.3s ease;
}

#form form .submit-btn:hover {
    background: #ff6600;
}

/* タブレット未満：フォーム幅拡張 */
@media screen and (max-width: 992px) {
  #form .container form {
    width: 90%;
  }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .form-group {
    display: block;
    height: auto;
  }

  .form-group .form-label {
        width: 100%;
        text-align: left;
        font-size: 1rem;
        padding: 3px;
        height: auto;
        display: block;
        border: none;
        border-bottom: 1px #01b2dc solid;
  }

  .form-group .inputs {
    width: 100%;
    margin-top: 6px;
  }

  .form-group .inputs label {
    font-size: 0.95rem;
    margin-right: 8px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  select#prefecture,
  .form-group textarea {
    width: 100%;
    padding: 6px 8px;
    font-size: 1rem;
  }

  #form form .submit-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
  }

  .tel-cta a {
    font-size: 1.1rem;
  }
}

/* 小型スマホ：タップしやすさ強化 */
@media screen and (max-width: 480px) {
  .form-group .inputs label {
    font-size: 1rem;
  }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    font-size: 1.05rem;
    padding: 3px;
  }
  #form form .submit-btn {
    font-size: 1.2rem;
  }
}

/* =========================================================
   18. フッター
   ========================================================= */
/* フッター */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.footer p {
    font-weight: normal;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer {
        padding-bottom: 55px; /* SP版の固定CTAの高さに合わせる */
    }
    .features-grid {
        flex-direction: column;
    }

    .feature-item {
        width: 100%;
    }

    .footer p {
        font-size: 12px;
    }
}

/* =========================================================
   19. Swiper
   ========================================================= */
/* Swiper */
.reasonSwiper {
    width: 100%;
    max-width: 80%;
    height: 240px;
    position: relative;
    margin-top: 2em;
}

.swiper-slide {
    box-sizing: border-box;
    padding: 20px 50px;
    background: #fff;
    width: 70%;
    border-radius: 5px;
    border: 2px #cfcfcf solid;
    text-align: left;
    overflow: hidden;
}

.swiper-pagination {
    margin-top: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    color: #01b2dc!important;
}

.swiper-pagination-bullet-active {
    background: #01b2dc!important;
}

.caseSwiper {
    width: 100%;
    height: 290px;
    max-width: 80%;
    margin: 2em auto;
}

.riskSwiper {
    width: 50%;
    height: 290px;
    max-width: 80%;
    margin: 2em auto;
}

@media screen and (max-width:768px) {
    .swiper {
        max-width: 100%;
        height: 520px;
    }

    .swiper-slide {
        padding: 20px 40px;
        border-radius: none;
        border: none;
    }
    .riskSwiper {
        width: 100%;
        height: 280px;
    }
    .reasonSwiper {
        height: 370px;
    }
}

/* =========================================================
   20. 固定フッターCTA
   ========================================================= */
/* 固定フッターCTA */
.fixed-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 5px 5px 10px #000;
    padding: 15px 10px;
    z-index: 1000;
}

.fixed-footer-cta {
    transition: opacity 0.3s ease-in-out;
}

.fixed-footer-cta-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    gap: 80px;
    margin: 0 auto;
}

.fixed-footer-cta-inner .footer-cta-btn {
    width: inherit;
    color: #fff;
    background: #f44336;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    justify-content: center;
}

.fixed-footer-cta .footer-cta-btn:hover {
    background: #ff6600;
}

.fixed-footer-cta-inner .footer-tel-btn {
    background: #01b2dc;
}

.fixed-footer-cta-inner .footer-tel-btn:hover {
    background: #005b72;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .fixed-footer-cta {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .fixed-footer-cta-inner {
        width: 100%;
        gap: 10px;
    }

    .fixed-footer-cta-inner .footer-cta-btn {
        width: 90%;
        font-size: 3.6vw;
    }
}

/* ===== Exit-Intent Popup ===== */
.ei-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 9998;
}
.ei-modal{
  position: fixed; inset: 50% auto auto 50%; transform: translate(-50%,-40%) scale(.98);
  width: min(92vw, 560px); background:#fff; border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 9999;
  outline: none;
}
.ei-modal.is-open, .ei-overlay.is-open{ opacity: 1; pointer-events: auto; }
.ei-modal.is-open{ transform: translate(-50%,-50%) scale(1); }

.ei-close{
  position:absolute; right:10px; top:8px; border:none; background:transparent; font-size: 26px; line-height: 1;
  cursor:pointer; color:#999;
}
.ei-content{ padding: 24px 22px 18px; text-align: center; }
.ei-content h2{ margin:0 0 8px; font-size: 22px; color:#1A2B5C; background: none; }
.ei-content p{ margin: 0 auto 16px; line-height: 1.8; }

.ei-actions{ display: grid; gap: 10px; margin-top: 8px; }
.ei-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em; width:100%;
  padding: 12px 16px; border-radius: 8px; font-weight:700; text-decoration:none; cursor:pointer; border:1px solid transparent;
}
.ei-btn-primary{ background:#f44336; color:#fff; }
.ei-btn-primary:hover{ background:#ff6600; }
.ei-btn-tel{ background:#01b2dc; color:#fff; }
.ei-btn-tel:hover{ background:#005b72; }
.ei-btn-ghost{ background:#fff; color:#666; border-color:#ddd; }
.ei-btn-ghost:hover{ background:#f6f6f6; }

.ei-note{ font-size: 12px; color:#777; margin-top: 6px; }

@media (max-width:768px){
  .ei-modal{ width: min(94vw, 520px); }
  .ei-content h2{ font-size: 18px; }
  .ei-content p{ font-size: 14px; }
}

/* モーダル表示時は背面の固定フッターCTAを隠す */
body.ei-lock .fixed-footer-cta{ opacity:0!important; pointer-events:none!important; }
body.ei-lock{ overflow:hidden; }
