/* page-fee.css - page-specific styles */

h2{font-size:clamp(1.05rem, 0.85rem + 2.2vw, 1.9rem);}

.c-section--fee-tight{padding:56px 0;}

/* ---------- Marks & emphasis ---------- */
  .c-mark{
    background:linear-gradient(180deg, transparent 58%, var(--yellow) 58%);
    padding:0 .1em;
    font-weight:700;
  }

/* Header hamburger: square button, dark purple background, white lines */
  .c-hamburger--header{
    width:40px; height:40px;
    background:var(--purple-900);
    border-radius:8px;
  }

.c-hamburger--header span{
    left:10px; right:10px;
    background:#fff;
  }

.c-hamburger--header span:nth-child(1){top:13px;}

.c-hamburger--header span:nth-child(2){top:19px;}

.c-hamburger--header span:nth-child(3){top:25px;}

.c-hamburger--header.is-open span:nth-child(1){top:19px; transform:rotate(45deg);}

.c-hamburger--header.is-open span:nth-child(3){top:19px; transform:rotate(-45deg);}

@media(max-width:768px){
    .l-submenu__inner{display:none;}
    .c-hamburger--header{display:flex; align-items:center; justify-content:center;}
    .l-submenu{background:transparent; border-bottom:none;}
    .l-submenu.is-menu-open{background:var(--purple-900); border-bottom:1px solid rgba(255,255,255,.08);}
  }

.c-kv__placeholder .u-wrap{
    display:flex;
  }

.c-hero h1 .c-highlight{
    background:none;
    color:#B31F31;
    font-size:1.25em;
  }

.c-heading__mark{color:#B31F31; font-size:1.3em;}

.c-lead h1 .c-highlight{
    background:linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
  }

.c-risk__label .c-ico{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;height:26px;
    flex:none;
    background:var(--yellow);
    border-radius:50%;
    font-size:.85rem;
  }

.c-mechanism .c-eyebrow{color:var(--yellow);}

.c-mechanism .c-eyebrow::before{background:var(--yellow);}

.c-timeline{
    margin-top:18px;
    display:flex;
    flex-direction:column;
    gap:0;
  }

.c-timeline__row{
    display:grid;
    grid-template-columns:64px 1fr;
    gap:24px;
    position:relative;
    padding-bottom:40px;
  }

.c-timeline__row:last-child{padding-bottom:0;}

.c-timeline__num{
    width:52px;height:52px;border-radius:50%;
    background:var(--purple);
    color:#fff;
    font-family:"Noto Serif JP",serif;
    font-weight:700;
    display:flex;align-items:center;justify-content:center;
    font-size:1.15rem;
    z-index:2;
  }

.c-timeline__row:not(:last-child)::before{
    content:"";
    position:absolute;
    left:26px; top:52px; bottom:-14px;
    width:2px;
    background:var(--purple-300);
  }

.c-timeline__body{
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    padding:20px 24px;
    display:flex;
    gap:18px;
    align-items:flex-start;
  }

.c-timeline__img{flex:none; width:72px; height:72px; border-radius:50%; overflow:hidden; background:var(--purple-050);}

.c-timeline__img img{width:100%; height:100%; object-fit:cover; display:block;}

.c-timeline__body-text{flex:1; min-width:0;}

.c-timeline__body-text h4{font-size:1rem;}

.c-timeline__body-text h4 + p{margin-top:6px;}

.c-timeline__body-text p{margin:0; font-size:.9rem; color:var(--ink-soft);}

@media(max-width:480px){
  .c-timeline__body{flex-direction:column; align-items:center; text-align:center;}
}

.c-mini-cta .c-btn-group{max-width:640px; margin:0 auto;}

.c-callout .c-eyebrow{justify-content:center; color:var(--yellow); font-size:1.05rem; font-weight:700;}

.c-callout .c-eyebrow::before{display:none;}

/* ---------- Pricing ---------- */
  .c-price{padding:56px 0;}

.c-price__top{
    display:flex; gap:20px; flex-wrap:wrap; margin:40px 0 12px;
  }

.c-price__free{
    flex:1; min-width:200px;
    background:var(--yellow);
    color:var(--purple-900);
    border-radius:10px;
    padding:26px;
    text-align:center;
  }

.c-price__free .c-label{
    display:inline-block;
    font-size:.78rem;
    color:var(--purple-900);
    font-weight:700;
    letter-spacing:.04em;
    padding:5px 16px;
    background:#fff;
    border:1px solid rgba(61,49,83,.15);
    border-radius:20px;
  }

.c-price__free .c-val{
    font-family:"Noto Sans JP",sans-serif; font-weight:900; color:var(--purple-900); font-size:1.7rem; margin-top:8px;
  }

.c-plan__grid{
    margin-top:14px;
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:22px;
  }

@media(max-width:900px){.c-plan__grid{grid-template-columns:minmax(0,1fr);}}

.c-plan__card{
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    display:flex; flex-direction:column;
  }

.c-plan__card.is-featured{
    border:2px solid var(--yellow-dark);
    box-shadow:0 10px 30px rgba(102,80,133,.14);
    position:relative;
  }

.c-plan__badge{
    position:absolute; top:-1px; right:-1px;
    background:var(--yellow); color:var(--purple-900);
    font-size:.72rem; font-weight:700;
    padding:6px 14px; border-radius:0 0 0 8px;
  }

.c-plan__head{
    background:var(--purple-050);
    padding:22px 24px;
    border-bottom:1px solid var(--line);
  }

.c-plan__head h4{font-size:1.05rem;}

.c-plan__head h4 + p{margin-top:6px;}

.c-plan__head p{margin:0; font-size:.82rem; color:var(--ink-soft);}

.c-plan__target-label{
    display:inline-block;
    background:var(--purple-900); color:#fff;
    font-size:.7rem; font-weight:700;
    padding:2px 10px;
    border-radius:10px;
    margin-right:6px;
    vertical-align:middle;
  }

.c-plan__body{padding:24px; flex:1; display:flex; flex-direction:column; gap:14px;}

.c-plan__fee{display:flex; justify-content:space-between; font-size:.88rem; border-bottom:1px dashed var(--line); padding-bottom:10px;}

.c-plan__fee span.c-v{font-weight:700; color:var(--purple-900); font-family:"Noto Serif JP",serif;}

.c-plan__note{font-size:.78rem; color:var(--ink-soft); margin-top:auto;}

.c-price__extra-cost{
    margin-top:24px;
    background:var(--purple-050);
    border-radius:10px;
    padding:28px 30px;
  }

.c-price__extra-cost h4{font-size:1rem;}

.c-price__extra-cost h4 + .c-price__extra-row{margin-top:16px;}

.c-price__extra-row{display:flex; gap:18px; font-size:.88rem; padding:10px 0; border-bottom:1px solid var(--line);}

.c-price__extra-row:last-child{border-bottom:none;}

.c-price__extra-row .c-k{flex:none; width:130px; font-weight:700; color:var(--purple-900);}

.c-price__extra-row .c-v{color:var(--ink-soft);}

.c-price__extra-toggle-input{position:absolute; opacity:0; width:0; height:0; pointer-events:none;}

.c-price__extra-row--acc .c-k{
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

.c-price__extra-toggle-btn{
    flex:none;
    font-size:.76rem;
    font-weight:700;
    color:var(--purple-700);
    border:1px solid var(--purple-300);
    border-radius:14px;
    padding:3px 12px;
  }

.c-price__extra-row--acc .c-v{
    max-height:0;
    overflow:hidden;
    margin-top:0;
    transition:max-height .25s ease;
  }

.c-price__extra-toggle-input:checked ~ .c-v{
    max-height:400px;
    margin-top:8px;
  }

.c-price__extra-toggle-input:checked ~ .c-k .c-price__extra-toggle-btn{color:#fff; background:var(--purple-700);}

@media(min-width:641px){
  .c-price__extra-row--acc{display:flex; gap:18px;}
  .c-price__extra-row--acc .c-k{display:block; width:130px; flex:none; cursor:default;}
  .c-price__extra-toggle-btn{display:none;}
  .c-price__extra-row--acc.c-price__extra-row--acc .c-v{max-height:none; overflow:visible; margin-top:0;}
}

.c-price__footnote{
    margin-top:30px; font-size:.78rem; color:var(--ink-soft); line-height:2;
  }

@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}

.c-flow__pay{
    display:inline-block;
    margin-top:12px;
    font-size:.74rem;
    font-weight:700;
    color:var(--purple-900);
    background:var(--yellow);
    padding:3px 10px;
    border-radius:3px;
  }

/* ---------- Section intro (shared) ---------- */
  .c-section__intro{max-width:720px; margin:16px 0 0;}

.c-section__intro p{margin:0; font-size:.95rem; color:var(--ink-soft);}

/* ---------- Guarantee mini box (used within fee overview) ---------- */
  .c-guarantee__mini{
    margin-top:16px;
    background:var(--yellow);
    border-radius:14px; color:var(--purple-900);
    padding:34px 30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }

.c-guarantee__mini-badge{
    flex:none;
    width:120px;height:120px;
    margin:0 auto;
  }

.c-guarantee__mini-badge img{width:100%; height:100%; display:block;}

.c-guarantee__mini h3{color:var(--purple-900); font-size:1.28rem;}

.c-guarantee__mini h3 + p{margin-top:8px;}

.c-guarantee__mini p{margin:0; color:var(--purple-900); font-size:1.02rem;}

.c-guarantee__mini .c-gm-note{margin-top:10px; font-size:.74rem; color:var(--purple-900); opacity:.85;}

/* ---------- Litigation cost table ---------- */
  .c-litigation__note{
    display:flex; align-items:center; gap:12px;
    background:#fff; border-left:4px solid var(--yellow-dark);
    border-radius:6px; padding:18px 22px; margin-top:14px;
    font-size:.88rem; color:var(--purple-900); font-weight:700;
    box-shadow:0 2px 10px rgba(61,49,83,.05);
  }

.c-litigation__grid{
    margin-top:14px;
    display:grid; grid-template-columns:1fr 1fr; gap:22px;
  }

@media(max-width:768px){.c-litigation__grid{grid-template-columns:minmax(0,1fr);}}

/* ---------- Anchor offset for sticky header ---------- */
  section[id]{scroll-margin-top:118px;}

/* ---------- Fixed bottom CTA (PC + Mobile) ---------- */
  body{padding-bottom:132px;}

.c-fixed-cta__photo{display:none;}

.c-fixed-cta__caption{display:none;}

@media(min-width:1100px){
    .c-fixed-cta__buttons{max-width:600px; margin:0 auto;}
    .c-fixed-cta__photo{
      display:block;
      position:absolute;
      left:calc(50% + 300px - 16px); bottom:-10px;
      pointer-events:none;
    }
    .c-fixed-cta__photo img{width:150px; height:auto; display:block;}
    .c-fixed-cta__caption{
      display:block;
      position:absolute;
      left:calc(50% + 300px - 16px + 158px);
      bottom:20px;
      width:106px;
      margin:0;
      font-size:.6rem;
      font-weight:700;
      color:var(--ink-soft);
      line-height:1.5;
      text-align:left;
      white-space:nowrap;
      pointer-events:none;
    }
  }

/* ---------- Utility classes (inline style removal) ---------- */
  .u-hidden-frame{display:none;visibility:hidden;}

.u-bg-tint{background:var(--purple-050);}

.u-mt-0{margin-top:0;}

.c-eyebrow--center{justify-content:center;}

/* ---------- Fee page: price section variants ---------- */
  .c-price--lead{padding:80px 0 40px;}

.c-price--alt{padding-top:48px;}

.c-ico--alert{
    display:inline-flex;align-items:center;justify-content:center;
    width:26px;height:26px;flex:none;
    background:var(--yellow);border-radius:50%;font-size:.85rem;
  }

.c-plan__fine-print{font-size:.78rem; opacity:.85;}

.c-plan__addon-note{margin-top:16px;}
