/* ========================================
   ひだまり歯科クリニック LP
   ======================================== */

:root {
  --sage: #7FA79A;
  --sage-deep: #5F8A7D;
  --sage-soft: #E8F1EE;
  --warm-white: #FAFBF8;
  --soft-blue: #C5DFE6;
  --soft-blue-deep: #9FC7D3;
  --beige: #F1EDE6;
  --beige-deep: #E5DED2;
  --text: #303B3B;
  --text-muted: #5A6868;
  --white: #FFFFFF;
  --line: rgba(48, 59, 59, 0.12);
  --shadow-soft: 0 18px 50px rgba(95, 138, 125, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 36px;
  --header-h: 72px;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-en: "DM Sans", "Outfit", sans-serif;
  --font-en-alt: "Outfit", "DM Sans", sans-serif;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  padding-bottom: 0;
  overscroll-behavior-x: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p, figure {
  margin: 0;
}

.en {
  font-family: var(--font-en);
  letter-spacing: 0.14em;
}

.visually-hidden {
  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: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--sage);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 40px, 820px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 15px;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(127, 167, 154, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 248, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 251, 248, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(48, 59, 59, 0.05);
}

.header-inner {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #F7FBF9 0 28%, transparent 29%),
    linear-gradient(145deg, var(--soft-blue), var(--sage));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
  font-weight: 600;
}

.logo-ja {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.global-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.global-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--text);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Sections common ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--sage-deep);
  margin-bottom: 18px;
}

.section-en.light {
  color: rgba(255, 255, 255, 0.85);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.section-title .title-line {
  display: block;
}

.section-title .title-line-sp {
  display: none;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

.section-lead {
  margin-top: 18px;
  color: var(--text-muted);
  max-width: 36em;
  font-size: 15px;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-head .section-lead {
  margin-inline: auto;
}

.image-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.image-note.center {
  text-align: center;
  margin-top: 24px;
}

.image-note.light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #EAF3F0 0%, #F7F8F4 45%, #E8F0F3 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) both;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(250, 251, 248, 0.94) 0%, rgba(250, 251, 248, 0.78) 38%, rgba(250, 251, 248, 0.18) 68%, rgba(127, 167, 154, 0.18) 100%),
    radial-gradient(ellipse at 78% 28%, rgba(197, 223, 230, 0.35), transparent 50%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 56px 0 110px;
  animation: fadeUp 1s var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-bottom: 12px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.hero-title span {
  display: block;
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0 16px 0 0;
  border-radius: 0;
  pointer-events: none;
  user-select: none;
}

.hero-tags li:not(:last-child) {
  border-right: 1px solid rgba(127, 167, 154, 0.28);
  margin-right: 16px;
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  z-index: 3;
  background: var(--warm-white);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 110px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 24px;
  background: var(--sage-deep);
  animation: scrollDrop 2s ease-in-out infinite;
}

/* ---------- Concept ---------- */
.concept {
  background: var(--warm-white);
  overflow: hidden;
}

.concept::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 223, 230, 0.45), transparent 70%);
  right: -160px;
  top: 40px;
  pointer-events: none;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.concept-body {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  color: var(--text-muted);
  font-size: 15px;
}

.concept-visual {
  position: relative;
}

.concept-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 180px 180px 28px 28px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Concerns ---------- */
.concerns {
  background:
    linear-gradient(180deg, rgba(241, 237, 230, 0.65), rgba(250, 251, 248, 0.9)),
    var(--beige);
}

.concern-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.concern-list li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 28px 24px;
  border-radius: 28px 18px 28px 18px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.concern-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.concern-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin-inline: auto;
}

.concern-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.concern-list p {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-align: center;
}

.concern-closing {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--sage-deep);
  letter-spacing: 0.08em;
}

/* ---------- Promise ---------- */
.promise {
  background: var(--white);
}

.promise-list {
  display: grid;
  gap: 72px;
}

.promise-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.promise-item.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.promise-item.reverse .promise-photo {
  order: 2;
}

.promise-item.reverse .promise-text {
  order: 1;
  padding-left: 24px;
}

.promise-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 28px 80px 28px 80px;
  box-shadow: var(--shadow-soft);
}

.promise-item.reverse .promise-photo img {
  border-radius: 80px 28px 80px 28px;
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.promise-num {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: rgba(127, 167, 154, 0.35);
  margin-bottom: 12px;
}

.promise-text h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.promise-text p:last-child {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Services ---------- */
.services {
  background:
    linear-gradient(180deg, var(--warm-white), #F3F7F5 40%, var(--warm-white));
}

.service-layout {
  display: grid;
  gap: 28px;
}

.service-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-feature-body,
.service-banner-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.service-feature h3,
.service-item h3,
.service-banner h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.service-feature p:not(.service-num),
.service-item p:not(.service-num),
.service-banner p:not(.service-num) {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-item {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(127, 167, 154, 0.12);
  display: flex;
  flex-direction: column;
}

.service-item figure {
  overflow: hidden;
}

.service-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-item:hover img {
  transform: scale(1.05);
}

.service-item > div {
  padding: 22px 20px 26px;
  flex: 1;
}

.service-banner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: linear-gradient(120deg, var(--sage-soft), var(--white) 45%, rgba(197, 223, 230, 0.35));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(127, 167, 154, 0.15);
}

.service-banner img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-banner .btn {
  margin-top: 24px;
  align-self: flex-start;
}

/* ---------- Gallery / Space ---------- */
.space {
  background: var(--beige);
  overflow-x: clip;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0;
}

.gallery-item.large {
  grid-row: 1 / 3;
  border-radius: 32px 80px 32px 32px;
}

.gallery-item.wide {
  grid-column: 2 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(250, 251, 248, 0.88);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ---------- Message ---------- */
.message {
  background: var(--warm-white);
}

.message-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.message-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 160px 160px 24px 24px;
  box-shadow: var(--shadow-soft);
  filter: saturate(0.92) brightness(1.03);
}

.message-role {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.message-name {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 8px 0 28px;
  letter-spacing: 0.12em;
  position: relative;
  display: inline-block;
}

.message-name::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--sage);
  margin-top: 14px;
}

.message-body {
  display: grid;
  gap: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- First visit ---------- */
.first-visit {
  background:
    linear-gradient(180deg, #F4F8F7, var(--white));
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  z-index: 0;
}

.steps li {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid rgba(127, 167, 154, 0.16);
  border-radius: 24px;
  padding: 28px 18px 24px;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  line-height: 1.5;
}

.steps p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Hours ---------- */
.hours {
  background: var(--white);
}

.hours-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hours-notes {
  margin: 24px 0 32px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.hours-notes li {
  padding-left: 16px;
  position: relative;
}

.hours-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.hours-table-wrap {
  background: linear-gradient(160deg, var(--sage-soft), rgba(197, 223, 230, 0.35));
  border-radius: 32px;
  padding: 28px 24px;
  border: 1px solid rgba(127, 167, 154, 0.18);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  padding: 16px 8px;
  font-size: 13px;
  border-bottom: 1px solid rgba(127, 167, 154, 0.12);
}

.hours-table thead th {
  background: rgba(127, 167, 154, 0.12);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hours-table tbody th {
  text-align: left;
  padding-left: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}

.mark.open {
  color: var(--sage-deep);
  background: rgba(127, 167, 154, 0.15);
}

.mark.limited {
  color: #7A6A4A;
  background: rgba(241, 237, 230, 0.95);
}

.mark.closed {
  color: #8A6A6A;
  background: rgba(232, 214, 214, 0.7);
  font-size: 11px;
}

.hours-legend {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--beige);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(127, 167, 154, 0.12);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage-soft);
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--sage-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
  border-top: 1px solid rgba(127, 167, 154, 0.12);
  padding-top: 16px;
}

/* ---------- Information ---------- */
.information {
  background: var(--warm-white);
  padding-bottom: 80px;
}

.info-panel {
  background: var(--white);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid rgba(127, 167, 154, 0.14);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 32px;
}

.info-list {
  display: grid;
  gap: 22px;
}

.info-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.08em;
}

.info-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.info-list .en {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.info-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.final-cta-media {
  position: absolute;
  inset: 0;
}

.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(95, 138, 125, 0.78), rgba(48, 59, 59, 0.55)),
    radial-gradient(circle at 30% 20%, rgba(197, 223, 230, 0.28), transparent 45%);
}

.final-cta-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px 120px;
  max-width: 760px;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.final-cta-title span {
  display: block;
}

.final-cta-lead {
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.final-cta .btn-primary {
  background: var(--white);
  color: var(--sage-deep);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.final-cta .btn-primary:hover,
.final-cta .btn-primary:focus-visible {
  background: var(--beige);
  color: var(--text);
}

.final-curve {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 70px;
  background: var(--warm-white);
  clip-path: ellipse(70% 100% at 50% 0%);
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2C3737;
  color: rgba(255, 255, 255, 0.86);
  padding: 72px 0 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .logo-en {
  color: var(--soft-blue);
}

.site-footer .logo-ja {
  color: var(--white);
}

.footer-concept {
  margin-top: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--soft-blue);
  margin-bottom: 16px;
  font-family: var(--font-en);
  font-weight: 600;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

.footer-hours p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  width: min(100% - 40px, var(--container));
  margin: 28px auto 0;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.copyright {
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(250, 251, 248, 0.95) 30%);
}

.mobile-cta .btn {
  width: 100%;
}

/* ---------- Modal ---------- */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 59, 59, 0.48);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  background: var(--white);
  border-radius: 28px;
  padding: 40px 32px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-dialog h2 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  margin: 8px 0 16px;
  letter-spacing: 0.06em;
}

.modal-dialog p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--beige);
  color: var(--text);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@keyframes scrollDrop {
  0% { top: -24px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .global-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .global-nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(250, 251, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    box-shadow: 0 18px 40px rgba(48, 59, 59, 0.08);
  }

  .global-nav.is-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .global-nav.is-open a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px;
  }

  .gallery-item.large {
    grid-row: auto;
    border-radius: 28px;
  }

  .gallery-item.wide {
    grid-column: auto;
  }
}

@media (max-width: 1023px) {
  .section {
    padding: 96px 0;
  }

  .section-title .title-line-pc {
    display: none;
  }

  .section-title .title-line-sp {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .concept-grid,
  .promise-item,
  .promise-item.reverse,
  .message-grid,
  .hours-grid,
  .service-feature,
  .service-banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .promise-item.reverse .promise-photo,
  .promise-item.reverse .promise-text {
    order: initial;
  }

  .promise-item.reverse .promise-text {
    padding-left: 0;
  }

  .concept-visual img,
  .message-photo img {
    aspect-ratio: 16 / 11;
    border-radius: 28px 28px 28px 80px;
    max-width: 560px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .steps::before {
    display: none;
  }

  .steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    text-align: left;
    align-items: start;
  }

  .step-num {
    grid-row: 1 / 3;
    margin: 0;
  }

  .concern-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-shell {
    width: min(100% - 40px, 1280px);
    padding-top: 56px;
  }

  .scroll-hint {
    bottom: 96px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .section-title .title-line-pc {
    display: none;
  }

  .section-title .title-line-sp {
    display: block;
  }

  .section-title {
    font-size: clamp(24px, 6.2vw, 30px);
    letter-spacing: 0.04em;
  }

  .concept-copy .section-title {
    font-size: clamp(24px, 6.4vw, 30px);
  }

  body {
    padding-bottom: 78px;
  }

  .container,
  .container.narrow {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .header-inner {
    width: min(100% - 20px, 1280px);
  }

  .header-actions .btn-sm {
    display: none;
  }

  .logo-ja {
    font-size: 13px;
  }

  .logo-en {
    font-size: 8px;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-media-overlay {
    background:
      linear-gradient(180deg, rgba(250, 251, 248, 0.55) 0%, rgba(250, 251, 248, 0.82) 42%, rgba(250, 251, 248, 0.95) 100%),
      linear-gradient(90deg, rgba(250, 251, 248, 0.5), transparent 60%);
  }

  .hero-shell {
    width: min(100% - 28px, 1280px);
    padding: 40px 0 148px;
  }

  .scroll-hint {
    bottom: 72px;
  }

  .scroll-line {
    height: 40px;
  }

  .hero-title {
    font-size: clamp(28px, 7.6vw, 34px);
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 340px);
    margin-inline: auto;
    gap: 0;
  }

  .hero-tags::before,
  .hero-tags::after {
    content: "";
    position: absolute;
    background: rgba(127, 167, 154, 0.28);
    pointer-events: none;
    z-index: 1;
  }

  /* vertical line of the cross */
  .hero-tags::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
  }

  /* horizontal line of the cross */
  .hero-tags::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
  }

  .hero-tags li {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 !important;
    padding: 16px 12px;
    border: none !important;
    font-size: 12px;
    letter-spacing: 0.04em;
    /* letter-spacing の末尾余白で左に見えるのを打ち消す */
    text-indent: 0.04em;
  }

  .hero-curve {
    height: 60px;
  }

  .concern-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .concern-list li {
    border-radius: 22px;
  }

  .promise-photo img,
  .promise-item.reverse .promise-photo img {
    aspect-ratio: 16 / 11;
    border-radius: 24px;
    max-height: none;
  }

  .promise-num {
    font-size: 42px;
  }

  .service-feature-body,
  .service-banner-body,
  .info-panel {
    padding: 28px 22px;
  }

  .service-feature img,
  .service-banner img {
    min-height: 220px;
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
    max-width: 100%;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    flex: 0 0 min(78%, 320px);
    height: 240px;
    scroll-snap-align: start;
    border-radius: 24px;
    grid-row: auto;
    grid-column: auto;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hours-table th,
  .hours-table td {
    padding: 12px 4px;
    font-size: 11px;
  }

  .hours-table tbody th {
    padding-left: 8px;
    font-size: 10px;
  }

  .hours-table-wrap {
    padding: 16px 10px;
  }

  .mark {
    min-width: 22px;
    min-height: 22px;
    font-size: 11px;
  }

  .hours-copy .section-en,
  .hours-copy .section-title,
  .hours-copy .section-lead {
    text-align: center;
  }

  .hours-copy .section-lead {
    margin-inline: auto;
  }

  .hours-copy .hours-notes {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .hours-copy .btn {
    display: flex;
    margin-inline: auto;
  }

  .information .info-panel > div:first-child {
    text-align: center;
  }

  .final-cta {
    min-height: 480px;
  }

  .final-cta-content {
    padding: 80px 18px 100px;
  }

  .final-cta-title {
    font-size: clamp(24px, 6.4vw, 30px);
    letter-spacing: 0.04em;
  }

  .final-cta-title span {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding-bottom: 140px;
  }

  .mobile-cta {
    display: block;
  }
}

@media (max-width: 379px) {
  .hero-tags {
    width: 100%;
  }

  .hero-tags li {
    font-size: 11px;
    padding: 12px 6px;
  }

  .hours-table thead th:first-child,
  .hours-table tbody th {
    font-size: 9px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
  }
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn:focus:not(:focus-visible),
.faq-question:focus:not(:focus-visible),
.menu-toggle:focus:not(:focus-visible) {
  outline: none;
}
