/* ================================================
   stretch Re:st - Main Stylesheet
   ================================================ */

/* ---- Variables ---- */
:root {
  --color-primary: #038FAA;
  --color-primary-dark: #056D73;
  --color-primary-deeper: #004A58;
  --color-text: #232323;
  --color-bg-light: #f7f5f1;
  --color-bg-sub: #EFF4F5;
  --color-white: #ffffff;
  --color-line: #06C755;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --max-width: 1160px;
  --header-height: 76px;
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.85;
  background: var(--color-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================================
   HEADER
   ================================================ */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1150; /* drawer-overlay(1100)より上、drawer-menu(1200)より下 */
  background: rgba(1, 89, 103, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition);
}
#header.scrolled {
  background: rgba(0, 74, 88, 0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
/* ロゴ: アイコン画像 + テキストの横並び構造 */
.logo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: opacity var(--transition);
}
.logo-link:hover { opacity: 0.8; }

/* アイコン画像コンテナ */
.logo-icon-wrap {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: transparent;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.logo-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ロゴテキスト "stretch Re:st"
   白テキストは screen blend でも白のまま維持される */
.logo-text {
  font-family: var(--font-en), sans-serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-nav ul {
  display: flex;
  gap: 32px;
}
.header-nav ul li a {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition);
}
.header-nav ul li a:hover { border-bottom-color: var(--color-white); }

.header-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-social a {
  color: var(--color-white);
  font-size: 20px;
  transition: opacity var(--transition);
}
.header-social a:hover { opacity: 0.65; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  cursor: pointer;
  background: none; border: none;
  padding: 6px;
  position: relative;
  z-index: 1300; /* ドロワー(1200)・オーバーレイ(1100)より上に常に表示 */
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   DRAWER MENU
   ================================================ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.active { opacity: 1; pointer-events: all; }

.drawer-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 290px; height: 100%;
  background: var(--color-primary-deeper);
  z-index: 1200;
  padding: 90px 36px 40px;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.drawer-menu.active { right: 0; }
.drawer-menu ul { display: flex; flex-direction: column; gap: 2px; }
.drawer-menu ul li a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition), padding-left var(--transition);
}
.drawer-menu ul li a:hover { color: var(--color-white); padding-left: 6px; }
.drawer-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  position: fixed;
  top: 9px; right: 40px;
  z-index: 1400;
}
.drawer-close.active {
  display: flex;
}
.drawer-close span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -11px;
}
.drawer-close span:nth-child(1) { transform: rotate(45deg); }
.drawer-close span:nth-child(2) { transform: rotate(-45deg); }

.drawer-social { display: flex; gap: 18px; margin-top: 36px; }
.drawer-social a { color: rgba(255,255,255,0.7); font-size: 24px; transition: color var(--transition); }
.drawer-social a:hover { color: var(--color-white); }

/* ================================================
   HERO - VIDEO
   ================================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background video */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* GPU acceleration for smooth playback */
  will-change: transform;
  transform: translateZ(0);
}

/* Gradient overlay (top dark for header readability + bottom dark for text) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,30,40,0.55) 0%,
      rgba(0,20,30,0.25) 40%,
      rgba(0,20,30,0.25) 60%,
      rgba(0,20,30,0.65) 100%
    );
  z-index: 1;
}

/* Content over video */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 20px;
  animation: heroFadeIn 1.2s ease 0.4s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-catch-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.hero-re {
  font-family: var(--font-en);
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
  font-style: italic;
  margin-bottom: 10px;
}

.hero-taglines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-taglines span {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-taglines .separator {
  font-size: 16px;
  opacity: 0.5;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-white {
  background: var(--color-white);
  color: var(--color-primary-deeper);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-white:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.btn-line {
  background: var(--color-line);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(6,199,85,0.3);
}
.btn-line:hover { background: #05b34c; box-shadow: 0 8px 30px rgba(6,199,85,0.4); }
.btn-line i { font-size: 1.3em; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}
.btn-outline:hover { background: var(--color-primary); color: white; box-shadow: 0 6px 24px rgba(3,143,170,0.25); }
.btn-lg { font-size: 16px; padding: 18px 44px; }

/* ================================================
   SECTION COMMON
   ================================================ */
.section { padding: 100px 0; }
.bg-sub { background: var(--color-bg-sub); }

.section-title { text-align: center; margin-bottom: 64px; }
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.3;
}
.section-title h2 .en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title .title-bar {
  display: block;
  width: 48px; height: 3px;
  background: var(--color-primary);
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-lead {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 56px;
}

/* ================================================
   CONCEPT
   ================================================ */
.concept-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: center;
}
.concept-text .concept-lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-primary-deeper);
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--color-primary);
}
.concept-text p {
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}
.concept-text p strong { color: var(--color-primary-deeper); }
.concept-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}
.concept-img img {
  width: 100%; height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.concept-img:hover img { transform: scale(1.04); }

/* ================================================
   WHY
   ================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(3,143,170,0.14);
}
.why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-white);
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(3,143,170,0.3);
}
.why-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.why-item p { font-size: 14px; line-height: 1.85; color: #666; }

/* ================================================
   RECOMMEND / CHECKLIST
   ================================================ */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}
.recommend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border: 1.5px solid #e0ecef;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.recommend-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(3,143,170,0.1);
}
.recommend-item i { color: var(--color-primary); font-size: 18px; flex-shrink: 0; }

/* Checklist result box */
.checklist-box {
  background: linear-gradient(135deg, var(--color-primary-deeper), var(--color-primary-dark));
  border-radius: 16px;
  padding: 48px 52px;
  color: var(--color-white);
}
.checklist-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist-title i { font-size: 24px; color: rgba(255,255,255,0.8); }
.checklist-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.result-item {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition);
}
.result-item--highlight {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.result-count {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.result-content strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.result-content span { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.checklist-cta { text-align: center; }
.checklist-cta p { font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 16px; }

/* ================================================
   FEATURES
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(3,143,170,0.15);
}
.feature-item-img { width: 100%; height: 220px; overflow: hidden; }
.feature-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-item:hover .feature-item-img img { transform: scale(1.06); }
.feature-item-body { padding: 28px 24px 32px; }
.feature-number {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.feature-item-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.45; }
.feature-item-body p { font-size: 14px; line-height: 1.85; color: #666; }

/* ================================================
   MENU (Services)
   ================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.menu-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(3,143,170,0.18);
}
.menu-card-img { width: 100%; height: 240px; overflow: hidden; }
.menu-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 28px 24px 32px; }
.menu-card-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.menu-card-body h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; line-height: 1.45; }
.menu-card-body p { font-size: 14px; line-height: 1.85; color: #666; margin-bottom: 20px; }
.menu-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
  transition: gap var(--transition);
}
.menu-card-link:hover { gap: 14px; }

/* ================================================
   PRICE
   ================================================ */
.price-wrap { max-width: 800px; margin: 0 auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid #dde8ea;
  font-size: 15px;
}
.price-table thead th {
  background: var(--color-primary-deeper);
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 14px;
}
.price-table thead th:first-child { border-radius: 8px 0 0 0; }
.price-table thead th:last-child { border-radius: 0 8px 0 0; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { background: var(--color-white); transition: background var(--transition); }
.price-table tbody tr:hover { background: #f0f8fa; }
.course-name { font-weight: 700; font-size: 17px; color: var(--color-primary-deeper); width: 160px; }
.course-name small { font-size: 12px; font-weight: 400; color: #888; display: block; }
.price { font-size: 20px; font-weight: 700; white-space: nowrap; color: var(--color-text); }
.price-note { font-size: 13px; color: #888; text-align: center; margin-top: 20px; }

/* ================================================
   VOICE (Testimonials)
   ================================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--color-primary);
  transition: transform var(--transition);
}
.voice-card:hover { transform: translateY(-4px); }
.voice-stars { color: #f5a623; font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.voice-text {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 18px;
  font-style: italic;
}
.voice-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: right;
}

/* ================================================
   CTA BANNER
   ================================================ */
.topCTA {
  background: linear-gradient(135deg, var(--color-primary-deeper) 0%, var(--color-primary) 100%);
  padding: 90px 20px;
  text-align: center;
  color: var(--color-white);
}
.cta-catch {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.cta-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ================================================
   PROFILE
   ================================================ */
.profile-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}
.profile-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.profile-img img {
  width: 100%; height: 500px;
  object-fit: cover;
  object-position: center 20%;
}
.profile-name {
  font-size: 28px; font-weight: 700;
  margin-bottom: 6px;
}
.profile-name-en {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 28px;
  display: block;
}
.profile-text p {
  font-size: 15px; line-height: 2;
  color: #555; margin-bottom: 16px;
}
.profile-career {
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid #e0e8ea;
}
.profile-career h4 {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.profile-career ul { display: flex; flex-direction: column; gap: 8px; }
.profile-career ul li {
  font-size: 14px; color: #555;
  padding-left: 16px; position: relative;
}
.profile-career ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ================================================
   ABOUT US / ACCESS
   ================================================ */

/* 出張エリアカード */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 48px;
}
.area-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  border: 2px solid #c8e6ea;
  box-shadow: 0 2px 16px rgba(0,74,88,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}
.area-card:hover {
  box-shadow: 0 8px 32px rgba(0,74,88,0.13);
  transform: translateY(-4px);
}
.area-card-icon {
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.area-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-deeper);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.area-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.85;
}

.aboutus-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: start;
}
.aboutus-info dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
}
.aboutus-info dt {
  font-weight: 700; font-size: 14px;
  color: var(--color-primary-dark);
  padding: 18px 0;
  border-bottom: 1px solid #d8e8eb;
  letter-spacing: 0.04em;
}
.aboutus-info dd {
  font-size: 15px; color: #555;
  padding: 18px 0;
  border-bottom: 1px solid #d8e8eb;
}
.aboutus-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.aboutus-map iframe { width: 100%; height: 340px; border: none; display: block; }
.contact-box {
  margin-top: 36px; padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contact-box p { font-size: 15px; color: #555; margin-bottom: 20px; line-height: 1.8; }

/* ================================================
   FOOTER
   ================================================ */
#footer {
  background: linear-gradient(135deg, var(--color-primary-deeper), #001f28);
  color: var(--color-white);
  padding: 60px 0 28px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
.footer-logo .logo-link { gap: 10px; }
.footer-logo .logo-icon-wrap { width: 42px; height: 42px; }
.footer-logo .logo-text { font-size: 17px; }
.footer-logo > p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
}
.footer-nav ul { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--color-white); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--color-white); font-size: 18px;
  transition: background var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-copyright { text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* ================================================
   BACK TO TOP
   ================================================ */
#pagetop {
  position: fixed; right: 28px; bottom: 28px;
  width: 50px; height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 900;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 18px rgba(3,143,170,0.45);
}
#pagetop.visible { opacity: 1; pointer-events: all; }
#pagetop:hover { transform: translateY(-4px); }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.22s; }
.fade-in-delay-3 { transition-delay: 0.34s; }

/* ================================================
   RESPONSIVE - Tablet (1024px)
   ================================================ */
@media (max-width: 1024px) {
  .features-grid,
  .menu-grid,
  .why-grid,
  .voice-grid { grid-template-columns: repeat(2, 1fr); }

  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  .concept-inner .concept-img { order: -1; }

  .profile-inner { grid-template-columns: 280px 1fr; gap: 48px; }

  .aboutus-inner { grid-template-columns: 1fr; }

  .checklist-result { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================
   RESPONSIVE - Mobile (736px)
   ================================================ */
@media (max-width: 736px) {
  :root {
    --header-height: 62px;
  }

  .container { padding: 0 20px; }

  /* Header */
  .header-nav,
  .header-social { display: none; }
  .logo-icon-wrap { width: 38px; height: 38px; }
  .logo-text { font-size: 16px; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-re { font-size: 70px; }
  .hero-taglines { gap: 8px; }
  .hero-taglines span { font-size: 16px; letter-spacing: 0.2em; }
  .hero-taglines .separator { display: none; }
  .hero-sub { font-size: 13px; letter-spacing: 0.1em; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; gap: 12px; align-items: center; }
  .scroll-indicator { display: none; }

  /* Sections */
  .section { padding: 70px 0; }
  .section-title { margin-bottom: 44px; }
  .section-title h2 { font-size: 24px; }
  .topCTA { padding: 70px 20px; }
  .cta-title { font-size: 22px; }

  /* Grids → single column */
  .features-grid,
  .menu-grid,
  .why-grid,
  .voice-grid { grid-template-columns: 1fr; gap: 20px; }

  .recommend-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Profile */
  .profile-inner { grid-template-columns: 1fr; gap: 32px; }
  .profile-img img { height: 380px; object-position: center 25%; }

  /* Price */
  .price-table th,
  .price-table td { padding: 14px 12px; font-size: 13px; }
  .course-name { font-size: 14px; width: auto; }
  .price { font-size: 16px; }

  /* Checklist */
  .checklist-box { padding: 32px 24px; }
  .checklist-title { font-size: 16px; }
  .checklist-result { grid-template-columns: 1fr; gap: 12px; }

  /* About */
  .aboutus-inner { grid-template-columns: 1fr; }
  .aboutus-info dl { grid-template-columns: 100px 1fr; }
  .area-grid { grid-template-columns: 1fr; gap: 16px; margin: 28px 0 36px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav ul { gap: 14px; }

  /* Pagetop */
  #pagetop { right: 16px; bottom: 16px; width: 44px; height: 44px; font-size: 15px; }
}

/* ================================================
   FAQ
   ================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(1,89,103,0.15);
}
.faq-item:first-child {
  border-top: 1px solid rgba(1,89,103,0.15);
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 8px;
  text-align: left;
}
.faq-q-label {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  display: block;
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before {
  width: 16px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 16px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 8px 0 60px;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 8px 24px 60px;
}
.faq-answer p {
  color: #555;
  font-size: 15px;
  line-height: 1.95;
}

@media (max-width: 736px) {
  .faq-question { padding: 20px 4px; gap: 12px; }
  .faq-q-text { font-size: 14px; }
  .faq-answer { padding: 0 4px 0 48px; }
  .faq-item.is-open .faq-answer { padding: 0 4px 20px 48px; }
}

/* ================================================
   MOBILE VIDEO PERFORMANCE
   - モバイルでは動画を停止し、ポスター画像を表示
   ================================================ */
@media (max-width: 736px) and (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}
/* Save data mode: hide video */
@media (prefers-reduced-data: reduce) {
  .hero-bg-video { display: none; }
}

/* モバイルで動画右下のウォーターマークを隠す */
@media (max-width: 736px) {
  .hero-bg-video {
    transform: scale(1.15) translateZ(0);
    object-position: left center;
  }
}
