/* =========================================================
   Amiable 公式サイト - メインスタイル
   ブランドカラー
     Amiable Blue : #1699C8
     Amiable Gold : #F0B23A
     Amiable Navy : #0E4A84
     Soft Gray    : #F7F9FC
     Light Gray   : #D9E2EC
     Dark Text    : #1F2D3D
   ========================================================= */

:root {
  --blue: #1699C8;
  --blue-dark: #1284AD;
  --gold: #F0B23A;
  --gold-dark: #D99A20;
  --navy: #0E4A84;
  --white: #FFFFFF;
  --soft: #F7F9FC;
  --light: #D9E2EC;
  --text: #1F2D3D;
  --text-sub: #5A6B7B;
  --line: #06C755;
  --line-dark: #05A847;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(31, 45, 61, 0.06);
  --shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 74, 132, 0.12);

  --header-h: 76px;
  --container: 1120px;
}

/* ---------- リセット & 基本 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 153, 200, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(22, 153, 200, 0.42);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #3A2A05;
  box-shadow: 0 6px 18px rgba(240, 178, 58, 0.35);
}
.btn-gold:hover { color: #3A2A05; }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--blue);
}
.btn-outline:hover { background: #F0F9FD; color: var(--navy); }

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

.btn-line {
  background: var(--line);
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.3);
}
.btn-line:hover { background: var(--line-dark); color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

/* ロゴ（ロゴ画像が未登録のあいだはテキストロゴ「Amiable」を表示） */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-logo-img {
  height: var(--logo-h, 40px);
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.brand-logo-img[hidden] { display: none; }
.brand-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-text[hidden] { display: none; }

/* ナビ */
.global-nav { margin-left: auto; }
/* 下層ページ（プライバシーポリシーなど）のナビは常時表示 */
.global-nav-static {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.global-nav a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  transition: background-color .18s, color .18s;
}
.global-nav a:hover,
.global-nav a.is-active {
  background: #EAF6FC;
  color: var(--navy);
  text-decoration: none;
}

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  padding: 64px 0 76px;
  background:
    radial-gradient(900px 480px at 88% 8%, #E4F4FB 0%, rgba(228, 244, 251, 0) 70%),
    radial-gradient(700px 420px at 4% 92%, #FDF5E6 0%, rgba(253, 245, 230, 0) 70%),
    linear-gradient(180deg, #FBFDFF 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--light);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #EAF6FC;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
}
.hero-sub {
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-note {
  font-size: 14.5px;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--text-sub);
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points i { color: var(--blue); font-size: 13px; }

.hero-visual svg { width: 100%; height: auto; }

/* ---------- セクション共通 ---------- */
.section { padding: 84px 0; }
.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
}
.section-kicker {
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--navy);
  margin-bottom: 26px;
}
.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
}
.section-lead {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--text-sub);
  font-size: 15.5px;
}
.section-lead p + p { margin-top: 10px; }
.section-lead.center { text-align: center; }
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- カード共通 ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #BEE4F2;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #EAF6FC;
  color: var(--blue);
  font-size: 22px;
}
.feature-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- サービス ---------- */
.service-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
.service-main {
  position: relative;
  background: #fff;
  border: 2px solid #BEE4F2;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.badge-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #3A2A05;
  font-size: 12.5px;
  font-weight: 700;
}
.service-main h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}
.service-desc { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }

.check-list { display: grid; gap: 10px; margin-bottom: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 15px;
  font-weight: 500;
}
.check-list i { color: var(--blue); font-size: 14px; margin-top: 7px; }

.service-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.service-coming {
  background: #fff;
  border: 1px dashed var(--light);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  opacity: 0.78;
}
.badge-soon {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--light);
  color: var(--text-sub);
  font-size: 12.5px;
  font-weight: 700;
}
.service-coming h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.service-coming .service-num { background: var(--text-sub); }
.service-coming .service-desc { font-size: 14px; margin-bottom: 18px; }
.coming-list { display: grid; gap: 12px; margin-bottom: 18px; }
.coming-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-sub);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--light);
}
.coming-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.coming-list i { color: var(--light); }
.coming-note { font-size: 12.5px; color: var(--text-sub); opacity: 0.9; }

/* ---------- AIホームページ制作 ---------- */
.ai-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.ai-block,
.ai-side {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.ai-side { background: var(--soft); position: sticky; top: calc(var(--header-h) + 20px); }
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 20px;
}
.block-title i { color: var(--blue); }

.icon-list { display: grid; gap: 14px; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  transition: background-color .18s;
}
.icon-list li:hover { background: #EAF6FC; }
.icon-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #BEE4F2;
  color: var(--blue);
  font-size: 17px;
}
.icon-list-text { font-size: 14.5px; color: var(--text-sub); }
.icon-list-text strong {
  display: block;
  font-size: 15.5px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}

.recommend-list { display: grid; gap: 10px; margin-bottom: 22px; }
.recommend-list li {
  position: relative;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--light);
  font-size: 15px;
  font-weight: 500;
}
.recommend-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 13px;
}

.flow-mini {
  margin-top: 28px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #EAF6FC 0%, #F7F9FC 100%);
  border: 1px solid #CFE8F4;
  text-align: center;
}
.flow-mini-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  font-size: 16px;
}
.flow-mini ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.flow-mini li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}
.flow-mini li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 18px;
}

/* ---------- 料金 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-main {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #F4FBFE 0%, #FFFFFF 100%);
  box-shadow: var(--shadow);
}
.price-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.price-value {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 12px;
}
.price-card-main .price-value { color: var(--navy); }
.price-value span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  margin-left: 2px;
}
.price-desc { font-size: 13.5px; color: var(--text-sub); }

.price-notes {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--light);
  font-size: 14px;
  color: var(--text-sub);
  text-align: left;
}
.price-note i { color: var(--blue); margin-top: 5px; flex-shrink: 0; }

/* ---------- 制作の流れ ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.55;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 10px 0 14px;
  border-radius: 50%;
  background: #EAF6FC;
  color: var(--blue);
  font-size: 22px;
}
.step h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-sub); text-align: left; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item[open] { border-color: #BEE4F2; }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background-color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--soft); }
.faq-q,
.faq-a-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.faq-q { background: var(--navy); color: #fff; }
.faq-a-label { background: var(--gold); color: #3A2A05; }
.faq-q-text {
  flex: 1;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s, opacity .2s;
}
.faq-toggle::before { width: 14px; height: 2.5px; }
.faq-toggle::after { width: 2.5px; height: 14px; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: flex;
  gap: 14px;
  padding: 4px 24px 22px;
  border-top: 1px solid var(--soft);
  background: var(--soft);
}
.faq-a .faq-a-label { margin-top: 4px; }
.faq-a p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- お問い合わせ ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 20px; }

.field { display: grid; gap: 8px; }
.field label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.required,
.optional {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
}
.required { background: #FDEDED; color: #C0392B; }
.optional { background: var(--soft); color: var(--text-sub); border: 1px solid var(--light); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--light);
  border-radius: var(--radius-sm);
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 153, 200, 0.14);
}
.field input.has-error,
.field textarea.has-error {
  border-color: #E05A50;
  background: #FFF7F6;
}
.field-error { font-size: 13px; color: #C0392B; font-weight: 500; }

.form-note { font-size: 13px; color: var(--text-sub); text-align: center; }
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #EAF8F0; border: 1px solid #A9DFC2; color: #1E7B4B; }
.form-status.is-error { background: #FFF3F2; border: 1px solid #F3C3BE; color: #B33A2E; }

/* 送信先が未設定のときに表示する案内 */
.form-setup-note {
  margin: 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: #FFF8EC;
  border: 1px solid #F3DDB0;
  color: #8A6100;
  font-size: 13.5px;
  line-height: 1.8;
}
.form-setup-note[hidden] { display: none; }

.contact-side { display: grid; gap: 20px; }
.contact-line-card,
.contact-info-card {
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.contact-line-card {
  background: linear-gradient(140deg, #06C755 0%, #059E44 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(6, 199, 85, 0.26);
  text-align: center;
}
.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 30px;
}
.contact-line-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #fff;
}
.contact-line-card p { font-size: 14px; margin-bottom: 18px; opacity: 0.95; }
.contact-line-card .btn-line {
  background: #fff;
  color: #059E44;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.contact-line-card .btn-line:hover { background: #F1FFF6; color: #059E44; }
.line-caution {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 0 !important;
}

.contact-info-card {
  background: var(--soft);
  border: 1px solid var(--light);
}
.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info-card h3 i { color: var(--gold); }
.contact-info-card ul { display: grid; gap: 9px; margin-bottom: 14px; }
.contact-info-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-sub);
}
.contact-info-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.contact-info-note { font-size: 12.5px; color: var(--text-sub); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: #D7E6F5;
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 40px;
  padding-bottom: 46px;
}
/* フッターのロゴ。紺色のロゴは Navy 背景に埋もれるため、白い下地を敷いて視認性を確保 */
.footer-logo-badge {
  display: inline-block;
  padding: 10px 16px;
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 14px;
  line-height: 0;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img[hidden] { display: none; }
.footer-logo-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.footer-logo-text[hidden] { display: none; }
.footer-catch {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-desc { font-size: 13.5px; line-height: 1.9; opacity: 0.88; }

.footer-nav h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 16px;
}
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a { font-size: 14px; color: #D7E6F5; }
.footer-nav a:hover { color: #fff; }

.footer-actions { display: flex; flex-direction: column; align-items: stretch; }
.footer-actions .btn { margin-bottom: 10px; justify-content: center; }
.footer-actions .btn-primary {
  background: var(--blue);
  box-shadow: none;
}
.footer-actions .btn-primary:hover { background: #1AA8DB; }
.footer-privacy { margin-top: 8px; text-align: center; }
.footer-privacy a {
  font-size: 13px;
  color: #D7E6F5;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 12.5px;
  opacity: 0.8;
}

/* ---------- プライバシーポリシー本文 ---------- */
.policy-body {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.policy-lead {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 28px;
}
.policy-body h2 {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  color: var(--navy);
  margin: 30px 0 12px;
}
.policy-body h2:first-of-type { margin-top: 0; }
.policy-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--blue) 100%);
}
.policy-body p { font-size: 14.5px; color: var(--text-sub); }
.policy-body ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}
.policy-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-sub);
}
.policy-body ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.policy-date {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--light);
  font-size: 13.5px;
  text-align: right;
}

/* ---------- モバイル固定CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--light);
}
.mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: 14px; }

/* ---------- アニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature-card:hover, .price-card:hover { transform: none; }
}

/* ---------- タブレット ---------- */
@media (max-width: 1024px) {
  .container { padding-inline: 20px; }
  .hero-inner { gap: 32px; }
  .service-layout,
  .ai-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .ai-side { position: static; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .header-cta .btn-line { display: none; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 768px) {
  :root { --header-h: 66px; }

  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 56px; }

  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--light);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .global-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; padding: 10px 14px 18px; }
  .global-nav li { border-bottom: 1px solid var(--soft); }
  .global-nav li:last-child { border-bottom: 0; }
  .global-nav a { padding: 14px 8px; border-radius: 0; font-size: 15px; }
  .global-nav a.is-active { background: transparent; color: var(--blue); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero h1::after { margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero-points { justify-content: center; }

  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step p { text-align: center; }

  .service-main,
  .service-coming,
  .ai-block,
  .ai-side,
  .contact-form-wrap,
  .contact-line-card,
  .contact-info-card { padding: 26px 20px; }

  .service-actions { flex-direction: column; }
  .service-actions .btn { width: 100%; }
  .flow-mini li { min-width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .site-footer { padding-top: 44px; }

  .policy-body { padding: 28px 20px; }
  .policy-body h2 { font-size: 16.5px; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 380px) {
  .brand-text { font-size: 19px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .price-value { font-size: 26px; }
}
