:root{
      --bg:#f7f1e7;
      --paper:#fffdf8;
      --paper-soft:#fbf7ee;
      --navy:#173b78;
      --blue:#536f9a;
      --blue-soft:#e9eef6;
      --text:#4f4a43;
      --muted:#777066;
      --line:#ded1ba;
      --gold:#c9b27c;
      --gold-soft:#f1e7cf;
      --green:#5fa65a;
      --cta:#1d4482;
      --shadow:0 18px 45px rgba(58,42,18,.09);
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--text);
      background:
        radial-gradient(circle at top left, rgba(201,178,124,.24), transparent 34rem),
        radial-gradient(circle at 90% 8%, rgba(83,111,154,.18), transparent 26rem),
        linear-gradient(180deg, #fbf6ec 0%, var(--bg) 44%, #f3eadc 100%);
      font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
      line-height:1.9;
      letter-spacing:.035em;
      overflow-x:hidden;
    }

    body::before{
      content:"";
      position:fixed;
      inset:0;
      pointer-events:none;
      z-index:-1;
      opacity:.34;
      background-image:
        linear-gradient(rgba(23,59,120,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,59,120,.025) 1px, transparent 1px);
      background-size:32px 32px;
      mask-image:linear-gradient(to bottom, #000, transparent 72%);
    }

    a{color:inherit}
    img{max-width:100%;display:block}
    h1,h2,h3,p{margin-top:0}
    h1,h2,h3{
      color:var(--navy);
      font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho","MS PMincho",serif;
      font-weight:700;
      letter-spacing:.045em;
      text-wrap:balance;
    }

    .site-header{
      position:sticky;
      top:0;
      z-index:20;
      background:rgba(255,253,248,.86);
      backdrop-filter:blur(14px);
      border-bottom:1px solid rgba(201,178,124,.42);
    }
    .header-inner{
      max-width:1120px;
      margin:0 auto;
      padding:12px 20px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .logo-mark{
      display:flex;
      align-items:center;
      text-decoration:none;
      color:var(--navy);
      line-height:1;
      flex:0 0 auto;
    }
    .logo-image{
      width:186px;
      max-width:34vw;
      height:auto;
      display:block;
      filter:drop-shadow(0 6px 12px rgba(23,59,120,.10));
    }
    .nav{
      display:flex;
      align-items:center;
      gap:28px;
      font-size:14px;
      font-weight:700;
      color:var(--navy);
    }
    .nav a{
      text-decoration:none;
      transition:opacity .3s ease;
      white-space:nowrap;
    }
    .nav a:hover{opacity:.68}
    .nav-cta{
      padding:9px 18px;
      border-radius:999px;
      background:var(--cta);
      color:#fff!important;
      box-shadow:0 8px 20px rgba(23,59,120,.16);
    }

    .hero{
      max-width:1120px;
      margin:0 auto;
      padding:58px 20px 54px;
      display:grid;
      grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);
      gap:48px;
      align-items:center;
    }
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:7px 14px;
      border:1px solid rgba(201,178,124,.64);
      border-radius:999px;
      color:var(--navy);
      background:rgba(255,253,248,.72);
      font-size:13px;
      font-weight:800;
      margin-bottom:22px;
      box-shadow:0 6px 18px rgba(80,60,30,.05);
    }
    .eyebrow::before{
      content:"";
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--green);
    }
    .hero h1{
      font-size:clamp(34px,5.3vw,60px);
      line-height:1.22;
      margin-bottom:22px;
    }
    .hero h1 span{
      display:inline-block;
      background:linear-gradient(transparent 68%, rgba(201,178,124,.38) 0);
    }
    .hero-lead{
      font-size:18px;
      line-height:2;
      margin-bottom:28px;
      color:#5f574d;
      max-width:39em;
    }
    .hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:14px;
      align-items:center;
      margin-bottom:26px;
    }
    .button{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:54px;
      padding:13px 28px;
      border-radius:999px;
      text-decoration:none;
      font-weight:800;
      letter-spacing:.05em;
      transition:transform .28s ease, box-shadow .28s ease, background .28s ease;
    }
    .button-primary{
      color:#fff;
      background:linear-gradient(135deg, #173b78, #24589a);
      box-shadow:0 12px 28px rgba(23,59,120,.2);
    }
    .button-secondary{
      color:var(--navy);
      border:1px solid rgba(23,59,120,.26);
      background:rgba(255,253,248,.68);
    }
    .button:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(23,59,120,.19)}
    .button:active{transform:scale(.98)}
    .hero-notes{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      padding:0;
      margin:0;
      list-style:none;
    }
    .hero-notes li{
      padding:8px 12px;
      border-radius:12px;
      background:rgba(255,253,248,.72);
      border:1px solid rgba(222,209,186,.8);
      font-size:13px;
      font-weight:700;
      color:#635d54;
    }

    .hero-card{
      position:relative;
      min-height:460px;
      border-radius:28px;
      overflow:hidden;
      background:linear-gradient(160deg, rgba(23,59,120,.86), rgba(83,111,154,.78));
      box-shadow:var(--shadow);
      isolation:isolate;
    }
    .hero-card::before{
      content:"";
      position:absolute;
      inset:18px;
      border:1px solid rgba(255,253,248,.44);
      border-radius:22px;
      z-index:1;
    }
    .hero-card::after{
      content:"";
      position:absolute;
      width:240px;
      height:240px;
      right:-70px;
      top:-62px;
      border-radius:50%;
      background:rgba(201,178,124,.35);
      filter:blur(4px);
    }
    .hero-slides,
    .hero-slide{
      position:absolute;
      inset:0;
    }
    .hero-slides{z-index:0}
    .hero-slide{
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .8s ease, visibility .8s ease;
    }
    .hero-slide.is-active{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
    }
    .hero-slide::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 20% 18%, rgba(255,253,248,.28), transparent 26%),
        radial-gradient(circle at 86% 22%, rgba(201,178,124,.28), transparent 24%),
        linear-gradient(160deg, rgba(23,59,120,.92), rgba(83,111,154,.82));
      z-index:1;
    }
    .hero-slide-content{
      position:absolute;
      inset:0;
      display:grid;
      place-items:center;
      align-content:center;
      padding:44px 44px 130px;
      color:#fff;
      text-align:center;
      z-index:2;
    }
    .hero-slide-content .large{
      font-family:"Yu Mincho",serif;
      font-size:34px;
      line-height:1.5;
      margin-bottom:12px;
      text-shadow:0 2px 14px rgba(0,0,0,.22);
    }
    .hero-slide-content .small{
      font-size:15px;
      line-height:1.8;
      opacity:.94;
      margin:0;
      font-weight:700;
    }
    .hero-dots{
      position:absolute;
      left:0;
      right:0;
      bottom:116px;
      z-index:4;
      display:flex;
      justify-content:center;
      gap:8px;
    }
    .hero-dot{
      width:8px;
      height:8px;
      border:0;
      border-radius:999px;
      padding:0;
      background:rgba(255,253,248,.55);
      cursor:pointer;
      transition:width .28s ease, background .28s ease;
    }
    .hero-dot.is-active{
      width:24px;
      background:#fffdf8;
    }
    .floating-panel{
      position:absolute;
      left:28px;
      right:28px;
      bottom:28px;
      z-index:3;
      padding:18px 20px;
      border-radius:18px;
      background:rgba(255,253,248,.92);
      color:var(--navy);
      box-shadow:0 12px 35px rgba(23,30,45,.22);
      display:grid;
      grid-template-columns:1fr auto;
      gap:16px;
      align-items:center;
    }
    .floating-panel strong{font-size:22px;line-height:1.3}
    .floating-panel small{display:block;color:var(--muted);font-weight:700;margin-top:2px}
    .badge-circle{
      width:74px;
      height:74px;
      border-radius:50%;
      display:grid;
      place-items:center;
      text-align:center;
      color:#fff;
      background:var(--gold);
      font-weight:900;
      line-height:1.25;
      box-shadow:inset 0 0 0 4px rgba(255,253,248,.38);
    }

    .section{
      max-width:1120px;
      margin:0 auto;
      padding:54px 20px;
    }
    .section-head{
      text-align:center;
      margin-bottom:34px;
    }
    .section-kicker{
      display:block;
      color:var(--gold);
      font-weight:900;
      font-size:13px;
      letter-spacing:.14em;
      margin-bottom:8px;
    }
    .section h2{
      font-size:clamp(28px,4.2vw,44px);
      line-height:1.38;
      margin-bottom:12px;
    }
    .section-desc{
      margin:0 auto;
      max-width:42em;
      color:var(--muted);
      line-height:2;
    }

    .worry-box{
      background:rgba(255,253,248,.82);
      border:1px solid rgba(201,178,124,.5);
      border-radius:28px;
      padding:34px;
      box-shadow:var(--shadow);
    }
    .worry-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:16px;
      margin-bottom:24px;
    }
    .worry-item{
      padding:22px 18px;
      background:var(--paper-soft);
      border:1px solid rgba(222,209,186,.82);
      border-radius:18px;
      font-weight:800;
      color:var(--navy);
      text-align:center;
      line-height:1.65;
    }
    .message-card{
      padding:28px;
      border-radius:22px;
      background:linear-gradient(135deg, rgba(23,59,120,.96), rgba(83,111,154,.9));
      color:#fff;
      text-align:center;
    }
    .message-card h3{
      color:#fff;
      font-size:30px;
      margin-bottom:8px;
    }
    .message-card p{margin:0;opacity:.94}

    .reason-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:20px;
    }
    .reason-card{
      position:relative;
      padding:30px 24px 28px;
      border-radius:24px;
      background:rgba(255,253,248,.86);
      border:1px solid rgba(222,209,186,.9);
      box-shadow:0 12px 30px rgba(80,60,30,.06);
      transition:transform .3s ease, box-shadow .3s ease;
    }
    .reason-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(80,60,30,.1)}
    .reason-number{
      width:46px;
      height:46px;
      border-radius:50%;
      display:grid;
      place-items:center;
      margin-bottom:18px;
      color:#fff;
      background:linear-gradient(135deg, var(--navy), var(--blue));
      font-weight:900;
      letter-spacing:0;
    }
    .reason-card h3{
      font-size:25px;
      line-height:1.55;
      margin-bottom:12px;
    }
    .reason-card p{margin:0;color:#625b52;line-height:1.9}

    .teacher-wrap{
      display:grid;
      grid-template-columns:.9fr 1.1fr;
      gap:34px;
      align-items:center;
    }
    .photo-frame{
      min-height:390px;
      border-radius:26px;
      background:linear-gradient(160deg, rgba(83,111,154,.2), rgba(201,178,124,.22));
      border:1px solid rgba(201,178,124,.56);
      box-shadow:var(--shadow);
      overflow:hidden;
    }
    .photo-frame img{
      width:100%;
      height:100%;
      min-height:390px;
      object-fit:cover;
    }
    .teacher-wrap.no-photo{
      grid-template-columns:1fr;
      max-width:820px;
      margin:0 auto;
    }
    .teacher-card{
      padding:34px;
      border-radius:26px;
      background:rgba(255,253,248,.86);
      border:1px solid rgba(222,209,186,.88);
      box-shadow:var(--shadow);
    }
    .teacher-name{
      color:#755f38;
      font-weight:900;
      margin-bottom:14px;
      font-size:20px;
    }
    .teacher-card p{line-height:2.1;margin-bottom:22px}
    .mini-list{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:10px;
      padding:0;
      list-style:none;
      margin:0;
    }
    .mini-list li{
      padding:12px 10px;
      text-align:center;
      border-radius:14px;
      background:var(--blue-soft);
      color:var(--navy);
      font-weight:800;
      font-size:13px;
      line-height:1.5;
    }

    .achievement-list{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:16px;
      padding:0;
      margin:0;
      list-style:none;
    }
    .achievement-list li{
      padding:22px 22px 22px 54px;
      position:relative;
      border-radius:18px;
      background:rgba(255,253,248,.84);
      border:1px solid rgba(222,209,186,.86);
      box-shadow:0 10px 26px rgba(80,60,30,.05);
      line-height:1.75;
      font-weight:700;
    }
    .achievement-list li::before{
      content:"✓";
      position:absolute;
      left:22px;
      top:22px;
      color:#fff;
      background:var(--green);
      width:22px;
      height:22px;
      border-radius:50%;
      display:grid;
      place-items:center;
      font-size:13px;
      line-height:1;
    }

    .lesson-panel{
      display:grid;
      grid-template-columns:.85fr 1.15fr;
      gap:22px;
      align-items:start;
    }
    .info-card,.fee-card,.map-card{
      background:rgba(255,253,248,.88);
      border:1px solid rgba(222,209,186,.9);
      border-radius:24px;
      box-shadow:var(--shadow);
      padding:28px;
    }
    .info-card h3,.fee-card h3,.map-card h3{font-size:25px;margin-bottom:18px}
    .info-row{
      display:grid;
      grid-template-columns:5em 1fr;
      gap:12px;
      padding:13px 0;
      border-top:1px solid rgba(222,209,186,.72);
    }
    .info-row:first-of-type{border-top:0}
    .info-row dt{font-weight:900;color:var(--navy)}
    .info-row dd{margin:0}
    .fee-list{
      padding:0;
      margin:0;
      list-style:none;
    }
    .fee-list li{
      display:flex;
      justify-content:space-between;
      gap:16px;
      padding:13px 0;
      border-top:1px solid rgba(222,209,186,.72);
      line-height:1.55;
    }
    .fee-list li:first-child{border-top:0}
    .fee-list strong{font-size:22px;color:var(--navy);white-space:nowrap}
    .note{
      margin:18px 0 0;
      color:var(--muted);
      font-size:14px;
      line-height:1.8;
    }
    .map-card{margin-top:22px;text-align:center}
    .map-placeholder{
      height:310px;
      border-radius:18px;
      border:1px solid rgba(83,111,154,.24);
      background:
        linear-gradient(135deg, rgba(83,111,154,.16), rgba(201,178,124,.16)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0, rgba(255,255,255,.35) 8px, transparent 8px, transparent 18px);
      display:grid;
      place-items:center;
      color:var(--navy);
      font-weight:900;
      margin-bottom:16px;
    }

    .map-embed{
      width:100%;
      height:310px;
      border:0;
      border-radius:18px;
      display:block;
      margin-bottom:16px;
      box-shadow:inset 0 0 0 1px rgba(83,111,154,.24);
      background:#f4eee2;
    }

    .final-cta{
      margin-top:28px;
      padding:34px 22px;
      border-radius:28px;
      text-align:center;
      background:linear-gradient(135deg, rgba(23,59,120,.97), rgba(83,111,154,.92));
      color:#fff;
      box-shadow:var(--shadow);
    }
    .final-cta h2{color:#fff;font-size:34px;margin-bottom:10px}
    .final-cta p{margin-bottom:22px;opacity:.94}
    .final-cta .button-primary{background:#fff;color:var(--navy);box-shadow:0 12px 28px rgba(0,0,0,.15)}

    .footer{
      margin-top:40px;
      background:var(--navy);
      color:#fff;
      text-align:center;
      padding:34px 20px;
      font-size:13px;
    }
    .fixed-cta{
      position:fixed;
      right:18px;
      bottom:18px;
      z-index:30;
      display:none;
      padding:12px 18px;
      border-radius:999px;
      background:var(--cta);
      color:#fff;
      text-decoration:none;
      font-weight:900;
      box-shadow:0 12px 28px rgba(23,59,120,.25);
    }

    .reveal{animation:rise .7s ease both}
    @keyframes rise{
      from{opacity:0;transform:translateY(16px)}
      to{opacity:1;transform:translateY(0)}
    }
    @media (prefers-reduced-motion:reduce){
      *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
    }

    @media(max-width:860px){
      .header-inner{padding:10px 14px}
      .logo-image{width:142px;max-width:40vw}
      .nav{gap:14px;overflow-x:auto;padding-bottom:2px;font-size:12px;scrollbar-width:none}
      .nav::-webkit-scrollbar{display:none}
      .nav-cta{display:none}
      .hero{
        grid-template-columns:1fr;
        padding:34px 16px 38px;
        gap:28px;
      }
      .hero h1{font-size:34px;line-height:1.35}
      .hero-lead{font-size:16px;line-height:2}
      .hero-actions{
        display:grid;
        grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
        gap:10px;
        align-items:stretch;
      }
      .button{
        width:100%;
        min-height:52px;
        margin-bottom:0;
        padding:11px 12px;
        font-size:13px;
        letter-spacing:.035em;
        line-height:1.35;
        white-space:normal;
      }
      .hero-notes li{font-size:12px}
      .hero-card{min-height:360px;border-radius:22px}
      .hero-slide-content{padding:30px 24px 118px}
      .hero-slide-content .large{font-size:27px}
      .hero-dots{bottom:94px}
      .floating-panel{left:18px;right:18px;bottom:18px;padding:14px;grid-template-columns:1fr 58px}
      .floating-panel strong{font-size:18px}
      .badge-circle{width:58px;height:58px;font-size:12px}
      .section{padding:42px 16px}
      .section h2{font-size:29px;line-height:1.45}
      .section-desc{font-size:15px}
      .worry-box{padding:20px;border-radius:22px}
      .worry-grid,.reason-grid,.teacher-wrap,.achievement-list,.lesson-panel{grid-template-columns:1fr}
      .worry-item{text-align:left;padding:18px 18px}
      .message-card{padding:24px 18px}
      .message-card h3{font-size:24px}
      .reason-card h3{font-size:23px}
      .photo-frame{min-height:280px}
      .photo-frame img{min-height:280px}
      .teacher-card,.info-card,.fee-card,.map-card{padding:22px;border-radius:20px}
      .mini-list{grid-template-columns:1fr}
      .achievement-list li{padding:18px 18px 18px 50px}
      .achievement-list li::before{top:20px}
      .info-row{grid-template-columns:4.5em 1fr;font-size:15px}
      .fee-list li{display:block}
      .fee-list strong{display:block;margin-top:4px;font-size:20px}
      .map-placeholder,.map-embed{height:240px}
      .final-cta h2{font-size:26px}
      .fixed-cta{display:inline-flex;left:14px;right:14px;justify-content:center;border-radius:14px}
      .footer{padding-bottom:82px}
    }


/* v3: hero画像なし・スマホ崩れ対策 */
.hero-card{
  background:
    radial-gradient(circle at 18% 16%, rgba(255,253,248,.22), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(201,178,124,.26), transparent 26%),
    linear-gradient(160deg, rgba(23,59,120,.96), rgba(83,111,154,.86));
}
.hero-slide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  overflow:hidden;
}
.hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.hero-slide-content{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.hero-slide-content .large,
.hero-slide-content .small{
  color:#fffdf8;
  text-shadow:0 2px 14px rgba(0,0,0,.22);
}
.photo-frame{
  min-height:0;
  aspect-ratio:4/3;
  display:block;
  background:#f4eee2;
}
.photo-frame img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center;
  display:block;
}
@media(max-width:860px){
  .hero-card{
    min-height:340px;
    border-radius:24px;
  }
  .hero-card::before{
    inset:14px;
    border-radius:18px;
  }
  .hero-slide-content{
    padding:34px 26px 112px;
    place-items:center;
    text-align:center;
  }
  .hero-slide-content .large{
    font-size:24px;
    line-height:1.62;
    margin-bottom:10px;
  }
  .hero-slide-content .small{
    font-size:13px;
    line-height:1.75;
    max-width:18em;
  }
  .floating-panel{
    left:18px;
    right:18px;
    bottom:18px;
    padding:14px 14px;
    border-radius:18px;
  }
  .floating-panel strong{
    font-size:17px;
    line-height:1.45;
  }
  .floating-panel small{
    font-size:12px;
    line-height:1.55;
  }
  .hero-dots{
    bottom:92px;
  }
  .photo-frame{
    aspect-ratio:4/3;
    border-radius:22px;
  }
}
@media(max-width:390px){
  .hero-card{min-height:320px;}
  .hero-slide-content .large{font-size:22px;}
  .floating-panel{grid-template-columns:1fr 54px;}
  .badge-circle{width:54px;height:54px;}
}
