@charset "UTF-8";
/* ==========================================================================
   /soroban/ そろばん教室ページ専用スタイル
   - page-soroban.php 専用（get_header/footer 不使用の独立テンプレート）
   - Claude Design モックアップ（2026-10 再修正版）の <style> を移植
     ・header/footer 要素セレクタは .site-header/.site-footer、.drawer は .drawer-nav に改名
     ・未使用の flow/news/hero アニメ系は削除
   - 既存テーマの normalize.css / style.css は functions.php 側で dequeue 済み
   ========================================================================== */

:root{
  /* プリンス英語学童に合わせた明るくポップなカラーリング */
  --navy: #0068B7;       /* メインカラーの鮮やかなブルー */
  --navy-deep: #004A85;  /* 少し濃いブルー */
  --paper: #F4F8FB;      /* 爽やかなごく薄いブルーグレー */
  --paper-deep: #E1EDF6; 
  --wood: #F39200;       /* アクセントの元気なオレンジ */
  --wood-soft: #F9B248;  /* やわらかいオレンジ */
  --gold: #FFD100;       /* 明るいイエロー */
  --ink: #333333;        /* 本文のダークグレー */
  --ink-soft: #666666;   /* サブテキストのグレー */
  --line: #D1E1EC;       /* 境界線 */
  --white: #FFFFFF;
  --red: #E60012;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Noto Sans JP",sans-serif;
  line-height:1.85;
  font-size:15.5px;
}
h1,h2,h3{
  font-family:"Noto Sans JP",sans-serif;
  color:var(--red);
  margin:0;
  letter-spacing:.02em;
  font-weight:700;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
button{font:inherit;padding:0;margin:0;}
p{margin:0;}
.container{max-width:1120px;margin:0 auto;padding:0 32px;}
section{padding:88px 0;}
.sec-white{background:var(--white);}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--wood);
  font-weight:900;
  letter-spacing:.06em;
  margin-bottom:14px;
}
.eyebrow .dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--gold);
  display:inline-block;
}
.sec-title{font-size:30px;font-weight:900;margin-bottom:18px;}
.sec-lede{color:var(--ink-soft);max-width:760px;font-weight:500;}
.center{text-align:center;margin-left:auto;margin-right:auto;}
/* セクション見出しは中央揃え */
.eyebrow{display:flex;justify-content:center;}
.sec-title{text-align:center;}
.sec-lede{text-align:center;margin-left:auto;margin-right:auto;}

/* ---------- bead-rod divider ---------- */
.rod-divider{
  display:flex;align-items:center;gap:10px;
  margin:28px 0 40px;
}
.rod-divider .rod{flex:1;height:3px;background:var(--line);border-radius:2px;}
.rod-divider .bead{
  width:12px;height:12px;border-radius:50%;
  background:var(--wood);
}
.rod-divider.center-only{justify-content:center;}
.rod-divider.center-only .rod{max-width:64px;}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,0.97); /* クリーンな白背景 */
  color:var(--red);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-wrap{
  max-width:1120px;margin:0 auto;padding:0 32px;
  display:flex;align-items:center;justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-family:"Noto Sans JP",sans-serif;
  font-weight:700;font-size:17px;letter-spacing:.02em;
  color:var(--red);
}
.brand .mark{width:26px;height:26px;}
.brand small{
  display:block;font-weight:500;font-size:10.5px;color:var(--ink-soft);letter-spacing:.04em;
}
/* header right: TELアイコン／予約ボタン／ハンバーガー */
.nav-cta{
  display:flex;align-items:center;gap:10px;
}
.icon-btn{
  width:40px;height:40px;border-radius:50%;
  background:var(--wood);
  border:none;
  display:flex;align-items:center;justify-content:center;
}

/* ---------- PC header (帯デザイン) ---------- */
.nav-wrap{height:92px;gap:28px;max-width:1280px;}
.brand img{height:64px;width:auto;display:block;}
.tel-block{flex:1;font-size:12.5px;line-height:1.75;color:#333;font-weight:500;min-width:0;}
.tel-block .tel-title{font-size:14px;margin-bottom:2px;}
.tel-row{display:flex;align-items:baseline;gap:8px;white-space:nowrap;}
.tel-row .school{display:inline-block;width:7.6em;}
.tel-row .arrow{font-size:10px;}
.tel-row .hours{margin-left:6px;}
.reserve-btn{
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:var(--wood);color:#fff;font-weight:700;font-size:15px;line-height:1.5;
  border-radius:10px;padding:14px 30px;min-width:170px;
  transition:opacity .15s;
}
.reserve-btn:hover{opacity:.9;}
.nav-cta .icon-btn{display:none;}

/* ---------- PC：ヘッダー下のオレンジ追従ナビ帯 ---------- */
.pc-nav{display:none;}
@media (min-width:861px){
  .pc-nav{display:block;background:var(--wood);}
  .pc-nav > ul{
    list-style:none;margin:0 auto;padding:0 32px;max-width:1280px;
    display:flex;align-items:center;height:48px;
  }
  .pc-nav > ul > li{flex:1 1 auto;text-align:center;position:relative;padding:0 18px;}
  .pc-nav > ul > li + li::before{
    content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
    width:2px;height:20px;background:#fff;
  }
  .pc-nav > ul > li > a{color:#fff;font-weight:900;font-size:15px;white-space:nowrap;display:inline-block;line-height:48px;transition:opacity .15s;}
  .pc-nav > ul > li > a:hover{opacity:.8;}
  .site-header .hamburger,.site-header .drawer-nav{display:none !important;}
  /* コース案内のサブメニュー */
  .pc-nav .has-sub > a::after{content:"▾";margin-left:6px;font-size:11px;}
  .pc-nav .sub{
    list-style:none;margin:0;padding:6px 0;
    position:absolute;left:50%;top:100%;transform:translateX(-50%);
    min-width:200px;background:#fff;border-top:3px solid var(--wood);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);border-radius:0 0 8px 8px;
    opacity:0;visibility:hidden;transition:opacity .15s;z-index:70;
  }
  .pc-nav .has-sub:hover .sub,.pc-nav .has-sub:focus-within .sub{opacity:1;visibility:visible;}
  .pc-nav .sub li{padding:0;text-align:center;}
  .pc-nav .sub a{
    display:block;line-height:1.5;padding:12px 20px;color:var(--wood);font-weight:900;font-size:14px;white-space:nowrap;
  }
  .pc-nav .sub a:hover{background:#FFF4E0;}

}
@media (min-width:861px) and (max-width:1100px){
  .tel-row .hours{display:none;}
  .nav-wrap{gap:16px;}
  .pc-nav > ul{padding:0 12px;}
  .pc-nav > ul > li{padding:0 10px;}
  .pc-nav > ul > li > a{font-size:13px;}
}
.hamburger{
  width:40px;height:40px;border-radius:50%;
  background:var(--paper);
  border:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  cursor:pointer;
}
.hamburger span{width:16px;height:2px;background:var(--navy);display:block;transition:transform .2s, opacity .2s;}
.hamburger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.hamburger.is-open span:nth-child(2){opacity:0;}
.hamburger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

/* ドロワーナビ */
.drawer-nav{
  max-height:0;overflow:hidden;
  background:var(--white);
  border-top:1px solid var(--line);
  transition:max-height .3s ease;
}
.drawer-nav.is-open{max-height:400px;}
.drawer-nav ul{
  list-style:none;margin:0;padding:18px 32px 22px;
  display:flex;flex-wrap:wrap;gap:10px 28px;
  max-width:1120px;margin:0 auto;
}
.drawer-nav a{
  font-size:14px;color:var(--red);font-weight:500;
  border-bottom:2px solid transparent;padding-bottom:3px;
}
.drawer-nav a:hover{border-color:var(--wood);}
.drawer-nav .current{color:var(--wood);border-color:var(--wood);font-weight:700;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 28px;
  border-radius:24px; /* 子ども向けらしく角丸に */
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  transition:transform .15s ease, box-shadow .15s ease;
  border:1.5px solid transparent;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{
  background:var(--wood);
  color:var(--white);
  box-shadow:0 4px 0 #C97800;
}
.btn-primary:hover{box-shadow:0 5px 0 #C97800;}
.btn-outline{
  border-color:var(--red);
  color:var(--red);
  background:var(--white);
}

/* ---------- hero ---------- */
.hero{
  background:var(--paper);
  padding:28px 0 0;
}
.breadcrumb{
  font-size:12px;color:var(--ink-soft);font-weight:500;
}
.breadcrumb a{color:var(--ink-soft);}
.breadcrumb a:hover{color:var(--wood);}
.page-title{
  text-align:center;
  padding:34px 0 30px;
}
.page-title .icon-badge{
  width:56px;height:56px;margin:0 auto 14px;
  border-radius:50%;
  background:var(--paper-deep);
  display:flex;align-items:center;justify-content:center;
}
.page-title h1{
  font-size:32px;font-weight:900;color:var(--red);
  margin-bottom:8px;
}
.page-title .sub{
  font-size:14px;color:var(--wood);
  letter-spacing:.04em;font-weight:700;
}
.hero-banner{
  position:relative;
  width:calc(100% - 32px);
  max-width:880px;
  margin:0 auto;
  aspect-ratio:1024/396;
  border-radius:12px; /* 角丸で柔らかく */
  overflow:hidden;
  background:var(--paper-deep);
  box-shadow:0 4px 20px rgba(0,104,183,0.08);
}
.hero-banner img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}
.school-tabs{
  display:flex;justify-content:center;
  background:transparent;
  margin-top:24px;
  border-bottom:2px solid var(--line);
}
.school-tabs div{
  padding:16px 34px;
  font-size:15px;font-weight:700;color:var(--ink-soft);
  border-bottom:3px solid transparent;
}
.school-tabs div.active{
  color:var(--red);border-bottom-color:var(--wood);
}

/* ---------- intro strip ---------- */
.intro-strip{
  background:var(--paper);
  padding:40px 0 0;
}
.intro-note{
  display:flex;justify-content:center;gap:24px 56px;
  max-width:880px;margin:0 auto;
  padding-top:24px;
  flex-wrap:wrap;
}
.intro-note div{font-size:13px;color:var(--ink-soft);}
.intro-note b{color:var(--red);font-family:"Noto Sans JP",sans-serif;font-size:16px;display:block;font-weight:900;}

/* ---------- concept ---------- */
.concept{text-align:center;}
.concept .sec-title{max-width:760px;margin-left:auto;margin-right:auto;font-size:27px;line-height:1.7;}
.concept p{max-width:620px;margin:0 auto;color:var(--ink-soft);text-align:left;}
.concept p + p{margin-top:20px;}
.concept .concept-sub{
  font-size:22px;font-weight:900;color:var(--red);
  margin:36px 0 12px;text-align:center;
}
.concept p + p{margin-top:1.4em;}

/* ---------- skills ---------- */
.skills-rod{
  position:relative;
  margin-top:40px;
}
.skills-rod .rail{
  position:absolute;top:20px;left:0;right:0;height:4px;
  background:var(--line);
  border-radius:2px;
}
.skills-list{
  display:grid;grid-template-columns:repeat(6,1fr);gap:10px;
  position:relative;
}
.skill-bead{
  text-align:center;
}
.skill-bead .bead{
  width:44px;height:44px;margin:0 auto 14px;
  border-radius:50%;
  /* ポップで明るいグラデーションに変更 */
  background:linear-gradient(135deg, var(--gold), var(--wood));
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-family:"Noto Sans JP",sans-serif;font-weight:900;font-size:14.5px;
  box-shadow:0 6px 12px rgba(243,146,0,0.25);
  border:3px solid var(--white);
}
.skill-bead h3{font-size:22px;color:var(--red);font-weight:900;}


/* ---------- いしど式とは ---------- */
.about-ishido{text-align:center;margin:64px 0 0;}
.about-ishido h2{
  font-size:34px;font-weight:500;color:#111;
  letter-spacing:.35em;padding-left:.35em;
  margin-bottom:22px;
}
.about-ishido .diamonds{display:flex;justify-content:center;gap:2px;margin-bottom:34px;}
.about-ishido .diamonds svg{width:72px;height:16px;}
.about-ishido p{
  max-width:960px;margin:0 auto;text-wrap:pretty;word-break:auto-phrase;line-break:strict;
  font-size:15px;line-height:2.1;letter-spacing:.06em;
  color:var(--ink-soft);font-weight:500;
}

/* ---------- method ---------- */
.method-frame{
  border:2px solid var(--red);
  border-radius:12px;
  overflow:hidden;
  margin-top:36px;
  background:var(--white);
  box-shadow:0 4px 20px rgba(230,0,18,0.08);
}
.method-row{
  display:grid;grid-template-columns:64px 1fr;
  border-bottom:1px solid var(--line);
}
.method-row:last-child{border-bottom:none;}
/* PC：2列×3行にして右側の余白をなくす */
.method-frame{display:grid;grid-template-columns:1fr 1fr;}
.method-row:nth-child(even){border-left:1px solid var(--line);}
.method-row:nth-last-child(-n+2){border-bottom:none;}
.method-row .body{display:flex;flex-direction:column;justify-content:center;}
.method-row .num{
  background:var(--red);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-family:"Noto Sans JP",sans-serif;font-size:20px;font-weight:900;
}
.method-row .body{padding:20px 24px;}
.method-row h3{font-size:16px;margin-bottom:4px;color:var(--red);font-weight:700;}
.method-row p{margin:0;color:var(--ink-soft);font-size:14px;}

.method-support{
  display:grid;grid-template-columns:1fr 1fr;gap:36px;
  margin-top:52px;align-items:center;
}
.method-support .imgph{
  aspect-ratio:4/3;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}
.method-support .imgph img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}

.tablet-box{
  margin-top:22px;background:#fff;border:2px solid var(--wood);border-radius:16px;
  padding:18px 16px 18px;
}
.tablet-box h4{margin:0 0 10px;font-size:16px;font-weight:900;color:var(--red);}
.tablet-box ul{margin:0 0 12px;padding-left:1.2em;color:var(--ink);font-size:13.5px;word-break:auto-phrase;font-weight:500;line-height:1.8;}
.tablet-box ul li{margin-bottom:4px;}
.tablet-box .note{margin:0;font-size:14px;font-weight:900;color:var(--wood);}
.method-support h3{font-size:19px;margin-bottom:10px;font-weight:700;}
.method-support p{color:var(--ink-soft);font-size:14.5px;}

/* ---------- video ---------- */
.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px;}
.video-ph{
  aspect-ratio:16/9;
  background:var(--paper-deep);
  border-radius:12px;
  position:relative;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.video-ph::after{
  content:"";
  width:0;height:0;
  border-left:16px solid var(--navy);
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  margin-left:4px;
}
.video-ph.is-photo{overflow:hidden;}
.video-ph.is-photo::after{display:none;}
.video-ph.is-photo img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
}

/* ---------- price ---------- */
.price-table{
  margin-top:36px;
  border:2px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}
.price-head, .price-row{
  display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr) 130px;
}
.price-head{
  background:var(--paper-deep);color:var(--red);
  font-size:14px;font-weight:900;
}
.price-head div, .price-row div{padding:16px 22px;}
.price-row{border-top:1px solid var(--line);background:var(--white);}
.price-row.featured{background:#FFF9E6;}
.price-row .name{font-family:"Noto Sans JP",sans-serif;font-weight:700;color:var(--red);display:flex;align-items:center;gap:8px;}
.badge{
  font-size:11px;background:var(--wood);color:var(--white);
  padding:3px 10px;border-radius:12px;font-weight:700;
}
.price-row .amount{font-family:"Noto Sans JP",sans-serif;font-weight:900;color:var(--wood);font-size:18px;}

.price-row{align-items:center;}
.price-row div:nth-child(2){font-size:14px;line-height:1.7;word-break:auto-phrase;}
@media (min-width:1100px){ .price-row div:nth-child(2){white-space:nowrap;} }
.price-row .amount{white-space:nowrap;}
.price-note{margin-top:18px;font-size:13px;color:var(--ink-soft);}


/* ---------- せんせいの紹介 ---------- */
.teacher-card{
  display:grid;grid-template-columns:5fr 7fr;gap:48px;
  margin-top:40px;align-items:start;
}
.teacher-photo{
  border-radius:12px;overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.teacher-photo img{width:100%;height:auto;display:block;}
.teacher-name{font-size:22px;font-weight:900;color:#222;margin-bottom:16px;}
.teacher-msg{margin:0 0 22px;color:var(--ink);font-weight:500;line-height:2;}
.teacher-profile{margin:0;border-top:1px solid var(--line);}
.teacher-profile > div{
  display:grid;grid-template-columns:72px 1fr;gap:12px;
  padding:14px 0;border-bottom:1px solid var(--line);
}
.teacher-profile dt{color:var(--red);font-weight:900;}
.teacher-profile dd{margin:0;color:var(--ink);font-weight:500;}
.teacher-profile ul{list-style:none;margin:0;padding:0;}

/* ---------- classroom ---------- */
.classroom-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:44px;
  margin-top:36px;align-items:start;
}
.classroom-photo{
  aspect-ratio:4/3;border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}
.classroom-photo img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.info-table{width:100%;border-collapse:collapse;font-size:14.5px;}
.info-table tr{border-bottom:1px solid var(--line);}
.info-table td{padding:14px 0;vertical-align:top;}
.info-table td:first-child{width:96px;color:var(--wood);font-weight:700;font-size:14px;}
.same-building{
  margin-top:18px;
  background:#FFF9E6;
  border-left:4px solid var(--wood);
  padding:14px 18px;
  font-size:13.5px;
  color:var(--ink-soft);
  border-radius:4px;
  font-weight:500;
}

/* ---------- contact (添付デザイン準拠) ---------- */
.contact-sec{background:#F8F0E0;text-align:center;padding:56px 0 72px;}
.contact-en{
  font-size:38px;font-weight:900;color:var(--wood);letter-spacing:.04em;line-height:1.2;
  margin:0;
}
.contact-wave{display:block;margin:6px auto 10px;width:236px;height:14px;}
.contact-sec h2{font-size:38px;font-weight:900;color:#111;margin:0 0 12px;text-align:center;}
/* 2026-11 そろばん教室の注記（文字サイズはカード内「お電話でのお問い合わせ」と同じ） */
.contact-sec .contact-note{font-size:13px;font-weight:500;color:#444;margin:0 0 44px;}
.contact-cards{display:flex;justify-content:center;gap:54px;max-width:900px;margin:0 auto;}
.contact-card{flex:1;max-width:392px;background:#fff;border:2px solid var(--wood);}
.contact-card .school{background:var(--wood);color:#fff;font-weight:900;font-size:18px;padding:2px 0;line-height:1.6;}
.contact-card .body{padding:12px 16px 14px;color:#444;}
.contact-card .lead{font-size:13px;font-weight:500;}
.contact-card .tel{font-size:28px;font-weight:900;color:#444;margin:2px 0 4px;letter-spacing:.02em;line-height:1.5;}
.contact-card .hours{font-size:13px;font-weight:500;line-height:1.5;display:inline-block;text-align:right;}
.contact-form-title{font-size:16px;font-weight:700;color:#111;margin:48px 0 10px;}
.contact-form-btn{
  display:inline-block;background:var(--wood);color:#fff;font-weight:900;font-size:22px;
  border-radius:999px;padding:8px 56px;min-width:340px;letter-spacing:.04em;
  transition:opacity .15s;
}
.contact-form-btn:hover{opacity:.9;}

/* ---------- footer (添付デザイン準拠) ---------- */
.site-footer{background:#F5F4F6;color:#444;text-align:center;font-size:13px;}
.footer-nav{
  list-style:none;display:flex;justify-content:center;flex-wrap:wrap;
  margin:0;padding:28px 32px 0;font-size:15px;font-weight:900;color:#444;
}
.footer-nav li{padding:0 24px;position:relative;line-height:1.6;}
.footer-nav li + li::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:2px;height:20px;background:#222;
}
.footer-nav a:hover{color:var(--wood);}
.footer-logo{margin:46px auto 38px;}
.footer-logo img{height:76px;width:auto;margin:0 auto;mix-blend-mode:multiply;}
.footer-sub{display:flex;justify-content:center;gap:76px;font-size:13px;font-weight:700;color:#444;padding-bottom:30px;}
.footer-copy{background:var(--wood);color:#fff;font-size:11px;font-weight:500;padding:3px 0;}

/* 画面下部・固定CTAバー */
.fixed-cta-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  display:none; 
  box-shadow:0 -4px 14px rgba(0,0,0,0.1);
}
.fixed-cta-bar a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:14px 6px;
  font-size:13px;font-weight:700;color:var(--white);
  border-right:1px solid rgba(255,255,255,0.15);
}
.fixed-cta-bar a:last-child{border-right:none;}
.fixed-cta-bar a.contact{background:var(--wood);}
.fixed-cta-bar a.tel-a{background:var(--navy);}
.fixed-cta-bar a.tel-b{background:var(--navy-deep);}
.fixed-cta-bar a span{display:block;font-size:10px;font-weight:500;opacity:.9;margin-top:2px;}

@media (max-width:860px){
  body{padding-bottom:56px;} 
  .fixed-cta-bar{display:flex;}
  section{padding:60px 0;}
  .page-title h1{font-size:24px;}
  .tel-mini{display:none;}
  .nav-cta .btn{padding:11px 16px;font-size:12.5px;}
  .brand small{display:none;}
  .skills-list{grid-template-columns:repeat(3,1fr);row-gap:28px;}
  .skills-rod .rail{display:none;}
  .skill-bead h3{font-size:16px;}
  .contact-cards{flex-direction:column;align-items:center;gap:24px;padding:0 20px;}
  .contact-card{width:100%;max-width:392px;}
  .contact-card .tel{font-size:24px;}
  .contact-card .hours{font-size:11.5px;}
  .contact-card .body{padding:12px 8px 14px;}
  .contact-en,.contact-sec h2{font-size:28px;}
  .contact-sec h2{margin-bottom:10px;}
  .contact-sec .contact-note{margin-bottom:26px;}
  .contact-form-btn{min-width:0;width:calc(100% - 40px);font-size:18px;padding:8px 20px;}
  .footer-nav{padding:24px 12px 0;font-size:13px;}
  .footer-nav li{padding:0 12px;}
  .footer-sub{gap:32px;}
  footer{padding-bottom:56px;}
  .nav-wrap{height:64px;gap:10px;}
  .brand img{height:40px;}
  .tel-block{display:none;}
  .nav-wrap .nav-cta{margin-left:auto;}
  .nav-cta .icon-btn{display:flex;}
  .reserve-btn{font-size:11px;padding:6px 10px;min-width:0;border-radius:8px;white-space:nowrap;}
  .teacher-card{grid-template-columns:1fr;gap:28px;}
  .method-frame{grid-template-columns:1fr;}
  .method-row:nth-child(even){border-left:none;}
  .method-row:nth-last-child(2){border-bottom:1px solid var(--line);}
  .about-ishido h2{font-size:24px;letter-spacing:.2em;padding-left:.2em;}
  .about-ishido p{font-size:14px;text-align:left;letter-spacing:.04em;}
  .method-support{grid-template-columns:1fr;}
  .video-grid{grid-template-columns:1fr;}
  .price-head, .price-row{grid-template-columns:1.2fr 1fr .8fr;font-size:13px;}
  .price-head div,.price-row div{padding:12px 14px;}
  .classroom-grid{grid-template-columns:1fr;}
}

/* ---------- 実装側の追加（WP運用・SP調整） ---------- */
/* ログイン時の WP 管理バー分オフセット */
.admin-bar .site-header{top:32px;}
@media (max-width:782px){ .admin-bar .site-header{top:46px;} }
.site-footer a{color:inherit;}
.pc-nav .sub a[aria-current="page"]{background:#FFF4E0;}
@media (max-width:860px){
  .container{padding-left:20px;padding-right:20px;}
  .nav-wrap{padding-left:16px;padding-right:16px;}
  .drawer-nav ul{padding:18px 20px 22px;}
  .hero-banner{width:calc(100% - 40px);}
  .sec-title{font-size:24px;}
  .concept .sec-title{font-size:21px;}
  .concept .concept-sub{font-size:19px;}
  /* 料金表：SPは「コース名｜金額」を1行目、内容を2行目に積む（モックアップの3列固定は内容列が縦長になるため） */
  .price-head{display:none;}
  .price-row{grid-template-columns:1fr auto;gap:0;padding:14px 16px;}
  .price-row div{padding:0;}
  .price-row .name{font-size:15px;}
  .price-row .amount{font-size:17px;}
  .price-row .name{grid-column:1;grid-row:1;}
  .price-row .amount{grid-column:2;grid-row:1;align-self:center;}
  .price-row div:nth-child(2){grid-column:1 / -1;grid-row:2;margin-top:8px;font-size:13.5px;word-break:normal;}
  .price-row div:nth-child(2) br{display:none;}
  .page-title h1 .nowrap{white-space:nowrap;}
  .info-table td:first-child{width:72px;}
  .teacher-name{font-size:19px;}
}
@media (max-width:480px){
  .nav-cta .reserve-btn{display:none;} /* 極小幅は TELアイコン＋ハンバーガーのみ。CTAは下部固定バーに委ねる */
  .brand img{height:36px;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .drawer-nav,.hamburger span,.btn,.reserve-btn{transition:none;}
}
