/* =========================================================
   AISTERIA corporate site — 2026 renewal
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #14254a;
  --navy-2: #24386a;
  --accent: #0aa3b5;
  --accent-dark: #078797;
  --accent-soft: #e9f6f8;
  --bg-gray: #f5f6f7;
  --line: #e3e6ea;
  --text: #2b2f36;
  --text-sub: #5d6470;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(20, 37, 74, .08);
  --container: 1160px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.header-inner {
  max-width: 1280px; margin: 0 auto; height: 76px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: "Noto Serif JP", serif; font-weight: 700;
  font-size: 24px; letter-spacing: .14em; color: var(--navy);
}
.logo-sub { font-size: 10px; letter-spacing: .12em; color: var(--text-sub); margin-top: 4px; }

.global-nav { display: flex; align-items: center; gap: 34px; }
.global-nav a { font-size: 14px; font-weight: 500; color: var(--navy); position: relative; }
.global-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.global-nav a:not(.btn):hover::after, .global-nav a.current::after { width: 100%; }
.nav-en { display: block; font-size: 10px; letter-spacing: .14em; color: var(--accent); font-weight: 700; }

.hamburger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.hamburger span { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); transition: .3s; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding: 16px 36px; border-radius: 999px; transition: .25s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px rgba(10,163,181,.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--accent-soft); }
.btn-sm { padding: 11px 24px; font-size: 13px; }
.btn .arrow { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  position: relative; margin-top: 76px; min-height: calc(100vh - 76px); max-height: 860px;
  display: flex; align-items: center; overflow: hidden; color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/pixta_92932371_XL.jpg") 20% center / cover no-repeat;
  transform: scale(1.06); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,37,74,.15) 0%, rgba(20,37,74,.55) 45%, rgba(20,37,74,.88) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 80px 32px; display: flex; justify-content: flex-end; }
.hero-copy { max-width: 720px; }
.hero-title .line { display: inline-block; white-space: nowrap; }
.hero-lead {
  display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .2em;
  padding: 6px 16px; border: 1px solid rgba(255,255,255,.6); margin-bottom: 28px;
}
.hero-title {
  font-weight: 900; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.22; letter-spacing: .02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero-title .accent { color: #7fe3ee; }
.hero-en {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .04em; margin: 18px 0 28px; opacity: .95;
}
.hero-text { font-size: 15px; line-height: 2.1; opacity: .95; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.8); color: var(--white); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--navy); }
.scroll-sign {
  position: absolute; left: 32px; bottom: 32px; z-index: 1; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.85);
  padding-bottom: 70px;
}
.scroll-sign::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 60px; background: rgba(255,255,255,.5);
  animation: scrollLine 2s infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-gray { background: var(--bg-gray); }
.section-soft { background: var(--accent-soft); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .en {
  display: block; font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 22px; color: var(--accent); letter-spacing: .08em; margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.5; }
.section-head p { margin-top: 18px; color: var(--text-sub); font-size: 15px; }
.section-head.left { text-align: left; }
.bar-title {
  font-size: 24px; font-weight: 700; color: var(--navy);
  border-left: 5px solid var(--accent); padding: 4px 0 4px 18px; margin-bottom: 28px;
}

/* ---------- news + highlight ---------- */
.topics { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
.news-list li { border-top: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-item { display: block; padding: 22px 6px; transition: background .2s; }
.news-list a:hover { background: var(--bg-gray); }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-sub); }
.news-tag { font-size: 11px; font-weight: 700; color: var(--white); background: var(--navy); padding: 2px 10px; border-radius: 2px; }
.news-tag.t2 { background: var(--accent); }
.news-title { font-weight: 700; margin-top: 6px; font-size: 15px; }

.highlight { border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.highlight-row + .highlight-row { border-top: 1px solid var(--line); }
.highlight h3 { background: var(--accent); color: var(--white); font-size: 15px; padding: 12px 20px; }
.highlight .hl-body { padding: 18px 20px 20px; }
.hl-num { font-size: 34px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.hl-num small { font-size: 15px; font-weight: 700; margin-left: 4px; }
.hl-note { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.hl-foot { font-size: 11px; color: var(--text-sub); padding: 10px 20px; background: var(--bg-gray); }

/* ---------- message ---------- */
.message { text-align: center; }
.message-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; color: var(--navy); line-height: 1.6; margin-bottom: 40px; }
.message-title em { font-style: normal; background: linear-gradient(transparent 62%, rgba(10,163,181,.28) 62%); }
.message p { font-size: 16px; line-height: 2.3; color: var(--text); }
.message p + p { margin-top: 24px; }
.message .btn { margin-top: 48px; }

/* ---------- cards (service) ---------- */
.group-label { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border-top: 3px solid var(--accent); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
a.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(20,37,74,.14); }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.card-kicker { font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: .1em; }
.card-title { font-size: 21px; font-weight: 700; color: var(--accent-dark); margin: 4px 0 12px; line-height: 1.5; }
.card-text { font-size: 14.5px; line-height: 1.95; color: var(--text); flex: 1; }
.card-more { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.card-more::after { content: "→"; transition: transform .25s; }
a.card:hover .card-more::after { transform: translateX(4px); }
.center-btn { text-align: center; margin-top: 56px; }

/* ---------- strengths ---------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strength { padding: 44px 36px; position: relative; }
.strength + .strength { border-left: 1px solid var(--line); }
.strength-num { font-family: "Cormorant Garamond", serif; font-size: 64px; line-height: 1; color: var(--accent); font-weight: 600; }
.strength-num small { font-size: 14px; letter-spacing: .2em; margin-left: 6px; color: var(--text-sub); font-family: "Noto Sans JP", sans-serif; }
.strength h3 { font-size: 20px; color: var(--navy); margin: 18px 0 14px; }
.strength p { font-size: 14.5px; color: var(--text); }

/* ---------- worries ---------- */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; max-width: 920px; margin: 0 auto; }
.worry {
  background: var(--white); border-radius: var(--radius); padding: 20px 24px 20px 64px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 15px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.worry::before {
  content: ""; position: absolute; left: 24px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.7-1.7 3.3 3.3 7.4-7.4 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.7-1.7 3.3 3.3 7.4-7.4 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.worries-answer { text-align: center; margin-top: 48px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--navy); }
.worries-answer strong { color: var(--accent-dark); font-size: 1.2em; }

/* ---------- case ---------- */
.case-card .card-body { padding-top: 28px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 2px; background: var(--navy); color: var(--white); }
.tag.light { background: var(--accent-soft); color: var(--accent-dark); }
.case-scale { font-size: 12px; color: var(--text-sub); }
.case-card .card-title { color: var(--navy); font-size: 18px; margin-top: 8px; }
.case-result { margin-top: 16px; padding: 14px 16px; background: var(--accent-soft); border-radius: var(--radius); font-size: 13.5px; line-height: 1.85; }
.case-result b { color: var(--accent-dark); display: block; font-size: 12px; letter-spacing: .1em; }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-step { background: var(--white); padding: 32px 24px; text-align: center; position: relative; border-radius: var(--radius); box-shadow: var(--shadow); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 50%; margin-top: -8px;
  border: 8px solid transparent; border-left: 10px solid var(--accent); z-index: 1;
}
.flow-step .step { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--accent); font-size: 18px; }
.flow-step h3 { font-size: 17px; color: var(--navy); margin: 6px 0 10px; }
.flow-step p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; text-align: left; }

/* ---------- faq ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit;
  display: flex; align-items: center; gap: 18px; padding: 24px 48px 24px 4px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 16px;
}
.faq-q::before, .faq-a::before {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 700;
}
.faq-q::before { content: "Q"; background: var(--navy); color: var(--white); }
.faq-q::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: .3s;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-a { display: none; gap: 18px; padding: 0 4px 26px; color: var(--text); font-size: 15px; }
.faq-a::before { content: "A"; background: var(--accent-soft); color: var(--accent-dark); }
.faq-item.open .faq-a { display: flex; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; color: var(--white); text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../images/fv_bg.jpg") center / cover no-repeat; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,37,74,.94), rgba(7,135,151,.85)); }
.cta .container { position: relative; z-index: 1; }
.cta .en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 24px; color: #9fe9f1; }
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 6px 0 16px; }
.cta p { opacity: .92; }
.cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; }
.cta-mail { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 10px 32px; }
.cta-mail small { font-size: 11px; opacity: .8; letter-spacing: .1em; }
.cta-mail span { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { font-family: "Noto Serif JP", serif; font-size: 26px; letter-spacing: .14em; color: var(--white); font-weight: 700; }
.footer-company { margin: 14px 0 10px; font-weight: 700; color: var(--white); }
.footer-address { font-size: 13px; line-height: 1.9; opacity: .85; }
.footer-col h4 { font-size: 12px; letter-spacing: .2em; color: #9fe9f1; margin-bottom: 14px; font-weight: 700; }
.footer-col li + li { margin-top: 8px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 22px 0; text-align: center; font-size: 12px; opacity: .7; }

.pagetop {
  position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--accent); background: rgba(255,255,255,.92); color: var(--accent);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; cursor: pointer;
}
.pagetop.show { opacity: 1; pointer-events: auto; }
.pagetop:hover { background: var(--accent); color: var(--white); }

/* ---------- sub pages ---------- */
.page-hero {
  margin-top: 76px; position: relative; color: var(--white); padding: 96px 0 84px; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--ph-img, url("../images/fv_bg.jpg")) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,37,74,.92) 0%, rgba(20,37,74,.6) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(40px, 6vw, 68px); line-height: 1; color: var(--white); }
.page-hero h1 { font-size: 17px; font-weight: 700; letter-spacing: .14em; margin-top: 12px; color: #9fe9f1; }
.page-hero p { margin-top: 20px; max-width: 640px; opacity: .92; }
.breadcrumb { font-size: 12px; color: var(--text-sub); padding: 14px 0; border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb span { margin: 0 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); line-height: 1.6; margin-bottom: 24px; }
.split p + p { margin-top: 18px; }

.svc-detail { display: grid; grid-template-columns: 420px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-top: 3px solid var(--accent); }
.svc-num { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--accent); font-size: 20px; }
.svc-detail h3 { font-size: 26px; color: var(--navy); margin: 2px 0 6px; }
.svc-detail .kicker { font-size: 13px; color: var(--text-sub); font-weight: 700; }
.svc-detail .desc { margin: 18px 0 22px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.case-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 0; background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.case-detail + .case-detail { margin-top: 36px; }
.case-side { background: var(--navy); color: var(--white); padding: 36px 32px; }
.case-side .industry { font-size: 26px; font-weight: 900; }
.case-side dl { margin-top: 20px; font-size: 13.5px; }
.case-side dt { color: #9fe9f1; font-size: 11px; letter-spacing: .14em; margin-top: 12px; }
.case-main { padding: 36px 40px; }
.case-main h3 { font-size: 21px; color: var(--navy); line-height: 1.6; margin-bottom: 14px; }
.case-note { font-size: 12px; color: var(--text-sub); margin-top: 32px; text-align: right; }

.company-table { width: 100%; border-collapse: collapse; max-width: 880px; margin: 0 auto; background: var(--white); }
.company-table th, .company-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 1px solid var(--line); }
.company-table th { width: 200px; color: var(--navy); font-weight: 700; background: var(--bg-gray); }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.contact-info { background: var(--accent-soft); padding: 32px 28px; border-radius: var(--radius); position: sticky; top: 100px; }
.contact-info h3 { color: var(--navy); font-size: 18px; margin-bottom: 14px; }
.contact-info dl { margin: 18px 0; font-size: 14px; }
.contact-info dt { font-size: 11px; letter-spacing: .14em; color: var(--accent-dark); font-weight: 700; margin-top: 14px; }
.contact-info dd a { color: var(--navy); font-weight: 700; word-break: break-all; }
.contact-info .free { background: var(--white); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; font-weight: 700; color: var(--navy); }
.form-row { margin-bottom: 26px; }
.form-row label { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 8px; }
.req, .opt { font-size: 11px; padding: 1px 8px; border-radius: 2px; font-weight: 700; }
.req { background: #d83a52; color: var(--white); }
.opt { background: var(--line); color: var(--text-sub); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #cfd5dc; border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-row textarea { min-height: 200px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,163,181,.18); }
.form-error { color: #d83a52; font-size: 13px; margin-top: 6px; min-height: 1em; }
.form-privacy { font-size: 13px; color: var(--text-sub); background: var(--bg-gray); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 28px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 280px; }
.form-done { text-align: center; padding: 56px 24px; background: var(--accent-soft); border-radius: var(--radius); }
.form-done h3 { color: var(--navy); font-size: 22px; margin-bottom: 14px; }
.form-done p { font-size: 14.5px; }
.form-done .btn { margin-top: 24px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .global-nav { gap: 22px; }
  .svc-detail { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .header-inner { height: 64px; padding: 0 16px; }
  .hero, .page-hero { margin-top: 64px; }
  .hamburger { display: block; }
  .global-nav {
    position: fixed; top: 64px; right: 0; bottom: 0; width: min(82vw, 340px); background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px;
    transform: translateX(100%); transition: transform .3s; box-shadow: -8px 0 24px rgba(0,0,0,.08); overflow-y: auto;
  }
  .global-nav.open { transform: none; }
  .global-nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .global-nav a:not(.btn)::after { display: none; }
  .global-nav .btn { margin-top: 24px; }
  .nav-overlay { position: fixed; inset: 64px 0 0 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .3s; z-index: 99; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .topics, .split, .contact-wrap, .case-detail { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .strengths { grid-template-columns: 1fr; }
  .strength + .strength { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .sp-only { display: inline; }
  .sp-none { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-bg { background-position: 15% center; }
  .hero::after { background: linear-gradient(180deg, rgba(20,37,74,.35) 0%, rgba(20,37,74,.88) 60%); }
  .hero-inner { padding: 48px 16px; }
  .hero-lead { font-size: 12px; letter-spacing: .12em; }
  .scroll-sign { display: none; }
  .hero-actions .btn { width: 100%; }
  .worries { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding: 12px 16px; }
  .company-table td { padding: 14px 16px 20px; }
  .case-main, .case-side { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-submit .btn { width: 100%; min-width: 0; }
  .pagetop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* =========================================================
   Phase 1 additions (pricing / form / mobile CTA / policy)
   ========================================================= */
.card-price { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 10px; }
.card-price span { font-size: 12px; font-weight: 700; color: var(--text-sub); }
.card-price b { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.price-note { text-align: center; font-size: 12.5px; color: var(--text-sub); margin-top: 28px; }

.price-box {
  margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0;
}
.pb-label { font-size: 12px; font-weight: 700; color: var(--accent-dark); letter-spacing: .1em; }
.pb-unit { font-size: 13px; font-weight: 700; color: var(--navy); }
.pb-amount { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.pb-sub { font-size: 13px; color: var(--text-sub); }

/* form */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-agree { text-align: center; }
.agree { display: inline-flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500 !important; }
.agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.agree a { color: var(--accent-dark); text-decoration: underline; }
.form-status { background: #fdecef; color: #a3253a; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; margin-bottom: 20px; }
.form-status a { font-weight: 700; text-decoration: underline; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-block { width: 100%; }
.contact-booking { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(10,163,181,.25); }
.contact-booking p { font-size: 13px; margin-bottom: 12px; }
.form-done:focus { outline: none; }

/* voices / profile */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.voice { background: var(--white); padding: 32px 28px 26px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); position: relative; }
.voice::before { content: "“"; position: absolute; top: 4px; left: 18px; font-family: "Cormorant Garamond", serif; font-size: 64px; line-height: 1; color: var(--accent); opacity: .35; }
.voice blockquote { font-size: 15px; line-height: 1.95; }
.voice figcaption { margin-top: 16px; font-size: 12.5px; color: var(--text-sub); font-weight: 700; }
.profile { max-width: 820px; margin: 0 auto; background: var(--white); padding: 40px 44px; box-shadow: var(--shadow); }
.profile-role { font-size: 13px; color: var(--accent-dark); font-weight: 700; letter-spacing: .1em; }
.profile-name { font-size: 26px; font-weight: 900; color: var(--navy); margin: 2px 0 18px; }
.profile-career { font-size: 15px; line-height: 2; }

/* privacy policy */
.policy { max-width: 860px; }
.policy-sec + .policy-sec { margin-top: 40px; }
.policy-sec h2 { font-size: 19px; color: var(--navy); border-left: 4px solid var(--accent); padding-left: 14px; margin-bottom: 14px; }
.policy-sec p, .policy-sec li { font-size: 15px; }
.policy-sec ul { list-style: disc; padding-left: 1.4em; }
.policy-sec a { color: var(--accent-dark); text-decoration: underline; }
.policy-date { margin-top: 48px; text-align: right; font-size: 13px; color: var(--text-sub); }

/* mobile fixed CTA */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 -4px 18px rgba(0,0,0,.08);
    transition: transform .3s;
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mcta-btn { flex: 1; text-align: center; font-weight: 700; font-size: 14px; padding: 13px 8px; border-radius: 999px; }
  .mcta-form { background: var(--accent); color: var(--white); }
  .mcta-book { background: var(--navy); color: var(--white); }
  body:has(.mobile-cta) { padding-bottom: 72px; }
  body:has(.mobile-cta) .pagetop { bottom: 88px; }
}
@media (max-width: 640px) {
  .profile { padding: 28px 22px; }
  .pb-amount { font-size: 24px; }
}

/* =========================================================
   Logo mark & icons (kept from v2, consulting tone)
   ========================================================= */
.logo { flex-direction: row; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-mark { width: 38px; height: 38px; }
.site-footer .logo-mark rect { fill: rgba(255,255,255,.1); }

.ico-chip {
  width: 52px; height: 52px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; flex: none;
}
.ico-chip svg { width: 26px; height: 26px; }
.strength-head { display: flex; align-items: center; justify-content: space-between; }
.worry { padding: 18px 22px 18px 74px; display: flex; align-items: center; min-height: 72px; }
.worry::before { display: none; }
.worry .ico-chip { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 6px; }
.worry .ico-chip svg { width: 22px; height: 22px; }
.flow-step .ico-chip { margin: 0 auto 12px; }
@media (max-width: 640px) {
  .logo-mark { width: 34px; height: 34px; }
  .logo-main { font-size: 20px; }
}

/* 2026-11-25: サービス4つを2列で並べる */
.cards.cards-4 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin: 0 auto; }
@media (max-width: 960px) { .cards.cards-4 { grid-template-columns: 1fr; max-width: 560px; } }
