/* ============================================
   長城学院 — Renewal Stylesheet
   特許「漢字中国語®」教授法
   ============================================ */

:root {
  --c-red: #C8102E;
  --c-red-dark: #9B0B22;
  --c-red-light: #FCE7EB;
  --c-gold: #C79A2E;
  --c-gold-light: #F8EFD4;
  --c-navy: #0E2A47;
  --c-navy-soft: #1B3A5C;
  --c-ink: #1A1A1A;
  --c-text: #2C2C2C;
  --c-mute: #6B7280;
  --c-line: #E5E7EB;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F8F6F1;
  --c-bg-paper: #FAF7EF;
  --shadow-sm: 0 1px 2px rgba(14,42,71,.06), 0 1px 3px rgba(14,42,71,.05);
  --shadow-md: 0 4px 12px rgba(14,42,71,.08), 0 2px 6px rgba(14,42,71,.04);
  --shadow-lg: 0 16px 40px rgba(14,42,71,.10), 0 4px 16px rgba(14,42,71,.06);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --max: 1200px;
  --container-pad: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, -apple-system, sans-serif;
  font-feature-settings: "palt" 1;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-red); }

/* ============ Container ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 16px; color: var(--c-navy); letter-spacing: .03em; }
.brand__sub { font-size: 10px; color: var(--c-red); letter-spacing: .12em; font-weight: 600; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--c-ink); position: relative; }
.nav a:hover { color: var(--c-red); }
.nav .has-sub { position: relative; }
.nav .has-sub::after { content: "▾"; font-size: 10px; margin-left: 4px; color: var(--c-mute); }
.nav .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 12px; min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .2s;
}
.nav .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav .submenu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.nav .submenu a:hover { background: var(--c-red-light); color: var(--c-red); }

.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-red); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(200,16,46,.30);
  transition: all .2s;
}
.btn-cta:hover { background: var(--c-red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,16,46,.40); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--c-navy); margin: 5px 0; transition: .3s; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FAF7EF 0%, #FFFFFF 60%);
  padding: 80px 0 100px;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: radial-gradient(ellipse at center right, rgba(200,16,46,.06), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--c-red);
  color: var(--c-red); font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  letter-spacing: .05em;
  box-shadow: 0 2px 8px rgba(200,16,46,.10);
}
.hero__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-red); }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.25; font-weight: 800;
  color: var(--c-navy); margin: 24px 0 24px;
  letter-spacing: -.01em;
}
.hero h1 .em { color: var(--c-red); position: relative; display: inline-block; }
.hero h1 .em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px;
  background: linear-gradient(90deg, var(--c-gold) 0%, transparent 100%);
  opacity: .35; z-index: -1;
}
.hero p.lead { font-size: 17px; line-height: 1.95; color: var(--c-text); margin-bottom: 36px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-red); color: #fff !important;
  padding: 18px 36px; border-radius: 999px; font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(200,16,46,.30);
  transition: all .25s;
}
.btn-primary:hover { background: var(--c-red-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200,16,46,.40); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--c-navy) !important;
  padding: 18px 36px; border-radius: 999px; font-size: 16px; font-weight: 700;
  border: 2px solid var(--c-navy);
  transition: all .25s;
}
.btn-secondary:hover { background: var(--c-navy); color: #fff !important; }
.hero__visual {
  position: relative;
}
.hero__visual .slider {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14,42,71,.20), 0 8px 24px rgba(14,42,71,.10);
  aspect-ratio: 4/5;
  position: relative;
}
.hero__visual .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__visual .slide.active { opacity: 1; }
.hero__visual .floating-card {
  position: absolute;
  background: #fff; border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.hero__visual .floating-card .num { font-size: 24px; font-weight: 800; color: var(--c-red); line-height: 1; }
.hero__visual .floating-card .label { font-size: 11px; color: var(--c-mute); margin-top: 2px; }
.hero__visual .fc-1 { top: 8%; left: -8%; }
.hero__visual .fc-2 { bottom: 12%; right: -10%; }

.hero__trustbar { margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.hero__trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.hero__trustbar .stat .num { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--c-navy); display: block; line-height: 1; }
.hero__trustbar .stat .num span { color: var(--c-red); font-size: .7em; margin-left: 2px; }
.hero__trustbar .stat .label { font-size: 12px; color: var(--c-mute); margin-top: 8px; display: block; }

/* ============ Section base ============ */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--c-red); letter-spacing: .25em; margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 800;
  color: var(--c-navy); margin: 0 0 16px; line-height: 1.35;
  letter-spacing: -.005em;
}
.section-head p { font-size: 16px; color: var(--c-mute); line-height: 1.9; margin: 0; }

/* ============ Patent section ============ */
.patent {
  background: linear-gradient(180deg, #FAF7EF 0%, #FFFFFF 100%);
  position: relative; overflow: hidden;
}
.patent::before {
  content: "特許"; position: absolute; right: -40px; top: 40px;
  font-size: 280px; font-weight: 900; color: var(--c-red); opacity: .025;
  line-height: .8;
}
.patent__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.patent__visual {
  position: relative;
  background: #fff; border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--c-red);
}
.patent__visual .seal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-red); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  margin-bottom: 20px;
}
.patent__visual h3 {
  font-size: 28px; font-weight: 800; color: var(--c-navy);
  margin: 0 0 16px; line-height: 1.4;
}
.patent__visual .number {
  font-family: "Inter", system-ui, monospace;
  background: var(--c-bg-paper);
  padding: 12px 18px; border-radius: 8px;
  font-size: 14px; color: var(--c-navy-soft);
  display: inline-block;
  border: 1px dashed rgba(14,42,71,.2);
}
.patent__points { list-style: none; padding: 0; margin: 24px 0 0; }
.patent__points li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px dashed var(--c-line);
}
.patent__points li:last-child { border-bottom: 0; }
.patent__points .num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.patent__points strong { display: block; color: var(--c-navy); font-weight: 700; margin-bottom: 4px; }
.patent__points p { font-size: 13px; color: var(--c-mute); margin: 0; line-height: 1.7; }

/* ============ Method (Pillar cards) ============ */
.method-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.method-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 36px 32px; border: 1px solid var(--c-line);
  transition: all .3s; position: relative; overflow: hidden;
}
.method-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.method-card:hover::before { transform: scaleX(1); }
.method-card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--c-red-light); color: var(--c-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; margin-bottom: 24px;
}
.method-card h3 { font-size: 22px; font-weight: 800; color: var(--c-navy); margin: 0 0 12px; line-height: 1.4; }
.method-card p { font-size: 14px; color: var(--c-mute); line-height: 1.85; margin: 0 0 20px; }
.method-card .more { font-size: 13px; font-weight: 700; color: var(--c-red); display: inline-flex; align-items: center; gap: 6px; }
.method-card .more::after { content: "→"; transition: transform .2s; }
.method-card:hover .more::after { transform: translateX(4px); }

/* ============ Goal (3 personas) ============ */
.goal { background: var(--c-bg-alt); }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.goal-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all .3s;
  display: flex; flex-direction: column;
}
.goal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.goal-card__head {
  padding: 32px 32px 0; position: relative;
}
.goal-card__tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.goal-card.beginner .goal-card__tag { background: var(--c-red-light); color: var(--c-red); }
.goal-card.business .goal-card__tag { background: #E8F0FB; color: var(--c-navy); }
.goal-card.hsk .goal-card__tag { background: var(--c-gold-light); color: var(--c-gold); }
.goal-card__head h3 { font-size: 24px; font-weight: 800; color: var(--c-navy); margin: 16px 0 8px; line-height: 1.35; }
.goal-card__head .level { font-size: 13px; color: var(--c-mute); }
.goal-card__body { padding: 24px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.goal-card__body ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.goal-card__body li {
  font-size: 13px; color: var(--c-text); padding: 8px 0 8px 24px; position: relative;
  line-height: 1.7;
}
.goal-card__body li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-red); color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.goal-card__body .pricing {
  background: var(--c-bg-paper); padding: 14px 16px; border-radius: 8px;
  font-size: 12px; color: var(--c-mute); margin-bottom: 16px;
}
.goal-card__body .pricing strong { font-size: 18px; color: var(--c-navy); display: block; }
.goal-card__body .btn-text {
  font-size: 13px; font-weight: 700; color: var(--c-red);
  display: inline-flex; align-items: center; gap: 6px;
}
.goal-card__body .btn-text::after { content: "→"; }

/* ============ Stats / Numbers ============ */
.numbers {
  background: var(--c-navy);
  color: #fff; position: relative; overflow: hidden;
}
.numbers::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200,16,46,.20), transparent 60%);
}
.numbers .section-head h2 { color: #fff; }
.numbers .section-head p { color: rgba(255,255,255,.7); }
.numbers .section-head .eyebrow { color: var(--c-gold); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.numbers__item { text-align: center; padding: 32px 16px; border-right: 1px solid rgba(255,255,255,.10); }
.numbers__item:last-child { border-right: 0; }
.numbers__item .num {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 0%, #FAD7DD 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.numbers__item .num span { font-size: .5em; margin-left: 4px; }
.numbers__item .label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 12px; }

/* ============ Service icons ============ */
.services { background: var(--c-bg-paper); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-item {
  background: #fff; border-radius: var(--r-md);
  padding: 32px 20px; text-align: center;
  border: 1px solid var(--c-line);
  transition: all .3s;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-red); }
.service-item img { width: 64px; height: 64px; margin: 0 auto 16px; object-fit: contain; }
.service-item h4 { font-size: 16px; font-weight: 700; color: var(--c-navy); margin: 0 0 8px; }
.service-item p { font-size: 12px; color: var(--c-mute); margin: 0; line-height: 1.7; }

/* ============ Schools ============ */
.schools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.school-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all .3s;
}
.school-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.school-card__img { aspect-ratio: 4/3; overflow: hidden; }
.school-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.school-card:hover .school-card__img img { transform: scale(1.06); }
.school-card__body { padding: 24px 28px 28px; }
.school-card__body h3 { font-size: 20px; font-weight: 800; color: var(--c-navy); margin: 0 0 8px; }
.school-card__body .tag {
  display: inline-block; background: var(--c-red); color: #fff;
  padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; margin-bottom: 12px;
}
.school-card__body p { font-size: 13px; color: var(--c-mute); margin: 0 0 16px; line-height: 1.7; }
.school-card__body .meta { font-size: 12px; color: var(--c-text); }
.school-card__body .meta strong { color: var(--c-navy); }

/* ============ Voice / Testimonial ============ */
.voice { background: var(--c-bg-alt); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.voice-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  position: relative;
}
.voice-card::before {
  content: """; font-family: serif; position: absolute;
  top: 8px; left: 24px; font-size: 80px; line-height: 1;
  color: var(--c-red); opacity: .15; font-weight: 800;
}
.voice-card blockquote {
  margin: 0 0 24px; padding-top: 20px;
  font-size: 14px; line-height: 1.95; color: var(--c-text);
  position: relative;
}
.voice-card .author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.voice-card .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.voice-card .author .name { font-size: 13px; font-weight: 700; color: var(--c-navy); }
.voice-card .author .meta { font-size: 11px; color: var(--c-mute); }

/* ============ Blog grid ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line); transition: all .3s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card__cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-navy), var(--c-red));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  color: #fff; font-size: 64px; font-weight: 900;
  font-family: serif;
}
.blog-card__cover.c-1 { background: linear-gradient(135deg, #C8102E 0%, #9B0B22 100%); }
.blog-card__cover.c-2 { background: linear-gradient(135deg, #0E2A47 0%, #1B3A5C 100%); }
.blog-card__cover.c-3 { background: linear-gradient(135deg, #C79A2E 0%, #8E6C13 100%); }
.blog-card__cover.c-4 { background: linear-gradient(135deg, #1B3A5C 0%, #0E2A47 100%); }
.blog-card__cover.c-5 { background: linear-gradient(135deg, #9B0B22 0%, #C8102E 100%); }
.blog-card__cover.c-6 { background: linear-gradient(135deg, #2D5F8E 0%, #0E2A47 100%); }
.blog-card__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 11px; font-weight: 700; color: var(--c-red); letter-spacing: .1em; margin-bottom: 10px; }
.blog-card__body h3 { font-size: 18px; font-weight: 800; color: var(--c-navy); margin: 0 0 12px; line-height: 1.45; }
.blog-card__body p { font-size: 13px; color: var(--c-mute); margin: 0 0 16px; line-height: 1.75; flex: 1; }
.blog-card__more { font-size: 12px; font-weight: 700; color: var(--c-red); display: inline-flex; align-items: center; gap: 6px; }
.blog-card__more::after { content: "→"; }

/* ============ CTA Banner ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  color: #fff; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: "漢"; position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 320px; font-weight: 900; color: rgba(255,255,255,.06); line-height: .8;
  font-family: serif;
}
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 12px; line-height: 1.35; }
.cta-banner p { font-size: 15px; opacity: .92; margin: 0; line-height: 1.8; }
.cta-banner .btn-white {
  background: #fff; color: var(--c-red) !important;
  padding: 20px 40px; border-radius: 999px; font-size: 16px; font-weight: 800;
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
  white-space: nowrap;
  transition: all .25s;
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.30); }

/* ============ Footer ============ */
.footer {
  background: var(--c-navy); color: rgba(255,255,255,.85);
  padding: 80px 0 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer__brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__brand p { font-size: 12px; line-height: 1.85; color: rgba(255,255,255,.6); margin: 0; }
.footer h4 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: .05em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 13px; color: rgba(255,255,255,.7); }
.footer ul a:hover { color: var(--c-gold); }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 16px;
}

/* ============ Page hero (sub pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-soft) 100%);
  background-size: cover !important;
  background-position: center !important;
  color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,16,46,.20), transparent 60%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { margin: 0 8px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin: 0 0 16px; line-height: 1.3; position: relative; }
.page-hero h1 .em { color: #FCA9B5; }
.page-hero p.lead { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.85); max-width: 760px; margin: 0; position: relative; }

/* ============ Article (Blog) ============ */
.article { padding: 0 0 100px; }
.article__eyecatch {
  position: relative;
  height: clamp(320px, 45vw, 500px);
  overflow: hidden;
  margin-bottom: 48px;
}
.article__eyecatch img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.article__eyecatch-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,42,71,.3) 0%, rgba(14,42,71,.85) 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 48px;
}
.article__eyecatch-overlay h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.4;
  font-weight: 800;
  margin: 12px 0 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  max-width: 760px;
}
.article__cat-badge {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}
.article__meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: var(--c-mute); margin-bottom: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--c-line);
}
.article__meta .cat { background: var(--c-red); color: #fff; padding: 4px 12px; border-radius: 4px; font-weight: 700; }
.author-inline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-text); }
.author-inline__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 16px;
}
.author-inline strong { color: var(--c-navy); }
.article h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--c-navy); line-height: 1.4; margin: 0 0 24px; }
.article__lead {
  font-size: 16px; line-height: 2; color: var(--c-text);
  padding: 28px 32px; background: var(--c-bg-paper); border-left: 4px solid var(--c-red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 32px 0;
}
.article__body { font-size: 16px; line-height: 1.95; color: var(--c-text); }
.article__body h2 {
  font-size: 26px; font-weight: 800; color: var(--c-navy);
  margin: 56px 0 20px; padding-bottom: 16px;
  border-bottom: 2px solid var(--c-red);
  position: relative;
}
.article__body h3 { font-size: 20px; font-weight: 700; color: var(--c-navy); margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-red); }
.article__body p { margin: 0 0 24px; }
.article__body ul, .article__body ol { margin: 0 0 24px; padding-left: 24px; }
.article__body li { margin-bottom: 8px; }
.article__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article__body th { background: var(--c-navy); color: #fff; padding: 12px 14px; text-align: left; font-weight: 700; }
.article__body td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); }
.article__body tr:nth-child(even) td { background: var(--c-bg-paper); }
.article__body strong { color: var(--c-red); font-weight: 700; }
.article__body blockquote {
  margin: 32px 0; padding: 24px 28px;
  background: var(--c-bg-alt); border-radius: var(--r-md);
  border-left: 4px solid var(--c-gold);
  font-size: 15px; color: var(--c-text);
}
.article__cta {
  margin: 60px 0 0; padding: 40px;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  color: #fff; border-radius: var(--r-lg); text-align: center;
}
.article__cta h3 { font-size: 24px; margin: 0 0 12px; color: #fff; }
.article__cta p { color: rgba(255,255,255,.92); margin: 0 0 24px; }

/* ============ FAQ ============ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  margin-bottom: 16px; overflow: hidden; transition: all .3s;
}
.faq-item:hover { border-color: var(--c-red); }
.faq-item summary {
  padding: 24px 28px; cursor: pointer; font-size: 16px; font-weight: 700;
  color: var(--c-navy); display: flex; align-items: center; gap: 16px;
  list-style: none; transition: all .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.faq-item summary::after {
  content: "+"; margin-left: auto; font-size: 24px; color: var(--c-red);
  font-weight: 300; transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 28px 28px 76px; font-size: 14px; color: var(--c-text);
  line-height: 1.95;
}

/* ============ Reservation form ============ */
.form-card {
  background: #fff; border-radius: var(--r-lg); padding: 48px;
  box-shadow: var(--shadow-lg); max-width: 720px; margin: 0 auto;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--c-navy); margin-bottom: 8px;
}
.form-row label .req { color: var(--c-red); margin-left: 4px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--c-line); border-radius: 8px;
  font-size: 15px; font-family: inherit;
  transition: all .2s;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0; border-color: var(--c-red);
  box-shadow: 0 0 0 4px rgba(200,16,46,.12);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 20px;
  background: var(--c-red); color: #fff;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 24px rgba(200,16,46,.30);
  transition: all .25s;
}
.form-submit:hover { background: var(--c-red-dark); transform: translateY(-2px); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .hero__visual .floating-card { display: none; }
  .method-grid, .goal-grid, .schools-grid, .blog-grid, .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__item { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .patent__grid { grid-template-columns: 1fr; }
  .form-row__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 0; box-shadow: var(--shadow-lg); border-top: 1px solid var(--c-line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--c-line); width: 100%; }
  .nav .has-sub::after { content: ""; }
  .nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 20px; border: 0; min-width: 0; }
  .nav .btn-cta { margin-top: 12px; width: 100%; justify-content: center; }
  .menu-toggle { display: block; }
  .method-grid, .goal-grid, .schools-grid, .blog-grid, .voice-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .numbers__item { padding: 20px 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__trustbar-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .form-card { padding: 32px 24px; }
  .article__lead { padding: 20px 24px; }
  .article__body table { font-size: 12px; }
  .article__body th, .article__body td { padding: 8px 10px; }
}

/* ============ COMPARISON SECTION ============ */
.compare { background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }
.compare__table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 56px;
}
.compare__col {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--c-line);
}
.compare__col--bad { border-color: #e5e7eb; opacity: .85; }
.compare__col--good {
  border-color: var(--c-red);
  box-shadow: 0 20px 50px -20px rgba(200,16,46,.35);
  position: relative;
}
.compare__col--good::before {
  content: "★ 特許取得メソッド";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.compare__head {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-navy);
}
.compare__col--bad .compare__head { color: #6b7280; }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px dashed #f1f1f1;
}
.compare__col li:last-child { border-bottom: 0; }
.compare__col li span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.compare__col--bad li span { background: #f3f4f6; color: #9ca3af; }
.compare__col--good li span { background: var(--c-red); color: #fff; }
.compare__col li strong { color: var(--c-red); }
.compare__col--bad li strong { color: #6b7280; }
.compare__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--c-red);
  font-weight: 200;
}
.compare__note {
  margin-top: 40px;
  text-align: center;
  font-size: 18px;
  color: var(--c-navy);
  padding: 20px;
  background: #fff;
  border-left: 4px solid var(--c-red);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.compare__note strong { color: var(--c-red); font-size: 22px; }

/* ============ METHOD FLOW ============ */
.method-flow { background: var(--c-navy); color: #fff; }
.method-flow .section-head h2 { color: #fff; }
.method-flow .section-head .eyebrow { color: var(--c-gold); }
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 56px;
}
.flow__step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.flow__num {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 16px;
}
.flow__step h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.flow__step p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
}
.flow__line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  width: 60px;
  align-self: center;
}

@media (max-width: 1024px) {
  .compare__table { grid-template-columns: 1fr; gap: 48px; }
  .compare__arrow { transform: rotate(90deg); }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow__line { width: 2px; height: 40px; background: linear-gradient(180deg, transparent, var(--c-gold), transparent); margin: 0 auto; }
}

/* ============ INTRO VIDEO ============ */
.intro-video {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--c-bg);
}
.intro-video__frame {
  max-width: 380px;
  margin: 48px auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(14,42,71,.25), 0 10px 30px rgba(14,42,71,.15);
  background: #000;
}
.video-gallery {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
}
@media (max-width: 900px) {
  .video-gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .video-gallery { grid-template-columns: 1fr; max-width: 360px; }
}
.video-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(14,42,71,.15), 0 6px 18px rgba(14,42,71,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(14,42,71,.22), 0 10px 24px rgba(14,42,71,.12);
}
.video-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.video-card__frame {
  background: #000;
  overflow: hidden;
}
.video-card__label {
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-navy);
  letter-spacing: .03em;
  border-top: 1px solid rgba(14,42,71,.08);
}

/* ============ WHY CHOJO ============ */
.why {
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(180deg, #FAF7EF 0%, #F8F6F1 100%);
  position: relative;
}
.why::before {
  content: "";
  position: absolute; inset: 0;
  background: url('../images/bg-about02.png') center/cover no-repeat;
  opacity: .04;
  pointer-events: none;
}
.why .section-head { position: relative; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  position: relative;
}
.why__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--c-red);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why__num {
  position: absolute;
  top: -18px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(200,16,46,.3);
}
.why__card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--c-navy);
}
.why__card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 16px;
}
.why__card strong {
  color: var(--c-red);
  font-weight: 700;
}
.why__img {
  margin-top: 16px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg-alt);
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
}
.why__img img {
  width: 70%;
  height: auto;
  object-fit: contain;
  opacity: .85;
}

/* ============ FOUNDER ============ */
.founder {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--c-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199,154,46,.15), transparent 70%);
  pointer-events: none;
}
.founder__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.founder__visual { position: relative; }
.founder__photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--c-navy-soft), var(--c-navy));
  display: flex; align-items: center; justify-content: center;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
.founder__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--c-gold);
  color: var(--c-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.founder__text .eyebrow {
  color: var(--c-gold);
}
.founder__text h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.4;
  margin: 16px 0 24px;
  color: #fff;
}
.founder__lead {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: rgba(255,255,255,.95);
}
.founder__text p {
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  margin: 0 0 16px;
}
.founder__text strong {
  color: var(--c-gold);
  font-weight: 700;
}
.founder__meta {
  margin-top: 28px;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border-left: 3px solid var(--c-gold);
  border-radius: 4px;
}
.founder__meta > div {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.9);
  padding: 4px 0;
}
.founder__meta strong {
  display: inline-block;
  min-width: 70px;
  color: var(--c-gold);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder__visual { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .why__grid { grid-template-columns: 1fr; }
}
