/* =========================================================
   サリフェ訪問看護ステーション草加 LP
   生成り × 白の水玉、ゆっくり回るブロブ写真、縦書き見出し
   ========================================================= */
:root {
  --cream: #f6f1eb;
  --cream-2: #f2eae2;
  --sand: #e5d8c9;
  --mist: #e4e9ec;
  --text: #666;
  --ink: #333;
  --line: #e5e5e5;
  --white: #fff;
  --radius: 28px;
  --content: 1440px;
  --content-narrow: 1100px;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-pop: cubic-bezier(.175, .885, .32, 1.275);
  --font: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  --font-round: 'Zen Maru Gothic', var(--font);
  --font-en: 'Jost', var(--font);
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='14' y='14' width='46' height='46' rx='17' fill='%23fff' fill-opacity='.75'/%3E%3Crect x='74' y='74' width='46' height='46' rx='17' fill='%23fff' fill-opacity='.75'/%3E%3Crect x='-46' y='74' width='46' height='46' rx='17' fill='%23fff' fill-opacity='.75'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-round); font-weight: 500; line-height: 1.6; }
img { display: block; max-width: 100%; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; }

/* ---------- 縦書き ---------- */
.v-text { writing-mode: vertical-rl; text-orientation: mixed; }
.tcy { text-combine-upright: all; }

/* ---------- ローダー ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--cream) var(--dots) 0 0 / 120px;
  animation: loaderOut .7s linear 1.3s forwards;
  pointer-events: none;
}
.loader__logo {
  font-family: var(--font-en); font-size: 22px; letter-spacing: .4em; color: var(--ink);
  animation: popin .8s var(--ease-pop) .1s both, fadeOut .4s linear 1.1s forwards;
}
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes popin { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadeOut { to { opacity: 0; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px;
}
.brand { display: grid; line-height: 1.2; }
.brand__en { font-family: var(--font-en); font-size: 22px; font-weight: 500; letter-spacing: .28em; color: var(--ink); }
.brand__ja { font-size: 10px; letter-spacing: .16em; }
.header-contact { display: flex; align-items: center; gap: 28px; }
.header-contact p { display: grid; line-height: 1.3; font-family: var(--font-en); font-size: 17px; color: var(--ink); letter-spacing: .08em; }
.header-contact span { font-family: var(--font); font-size: 10px; color: var(--text); letter-spacing: .06em; }
.round-tel {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); transition: transform .5s var(--ease-pop);
}
.round-tel svg { width: 20px; fill: #fff; }
.round-tel:hover { transform: scale(1.1) rotate(-8deg); }

/* ---------- ヒーロー ---------- */
.hero { padding: 16px 16px 0; }
.hero__panel {
  position: relative; overflow: hidden;
  height: clamp(640px, calc(100svh - 32px), 920px);
  border-radius: var(--radius);
  background: var(--cream);
}
.hero__dots {
  position: absolute; inset: -120px;
  background: var(--dots) 0 0 / 120px;
  animation: dotsDrift 40s linear infinite;
}
@keyframes dotsDrift { to { transform: translate(120px, 120px); } }

.hero__visual { position: absolute; }
.hero__visual--main { left: 7%; top: 15%; width: min(44vw, 72vh); }
.hero__visual--sub { left: 50%; bottom: 5%; width: min(17vw, 28vh); }
.hero__visual--mini { right: 30%; top: 11%; width: min(14vw, 22vh); }

/* ブロブ：外側が回転、内側が逆回転して写真は正立のまま */
.blob { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 62% 38% 46% 54% / 48% 58% 42% 52%; }
.blob--b { border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%; }
.blob--c { border-radius: 50% 50% 38% 62% / 60% 45% 55% 40%; }
.blob__inner { position: absolute; inset: -12%; }
.blob__inner > img, .blob__inner > .ph { width: 100%; height: 100%; object-fit: cover; }

.spin-slow { animation: rotateCW 25s linear infinite; }
.spin-slow-rev { animation: rotateCCW 25s linear infinite; }
.spin-fast { animation: rotateCW 10s linear infinite; }
.spin-fast-rev { animation: rotateCCW 10s linear infinite; }
@keyframes rotateCW { to { transform: rotate(-1turn); } }
@keyframes rotateCCW { to { transform: rotate(1turn); } }

/* 差し替え前の写真プレースホルダー */
.ph {
  display: grid; place-items: center;
  background: linear-gradient(140deg, #efe4d6, #dccbb6);
}
.ph--blue { background: linear-gradient(140deg, #eef2f4, #cfd9df); }
.ph--sand { background: linear-gradient(140deg, #f5ede3, #e8dccd); }
.ph span { font-family: var(--font-en); font-size: 12px; letter-spacing: .4em; color: rgba(0, 0, 0, .22); }

.circle-text {
  position: absolute; left: -13%; top: -13%; width: 126%; height: 126%;
  overflow: visible; pointer-events: none;
  animation: rotateCW 25s linear infinite;
}
.circle-text text { font-size: 6.4px; letter-spacing: .2em; fill: var(--text); font-family: var(--font); }

.hero__copy {
  position: absolute; right: 9%; top: 16%;
  display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 22px;
}
.hero__title { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.9; letter-spacing: .14em; }
.hero__title .line { display: block; }
.hero__sub { font-size: 13px; letter-spacing: .24em; margin-top: 4.5em; }
.v-tag {
  writing-mode: vertical-rl; border: 1px solid var(--ink); border-radius: 99px;
  padding: 14px 4px; font-size: 11px; line-height: 1.6; letter-spacing: .2em; color: var(--ink);
  background: rgba(255, 255, 255, .5);
}

.hero__lead {
  max-width: var(--content-narrow); margin: 72px auto 0; padding: 0 24px; text-align: center;
}
.hero__lead > p:first-child { font-size: 15px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.note { margin-top: 14px; font-size: 11px; }

.pills {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: var(--content); margin: 56px auto 0; padding: 0 24px;
}
.pills li {
  display: grid; place-content: center; text-align: center;
  aspect-ratio: 1.55; border-radius: 50%;
  background: var(--cream); font-size: 12px; line-height: 1.7;
}
.pills b { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--font-round); font-size: clamp(15px, 1.45vw, 19px); font-weight: 700; letter-spacing: .08em; }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 64px; padding: 10px 64px 10px 32px; border-radius: 99px;
  font-family: var(--font-en); font-size: 20px; line-height: 1.3; letter-spacing: .08em;
  transition: background-color .3s, color .3s, transform .5s var(--ease-pop);
}
.btn small { font-family: var(--font); font-size: 11px; letter-spacing: .08em; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: scale(1.03); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); font-family: var(--font); font-size: 13px; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--large { min-height: 76px; font-size: 26px; }
.btn__arrow {
  position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: currentColor;
}
.btn--dark .btn__arrow { background: #fff; }
.btn__arrow::after {
  content: ''; position: absolute; left: 9px; top: 8px; width: 6px; height: 6px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg);
}
.btn--line .btn__arrow { background: transparent; border: 1px solid currentColor; }
.btn--line .btn__arrow::after { border-color: currentColor; left: 8px; top: 9px; }
.btn:hover .btn__arrow::after { animation: arrowHover .6s var(--ease-out); }
@keyframes arrowHover { 0% { translate: 0; } 1% { translate: -6px 0; } 100% { translate: 0; } }

/* ---------- セクション共通 ---------- */
.section { padding: 140px 24px; }
.section__inner { max-width: var(--content); margin: 0 auto; }
.with-vhead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: start; }
.with-vhead.is-right { grid-template-columns: minmax(0, 1fr) auto; }
.with-vhead.is-right > .v-head { order: 2; }
.v-head {
  position: sticky; top: 100px;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.9; letter-spacing: .22em;
}
.lead { margin-bottom: 40px; font-size: 15px; }
.label { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; margin-bottom: 14px; }

/* ---------- 医療職向け ---------- */
.pro { padding: 120px 24px 0; }
.pro__card {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  padding: 48px 56px; border-radius: var(--radius); background: var(--mist);
}
.pro__card h2 { font-size: 22px; margin-bottom: 12px; }
.pro__card p:not(.label) { font-size: 13px; }
.pro__links { display: grid; gap: 10px; }
.pro__links a {
  display: grid; padding: 12px 30px; border-radius: 99px; background: #fff;
  font-family: var(--font-en); font-size: 22px; color: var(--ink); line-height: 1.3;
  transition: transform .5s var(--ease-pop);
}
.pro__links a:hover { transform: scale(1.04); }
.pro__links span { font-family: var(--font); font-size: 10px; color: var(--text); }

/* ---------- 対応エリア ---------- */
.area__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.area__map { margin: 0; }
.area__map svg { display: block; width: 100%; height: auto; overflow: visible; }
.area__map figcaption { margin-top: 8px; font-size: 11px; text-align: center; }
.area__range {
  fill: none; stroke: #c9b49b; stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round;
  transform-origin: 318px 252px; opacity: 0;
  transition: opacity 1s linear 1.2s;
  animation: rotateCCW 90s linear infinite;
}
.area__shape { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .9s var(--ease-pop) var(--d); }
.area__land { fill: var(--cream); stroke: #fff; stroke-width: 6; stroke-linejoin: round; }
.area__land--blue { fill: var(--mist); }
.area__land--home { fill: var(--sand); }
.area__shape text { font-family: var(--font-round); font-size: 19px; fill: var(--ink); text-anchor: middle; letter-spacing: .12em; }
.area__shape--home text { font-size: 24px; }
.area__pin { fill: var(--ink); transform: translateY(-40px); opacity: 0; transition: transform .8s var(--ease-pop) 1s, opacity .3s linear 1s; }
.area__pulse { fill: var(--ink); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .3; } to { transform: scale(4.5); opacity: 0; } }
.area__map.is-in .area__shape { transform: none; }
.area__map.is-in .area__range { opacity: 1; }
.area__map.is-in .area__pin { transform: none; opacity: 1; }

.area__office { padding: 28px 30px; border-radius: var(--radius); background: var(--cream); margin-bottom: 24px; }
.area__office h3 { font-size: 17px; margin-bottom: 4px; }
.area__office p:not(.label) { font-size: 13px; }
.area__list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.area__list li {
  display: grid; place-content: center; text-align: center; width: 104px; height: 104px;
  border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%; border: 1px solid var(--ink);
  font-size: 10px; line-height: 1.5;
}
.area__list li:first-child { background: var(--sand); border-color: var(--sand); }
.area__list b { display: block; color: var(--ink); font-family: var(--font-round); font-size: 16px; font-weight: 500; }
.area__note { font-size: 12px; }

/* ---------- お悩み ---------- */
.bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bubble { position: relative; padding: 40px; border-radius: var(--radius); background: var(--cream); }
.bubble::after {
  content: ''; position: absolute; left: 56px; bottom: -11px; width: 24px; height: 24px;
  background: inherit; border-radius: 0 0 6px 0; transform: rotate(45deg);
}
.bubble--alt { background: var(--mist); margin-top: 60px; }
.bubble--alt::after { left: auto; right: 56px; }
.bubble h3 { font-size: 17px; margin-bottom: 16px; }
.bubble li { position: relative; padding: 10px 0 10px 24px; font-size: 14px; line-height: 1.8; border-top: 1px dashed rgba(0, 0, 0, .12); }
.bubble li::before {
  content: ''; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px;
  border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--ink);
}

/* ---------- 強み（手描きの円） ---------- */
.circles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.circle {
  position: relative; display: grid; place-content: center; text-align: center;
  width: min(440px, 100%); aspect-ratio: 1; padding: 13%; justify-self: center;
}
.circle:nth-child(even) { margin-top: 160px; }
.circle:nth-child(n+3) { margin-top: -80px; }
.circle:nth-child(4) { margin-top: 80px; }
.circle__line {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.circle.is-in .circle__line { stroke-dashoffset: 0; }
.circle__line--sp { display: none; }
/* 画面幅が狭いと丸に文字が収まらないので、角丸の手描き線に切り替える */
@media (min-width: 1200px) {
  .circle { width: min(500px, 100%); padding: 12% 14%; }
}
@media (max-width: 1199px) {
  .circle:nth-child(n) { aspect-ratio: auto; min-height: 380px; padding: 56px 40px 60px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .circles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .circle:nth-child(n) { margin-top: 0; width: min(560px, 100%); min-height: 0; }
  .circle:nth-child(odd) { justify-self: start; }
  .circle:nth-child(even) { justify-self: end; }
}
@media (max-width: 1199px) {
  .circle__line { display: none; }
  .circle__line.circle__line--sp { display: block; }
}
.circle__num { font-family: var(--font-en); font-size: 40px; font-weight: 300; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.circle h3 { font-size: 18px; margin-bottom: 12px; position: relative; }
.circle h3::before { content: '・'; position: absolute; left: -1em; color: var(--sand); }
.circle > p:not(.circle__num) { font-size: 12.5px; line-height: 1.9; }
.circle > *:not(svg) { opacity: 0; transform: translateY(16px); transition: opacity 1s linear .5s, transform 1.25s var(--ease-out) .5s; }
.circle.is-in > *:not(svg) { opacity: 1; transform: none; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.tags li { padding: 2px 10px; border-radius: 99px; background: var(--cream); font-size: 10.5px; }

/* ---------- 医療処置 ---------- */
.service {
  display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: start;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.blob--icon { width: 120px; }
.service h3 { font-size: 19px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 16px; border-radius: 99px; background: var(--cream); font-size: 13px; line-height: 1.6; }

/* ---------- 流れ ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 48px; border-top: 1px dashed #bbb; }
.steps li { position: relative; text-align: center; }
.steps__num {
  display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px;
  border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%;
  background: var(--cream); font-family: var(--font-en); font-size: 26px; font-weight: 300; color: var(--ink);
}
.steps li:nth-child(even) .steps__num { background: var(--mist); border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%; }
.steps h3 { font-size: 15px; margin-bottom: 8px; }
.steps p { font-size: 12.5px; line-height: 1.85; text-align: left; }

/* ---------- メッセージ ---------- */
.message { padding: 0 16px; }
.message__panel {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
  padding: 120px max(48px, calc((100% - var(--content)) / 2));
}
.message__panel > *:not(.hero__dots) { position: relative; }
.message__visual { text-align: center; }
.message__panel > .message__visual { position: sticky; top: 100px; align-self: start; }
.message__visual .blob { width: min(400px, 100%); margin: 0 auto; }
.message__name { margin-top: 20px; font-size: 12px; }
.message__name strong { display: block; color: var(--ink); font-family: var(--font-round); font-size: 20px; font-weight: 500; letter-spacing: .2em; }
.message__copy h2 { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 28px; }
.message__copy blockquote {
  margin: 0 0 24px; padding: 24px 28px; border-radius: 20px; background: #fff;
  color: var(--ink); font-family: var(--font-round); font-size: 16px; line-height: 1.9;
}
.message__copy > p:not(.label) { font-size: 14px; }
.message__copy > p:not(.label) + p { margin-top: 1em; }
.message__copy > p + blockquote { margin-top: 24px; }
.signature { margin-top: 28px !important; font-size: 12px !important; }
.signature strong { color: var(--ink); font-size: 15px; font-weight: 500; }
.profile { margin-top: 36px; padding: 28px 30px; border-radius: 20px; background: rgba(255, 255, 255, .7); }
.profile > div + div { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(0, 0, 0, .12); }
.profile dt { margin-bottom: 4px; color: var(--ink); font-family: var(--font-round); font-size: 14px; }
.profile dt::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 3px; background: var(--sand); }
.profile dd { margin: 0; font-size: 13px; line-height: 1.9; }
.profile li { position: relative; padding-left: 1em; }
.profile li::before { content: '・'; position: absolute; left: -.2em; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; }
.faq details { border-radius: 24px; background: var(--cream); overflow: hidden; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 76px 22px 64px; color: var(--ink); font-family: var(--font-round); font-size: 15px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 28px; top: 19px; font-family: var(--font-en); font-size: 20px; }
.faq summary::after {
  content: ''; position: absolute; right: 26px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%23333' stroke-width='1'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .5s var(--ease-pop);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover::after { transform: translateY(3px); }
.faq details[open] summary:hover::after { transform: rotate(180deg) translateY(3px); }
.faq__a { padding: 0 32px 26px 64px; font-size: 14px; position: relative; }
.faq__a::before { content: 'A'; position: absolute; left: 30px; top: -2px; font-family: var(--font-en); font-size: 20px; color: var(--sand); }
.faq details[open] .faq__a { animation: faqOpen .6s var(--ease-out); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- お問い合わせ ---------- */
.contact { padding: 0 16px; }
.contact__panel {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream);
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center;
  padding: 110px max(48px, calc((100% - var(--content)) / 2));
}
.contact__panel > *:not(.hero__dots) { position: relative; }
.contact__main h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 18px; }
.contact__main p:not(.label) { margin-bottom: 32px; font-size: 14px; }
.line-box {
  display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 18px 22px;
  border-radius: 22px; background: #fff;
}
.line-box img { width: 112px; height: 112px; flex: none; }
.line-box p { font-size: 12px; line-height: 1.7; margin-bottom: 10px !important; }
.line-box b { display: block; color: var(--ink); font-family: var(--font-round); font-size: 15px; font-weight: 500; }
.btn--lineapp { min-height: 48px; padding: 8px 52px 8px 24px; background: #06c755; color: #fff; font-family: var(--font); font-size: 13px; }
.btn--lineapp:hover { background: #05b04b; transform: scale(1.03); }
.btn--lineapp .btn__arrow { right: 14px; width: 22px; height: 22px; margin-top: -11px; background: #fff; }
.btn--lineapp .btn__arrow::after { left: 7px; top: 7px; border-color: #06c755; }
.footer__line { font-family: var(--font) !important; font-size: 12px !important; color: #06a648 !important; text-decoration: underline; }
.message__kana { display: block; font-size: 11px; letter-spacing: .2em; }
.contact__card { padding: 40px; border-radius: var(--radius); background: #fff; }
.contact__card h3 { font-size: 17px; margin-bottom: 10px; }
.contact__card p { font-size: 12px; }
.fax {
  display: grid; margin: 22px 0; padding: 18px; text-align: center; border-radius: 20px;
  border: 1px dashed #bbb; font-family: var(--font-en); font-size: 22px; color: var(--ink); line-height: 1.4;
}
.fax small { font-family: var(--font); font-size: 11px; color: var(--text); }
.contact__card .btn { width: 100%; }

/* ---------- 相談フォーム ---------- */
.form-wrap { max-width: var(--content-narrow); margin: 0 auto; padding: 120px 8px 0; scroll-margin-top: 20px; }
.form-head { text-align: center; margin-bottom: 44px; }
.form-head h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 14px; }
.form-head p:not(.label) { font-size: 13px; }
.cform { display: grid; gap: 28px; padding: 48px; border-radius: var(--radius); background: var(--cream); }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.cform__row { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cform__label, .cform__row legend { display: flex; align-items: center; gap: 8px; padding: 0; color: var(--ink); font-family: var(--font-round); font-size: 14px; }
.cform__row legend { margin-bottom: 10px; }
.cform em, .cform small { font-style: normal; font-size: 10px; letter-spacing: .1em; padding: 1px 9px; border-radius: 99px; line-height: 1.8; }
.cform em { background: var(--ink); color: #fff; }
.cform small { background: #fff; color: var(--text); }
.cform input[type="text"], .cform input[type="tel"], .cform input[type="email"], .cform textarea {
  width: 100%; padding: 14px 18px; border: 1px solid transparent; border-radius: 14px; background: #fff;
  color: var(--ink); font: inherit; font-size: 16px; letter-spacing: .04em; line-height: 1.7;
  transition: border-color .2s, box-shadow .2s;
}
.cform textarea { resize: vertical; min-height: 160px; }
.cform input::placeholder, .cform textarea::placeholder { color: #b5aca2; font-size: 14px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(51, 51, 51, .08); }
.cform .is-invalid { border-color: #c0614a !important; }
.cform__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.cform__choices label { position: relative; cursor: pointer; }
.cform__choices input { position: absolute; opacity: 0; pointer-events: none; }
.cform__choices span {
  display: block; padding: 9px 20px; border-radius: 99px; background: #fff; font-size: 14px; color: var(--ink);
  border: 1px solid transparent; transition: background-color .2s, color .2s, transform .4s var(--ease-pop);
}
.cform__choices label:hover span { transform: scale(1.04); }
.cform__choices input:checked + span { background: var(--ink); color: #fff; }
.cform__choices input:focus-visible + span { border-color: var(--ink); }
.cform__choices.is-invalid span { border-color: #c0614a; }
/* 語句の途中で改行させない */
.nowrap { display: inline-block; }

/* 個人情報の取り扱い（開閉式） */
.privacy { border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(0, 0, 0, .14); scroll-margin-top: 90px; }
.privacy summary {
  position: relative; padding: 16px 52px 16px 22px; color: var(--ink); font-family: var(--font-round); font-size: 14px;
  cursor: pointer; list-style: none;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-size: 20px; color: var(--sand); transition: transform .3s var(--ease-out);
}
.privacy[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.privacy__body { padding: 0 22px 20px; font-size: 13px; line-height: 1.85; }
.privacy__body dl { margin: 12px 0 0; }
.privacy__body dl > div { padding: 10px 0; border-top: 1px dashed rgba(0, 0, 0, .12); }
.privacy__body dt { color: var(--ink); font-family: var(--font-round); font-size: 13.5px; margin-bottom: 2px; }
.privacy__body dd { margin: 0; }
.privacy__body a { text-decoration: underline; }
.cform__agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; justify-self: center; }
.cform__agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ink); flex: none; }
.cform__error { margin: 0; padding: 12px 18px; border-radius: 14px; background: #fbeee9; color: #a24a35; font-size: 13px; text-align: center; }
.cform__submit { justify-self: center; min-width: 300px; border: 0; cursor: pointer; font-family: var(--font); font-size: 15px; }
.cform__submit:disabled { opacity: .5; cursor: wait; }
.cform__mail { text-align: center; font-size: 12px; }
.cform__mail a { text-decoration: underline; }
.cform__done { padding: 64px 32px; border-radius: var(--radius); background: var(--cream); text-align: center; animation: popin .8s var(--ease-pop); }
.cform__done h3 { font-size: 22px; margin-bottom: 12px; }
.cform__done p:not(.label) { font-size: 14px; }

/* ---------- 概要 ---------- */
.overview__list > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px dashed #ccc; font-size: 14px; }
.overview__list > div:first-child { border-top: 1px dashed #ccc; }
.overview__list dt, .overview__list dd { padding: 20px 8px; }
.overview__list dt { color: var(--ink); font-family: var(--font-round); }
.overview__list small { display: block; font-size: 11px; color: #b08a63; }

/* ---------- フッター ---------- */
.site-footer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center;
  margin: 0 16px 16px; padding: 56px max(32px, calc((100% - var(--content)) / 2)) 140px;
  border-radius: var(--radius); background: var(--cream-2); font-size: 12px;
}
.footer__tel a { font-family: var(--font-en); font-size: 22px; color: var(--ink); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; grid-column: 3; }
.copyright { grid-column: 1 / -1; font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; }

/* ---------- 下部ドック ---------- */
.dock {
  position: fixed; left: 50%; bottom: 20px; z-index: 50;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  width: max-content; white-space: nowrap;
  border-radius: 99px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .1); backdrop-filter: blur(8px);
  transform: translate(-50%, 160%);
  transition: transform 1.25s var(--ease-out) 1.6s;
}
body.is-ready .dock { transform: translate(-50%, 0); }
.dock__links { position: relative; display: flex; }
.dock__links a { position: relative; z-index: 1; padding: 10px 16px; font-size: 12px; line-height: 1.4; overflow: hidden; transition: color .1s linear; }
.dock__links a.is-active { color: var(--ink); }
.dock__indicator {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 99px; background: var(--cream-2);
  opacity: 0; transition: width .5s var(--ease-out), left .5s var(--ease-out), opacity .1s linear;
}
.roll { display: block; position: relative; transition: transform .5s var(--ease-out); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: calc(100% + 10px); }
.dock__links a:hover .roll { transform: translateY(calc(-100% - 10px)); }
.dock__cta {
  display: grid; padding: 8px 24px; border-radius: 99px; background: var(--ink); color: #fff;
  font-family: var(--font-en); font-size: 17px; line-height: 1.25; text-align: center;
  transition: transform .5s var(--ease-pop);
}
.dock__cta small { font-family: var(--font); font-size: 9px; }
.dock__cta:hover { transform: scale(1.05); }
.dock__cta--mail { display: none; }

/* ---------- 表示アニメーション ---------- */
.js .js-pop { transform: scale(0); transition: transform .9s var(--ease-pop) calc(var(--base, 0s) + var(--d, 0s)); }
.js .js-fade { opacity: 0; transform: translateY(40px); transition: opacity 1s linear calc(var(--base, 0s) + var(--d, 0s)), transform 1.25s var(--ease-out) calc(var(--base, 0s) + var(--d, 0s)); }
.js .js-pop.is-in, .js .js-fade.is-in { opacity: 1; transform: none; }
.hero { --base: 1.4s; }
.hero .pills { --base: 0s; }
.hero__lead { --base: 0s; }

/* 文字分割（縦書き見出し） */
.char { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(-.4em); transition: opacity .8s linear, filter .8s linear, transform 1.2s var(--ease-out); transition-delay: calc(var(--base, 0s) + var(--i) * 45ms); }
[data-split].is-in .char { opacity: 1; filter: none; transform: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
/* 大きい画面では文字と要素を一回り大きくして、画面いっぱいに使う */
@media (min-width: 1440px) {
  body { font-size: 16px; }
  .section { padding: 160px 4vw; }
  .with-vhead { gap: 120px; }
  .v-head { font-size: 34px; }
  .lead, .hero__lead > p:first-child { font-size: 17px; }
  .pills li { font-size: 13px; }
  .pills b { font-size: 21px; }
  .pro__card { padding: 64px 72px; }
  .pro__card h2 { font-size: 26px; }
  .pro__card p:not(.label) { font-size: 15px; }
  .bubble { padding: 52px; }
  .bubble h3 { font-size: 20px; }
  .bubble li { font-size: 15.5px; }
  .circle { width: min(560px, 100%); }
  .circle__num { font-size: 48px; }
  .circle h3 { font-size: 22px; }
  .circle > p:not(.circle__num) { font-size: 14.5px; }
  .tags li { font-size: 12px; }
  .service { grid-template-columns: 150px 1fr; }
  .blob--icon { width: 150px; }
  .service h3 { font-size: 22px; }
  .chips li { font-size: 14.5px; }
  .steps__num { width: 120px; height: 120px; font-size: 32px; }
  .steps::before { top: 60px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14px; }
  .message__copy h2 { font-size: 36px; }
  .message__copy blockquote { font-size: 18px; }
  .message__copy > p:not(.label) { font-size: 15.5px; }
  .profile dt { font-size: 15.5px; }
  .profile dd { font-size: 14.5px; }
  .message__visual .blob { width: min(520px, 100%); }
  .faq summary { font-size: 17px; padding-block: 26px; }
  .faq__a { font-size: 15.5px; }
  .contact__panel { grid-template-columns: 1fr 480px; }
  .contact__main h2 { font-size: 48px; }
  .contact__main p:not(.label) { font-size: 16px; }
  .cform { padding: 64px; }
  .area__shape text { font-size: 21px; }
  .area__office h3 { font-size: 20px; }
  .area__office p:not(.label) { font-size: 15px; }
  .area__list li { width: 120px; height: 120px; }
  .area__list b { font-size: 18px; }
  .overview__list > div { grid-template-columns: 220px 1fr; font-size: 15.5px; }
}

@media (max-width: 1024px) {
  .header-contact p:first-child { display: none; }
  .with-vhead { gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .circle:nth-child(n) { margin-top: 0; }
  .circle:nth-child(even) { margin-top: 100px; }
  .circle:nth-child(3) { margin-top: -60px; }
  .circle:nth-child(4) { margin-top: 40px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .site-header { top: 8px; left: 8px; right: 8px; padding: 18px 18px; }
  .brand__en { font-size: 18px; }
  .header-contact p { display: none; }
  .round-tel { width: 42px; height: 42px; }

  .hero { padding: 8px 8px 0; }
  .hero__panel { height: 760px; border-radius: 22px; }
  .hero__visual--main { left: -10%; top: auto; bottom: 44px; width: 74vw; }
  .hero__visual--sub { right: 4%; bottom: 22px; width: 30vw; }
  .hero__visual--mini { display: none; }
  .hero__copy { right: 6%; top: 88px; gap: 14px; }
  .hero__title { font-size: 21px; letter-spacing: .1em; }
  .hero__sub { font-size: 11px; margin-top: 3em; }
  .circle-text text { font-size: 7.6px; letter-spacing: .1em; }

  .hero__lead { margin-top: 48px; text-align: left; }
  .hero__lead > p:first-child { font-size: 14px; }
  .actions { display: grid; }
  .btn { width: 100%; }
  .pills { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; padding: 0 16px; }
  .pills li { aspect-ratio: auto; border-radius: 99px; padding: 14px 10px; font-size: 10px; }
  .pills li { padding: 14px 6px; }
  .pills b { font-size: 13.5px; letter-spacing: 0; }

  .section { padding: 96px 20px; }
  .with-vhead, .with-vhead.is-right { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .with-vhead.is-right > .v-head { order: 0; justify-self: end; }
  .v-head { position: static; font-size: 22px; max-height: 340px; }

  .pro { padding: 80px 16px 0; }
  .pro__card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; border-radius: 22px; }
  .pro__card h2 { font-size: 18px; }
  .pro__links a { font-size: 20px; }
  .area__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .area__shape text { font-size: 22px; }
  .area__shape--home text { font-size: 27px; }
  .area__office { padding: 22px; border-radius: 22px; }
  .area__list { gap: 6px; }
  .area__list li { width: calc((100% - 12px) / 3); height: auto; aspect-ratio: 1; }

  .bubbles { grid-template-columns: 1fr; gap: 40px; }
  .bubble { padding: 28px 22px; border-radius: 22px; }
  .bubble--alt { margin-top: 0; }
  .bubble li { font-size: 13px; }

  .circles { grid-template-columns: minmax(0, 1fr); }
  .circle:nth-child(n) { margin-top: 0; width: min(360px, 100%); aspect-ratio: auto; min-height: 320px; padding: 52px 30px 56px; }
  /* スマホは縦長になるので、丸ではなく角丸の手描き線で囲む（文字がはみ出さない） */
  .circle__line { display: none; }
  .circle__line.circle__line--sp { display: block; }
  .circle:nth-child(even) { justify-self: end; }
  .circle:nth-child(odd) { justify-self: start; }
  .circle + .circle { margin-top: -20px; }
  .circle__num { font-size: 32px; }
  .circle h3 { font-size: 15px; }
  .circle > p:not(.circle__num) { font-size: 11.5px; line-height: 1.8; }

  .service { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .blob--icon { width: 88px; }
  .chips li { font-size: 12px; padding: 5px 12px; }

  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; gap: 0 18px; text-align: left; }
  .steps__num { grid-row: span 2; width: 72px; height: 72px; margin: 0; font-size: 20px; }

  .message, .contact { padding: 0 8px; }
  .message__panel, .contact__panel { grid-template-columns: 1fr; gap: 40px; padding: 72px 22px; border-radius: 22px; }
  .message__visual .blob { width: 76%; }
  .message__copy blockquote { padding: 20px; font-size: 14px; }
  .message__copy > p:not(.label) { font-size: 13px; }
  .profile { padding: 22px 18px; }
  .message__panel > .message__visual { position: relative; top: 0; }
  .profile dd { font-size: 12.5px; }
  .contact__card { padding: 28px 22px; border-radius: 22px; }
  .form-wrap { padding: 80px 0 0; }
  .cform { padding: 28px 18px; gap: 24px; border-radius: 22px; }
  .cform__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cform__choices span { padding: 8px 16px; font-size: 13px; }
  .cform__submit { min-width: 0; width: 100%; }
  .line-box { flex-direction: column; text-align: center; }

  .faq summary { padding: 18px 60px 18px 50px; font-size: 14px; }
  .faq summary::before { left: 20px; top: 15px; }
  .faq summary::after { right: 16px; }
  .faq__a { padding: 0 22px 22px 50px; font-size: 13px; }
  .faq__a::before { left: 21px; }

  .overview__list > div { grid-template-columns: 96px 1fr; font-size: 12.5px; }
  .overview__list dt, .overview__list dd { padding: 14px 4px; }

  .site-footer { grid-template-columns: 1fr; margin: 0 8px 8px; padding: 48px 22px 120px; border-radius: 22px; }
  .footer__nav { grid-column: auto; justify-content: flex-start; }

  .dock { left: 8px; right: 8px; bottom: 10px; width: auto; transform: translateY(160%); }
  body.is-ready .dock { transform: none; }
  .dock__links { display: none; }
  .dock__cta, .dock__cta--mail { display: grid; flex: 1; place-content: center; min-height: 52px; }
  .dock__cta--mail { background: var(--cream-2); color: var(--ink); font-family: var(--font); font-size: 13px; }
}

/* ===== 文字サイズ調整（全体を1段階大きく／強み見出し・流れ・管理者名は特に大きく） ===== */
body { font-size: 16px; }
.lead, .hero__lead > p:first-child { font-size: 16px; }
.note, .area__map figcaption { font-size: 12px; }
.pills li { font-size: 13px; }
.pro__card p:not(.label), .area__office p:not(.label) { font-size: 14px; }
.area__note { font-size: 13px; }
.bubble h3 { font-size: 18px; }
.bubble li { font-size: 15px; }
.circle h3 { font-size: 22px; line-height: 1.6; }
.circle > p:not(.circle__num) { font-size: 13.5px; }
.tags li { font-size: 11.5px; }
.service h3 { font-size: 20px; }
.chips li { font-size: 14px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; }
.message__name { font-size: 13px; }
.message__name strong { font-size: 30px; letter-spacing: .16em; margin-top: 4px; }
.message__kana { font-size: 13px; }
.signature strong { font-size: 19px; }
.message__copy blockquote { font-size: 17px; }
.message__copy > p:not(.label) { font-size: 15px; }
.profile dt { font-size: 15px; }
.profile dd { font-size: 14px; }
.faq summary { font-size: 16px; }
.faq__a { font-size: 15px; }
.contact__main p:not(.label) { font-size: 15px; }
.line-box p, .contact__card p { font-size: 13px; }
.form-head p:not(.label) { font-size: 14px; }
.cform__label, .cform__row legend { font-size: 15px; }
.cform__agree { font-size: 14px; }
.overview__list > div { font-size: 15px; }
.footer { font-size: 13px; }

@media (min-width: 1440px) {
  body { font-size: 17px; }
  .lead, .hero__lead > p:first-child { font-size: 18px; }
  .pills li { font-size: 14px; }
  .pro__card p:not(.label), .area__office p:not(.label) { font-size: 16px; }
  .bubble h3 { font-size: 21px; }
  .bubble li { font-size: 16.5px; }
  .circle h3 { font-size: 26px; }
  .circle > p:not(.circle__num) { font-size: 15.5px; }
  .tags li { font-size: 13px; }
  .service h3 { font-size: 23px; }
  .chips li { font-size: 15.5px; }
  .steps h3 { font-size: 19px; }
  .steps p { font-size: 15.5px; }
  .message__name strong { font-size: 34px; }
  .signature strong { font-size: 21px; }
  .message__copy blockquote { font-size: 19px; }
  .message__copy > p:not(.label) { font-size: 16.5px; }
  .profile dt { font-size: 16.5px; }
  .profile dd { font-size: 15.5px; }
  .faq summary { font-size: 18px; }
  .faq__a { font-size: 16.5px; }
  .contact__main p:not(.label) { font-size: 17px; }
  .overview__list > div { font-size: 16.5px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .lead, .hero__lead > p:first-child { font-size: 15px; }
  .pills li { font-size: 11px; }
  .bubble li { font-size: 14px; }
  .circle h3 { font-size: 18px; }
  .circle > p:not(.circle__num) { font-size: 12.5px; }
  .chips li { font-size: 13px; }
  .steps h3 { font-size: 16px; }
  .steps p { font-size: 13.5px; }
  .message__name strong { font-size: 26px; }
  .message__copy blockquote { font-size: 15px; }
  .message__copy > p:not(.label) { font-size: 14px; }
  .profile dd { font-size: 13.5px; }
  .faq summary { font-size: 15px; }
  .faq__a { font-size: 14px; }
  .overview__list > div { font-size: 13.5px; }
  /* 公開前チェック：スマホで小さすぎた文字を底上げ */
  .brand__ja { font-size: 11px; }
  .hero__sub { font-size: 12.5px; }
  .pills li { font-size: 12px; }
  .circle > p:not(.circle__num) { font-size: 13px; }
  .tags li { font-size: 12px; }
  .pro__links span, .header-contact span { font-size: 11px; }
  .signature { font-size: 13px !important; }
  .cform em, .cform small { font-size: 11px; }
  .dock__cta small { font-size: 10.5px; }
  .copyright { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .spin-slow, .spin-slow-rev, .spin-fast, .spin-fast-rev, .circle-text, .hero__dots, .area__range, .area__pulse { animation: none !important; }
}
