/* =========================================================
   ひだまり訪問介護 デモサイト  v4
   ---------------------------------------------------------
   PC表示はデザイン案（横1024px）の寸法をそのまま使い、
   calc(数値 * var(--u)) で画面幅に合わせて比例拡大します。
   例）calc(36 * var(--u)) ＝ デザイン案で36px
   1024px未満（タブレット・スマホ）は --u を1pxに固定し、
   下部のメディアクエリで縦並びに組み替えます。
   ========================================================= */

:root {
  --u: min(calc(100vw / 1024), 1.5px);
  --ink: #3a221c;
  --text: #4a3832;
  --muted: #7a675e;
  --accent: #d65f3d;
  --accent-dark: #b9472c;
  --peach: #f3a173;
  --peach-soft: #fde3d2;
  --cream: #fdf5ee;
  --line: #f1dfd3;
  --green: #8c9a5e;
  --ic-stroke: #d65f3d;
  --ic-fill: #fcd9c4;
  --serif: 'Shippori Mincho B1', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', 'Noto Serif CJK JP', serif;
  --sans: 'Zen Kaku Gothic New', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, 'Noto Sans CJK JP', sans-serif;
  --num: 'Oswald', 'Roboto Condensed', 'Arial Narrow', sans-serif;
}

/* ===== ベース ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  color: var(--text);
  background: #fffcf9;
  font-family: var(--sans);
  font-size: calc(13 * var(--u));
  line-height: 1.7;
  font-weight: 500;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 800; font-feature-settings: 'palt'; }
.brand strong, .hero-message, .values-photo p, .values-eyebrow, .footer-illust p, .site-header nav { font-feature-settings: 'palt'; }
address { font-style: normal; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #a8652f;
  outline-offset: 3px;
}

.container { width: min(calc(988 * var(--u)), calc(100% - 32px)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.6em; height: 1.6em; flex-shrink: 0; color: var(--accent); fill: currentColor; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .08em; font-weight: 700; }
.note { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 20px; background: #fff; padding: 12px; z-index: 50; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* 水彩の草花・水玉 */
.leaf {
  position: absolute;
  display: block;
  background: url('assets/botanical-sprig.png') center / contain no-repeat;
  pointer-events: none;
  z-index: 3;
}
.dot { position: absolute; display: block; border-radius: 50%; background: #f8c9a8; opacity: .75; pointer-events: none; z-index: 3; }

/* ===== ボタン ===== */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: calc(8 * var(--u));
  min-height: calc(40 * var(--u));
  padding: calc(6 * var(--u)) calc(18 * var(--u));
  border-radius: calc(6 * var(--u));
  border: 1.5px solid transparent;
  font-size: calc(12.5 * var(--u));
  font-weight: 700;
  line-height: 1.35;
  transition: background .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button .icon { width: 1.5em; height: 1.5em; color: inherit; }
.button .icon-arrow { width: 1.1em; height: 1.1em; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px #d65f3d33; }
.button-primary:hover { background: var(--accent-dark); color: #fff; }
.button-outline { background: #fff; color: var(--ink); border-color: #ebbea2; }
.button-outline:hover { background: var(--cream); }
.button-outline .icon { color: var(--accent); }
.button-small { min-height: calc(24 * var(--u)); padding: calc(3 * var(--u)) calc(12 * var(--u)); font-size: calc(10.5 * var(--u)); border-radius: 99px; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}
.more-link .icon { width: 1.2em; height: 1.2em; color: inherit; }
.more-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* ===== デモ帯・ヘッダー ===== */
.demo-strip {
  display: flex;
  justify-content: space-between;
  padding: calc(3 * var(--u)) calc(24 * var(--u));
  background: #fbf1e8;
  font-size: max(10px, calc(9 * var(--u)));
  line-height: 1.6;
  color: #6f5c52;
  letter-spacing: .05em;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  width: min(calc(964 * var(--u)), calc(100% - 32px));
  margin: auto;
  padding: calc(9 * var(--u)) 0;
  position: relative;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: calc(9 * var(--u)); flex-shrink: 0; color: var(--ink); white-space: nowrap; }
.site-header .brand img { width: calc(46 * var(--u)); height: calc(46 * var(--u)); }
.brand strong { display: block; font: 800 calc(21 * var(--u))/1.3 var(--serif); letter-spacing: .05em; }
.brand small { display: block; font-size: calc(10 * var(--u)); letter-spacing: .06em; color: var(--text); }
.site-header nav { display: flex; align-items: center; gap: calc(22 * var(--u)); white-space: nowrap; font-size: calc(11.5 * var(--u)); font-weight: 500; }
.site-header nav .button {
  min-height: clamp(36px, calc(34 * var(--u)), 42px);
  padding: 4px clamp(14px, calc(16 * var(--u)), 22px);
  font-size: clamp(12.5px, calc(11.5 * var(--u)), 14px);
  border-radius: 6px;
}
.site-header nav .button .icon { width: 1.35em; height: 1.35em; }
.site-header nav .button-primary { margin-left: calc(-2 * var(--u)); }
.site-header nav .button-outline { margin-left: calc(-14 * var(--u)); font-weight: 500; }
.menu-toggle { display: none; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(26 * var(--u));
  background:
    radial-gradient(ellipse 30% 45% at 3% 10%, #fbd8c2aa, transparent 70%),
    radial-gradient(ellipse 50% 70% at 70% 50%, #fde8da, transparent 75%),
    linear-gradient(180deg, #fffaf5, #fdf4ec);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: calc(382 * var(--u)) 1fr;
  height: calc(322 * var(--u));
  margin-bottom: calc(18 * var(--u));
  z-index: 1;
}
.hero-copy { padding: calc(38 * var(--u)) 0 0 calc(37 * var(--u)); position: relative; z-index: 4; }
.hero h1 {
  font-size: calc(35 * var(--u));
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: .01em;
  white-space: nowrap;
}
.hero-description { margin-top: calc(16 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.mobile-break { display: none; }
.basic-info {
  display: flex;
  align-items: center;
  width: calc(385 * var(--u));
  margin: calc(22 * var(--u)) 0 0;
  padding: calc(9 * var(--u)) calc(12 * var(--u));
  background: linear-gradient(90deg, #ffffffd9, #ffffffb3 80%, #fff0);
  border-radius: calc(8 * var(--u));
}
.basic-info div {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: calc(10 * var(--u));
  align-items: center;
  padding: 0 calc(16 * var(--u));
  border-left: 1px solid #eed6c6;
  line-height: 1.45;
}
.basic-info div:first-child { border-left: 0; padding-left: 0; }
.basic-info .icon { grid-row: 1 / 3; width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.basic-info dt { font-size: calc(9.5 * var(--u)); white-space: nowrap; }
.basic-info dd { margin: 0; font-size: calc(11.5 * var(--u)); font-weight: 700; color: var(--ink); white-space: nowrap; }

.hero-visual { position: relative; }
.hero-halo {
  position: absolute;
  left: calc(4 * var(--u));
  top: calc(-6 * var(--u));
  width: calc(470 * var(--u));
  height: calc(334 * var(--u));
  border-radius: 48% 52% 46% 54% / 40% 42% 58% 60%;
  background: radial-gradient(ellipse at center, #fde9dc 60%, #fbe2d0 72%, #fdf1e800 100%);
  filter: blur(3px);
  z-index: 0;
}
.hero-photo {
  position: absolute;
  left: calc(18 * var(--u));
  top: calc(2 * var(--u));
  width: calc(446 * var(--u));
  height: calc(316 * var(--u));
  border-radius: 50% 46% 50% 50% / 34% 40% 66% 60%;
  overflow: hidden;
  box-shadow: 0 0 0 calc(5 * var(--u)) #fff6, 0 calc(12 * var(--u)) calc(36 * var(--u)) #c9825026;
  z-index: 1;
}
.hero-photo img { width: 100%; height: 100%; object-position: 50% 42%; }
.hero-message {
  position: absolute;
  left: calc(234 * var(--u));
  top: calc(26 * var(--u));
  font: 700 calc(15 * var(--u))/1.75 var(--serif);
  color: #fff;
  letter-spacing: .12em;
  text-shadow: 0 1px 5px #6b3a2299, 0 0 2px #6b3a2255;
  transform: rotate(-9deg);
  z-index: 2;
}
.hero-inset {
  position: absolute;
  left: calc(446 * var(--u));
  top: calc(116 * var(--u));
  width: calc(176 * var(--u));
  aspect-ratio: 1;
  border-radius: 50%;
  border: calc(6 * var(--u)) solid #fff;
  overflow: hidden;
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) #b8704026;
  z-index: 2;
}
.hero-inset img { width: 100%; height: 100%; object-position: 42% 45%; }
.leaf-hero-mid { left: calc(-14 * var(--u)); top: calc(18 * var(--u)); width: calc(42 * var(--u)); height: calc(80 * var(--u)); transform: rotate(-10deg); opacity: .8; }
.leaf-hero-tr { left: calc(520 * var(--u)); top: calc(2 * var(--u)); width: calc(78 * var(--u)); height: calc(110 * var(--u)); transform: scaleX(-1) rotate(-10deg); opacity: .9; }
.leaf-hero-br { left: calc(565 * var(--u)); top: calc(262 * var(--u)); width: calc(52 * var(--u)); height: calc(62 * var(--u)); transform: rotate(50deg); opacity: .85; }
.leaf-hero-l1 { left: calc(-10 * var(--u)); top: calc(150 * var(--u)); width: calc(78 * var(--u)); height: calc(170 * var(--u)); transform: rotate(-12deg); opacity: .85; z-index: 0; }
.leaf-hero-l2 { left: calc(-22 * var(--u)); top: calc(-6 * var(--u)); width: calc(60 * var(--u)); height: calc(110 * var(--u)); transform: rotate(-150deg); opacity: .35; z-index: 0; }
.dot-1 { left: calc(52 * var(--u)); top: calc(282 * var(--u)); width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.dot-2 { left: calc(2 * var(--u)); top: calc(96 * var(--u)); width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.dot-3 { left: calc(80 * var(--u)); top: calc(304 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.dot-4 { left: calc(590 * var(--u)); top: calc(108 * var(--u)); width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
.dot-5 { left: calc(498 * var(--u)); top: calc(10 * var(--u)); width: calc(12 * var(--u)); height: calc(12 * var(--u)); }

/* ===== セクション共通 ===== */
.section { position: relative; padding-top: calc(44 * var(--u)); }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 * var(--u));
  margin-bottom: calc(16 * var(--u));
}
.section-heading h2 { display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: calc(18 * var(--u)); letter-spacing: .06em; line-height: 1.4; }
.section-heading h2::before { content: ''; width: calc(18 * var(--u)); height: 2px; background: var(--accent); flex-shrink: 0; }
.section-heading.plain h2::before { display: none; }
.section-heading h2 .icon { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

/* ===== サービス ===== */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(16 * var(--u)); }
.service-card {
  display: grid;
  grid-template-columns: calc(200 * var(--u)) 1fr;
  height: calc(153 * var(--u));
  border-radius: calc(20 * var(--u));
  background: linear-gradient(105deg, #fdebdf, #fdf4ee 55%, #fdf6f1);
  overflow: hidden;
}
.service-photo { clip-path: ellipse(100% 125% at 0% 50%); }
.service-photo img { width: 100%; height: 100%; object-position: 48% 30%; }
.service-body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 calc(50 * var(--u)) 0 calc(18 * var(--u)); }
.service-body h3 { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(20 * var(--u)); letter-spacing: .06em; margin-bottom: calc(8 * var(--u)); }
.service-body h3 .icon { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.service-body p { font-size: calc(11.5 * var(--u)); line-height: 1.75; white-space: nowrap; }
.circle-link {
  position: absolute;
  right: calc(16 * var(--u));
  bottom: calc(30 * var(--u));
  display: grid;
  place-items: center;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border: 0;
  border-radius: 50%;
  background: var(--peach);
  color: #fff;
  transition: background .2s, transform .2s;
}
.circle-link .icon { width: 55%; height: 55%; color: #fff; }
.circle-link:hover { background: var(--accent); transform: translateX(3px); }

/* ===== 安心への取り組み ===== */
#assurance { padding-top: calc(48 * var(--u)); }
.assurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(16 * var(--u)); }
.assurance-card {
  display: flex;
  align-items: center;
  gap: calc(34 * var(--u));
  height: calc(130 * var(--u));
  padding: 0 calc(16 * var(--u)) 0 calc(40 * var(--u));
  background: linear-gradient(120deg, #fffdfb, #fff 60%, #fffaf6);
  border: calc(6 * var(--u)) solid #fdf2ea;
  border-radius: calc(26 * var(--u));
  box-shadow: 0 calc(3 * var(--u)) calc(14 * var(--u)) #e0a07a14, inset 0 0 calc(10 * var(--u)) #fbeee4;
}
.illustration { width: calc(96 * var(--u)); height: calc(96 * var(--u)); flex-shrink: 0; overflow: visible; }
.assurance-card h3 { font-size: calc(21 * var(--u)); letter-spacing: .05em; line-height: 1.4; margin-bottom: calc(8 * var(--u)); }
.assurance-card p { font-size: calc(14 * var(--u)); line-height: 1.6; }

/* ===== 3つのこと ===== */
.values-section {
  position: relative;
  margin-top: calc(56 * var(--u));
  min-height: calc(215 * var(--u));
  padding: calc(34 * var(--u)) 0;
  background:
    radial-gradient(ellipse 35% 60% at 68% 20%, #fbdcc8aa, transparent 70%),
    radial-gradient(ellipse 20% 50% at 100% 80%, #fbe2d0aa, transparent 70%),
    linear-gradient(180deg, #fdf1e8, #fdf5ee);
  overflow: hidden;
}
.values-inner { position: relative; z-index: 1; display: grid; grid-template-columns: calc(425 * var(--u)) 1fr; min-height: calc(205 * var(--u)); align-items: center; }
.values-photo { position: relative; height: calc(205 * var(--u)); margin-left: calc(-3 * var(--u)); }
.values-photo img {
  width: 100%;
  height: 100%;
  border-radius: 46% 54% 44% 56% / 52% 50% 50% 48%;
  object-position: 50% 32%;
  box-shadow: 0 0 0 calc(5 * var(--u)) #fff8;
}
.values-photo p {
  position: absolute;
  left: calc(245 * var(--u));
  top: calc(130 * var(--u));
  color: #fff;
  font: 700 calc(16 * var(--u))/1.7 var(--serif);
  letter-spacing: .14em;
  transform: rotate(-14deg);
  text-shadow: 0 1px 5px #3b2520aa;
}
.values-copy { text-align: center; padding-left: calc(10 * var(--u)); }
.values-eyebrow { color: var(--accent); font: 700 calc(13 * var(--u))/1.6 var(--serif); letter-spacing: .1em; }
.values-copy > h2 { font-size: calc(21 * var(--u)); color: var(--accent-dark); letter-spacing: .08em; margin: 0 0 calc(18 * var(--u)); }
.values-copy > h2 em { font-style: normal; font-size: 1.15em; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.values-grid article { padding: 0 calc(8 * var(--u)); border-left: 1px solid #ecd4c3; }
.values-grid article:first-child { border-left: 0; }
.value-badge { display: grid; place-items: center; width: calc(62 * var(--u)); height: calc(62 * var(--u)); margin: 0 auto calc(8 * var(--u)); border-radius: 50%; }
.value-badge .icon { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.badge-leaf { background: #efe2d2; }
.badge-leaf .icon { color: var(--green); }
.badge-people { background: var(--peach-soft); }
.badge-hand { background: var(--peach-soft); --badge-bg: var(--peach-soft); }
.badge-hand .icon { width: calc(50 * var(--u)); height: calc(50 * var(--u)); }
.values-grid h3 { display: flex; justify-content: center; align-items: center; gap: calc(8 * var(--u)); font-size: calc(15 * var(--u)); margin-bottom: calc(4 * var(--u)); white-space: nowrap; }
.values-grid h3 span {
  display: grid;
  place-items: center;
  width: calc(21 * var(--u));
  height: calc(21 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 700 calc(12 * var(--u))/1 var(--sans);
}
.values-grid p { font-size: calc(9.8 * var(--u)); line-height: 1.65; text-align: left; font-feature-settings: 'palt'; }
.leaf-values-l { left: calc(445 * var(--u)); top: calc(18 * var(--u)); width: calc(40 * var(--u)); height: calc(70 * var(--u)); transform: rotate(-20deg); opacity: .75; z-index: 0; }
.leaf-values-r { right: calc(-14 * var(--u)); top: calc(40 * var(--u)); width: calc(60 * var(--u)); height: calc(110 * var(--u)); transform: rotate(20deg); opacity: .8; z-index: 0; }

/* ===== 流れ・料金 ===== */
.information-grid { display: grid; grid-template-columns: calc(548 * var(--u)) 1fr; gap: calc(28 * var(--u)); padding-top: calc(12 * var(--u)); }
.information-grid .section-heading h2 { font-size: calc(17 * var(--u)); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(12 * var(--u)); }
.steps li {
  position: relative;
  min-height: calc(116 * var(--u));
  padding: calc(8 * var(--u)) calc(6 * var(--u));
  background: #fdf1e9;
  border-radius: calc(10 * var(--u));
  text-align: center;
}
.step-head { display: flex; align-items: center; gap: calc(8 * var(--u)); padding-left: calc(4 * var(--u)); font-size: calc(11.5 * var(--u)); font-weight: 700; color: var(--ink); }
.step-number {
  display: grid;
  place-items: center;
  width: calc(25 * var(--u));
  height: calc(25 * var(--u));
  border-radius: 50%;
  background: var(--peach-soft);
  color: var(--accent);
  font: 500 calc(14 * var(--u))/1 var(--num);
}
.steps .icon { display: block; margin: calc(6 * var(--u)) auto calc(5 * var(--u)); width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.steps li > p:last-child { font-size: calc(9.5 * var(--u)); line-height: 1.6; }
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-9 * var(--u));
  top: 50%;
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.fees-lead { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.yen {
  display: grid;
  place-items: center;
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: calc(10 * var(--u));
  font-weight: 700;
  flex-shrink: 0;
}
.fees-lead p { font-size: calc(9.5 * var(--u)); line-height: 1.6; }
table { width: 100%; border: 1px solid var(--line); border-radius: calc(6 * var(--u)); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: calc(10 * var(--u)); }
th, td { padding: calc(3 * var(--u)) calc(12 * var(--u)); border-bottom: 1px solid var(--line); text-align: left; }
thead th { background: var(--peach-soft); color: var(--ink); font-weight: 700; text-align: center; border-bottom: 0; }
tbody tr { background: #fff; }
tbody th { font-weight: 500; width: 46%; border-right: 1px solid var(--line); }
tbody td { text-align: center; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ===== 地域・FAQ・採用 ===== */
.lower-grid { display: grid; grid-template-columns: calc(286 * var(--u)) calc(296 * var(--u)) 1fr; gap: calc(24 * var(--u)); align-items: start; margin-top: calc(6 * var(--u)); }
.lower-grid .section { padding-top: calc(44 * var(--u)); }
.lower-grid .section-heading { margin-bottom: calc(10 * var(--u)); }
.lower-grid .section-heading h2 { font-size: calc(16 * var(--u)); gap: calc(8 * var(--u)); }
.lower-grid .more-link { font-size: calc(9.5 * var(--u)); }
.lower-grid p { font-size: calc(10 * var(--u)); }
.area-tags { list-style: none; display: flex; gap: calc(6 * var(--u)); margin: calc(10 * var(--u)) 0 0; padding: 0; }
.area-tags li { padding: calc(3 * var(--u)) calc(11 * var(--u)); background: #fbede2; border-radius: calc(4 * var(--u)); font-size: calc(10.5 * var(--u)); color: var(--ink); white-space: nowrap; }
.q-icon {
  display: grid;
  place-items: center;
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 700 calc(12 * var(--u))/1 var(--sans);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: calc(3 * var(--u)) calc(24 * var(--u));
  font-size: calc(10 * var(--u));
  line-height: 1.7;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  border-radius: calc(3 * var(--u));
  background: var(--peach-soft);
  color: var(--accent);
  font: 700 calc(9 * var(--u))/calc(15 * var(--u)) var(--sans);
  text-align: center;
}
.faq-list summary::after { content: '+'; position: absolute; right: calc(4 * var(--u)); top: 50%; transform: translateY(-52%); font-size: calc(15 * var(--u)); font-weight: 400; color: var(--accent); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { padding: 0 calc(6 * var(--u)) calc(8 * var(--u)) calc(24 * var(--u)); }

.recruit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(112 * var(--u));
  margin-top: calc(44 * var(--u));
  background: #fdf1e7;
  border-radius: calc(18 * var(--u));
}
.recruit-image { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: -2; }
.recruit-image img { width: 100%; height: 100%; object-position: 50% 24%; }
.recruit::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fdf3ea 40%, #fdf3eab3 47%, #fdf3ea00 56%);
}
.recruit-content { padding: calc(28 * var(--u)) 0 0 calc(18 * var(--u)); }
.recruit-tab {
  position: absolute;
  top: 0;
  left: 0;
  padding: calc(2 * var(--u)) calc(18 * var(--u));
  background: var(--accent);
  color: #fff;
  font-size: calc(11.5 * var(--u)) !important;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 0 0 calc(12 * var(--u)) 0;
}
.recruit-content h2 { font-size: calc(15 * var(--u)); line-height: 1.5; letter-spacing: .04em; }
.recruit-content p:not(.recruit-tab) { margin-top: calc(4 * var(--u)); font-size: calc(9 * var(--u)) !important; line-height: 1.5; }
.recruit-content .button { position: absolute; right: calc(14 * var(--u)); bottom: calc(10 * var(--u)); }

/* ===== 相談帯 ===== */
.contact-section { padding-top: calc(56 * var(--u)); }
.contact-banner {
  position: relative;
  display: grid;
  grid-template-columns: calc(260 * var(--u)) calc(232 * var(--u)) calc(200 * var(--u)) 1fr;
  align-items: center;
  gap: calc(16 * var(--u));
  height: calc(76 * var(--u));
  padding: 0 calc(14 * var(--u)) 0 calc(38 * var(--u));
  background:
    radial-gradient(ellipse 18% 90% at 0% 50%, #fbdcc6, transparent 70%),
    linear-gradient(100deg, #fbe8da, #fdf3eb 40%, #fdf4ec);
  border-radius: calc(16 * var(--u));
}
.contact-banner h2 { position: relative; z-index: 1; font-size: calc(20 * var(--u)); line-height: 1.4; letter-spacing: .08em; }
.leaf-contact { left: calc(200 * var(--u)); top: calc(4 * var(--u)); width: calc(70 * var(--u)); height: calc(68 * var(--u)); transform: rotate(60deg); opacity: .85; z-index: 0; }
.telephone { min-width: 0; }
.telephone p { font-size: calc(9 * var(--u)); }
.telephone strong { display: flex; align-items: center; gap: calc(8 * var(--u)); font: 500 calc(34 * var(--u))/1.15 var(--num); color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.telephone .icon { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.button-web { min-height: calc(50 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 500; border-radius: calc(6 * var(--u)); gap: calc(14 * var(--u)); }
.button-web .icon { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.button-web span { display: flex; flex-direction: column; align-items: center; line-height: 1.35; }
.button-web small { font-size: calc(10 * var(--u)); }
.professional { text-align: center; }
.professional .button { width: 100%; min-height: calc(30 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 500; border-radius: calc(4 * var(--u)); }
.professional .button .icon:first-child { width: 1.6em; height: 1.6em; }
.professional p { margin-top: calc(4 * var(--u)); font-size: calc(8.5 * var(--u)); line-height: 1.5; }

/* ===== フッター ===== */
.site-footer { margin-top: calc(48 * var(--u)); background: #fffcf9; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: calc(22 * var(--u));
  padding: calc(22 * var(--u)) 0 calc(6 * var(--u));
}
.footer-inner .brand img { width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
.footer-inner .brand strong { font-size: calc(18 * var(--u)); }
.footer-inner .brand small { font-size: calc(9 * var(--u)); }
.footer-inner nav { display: flex; flex-wrap: wrap; white-space: nowrap; gap: calc(4 * var(--u)) calc(16 * var(--u)); font-size: calc(9.5 * var(--u)); }
.footer-inner address { white-space: nowrap; padding: 0 calc(22 * var(--u)) 0 calc(14 * var(--u)); font-size: calc(8.5 * var(--u)); line-height: 1.65; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.footer-links { display: flex; gap: calc(12 * var(--u)); }
.text-button { border: 0; background: none; padding: 0; color: inherit; font-size: inherit; }
.text-button:hover { text-decoration: underline; color: var(--accent-dark); }
.footer-illust { position: relative; display: flex; align-items: flex-end; gap: calc(4 * var(--u)); width: calc(200 * var(--u)); height: calc(72 * var(--u)); }
.footer-illust p { position: relative; z-index: 1; margin-bottom: calc(22 * var(--u)); font: 700 calc(9.5 * var(--u))/1.6 var(--serif); color: #8a6a5a; transform: rotate(-8deg); }
.footer-illust svg { width: calc(110 * var(--u)); height: calc(70 * var(--u)); margin-left: auto; }
.leaf-footer { left: calc(-40 * var(--u)); bottom: 0; width: calc(48 * var(--u)); height: calc(72 * var(--u)); transform: rotate(-30deg); opacity: .7; z-index: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: calc(8 * var(--u)) 0 calc(20 * var(--u)); font-size: max(10px, calc(8 * var(--u))); color: var(--muted); }

.mobile-cta { display: none; }

/* ===== ダイアログ（固定サイズ） ===== */
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 600px;
  width: calc(100% - 32px);
  padding: 38px 34px;
  color: var(--text);
  font-size: 15px;
  box-shadow: 0 15px 80px #43261e33;
}
dialog::backdrop { background: #43261e70; }
dialog h2 { margin: 4px 0 16px; font-size: 24px; }
dialog h3 { font-size: 18px; margin: 16px 0 4px; }
dialog p + p { margin-top: 10px; }
dialog .button { margin-top: 18px; min-height: 46px; font-size: 15px; padding: 10px 22px; border-radius: 8px; }
.dialog-close { position: absolute; right: 12px; top: 6px; font-size: 30px; border: 0; background: transparent; color: var(--accent); width: 40px; height: 40px; }
.demo-notice { font-size: 13px; margin-bottom: 16px; color: var(--accent-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
label span { font-size: 11px; color: var(--accent); margin-left: 8px; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #d7c2b2; border-radius: 6px; background: #fff; color: var(--text); font-size: 16px; }
textarea { resize: vertical; }
#form-status:not(:empty) { margin-top: 14px; padding: 14px; background: #f3e8da; border-radius: 6px; font-size: 14px; }

/* =========================================================
   タブレット・スマホ（1023px以下）
   ========================================================= */
@media (max-width: 1023px) {
  :root { --u: 1px; }
  body { font-size: 15px; }
  .container, .site-header { width: calc(100% - 40px); }

  /* メニュー */
  .site-header { padding: 12px 0; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
  }
  .menu-bars { position: relative; width: 19px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-bars::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px #43261e16;
    font-size: 15px;
  }
  .site-header nav.is-open { display: flex; }
  .site-header nav .button { min-height: 46px; font-size: 14px; margin: 0; }

  /* ヒーロー */
  .hero { padding-top: 0; }
  .hero-inner { display: block; height: auto; padding-bottom: 30px; }
  .hero-copy { padding: 26px 0 0; }
  .hero h1 { font-size: clamp(28px, 5.4vw, 44px); line-height: 1.45; }
  .hero-description { font-size: 15px; }
  .basic-info { width: auto; max-width: 480px; }
  .basic-info .icon { width: 28px; height: 28px; }
  .basic-info dt { font-size: 11px; }
  .basic-info dd { font-size: 13px; }
  .hero-visual { width: 100%; aspect-ratio: 1.55; margin-top: 26px; }
  .hero-halo { left: -2%; top: -2%; width: 80%; height: 104%; }
  .hero-photo { left: 0; top: 0; width: 76%; height: 100%; }
  .hero-message { left: 34%; top: 7%; font-size: clamp(13px, 2.4vw, 19px); }
  .hero-inset { left: auto; right: 0; top: auto; bottom: 4%; width: 34%; border-width: 6px; }
  .leaf-hero-tr { left: auto; right: -2%; top: -4%; width: 16%; height: 36%; }
  .leaf-hero-br, .leaf-hero-mid, .dot-4, .dot-5 { display: none; }
  .leaf-hero-l1 { top: auto; bottom: 0; width: 60px; height: 140px; }

  .section { padding-top: 56px; }
  .section-heading { flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 23px; }
  .more-link { font-size: 13px; }

  /* サービス */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { height: auto; grid-template-columns: 40% 1fr; min-height: 190px; }
  .service-body { padding: 22px 66px 22px 20px; }
  .service-body h3 { font-size: 24px; }
  .service-body h3 .icon { width: 36px; height: 36px; }
  .service-body p { font-size: 14px; white-space: normal; }
  .circle-link { width: 40px; height: 40px; bottom: 22px; }

  /* 安心 */
  #assurance { padding-top: 56px; }
  .assurance-grid { grid-template-columns: 1fr; gap: 14px; }
  .assurance-card { height: auto; min-height: 140px; gap: 24px; padding: 22px 24px; }
  .illustration { width: 80px; height: 80px; }
  .assurance-card h3 { font-size: 21px; }
  .assurance-card p { font-size: 15px; }

  /* 3つのこと */
  .values-section { height: auto; margin-top: 60px; padding: 44px 0; }
  .values-inner { grid-template-columns: 1fr; gap: 24px; }
  .values-photo { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1.75; margin: auto; }
  .values-photo p { left: auto; right: 14%; top: auto; bottom: 14%; font-size: 20px; }
  .values-copy { padding: 0; }
  .values-eyebrow { font-size: 15px; }
  .values-copy > h2 { font-size: 25px; margin-bottom: 22px; }
  .value-badge { width: 72px; height: 72px; }
  .value-badge .icon { width: 38px; height: 38px; }
  .badge-hand .icon { width: 58px; height: 58px; }
  .values-grid h3 { font-size: 18px; }
  .values-grid h3 span { width: 26px; height: 26px; font-size: 14px; }
  .values-grid p { font-size: 14px; }
  .leaf-values-l { display: none; }

  /* 流れ・料金 */
  .information-grid { grid-template-columns: 1fr; gap: 0; }
  .information-grid .section-heading h2 { font-size: 23px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps li { height: auto; padding: 14px 10px 16px; }
  .step-head { font-size: 15px; }
  .step-number { width: 32px; height: 32px; font-size: 17px; }
  .steps .icon { width: 32px; height: 32px; margin: 12px auto 8px; }
  .steps li > p:last-child { font-size: 13px; }
  .steps li:not(:last-child)::after { right: -12px; width: 9px; height: 9px; }
  .fees-lead p { font-size: 14px; }
  .yen { width: 30px; height: 30px; font-size: 13px; }
  table { font-size: 14px; }
  th, td { padding: 10px 14px; }

  /* 地域・FAQ・採用 */
  .lower-grid { grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .lower-grid .section { padding-top: 56px; }
  .lower-grid .section-heading h2 { font-size: 21px; }
  .lower-grid .more-link { font-size: 13px; }
  .lower-grid p { font-size: 14px; }
  .area-tags { flex-wrap: wrap; gap: 8px; }
  .area-tags li { padding: 5px 14px; font-size: 14px; }
  .q-icon { width: 26px; height: 26px; font-size: 15px; }
  .faq-list summary { padding: 10px 30px 10px 32px; font-size: 14px; }
  .faq-list summary::before { width: 22px; height: 22px; font-size: 12px; line-height: 22px; }
  .faq-list summary::after { font-size: 22px; }
  .faq-list details > p { padding-left: 32px; font-size: 13px; }
  .recruit { grid-column: 1 / -1; height: 220px; margin-top: 56px; border-radius: 24px; }
  .recruit-content { padding: 52px 0 0 24px; }
  .recruit-tab { font-size: 14px !important; padding: 5px 22px; }
  .recruit-content h2 { font-size: 22px; }
  .recruit-content p:not(.recruit-tab) { font-size: 13px !important; }
  .recruit-content .button { position: static; margin-top: 14px; min-height: 38px; font-size: 13px; padding: 6px 18px; }

  /* 相談帯 */
  .contact-section { padding-top: 60px; }
  .contact-banner { height: auto; grid-template-columns: 1fr 1fr; gap: 20px 28px; padding: 28px 30px; }
  .contact-banner h2 { font-size: 26px; }
  .leaf-contact { left: 230px; top: 6px; width: 80px; height: 80px; }
  .telephone p { font-size: 12px; }
  .telephone strong { font-size: 40px; }
  .telephone .icon { width: 32px; height: 32px; }
  .button-web { min-height: 68px; font-size: 18px; }
  .button-web small { font-size: 12px; }
  .professional .button { min-height: 50px; font-size: 14px; }
  .professional p { font-size: 12px; }

  /* フッター */
  .site-footer { margin-top: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px 30px; padding-top: 24px; }
  .footer-inner .brand img { width: 50px; height: 50px; }
  .footer-inner .brand strong { font-size: 22px; }
  .footer-inner .brand small { font-size: 11px; }
  .footer-inner nav { flex-wrap: wrap; font-size: 13px; gap: 8px 20px; }
  .footer-inner address { white-space: normal; font-size: 12px; border-right: 0; padding: 0 0 0 20px; }
  .footer-illust { width: 230px; height: 90px; justify-self: end; }
  .footer-illust p { font-size: 12px; }
  .footer-illust svg { width: 130px; height: 84px; }
  .footer-bottom { font-size: 11px; padding: 12px 0 20px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .container, .site-header { width: calc(100% - 32px); }
  .demo-strip { padding: 3px 16px; }
  .site-header .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 10px; letter-spacing: .02em; }
  .menu-label { display: none; }

  .hero-copy { padding-top: 22px; }
  .hero h1 { font-size: clamp(25px, 7.6vw, 34px); }
  .hero-description { font-size: 14px; letter-spacing: .04em; }
  .mobile-break { display: inline; }
  .basic-info { display: grid; grid-template-columns: auto auto auto; padding: 10px 8px; background: #ffffffcc; }
  .basic-info div { display: block; padding: 0 8px; }
  .basic-info .icon { width: 22px; height: 22px; }
  .basic-info dt { font-size: 10px; }
  .basic-info dd { font-size: 11.5px; white-space: normal; }
  .hero-visual { aspect-ratio: 1.25; margin-top: 22px; }
  .hero-photo { width: 84%; height: 86%; }
  .hero-halo { width: 90%; height: 90%; }
  .hero-message { left: 26%; top: 6%; font-size: 12.5px; }
  .hero-inset { width: 40%; bottom: 0; border-width: 4px; }
  .leaf-hero-l1, .leaf-hero-l2, .dot-1, .dot-2, .dot-3 { display: none; }

  .section-heading h2 { font-size: 21px; gap: 10px; }
  .section-heading h2::before { width: 16px; }

  .service-card { grid-template-columns: 1fr; border-radius: 22px; }
  .service-photo { height: 170px; clip-path: ellipse(120% 100% at 50% 0%); }
  .service-body { padding: 16px 64px 20px 20px; }
  .service-body h3 { font-size: 22px; }
  .service-body p br { display: none; }
  .circle-link { bottom: 20px; }

  .assurance-card { gap: 16px; padding: 18px; border-width: 5px; border-radius: 22px; min-height: 0; }
  .illustration { width: 60px; height: 60px; }
  .assurance-card h3 { font-size: 18px; margin-bottom: 4px; }
  .assurance-card p { font-size: 14px; }
  .assurance-card p br { display: none; }

  .values-copy > h2 { font-size: 22px; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .values-grid article { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; padding: 0 0 16px; border-left: 0; border-bottom: 1px solid #ecd4c3; text-align: left; }
  .values-grid article:last-child { border-bottom: 0; padding-bottom: 0; }
  .value-badge { grid-row: 1 / 3; width: 60px; height: 60px; margin: 0; }
  .value-badge .icon { width: 32px; height: 32px; }
  .badge-hand .icon { width: 48px; height: 48px; }
  .values-grid h3 { justify-content: flex-start; font-size: 17px; }
  .values-photo p { font-size: 16px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps li::after { display: none; }
  .steps li > p:last-child br { display: none; }
  .fees-lead p br { display: none; }
  th, td { padding: 9px 10px; }

  .lower-grid { grid-template-columns: 1fr; }
  .recruit { height: auto; display: flex; flex-direction: column; }
  .recruit-image { position: relative; width: 100%; height: 190px; }
  .recruit::after { display: none; }
  .recruit-content { padding: 18px 20px 22px; }
  .recruit-tab { z-index: 1; }
  .recruit-content h2 { font-size: 21px; }

  .contact-banner { display: block; padding: 24px 20px; }
  .contact-banner h2 { font-size: 23px; margin-bottom: 16px; }
  .leaf-contact { left: auto; right: 10px; top: 6px; width: 64px; height: 64px; }
  .telephone strong { font-size: 36px; }
  .button-web { width: 100%; margin-top: 16px; min-height: 64px; }
  .professional { margin-top: 14px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner address { padding: 0; border-left: 0; }
  .footer-illust { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 2px; }

  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -3px 18px #43261e12;
  }
  .mobile-cta a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; }
  .mobile-cta .icon { width: 20px; height: 20px; color: #fff; }
  .mobile-cta .icon:last-child { width: 18px; height: 18px; margin-left: auto; }
  dialog { padding: 34px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
