/* =================================================================
   AI家庭教師 GIFU — site-v2 (tomonokai-inspired)
   Navy #000278 + Orange #F36108 — 公式感デザイン
   Noto Sans JP + Inter (数値)
   ================================================================= */

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #000278;
  --navy-light: #1a1c8a;
  --navy-bg: #f0f0ff;
  --orange: #F36108;
  --orange-dark: #C85000;
  --orange-light: #FFDFCF;
  --orange-bg: #fff5ef;
  --green: #04AB2A;
  --green-light: #54C05F;
  --blue: #004aad;
  --red: #ff5656;
  --link: #4270E5;

  --white: #ffffff;
  --bg-light: #F5F5F5;
  --text: #333333;
  --text-light: #7d7d7d;
  --text-dark: #1a1a1a;
  --border: #D3D3D3;
  --border-light: #e8e8e8;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Inter", "Noto Sans JP", sans-serif;

  --fs-ex-huge: 42px;
  --fs-huge: 38px;
  --fs-semi-huge: 32px;
  --fs-ex-large: 28px;
  --fs-large: 22px;
  --fs-semi-large: 20px;
  --fs-regular: 18px;
  --fs-semi-small: 16px;
  --fs-small: 14px;
  --fs-ex-small: 13px;

  --content-w: 1024px;
  --wide-w: 1200px;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.2);
  --header-h: 140px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-jp);
  font-size: var(--fs-regular);
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color 0.3s, opacity 0.3s; }
a:hover { color: var(--orange); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--navy); color: var(--white); }

/* -------- Layout -------- */
.content { max-width: var(--content-w); width: 100%; margin: 0 auto; padding: 0 20px; }
.wide-content { max-width: var(--wide-w); margin: 0 auto; padding: 0 20px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-jp); font-size: var(--fs-semi-small); font-weight: 700;
  border-radius: var(--radius); border: 3px solid transparent;
  text-decoration: none; cursor: pointer; transition: all 0.3s;
  white-space: nowrap; text-align: center;
}
.btn:hover { text-decoration: none; opacity: 0.85; }

.btn-orange {
  background: var(--orange); color: var(--white); border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

.btn-orange-outline {
  background: var(--white); color: var(--orange); border-color: var(--orange);
}
.btn-orange-outline:hover { background: var(--orange); color: var(--white); }

.btn-navy {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }

.btn-green {
  background: linear-gradient(98deg, var(--green-light), var(--green));
  color: var(--white); border-color: var(--green);
}
.btn-green:hover { opacity: 0.9; color: var(--white); }

.btn-lg { padding: 18px 40px; font-size: var(--fs-regular); }
.btn-sm { padding: 10px 20px; font-size: var(--fs-small); }
.btn-pill { border-radius: 50px; }
.btn-wide { min-width: 280px; }

/* -------- Header: 3 layers -------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Layer 1: Sub nav */
.header-sub {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-small);
  color: var(--text-light);
}
.header-sub-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 32px;
}
.header-sub a { color: var(--text-light); font-size: var(--fs-ex-small); }
.header-sub a:hover { color: var(--orange); }

/* Layer 2: Main header */
.header-main {
  border-bottom: 1px solid var(--border-light);
}
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo:hover { opacity: 1; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-num); font-weight: 700; font-size: 16px; font-style: italic;
  border-radius: 6px;
}
.logo-text {
  font-weight: 900; font-size: var(--fs-semi-large); color: var(--navy);
  line-height: 1.2; letter-spacing: 0.02em;
}
.logo-text small {
  display: block; font-size: var(--fs-ex-small); font-weight: 600;
  color: var(--text-light); letter-spacing: 0.06em;
}

.header-cta-group { display: flex; gap: 10px; align-items: center; }
.header-cta-tel {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius);
  background: linear-gradient(98deg, var(--green-light), var(--green));
  color: var(--white); text-decoration: none; font-weight: 700; font-size: var(--fs-semi-small);
}
.header-cta-tel:hover { opacity: 0.9; color: var(--white); }
.header-cta-tel .tel-icon { font-size: 18px; }
.header-cta-tel .tel-num { font-family: var(--font-num); font-size: var(--fs-large); font-weight: 800; letter-spacing: -0.02em; }
.header-cta-tel .tel-hours { font-size: var(--fs-ex-small); font-weight: 400; opacity: 0.85; }

/* Layer 3: Navy navigation bar */
.header-nav {
  background: var(--navy);
}
.header-nav-inner {
  display: flex; align-items: center; justify-content: center;
  height: 48px; gap: 0;
}
.header-nav a {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  color: var(--white); font-size: var(--fs-semi-small); font-weight: 700;
  text-decoration: none; position: relative; letter-spacing: 0.04em;
  transition: background 0.3s;
}
.header-nav a::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 80%; height: 3px; background: var(--white); border-radius: 1px;
  transition: transform 0.4s;
}
.header-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.header-nav a:hover::after { transform: translateX(-50%) scaleX(1); }
.header-nav a.active::after { transform: translateX(-50%) scaleX(1); }

/* Mobile menu */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--white);
  padding: 0;
}
.hero-visual {
  position: relative; width: 100%; height: 600px; overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,2,120,0.85) 0%, rgba(0,2,120,0.6) 50%, rgba(0,2,120,0.2) 100%);
  display: flex; align-items: center;
}
.hero-copy {
  color: var(--white); padding: 0 60px; max-width: 680px;
}
.hero-copy h1 {
  font-size: clamp(26px, 4.5vw, 48px); font-weight: 900; line-height: 1.5;
  margin-bottom: 20px; letter-spacing: 0.04em;
}

/* Hero CTA band (below hero image) */
.hero-cta-band {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}
.hero-cta-inner {
  display: flex; align-items: stretch; gap: 24px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.hero-cta-tel-block, .hero-cta-web-block {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
}
.hero-cta-tel-block { border-right: 1px solid var(--border-light); padding-right: 24px; }
.hero-cta-label { font-size: var(--fs-small); color: var(--text-light); font-weight: 500; }
.hero-cta-tel-num {
  font-family: var(--font-num); font-size: var(--fs-ex-huge); font-weight: 800;
  color: var(--green); letter-spacing: -0.02em; line-height: 1;
}
.hero-cta-hours { font-size: var(--fs-ex-small); color: var(--text-light); }

/* Strength bar */
.strength-bar {
  background: var(--navy); padding: 0; overflow: hidden;
}
.strength-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.strength-chip {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 12px 24px;
  font-size: var(--fs-small); color: rgba(255,255,255,0.85); font-weight: 500;
  white-space: nowrap; position: relative;
}
.strength-chip strong {
  color: var(--white); font-weight: 800;
}
.strength-chip + .strength-chip::before {
  content: ""; position: absolute; left: 0; top: 25%; height: 50%;
  width: 1px; background: rgba(255,255,255,0.25);
}

/* -------- Section structure -------- */
section { padding: 80px 0; }
section.bg-light { background: var(--bg-light); }
section.bg-orange { background: var(--orange-light); }
section.bg-navy { background: var(--navy); color: var(--white); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en {
  display: block; font-family: var(--font-num); font-size: var(--fs-small);
  font-weight: 600; color: var(--orange); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: var(--fs-semi-huge); font-weight: 900; color: var(--navy); line-height: 1.5;
  margin-bottom: 16px;
}
.section-head .lead {
  font-size: var(--fs-regular); color: var(--text-light); max-width: 640px; margin: 0 auto; line-height: 1.9;
}

section.bg-navy .section-head h2 { color: var(--white); }
section.bg-navy .section-head .lead { color: rgba(255,255,255,0.8); }

/* -------- Cards -------- */
.card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

/* -------- Feature blocks (tomonokai style: 4 features) -------- */
.feature-list { display: flex; flex-direction: column; gap: 48px; }
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.feature-block:nth-child(even) { direction: rtl; }
.feature-block:nth-child(even) > * { direction: ltr; }
.feature-block-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-block-img img { width: 100%; height: 320px; object-fit: cover; }
.feature-block-body {}
.feature-block-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-num); font-size: var(--fs-large); font-weight: 800;
  border-radius: 50%; margin-bottom: 16px;
}
.feature-block-body h3 {
  font-size: var(--fs-ex-large); font-weight: 900; color: var(--navy);
  margin-bottom: 16px; line-height: 1.5;
}
.feature-block-body p {
  font-size: var(--fs-regular); color: var(--text); line-height: 2;
}
.feature-block-badge {
  display: inline-block; margin-top: 12px;
  padding: 4px 12px; background: var(--orange); color: var(--white);
  font-size: var(--fs-ex-small); font-weight: 800; border-radius: 50px;
  letter-spacing: 0.04em;
}

/* -------- Course cards -------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.course-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.course-card-featured { border: 3px solid var(--orange); }

.course-card-head {
  padding: 24px 24px 16px; border-bottom: 1px solid var(--border-light);
}
.course-card-head h3 { font-size: var(--fs-large); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.course-tag {
  display: inline-block; padding: 3px 10px;
  background: var(--orange-bg); color: var(--orange);
  font-size: var(--fs-ex-small); font-weight: 700; border-radius: 50px;
}

.ribbon {
  position: absolute; top: 0; right: 0;
  background: var(--orange); color: var(--white);
  padding: 6px 20px; font-size: var(--fs-ex-small); font-weight: 800;
  border-radius: 0 var(--radius) 0 var(--radius);
}

.course-card-body { padding: 16px 24px; flex: 1; }
.course-card-body li {
  padding: 8px 0; font-size: var(--fs-semi-small); color: var(--text);
  border-bottom: 1px solid var(--border-light); padding-left: 20px; position: relative;
}
.course-card-body li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}
.course-card-body li:last-child { border-bottom: none; }

.course-card-foot {
  padding: 16px 24px 24px; border-top: 1px solid var(--border-light);
  text-align: center;
}
.course-price {
  font-family: var(--font-num); font-size: var(--fs-semi-huge); font-weight: 800;
  color: var(--navy); line-height: 1;
}
.course-price small { font-family: var(--font-jp); font-size: var(--fs-semi-small); font-weight: 600; color: var(--text-light); }

.course-note { font-size: var(--fs-small); color: var(--text-light); line-height: 1.8; margin-top: 24px; padding: 16px; background: var(--bg-light); border-left: 3px solid var(--border); border-radius: 0 var(--radius) var(--radius) 0; }

/* -------- Teacher -------- */
.teacher-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.teacher-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.teacher-name { font-size: var(--fs-semi-huge); font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.teacher-roman { font-family: var(--font-num); font-size: var(--fs-semi-small); color: var(--text-light); letter-spacing: 0.06em; margin-bottom: 16px; }
.teacher-role { font-size: var(--fs-regular); font-weight: 700; color: var(--text); margin-bottom: 24px; line-height: 1.6; }
.teacher-bio { font-size: var(--fs-regular); color: var(--text); line-height: 2; margin-bottom: 24px; }
.teacher-section { margin-bottom: 32px; }
.teacher-section h3 {
  font-size: var(--fs-semi-large); font-weight: 900; color: var(--navy);
  padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 16px;
}
.teacher-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.teacher-tags li {
  font-size: var(--fs-ex-small); font-weight: 700; color: var(--navy);
  background: var(--navy-bg); padding: 5px 12px; border-radius: 50px;
  border: 1px solid rgba(0,2,120,0.15);
}

/* -------- Zero promise (tomonokai "7つの0円" style) -------- */
.zero-table {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  max-width: 640px; margin: 0 auto;
}
.zero-table-head {
  background: var(--blue); color: var(--white);
  padding: 16px; text-align: center;
  font-size: var(--fs-semi-large); font-weight: 900;
}
.zero-table-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border-light);
}
.zero-table-row:last-child { border-bottom: none; }
.zero-table-label { font-size: var(--fs-semi-large); color: var(--text-light); font-weight: 500; }
.zero-table-value {
  font-family: var(--font-num); font-size: var(--fs-ex-huge); font-weight: 800;
  color: var(--orange); line-height: 1;
}
.zero-table-value span { font-family: var(--font-jp); font-size: var(--fs-large); }

/* -------- Price table -------- */
.price-table { width: 100%; border-collapse: collapse; font-size: var(--fs-semi-small); }
.price-table th, .price-table td {
  padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border-light);
}
.price-table thead th {
  background: var(--navy); color: var(--white); font-weight: 700; font-size: var(--fs-small);
}
.price-table .highlight-row td { background: var(--orange-bg); font-weight: 700; }

/* -------- Flow steps -------- */
.flow-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-step {
  display: flex; gap: 24px; align-items: flex-start; padding: 24px 0;
  border-bottom: 1px solid var(--border-light); position: relative;
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: var(--navy); color: var(--white);
  font-family: var(--font-num); font-size: var(--fs-large); font-weight: 800;
  border-radius: 50%;
}
.flow-body h3 { font-size: var(--fs-semi-large); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.flow-body p { font-size: var(--fs-semi-small); color: var(--text); line-height: 1.8; }
.flow-arrow {
  display: block; text-align: center; padding: 8px 0;
  color: var(--border); font-size: var(--fs-large);
}

/* -------- FAQ -------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 18px 24px; cursor: pointer; display: flex; align-items: center; gap: 16px;
  font-weight: 700; font-size: var(--fs-regular); color: var(--text-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-badge {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--navy); color: var(--white);
  font-family: var(--font-num); font-size: var(--fs-semi-small); font-weight: 800;
  border-radius: 50%;
}
.faq-toggle {
  margin-left: auto; flex-shrink: 0; font-size: var(--fs-large);
  color: var(--orange); transition: transform 0.3s; font-weight: 300;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 20px 72px;
  font-size: var(--fs-semi-small); color: var(--text); line-height: 2;
}
.faq-a-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; background: var(--red); color: var(--white);
  font-family: var(--font-num); font-size: var(--fs-ex-small); font-weight: 800;
  border-radius: 50%; margin-right: 8px; vertical-align: middle;
}

/* -------- Area -------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.area-col h3 {
  font-size: var(--fs-semi-large); font-weight: 900; color: var(--navy);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--orange);
}
.area-col li { padding: 6px 0; font-size: var(--fs-semi-small); color: var(--text); border-bottom: 1px solid var(--border-light); }
.area-col li:last-child { border-bottom: none; }
.area-bg {
  position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 40px;
  height: 280px;
}
.area-bg img { width: 100%; height: 100%; object-fit: cover; }
.area-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,2,120,0.6) 100%);
  display: flex; align-items: flex-end; padding: 24px;
}
.area-bg-overlay p { color: var(--white); font-size: var(--fs-semi-large); font-weight: 900; }

/* -------- Voices -------- */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.voice-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.voice-card p { font-size: var(--fs-semi-small); color: var(--text); line-height: 1.9; margin-bottom: 12px; }
.voice-card .voice-name { font-size: var(--fs-small); font-weight: 700; color: var(--navy); }

/* -------- CTA section -------- */
.cta-section {
  background: var(--orange-light); padding: 60px 0; text-align: center;
}
.cta-section h2 { font-size: var(--fs-ex-large); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.cta-section p { font-size: var(--fs-regular); color: var(--text); margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-small { font-size: var(--fs-small); color: var(--text-light); margin-top: 16px; }

/* -------- Contact form -------- */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: var(--fs-semi-small); font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.form-group .required {
  font-size: var(--fs-ex-small); font-weight: 700; color: var(--white);
  background: var(--orange); padding: 2px 8px; border-radius: 50px; margin-left: 6px;
}
.form-group .optional {
  font-size: var(--fs-ex-small); font-weight: 700; color: var(--text-light);
  background: var(--bg-light); padding: 2px 8px; border-radius: 50px; margin-left: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-jp); font-size: var(--fs-regular);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,2,120,0.1);
}
.form-group textarea { min-height: 160px; resize: vertical; }

/* -------- Consult cards (courses) -------- */
.consult-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.consult-card {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  background: var(--white); padding: 24px; text-align: center;
  display: flex; flex-direction: column;
}
.consult-card p { flex: 1; }
.consult-card-icon {
  font-size: 32px; margin-bottom: 12px; line-height: 1;
}
.consult-card h3 {
  font-size: var(--fs-semi-small); font-weight: 900; color: var(--navy);
  margin-bottom: 8px;
}
.consult-card p {
  font-size: var(--fs-small); color: var(--text-light); line-height: 1.7;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .consult-cards { grid-template-columns: 1fr; }
}

/* -------- Price list (courses) -------- */
.price-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.price-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-semi-small);
}
.price-row:last-child { border-bottom: none; }
.price-row-label { font-weight: 700; color: var(--text-dark); }
.price-row-value { font-weight: 800; color: var(--navy); font-size: var(--fs-regular); white-space: nowrap; }
.price-row-note { font-size: var(--fs-small); color: var(--text-light); white-space: nowrap; }

@media (max-width: 600px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 4px; padding: 14px 16px;
  }
  .price-row-value { font-size: var(--fs-semi-small); }
}

/* -------- Compare cards (courses) -------- */
.compare-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.compare-card {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.compare-card--featured {
  border: 2px solid var(--orange); box-shadow: var(--shadow);
}
.compare-card-head {
  padding: 14px 16px; text-align: center;
  font-size: var(--fs-semi-small); font-weight: 800; color: var(--navy);
  background: var(--bg-light); border-bottom: 1px solid var(--border-light);
}
.compare-card--featured .compare-card-head {
  background: var(--orange); color: var(--white);
}
.compare-card-body {
  padding: 16px;
}
.compare-card-body dt {
  font-size: var(--fs-ex-small); font-weight: 700; color: var(--text-light);
  margin-bottom: 2px;
}
.compare-card-body dd {
  font-size: var(--fs-semi-small); color: var(--text); font-weight: 500;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.compare-card-body dd:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.compare-card--featured .compare-card-body dd { font-weight: 700; color: var(--text-dark); }

@media (max-width: 1080px) {
  .compare-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .compare-cards { grid-template-columns: 1fr; }
  .compare-card--featured { order: -1; }
}

/* -------- Breadcrumb -------- */
.breadcrumb { padding: 16px 0; font-size: var(--fs-small); color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* -------- Page header (sub pages) -------- */
.page-header { padding: 48px 0 40px; background: var(--bg-light); border-bottom: 1px solid var(--border-light); }
.page-header h1 {
  font-size: var(--fs-semi-huge); font-weight: 900; color: var(--navy);
  margin-bottom: 12px;
}
.page-header .lead { font-size: var(--fs-regular); color: var(--text-light); max-width: 640px; }

/* -------- Compare table -------- */
.compare-table { width: 100%; border-collapse: collapse; text-align: center; font-size: var(--fs-semi-small); }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
.compare-table thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table .check { color: var(--orange); font-size: var(--fs-large); font-weight: 700; }

/* -------- Related links -------- */
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); text-decoration: none; color: var(--text-dark);
  font-weight: 700; font-size: var(--fs-semi-small);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.related-card:hover { border-color: var(--orange); box-shadow: var(--shadow); color: var(--text-dark); }
.related-card .arrow { color: var(--orange); font-size: var(--fs-large); }

/* -------- Footer -------- */
.site-footer { background: var(--bg-light); padding: 48px 0 24px; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-weight: 900; font-size: var(--fs-semi-large); color: var(--navy); margin-bottom: 8px; }
.footer-org { font-size: var(--fs-small); color: var(--text-light); }
.site-footer h4 { font-size: var(--fs-small); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer a { color: var(--text-light); font-size: var(--fs-small); }
.site-footer a:hover { color: var(--orange); }
.footer-copy { font-size: var(--fs-ex-small); color: var(--text-light); text-align: center; padding-top: 24px; border-top: 1px solid var(--border-light); }

/* -------- Responsive -------- */
@media (max-width: 1080px) {
  .content, .wide-content { width: 100%; padding: 0 20px; }
  .header-sub { display: none; }
  .header-main-inner { gap: 12px; }
  .header-cta-tel { display: none; }
  .header-cta-group .btn { display: none; }
  .header-nav { display: none; }
  .header-nav.open { display: block; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 99; background: rgba(0,0,0,0.4); }
  .header-nav.open .header-nav-inner {
    flex-direction: column; height: auto; padding: 16px 0; background: var(--navy);
  }
  .header-nav.open a { height: auto; padding: 14px 24px; text-align: left; justify-content: flex-start; font-size: var(--fs-regular); }
  .menu-toggle { display: flex; }

  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: var(--fs-ex-large); }

  .hero-visual { height: 480px; }
  .hero-copy h1 { font-size: 24px; }
  .hero-copy { padding: 0 24px; }
  .hero-overlay { align-items: flex-end; padding-bottom: 32px; }

  .feature-block { grid-template-columns: 1fr; gap: 24px; }
  .feature-block:nth-child(even) { direction: ltr; }
  .feature-block-img img { height: 240px; }
  .course-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-photo { text-align: center; }
  .teacher-photo img { max-width: 280px; margin: 0 auto; }
  .area-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-links { grid-template-columns: 1fr; }
  .hero-cta-inner { flex-direction: column; }
  .hero-cta-tel-block { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border-light); padding-bottom: 16px; }

  /* Contact page grid */
  [style*="grid-template-columns: 1fr 360px"],
  [style*="grid-template-columns:1fr 360px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Price / compare table scroll */
  .price-table, .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .single-course-details th { width: auto; }

  /* btn-wide cap */
  .btn-wide { min-width: 0; width: 100%; }
  .single-course-cta .btn { width: 100%; margin-bottom: 8px; }
}

@media (max-width: 600px) {
  section { padding: 40px 0; }
  .section-head h2 { font-size: var(--fs-large); }
  .section-head .lead { font-size: var(--fs-semi-small); }

  .strength-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .strength-chip { padding: 10px 16px; font-size: var(--fs-ex-small); }

  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; }

  .hero-visual { height: auto; min-height: 420px; aspect-ratio: 3/4; max-height: 560px; }
  .hero-copy { padding: 0 20px; }
  .hero-copy h1 { font-size: 22px; margin-bottom: 12px; }
  .hero-overlay { align-items: flex-end; padding-bottom: 28px; }
  .hero-sub { font-size: var(--fs-small); margin-bottom: 12px; }
  .hero-cta-btns .btn { padding: 14px 24px; font-size: var(--fs-semi-small); }

  .hero-cta-band { padding: 20px 0; }
  .hero-cta-inner { padding: 16px; }
  .hero-cta-web-block .btn { width: 100%; }

  .feature-block-body h3 { font-size: var(--fs-large); }
  .feature-block-img img { height: 200px; }

  .page-header { padding: 32px 0 28px; }
  .page-header h1 { font-size: var(--fs-ex-large); }

  .faq-item summary { padding: 14px 16px; font-size: var(--fs-semi-small); gap: 12px; }
  .faq-item .faq-answer { padding: 0 16px 16px 56px; font-size: var(--fs-small); }

  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: var(--fs-large); }

  .contact-form { max-width: 100%; }

  .area-bg { height: 200px; }
  .area-bg-overlay p { font-size: var(--fs-regular); }
  .area-lead { font-size: var(--fs-semi-small) !important; }
  .area-limit-badge { font-size: var(--fs-semi-small); padding: 6px 16px; }

  .single-course-main { padding: 24px 16px; }
  .single-course-name { font-size: var(--fs-large); }
  .single-course-price { font-size: var(--fs-semi-huge); }
  .single-course-details { padding: 16px; }
  .single-course-cta { padding: 12px 16px 24px; }
}

/* -------- Hero sub & badges (index) -------- */
.hero-sub {
  font-size: var(--fs-semi-small); font-weight: 700; color: var(--white);
  letter-spacing: 0.12em; margin-bottom: 16px; opacity: 0.85;
}
.font-num { font-family: var(--font-num); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  color: var(--white); font-size: var(--fs-small); font-weight: 700;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; letter-spacing: 0.04em;
}

.hero-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* -------- Single course card (index & courses) -------- */
.single-course-card {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.single-course-main {
  background: var(--navy); color: var(--white);
  padding: 32px; text-align: center;
}
.single-course-name {
  font-size: var(--fs-ex-large); font-weight: 900; margin-bottom: 8px;
}
.single-course-price {
  font-family: var(--font-num); font-size: var(--fs-ex-huge); font-weight: 900; line-height: 1.2;
}
.single-course-price small {
  font-family: var(--font-jp); font-size: var(--fs-semi-small); font-weight: 600; opacity: 0.8;
}
.single-course-details {
  padding: 24px 32px;
}
.single-course-details table {
  width: 100%; border-collapse: collapse; font-size: var(--fs-semi-small);
}
.single-course-details th,
.single-course-details td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-light);
}
.single-course-details th {
  font-weight: 700; color: var(--text-dark); width: 40%;
}
.single-course-details td { color: var(--text); }
.single-course-cta {
  padding: 16px 32px 32px; text-align: center;
}

/* -------- Area limit badge -------- */
.area-limit-badge {
  display: inline-block; padding: 8px 24px;
  background: var(--orange); color: var(--white);
  font-size: var(--fs-large); font-weight: 900; border-radius: 50px;
  letter-spacing: 0.06em; margin-bottom: 12px;
}

/* -------- Responsive additions -------- */
@media (max-width: 1080px) {
  .single-course-card { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-cta-btns { flex-direction: column; }
  .hero-cta-btns .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
