/* ==========================================================================
   FlatValley合同会社 コーポレートサイト
   配色: ネイビー × ホワイト × ブルー
   (色彩心理学で信頼・誠実・安定と結びつく青を基調)
   ========================================================================== */

:root {
  --c-navy-950: #0a1626;
  --c-navy-900: #0e2038;
  --c-navy-800: #14304f;
  --c-navy-700: #1b4066;
  --c-blue-600: #1d63e0;
  --c-blue-500: #2e7cf6;
  --c-blue-100: #e3edfb;
  --c-blue-50: #eff5fd;
  --c-sky: #6fb1ff;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-text: #1b2a3a;
  --c-text-soft: #5b6b7c;
  --c-line: #e3e9f0;
  --c-white: #ffffff;
  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(14, 32, 56, 0.06);
  --shadow-lg: 0 16px 44px rgba(14, 32, 56, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ============ ヘッダー ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 2px 16px rgba(14, 32, 56, 0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-navy-900);
}
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; color: var(--c-blue-600); }
.brand-text {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  margin-left: 6px;
  letter-spacing: 0.02em;
  color: var(--c-text-soft);
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.global-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-text);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.global-nav a:hover { color: var(--c-blue-600); }
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-blue-600);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.global-nav a:hover::after { transform: scaleX(1); }
.nav-cta a {
  background: var(--c-blue-600);
  color: var(--c-white) !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-cta a:hover { background: var(--c-navy-800); }
.nav-cta a::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-navy-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }
  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
  }
  .global-nav li { border-bottom: 1px solid var(--c-bg-alt); }
  .global-nav li:last-child { border-bottom: none; padding-top: 16px; }
  .global-nav a { display: block; padding: 14px 4px; font-size: 16px; }
  .global-nav a::after { display: none; }
  .nav-cta a { text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ============ ボタン ============ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 38px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--c-blue-600);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(29, 99, 224, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--c-blue-500);
  box-shadow: 0 10px 28px rgba(29, 99, 224, 0.4);
}
.btn-ghost {
  background: var(--c-white);
  color: var(--c-navy-800);
  border: 1.5px solid #c9d7ea;
}
.btn-ghost:hover { background: var(--c-blue-50); border-color: var(--c-blue-500); }
.btn-block { display: block; width: 100%; }

/* ============ ヒーロー ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 94vh, 880px);
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 46%, #ffffff 100%);
  color: var(--c-text);
  padding: calc(var(--header-h) + 40px) 24px 80px;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}
.hero-copy { max-width: 640px; }
/* 文字の後ろにうっすら白を敷いて可読性を保つ */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px; left: -80px;
  width: 760px; height: 480px;
  background: radial-gradient(closest-side, rgba(248, 251, 255, 0.9), rgba(248, 251, 255, 0));
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-blue-600);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(29, 99, 224, 0.25);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--c-navy-900);
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c-blue-600), #2e9bf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--c-blue-600);
}
.hero-lead {
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 2.05;
  color: #45566b;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8299b3;
  z-index: 1;
}
.hero-scroll-line {
  display: block;
  width: 1.5px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--c-blue-500));
  animation: scroll-drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-drip {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 767px) {
  .hero { min-height: 88vh; padding-bottom: 96px; }
  .hero-copy::before { left: -40px; width: 480px; }
}

/* ============ セクション共通 ============ */
.section { padding: 108px 0; }
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue-600);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--c-navy-900);
  margin-bottom: 28px;
  text-wrap: balance;
}
.section-lead {
  font-size: 16px;
  color: var(--c-text-soft);
  margin-bottom: 48px;
}

/* ============ お悩み ============ */
.section-problems { background: var(--c-bg); }
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 40px 0 52px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.problem-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c-blue-100);
  color: var(--c-blue-600);
}
.problem-icon svg { width: 26px; height: 26px; }
.problem-item p { font-size: 15.5px; padding-top: 4px; }
.problem-item strong { color: var(--c-navy-800); }
.problems-close {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--c-navy-900);
}
.problems-close em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgba(46, 124, 246, 0.22) 68%);
  padding: 0 2px;
}
@media (max-width: 767px) {
  .problem-list { grid-template-columns: 1fr; }
}

/* ============ 選ばれる理由 ============ */
.section-reasons { background: var(--c-bg-alt); }
.reasons-title .title-mark {
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  margin-right: 0.22em;
  vertical-align: -0.1em;
  color: var(--c-blue-600);
}
.reasons-title .title-brand {
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.reason-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.reason-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  margin-bottom: 20px;
}
.reason-icon svg { width: 28px; height: 28px; }
.reason-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.reason-card p { font-size: 15px; color: var(--c-text); }
.reason-card strong { color: var(--c-blue-600); }
@media (max-width: 767px) {
  .reason-grid { grid-template-columns: 1fr; }
}

/* ============ サービス ============ */
.section-services { background: var(--c-bg); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 99, 224, 0.35);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px; height: 52px;
  color: var(--c-blue-600);
  margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.service-card p { font-size: 14.5px; color: var(--c-text-soft); line-height: 1.85; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ============ 流れ ============ */
.section-flow { background: var(--c-bg-alt); }
.flow-list {
  margin-top: 48px;
  display: grid;
  gap: 0;
}
.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 220px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 30px 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-bottom: none;
}
.flow-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.flow-item:last-child { border-bottom: 1px solid var(--c-line); border-radius: 0 0 var(--radius) var(--radius); }
.flow-step {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--c-blue-600);
  padding-left: 20px;
}
.flow-item h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: 0.02em;
}
.flow-item p { font-size: 15px; color: var(--c-text-soft); padding-right: 20px; }
@media (max-width: 767px) {
  .flow-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 20px;
  }
  .flow-step { padding-left: 0; }
  .flow-item p { padding-right: 0; }
}

/* ============ 料金 ============ */
.section-sm { padding: 76px 0; }
.section-pricing { background: var(--c-bg); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 15px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: middle;
}
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: none; }
.price-table th {
  font-weight: 700;
  color: var(--c-navy-900);
  background: var(--c-bg-alt);
  width: 58%;
}
.price-table td {
  color: var(--c-navy-800);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pricing-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--c-text-soft);
}
@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 12px 14px; font-size: 13.5px; }
  .price-table th { width: 60%; }
}

/* ============ FAQ ============ */
.section-faq { background: var(--c-bg-alt); }
.faq-list { display: grid; gap: 12px; margin-top: 8px; }
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--c-navy-900);
  position: relative;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--c-blue-50); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--c-blue-600);
  margin-right: 12px;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--c-blue-600);
  border-bottom: 2px solid var(--c-blue-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p {
  padding: 4px 24px 22px;
  font-size: 15px;
  color: var(--c-text);
}
.faq-item p::before {
  content: "A. ";
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--c-navy-800);
}

/* ============ 代表挨拶 ============ */
.section-message { background: var(--c-bg-alt); }
.message-body {
  border-left: 3px solid var(--c-blue-600);
  padding-left: clamp(20px, 4vw, 36px);
  display: grid;
  gap: 22px;
}
.message-body p { font-size: 15.5px; line-height: 2.1; color: var(--c-text); }
.message-highlight {
  font-family: var(--font-head);
  font-size: clamp(17px, 2.2vw, 20px) !important;
  font-weight: 700;
  line-height: 1.9 !important;
  color: var(--c-navy-900) !important;
}
.message-sign {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  justify-items: end;
}
.message-sign-title {
  font-size: 13px;
  color: var(--c-text-soft);
}
.message-sign-name {
  width: auto;
  height: 46px;
}
.message-career {
  margin-top: 18px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.message-career h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--c-blue-600);
}
.message-career p {
  font-size: 14px !important;
  line-height: 2 !important;
  color: var(--c-text-soft) !important;
}

/* ============ 会社概要 ============ */
.section-company { background: var(--c-bg); }
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}
.company-table th, .company-table td {
  padding: 20px 26px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 140px;
  background: var(--c-bg-alt);
  color: var(--c-navy-900);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .company-table th { width: 96px; padding: 16px 14px; }
  .company-table td { padding: 16px 14px; }
}
.ceo-name {
  display: block;
  width: auto;
  height: 44px;
  margin: 2px 0;
}

/* ============ お問い合わせ ============ */
.section-contact {
  background:
    radial-gradient(800px 480px at 12% 112%, rgba(46, 124, 246, 0.2), transparent 60%),
    linear-gradient(200deg, var(--c-navy-950) 0%, var(--c-navy-900) 100%);
  color: var(--c-white);
}
.section-eyebrow-light { color: var(--c-sky); }
.section-title-light { color: var(--c-white); }
.contact-lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.88);
}
.contact-lead strong { color: var(--c-sky); }
.contact-form {
  background: var(--c-bg);
  color: var(--c-text);
  border-radius: 14px;
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 22px;
}
.form-row { display: grid; gap: 8px; }
.form-row label {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-navy-900);
}
.req {
  display: inline-block;
  background: #d64545;
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-row input, .form-row textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-bg-alt);
  color: var(--c-text);
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-blue-600);
  background: var(--c-bg);
}
.form-note {
  font-size: 13px;
  color: var(--c-text-soft);
  text-align: center;
}
.form-note a { color: var(--c-blue-600); }
/* スパム対策用の項目。画面にも読み上げにも出さない */
.form-honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: -6px;
}
.form-status.is-ok {
  color: #14713f;
  background: #e8f6ee;
  border: 1px solid #b7e0c8;
}
.form-status.is-ng {
  color: #a3312a;
  background: #fdecea;
  border: 1px solid #f3c3bf;
}
#cf-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
@media (max-width: 600px) {
  .contact-form { padding: 30px 20px; }
}

/* ============ フッター ============ */
.site-footer {
  background: var(--c-navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 800;
}
.footer-brand .brand-mark { width: 26px; height: 26px; color: var(--c-sky); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}
.footer-nav a {
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--c-sky); }
.footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }

/* ============ Cookie同意バナー ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--c-navy-900);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 30px rgba(14, 32, 56, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.85;
}
.cookie-text a {
  color: var(--c-sky);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-btn-primary {
  background: var(--c-blue-600);
  color: var(--c-white);
}
.cookie-btn-primary:hover { background: var(--c-blue-500); }
.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cookie-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); }
.cookie-btn:focus-visible,
.cookie-text a:focus-visible {
  outline: 2px solid var(--c-sky);
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 20px 20px;
  }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ============ 出現アニメーション ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ 下層ページ (プライバシーポリシー等) ============ */
.page-body { padding: calc(var(--header-h) + 64px) 0 104px; }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 40px;
}
.legal-block { margin-bottom: 36px; }
.legal-block h2 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--c-blue-600);
}
.legal-block p, .legal-block li { font-size: 15px; color: var(--c-text); }
.legal-block ul { list-style: disc; padding-left: 24px; display: grid; gap: 6px; }
