/* ============================================================
   home.css — ページ固有スタイル
   ============================================================ */

/* Page-local palette */
:root {
  --color-earth:      #8b4513;   /* concept「整」・plant-metaphors 茶 */
  --color-brand-deep: #215f9c;   /* origin グラデーション終端 */
}


/* ============================================================
   Site Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 1px 0 rgb(var(--color-brand-rgb) / 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-header__logo {
  font-family: var(--font-serif);
  font-size: var(--text-logo);
  font-weight: 900;
  color: var(--color-brand);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header__bnrs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

@media (max-width: 768px) {
  .site-header__inner {
    height: 3.5rem; /* 56px */
  }

  .site-header__bnrs {
    gap: 0.5rem;
  }

  .site-header__bnrs .btn--mail {
    display: none;
  }

  .site-header__bnrs .btn {
    font-size: 0;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0;
    /* padding-block: 0; */
    min-width: unset;
  }

  .site-header__bnrs .btn i {
    font-size: 1.25rem;
  }

  .site-header__bnrs .btn img {
    width: 1.125rem;
    height: 1.125rem;
  }
}


/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  height: clamp(25rem, 41.2vw, 37.0625rem); /* 400→593px */
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-brand-light) 0%, var(--color-bg-light) 92.3%, var(--color-white) 100%);
}

.hero__img-wrap {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 49.8%; /* 717/1440 */
  overflow: hidden;
}


.hero__img-wrap picture,
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero .container {
  position: relative;
  height: 100%;
  z-index: 2;
}

.hero__inner {
  position: relative;
  height: 100%;
}

/* ベルバッジ */
.hero__open-badge {
  position: absolute;
  inset-block-start: clamp(3.5rem, 6.9vw, 6.25rem); /* 56→100px */
  inset-inline-start: 3.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-brand);
  color: var(--color-white);
  padding-block: 0.8125rem;
  padding-inline: 1.5625rem;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero__open-badge img {
  width: 0.75rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* タイトル群 */
.hero__titles {
  position: absolute;
  inset-block-start: clamp(6.5rem, 11.8vw, 10.625rem); /* 104→170px */
  inset-inline-start: 0;
}

.hero__title-sub {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.47vw, 3.125rem); /* 28→50px */
  font-weight: 900;
  color: var(--color-brand);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 3px var(--color-white);
  paint-order: stroke fill;
}

.hero__leaf {
  width: clamp(1.75rem, 2.92vw, 2.625rem);
  height: clamp(1.75rem, 2.92vw, 2.625rem);
  flex-shrink: 0;
}

.hero__title-main {
  margin-block-start: 0.625rem;
  padding-inline-start: 3.5rem; /* leaf icon + gap 分オフセット */
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.47vw, 3.125rem);
  font-weight: 900;
  color: var(--color-brand);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  -webkit-text-stroke: 3px var(--color-white);
  paint-order: stroke fill;
}

.hero__title--sm {
  font-size: 0.74em; /* 37/50 */
}

/* グランドオープンボックス */
.hero__grand-open {
  position: absolute;
  inset-block-start: clamp(14rem, 24.1vw, 21.6875rem); /* →347px */
  inset-inline-start: 3.75rem;
  background-color: var(--color-white);
  border-inline-start: 4px solid var(--color-plant);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.10), 0 1px 2px rgb(0 0 0 / 0.06);
  padding-block: 1.25rem;
  padding-inline: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__grand-open-logo {
  height: clamp(1.75rem, 3.125vw, 2.8125rem); /* →45px */
  width: auto;
}

.hero__grand-open-date {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
  }

  .hero__img-wrap {
    inset: 0;
    width: 100%;
  }

  .hero__bg {
    background: linear-gradient(
      to bottom,
      rgb(var(--color-white-rgb) / 0.75) 0%,
      rgb(var(--color-white-rgb) / 0.5) 60%,
      rgb(var(--color-white-rgb) / 0.3) 100%
    );
    z-index: 1;
  }

  .hero__open-badge {
    inset-inline-start: 50%;
    transform: translateX(-50%);
  }

  .hero__titles {
    inset-block-start: 7rem; /* badge との間隔を広げる */
    inset-inline-start: 0;
    inset-inline-end: 0;
    transform: none;
    text-align: center;
  }

  .hero__title-sub,
  .hero__title-main {
    -webkit-text-stroke: 0;
    white-space: normal;
  }

  .hero__title-main {
    padding-inline-start: 0;
  }

  .hero__grand-open {
    inset-inline-start: 50%;
    transform: translateX(-50%);
    padding-inline: var(--space-5);
    width: max-content;
    gap: 0.9375rem;
  }

  .hero__grand-open-logo {
    width: 9.375rem;
    height: auto;
  }
}


/* ============================================================
   Philosophy
   ============================================================ */
.philosophy-wrap {
  padding-block-start: 3.75rem; /* 60px gap after hero */
  padding-block-end: 0;
}

.philosophy-wrap__inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.philosophy-wrap__deco {
  flex-shrink: 0;
  width: clamp(7.5rem, 14vw, 12.625rem); /* 120→202px */
  height: auto;
  margin-block-start: 1.125rem; /* 18px: deco はカードより少し下から始まる */
}

.philosophy {
  flex: 1;
  min-width: 0; /* flex子要素のはみ出し防止 */
  background-color: var(--color-bg-light);
  border: 6px solid var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding-block-start: 2rem;    /* Figma 50px − heading half-leading ~18px */
  padding-block-end: 1.875rem;  /* Figma 45px − body half-leading ~15px */
  padding-inline: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8125rem;
  text-align: center;
}

.philosophy__heading {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.philosophy__heading--accent {
  color: var(--color-brand-mid);
  font-size: var(--text-display); /* 30→50px */
}

.philosophy__heading--normal {
  color: var(--color-brand);
  font-size: var(--text-3xl); /* 22→35px */
}

.philosophy__body {
  font-family: var(--font-sans);
  font-size: var(--text-lg); /* 16→20px */
  font-weight: 500;
  color: var(--color-ink);
  line-height: 2;
}

@media (max-width: 768px) {
  .philosophy-wrap {
    padding-block-start: var(--space-6); /* 30px */
  }

  .philosophy-wrap__deco {
    display: none;
  }

  .philosophy {
    padding-inline: var(--space-4);
    gap: 0.9375rem; /* 15px */
  }

  .philosophy__heading {
    white-space: normal;
  }
}


/* ============================================================
   CTA Top
   ============================================================ */
.cta-top {
  background-color: var(--color-brand-mid);
  padding-block: 1.25rem;
}

.cta-top__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.cta-top__text {
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cta-top__inner {
    flex-direction: column;
  }

  .cta-top__text {
    white-space: normal;
    text-align: center;
  }
}


/* ============================================================
   Message
   ============================================================ */
.message {
  position: relative;
  padding-block-start: 4.375rem; /* 70px: Figma inner top offset */
  padding-block-end: clamp(6rem, 12vw, 10rem); /* 斜めカット分の余白 */
  isolation: isolate;
}

/* Background: グラデーション + clip-path で斜め背景を再現。
   右下を clamp で切り上げることで左下→右上方向の斜め（白三角が右下）を作る。
   vw ベースで padding-block-end と連動し、どの画面幅でも斜めが padding 内に収まる。 */
.message::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-brand)     0%,
    var(--color-brand)     63.46%,
    var(--color-brand-mid) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(80px, 10vw, 150px)), 0 100%);
  z-index: -1;
}

/* Decorative plants — absolute, relative to section */
.message__plant {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.message__plant--01 {
  /* Figma: x=30(2.08%), y=700(65.5%) in 1440×1068 */
  inset-block-start: 65.5%;
  inset-inline-start: 2.083%;
  width: clamp(12rem, 27.78vw, 25rem); /* up to 400px */
  height: auto;
}

.message__plant--02 {
  /* Figma: x=1241, right-edge=82px(5.69%) from section right, y=70 */
  inset-block-start: 4.375rem;
  inset-inline-end: 5.694%;
  width: clamp(4rem, 8.125vw, 7.3125rem); /* up to 117px */
  height: auto;
}

/* Inner wrapper (narrower than full container: 990px in Figma vs 1200px container) */
.message__inner {
  position: relative;
  z-index: 2;
  max-width: 61.875rem; /* 990px */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem; /* 40px */
}

/* ---- Title ---- */
.message__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem; /* 20px */
  text-align: center;
}

.message__title-en {
  font-family: var(--font-serif);
  font-size: var(--text-sm); /* 14px */
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-brand-light); /* #b8d4e8 */
  line-height: 1.43; /* 20/14 */
}

.message__title-ja {
  font-family: var(--font-sans);
  font-size: 2rem; /* 32px fixed */
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.125; /* 36/32 */
  white-space: nowrap;
}

/* ---- Body card ---- */
.message__body {
  display: flex;
  gap: 2.8125rem; /* 45px */
  align-items: center;
  background-color: rgb(var(--color-white-rgb) / 0.10);
  border: 1px solid rgb(var(--color-white-rgb) / 0.30);
  border-radius: var(--radius-md); /* 10px */
  padding: 2.5rem; /* 40px */
  width: 100%;
}

/* Photo column */
.message__body-img {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
  flex-shrink: 0;
  width: clamp(10rem, 19.44vw, 17.5rem); /* up to 280px */
}

.message__body-photo {
  border: 4px solid var(--color-white);
  border-radius: var(--radius-lg); /* 16px */
  box-shadow: var(--shadow-image);
  overflow: hidden;
  aspect-ratio: 280 / 450;
}

.message__body-photo picture,
.message__body-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.message__body-caption {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
}

/* Text column */
.message__body-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem; /* Figma 30px − 段落間 half-leading 16px（8px×2）= 14px */
}

/* Quote box */
.message__quote {
  position: relative;
  background-color: var(--color-white);
  border-radius: 0.75rem; /* 12px */
  padding: 1rem; /* 16px */
}

.message__quote-leaf {
  position: absolute;
  inset-block-start: 0.75rem;  /* 12px */
  inset-inline-end: 0.8125rem; /* 13px */
  width: 1.5625rem;
  height: 1.5625rem;
  transform: scaleX(-1); /* Figma: leaf is mirrored */
  flex-shrink: 0;
}

.message__quote p {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.5; /* 24/16 */
  padding-inline-end: 2rem; /* space for leaf icon */
}

/* Body paragraphs */
.message__body-para {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-white);
  line-height: 2; /* 32/16 */
  text-align: justify;
}

.message__body-para--center {
  text-align: center;
}

.message__body-strong {
  font-weight: 900;
  color: var(--color-brand-light); /* #b8d4e8 */
}

/* Emphasis — vertical border */
.message__body-emphasis {
  border-inline-start: 4px solid var(--color-brand-light);
  padding-inline-start: 1.25rem; /* 20px */
  font-size: var(--text-base);
  font-weight: 900;
  color: var(--color-brand-light);
  line-height: 1.5; /* 24/16 */
}

/* Closing — top/bottom border */
.message__body-closing-wrap {
  border-block: 1px solid var(--color-white);
  padding-block: 1rem; /* 16px */
  margin-block: .5rem; /* 8px */
  display: flex;
  justify-content: center;
}

.message__body-closing {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  line-height: 1.333; /* 32/24 */
}

@media (max-width: 768px) {
  .message__plant--01,
  .message__plant--02 {
    display: none;
  }

  .message__inner {
    gap: var(--space-6);
  }

  .message__title-ja {
    white-space: normal;
  }

  .message__body {
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
    padding: var(--space-4);
  }

  .message__body-img {
    width: 60%;
    max-width: 14rem;
    margin-inline: auto;
  }

  .message__body-para {
    text-align: start;
  }
}


/* ============================================================
   Concept
   ============================================================ */
.concept {
  position: relative;
  background-color: var(--color-white);
  padding-block-start: 2.5rem; /* 40px: override .section clamp */
}

/* section-head overrides */
.concept .section-head__en {
  flex-direction: column;        /* icon above, text below */
  align-items: center;
  gap: 0.4375rem;                /* 7px: icon to "Concept" text */
  margin-block-end: 1.25rem;     /* Figma 30px − text-box-trim 補正 ~10px */
}

.concept .section-head__en img {
  transform: scaleX(-1); /* Figma: icon is horizontally mirrored */
}

.concept .section-head__ja {
  font-size: clamp(2rem, calc(1.546rem + 1.939vw), 3rem); /* 32→48px, max at 1200px */
  font-weight: 700;
}

/* Header: section-head + lead */
.concept__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;             /* Figma 50px − text-box-trim 補正 ~18px */
  margin-block-end: 2.5rem; /* Figma 50px − lead bottom half-leading ~10px */
  text-align: center;
}

.concept__lead {
  font-size: var(--text-lg); /* 16→20px */
  color: var(--color-ink);
  line-height: 2;
  max-width: 47.75rem; /* 764px */
}

.concept__lead--strong {
  font-weight: 900;
  color: var(--color-brand);
}

/* Items grid */
.concept__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem; /* 30px */
  list-style: none;
  padding: 0;
}

/* Card */
.concept__item {
  display: flex;
  gap: 0.9375rem; /* 15px */
  align-items: flex-start;
  background-color: var(--color-white);
  border-inline-start: 4px solid var(--color-plant); /* default: 生 */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding-block: 1.875rem;
  padding-inline-start: 1.1875rem; /* 19px */
  padding-inline-end: 1.9375rem;  /* Figma: 15px card-pr + 16px body-gap = 31px */
}

/* Per-item accent colors */
.concept__item:nth-child(1) { border-inline-start-color: var(--color-earth); } /* 整: earth */
.concept__item:nth-child(3) { border-inline-start-color: var(--color-brand); } /* 動: navy */

/* Point circle */
.concept__point {
  flex-shrink: 0;
  width: 3rem;   /* 48px */
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-plant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: var(--color-white);
}

.concept__item:nth-child(1) .concept__point { background-color: var(--color-earth); }
.concept__item:nth-child(3) .concept__point { background-color: var(--color-brand); }

/* Text column */
.concept__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

.concept__name {
  font-size: clamp(1.25rem, calc(1.108rem + 0.606vw), 1.5625rem); /* 20→25px, max at 1200px */
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.35;
}

.concept__sub {
  display: inline-block;
  background-color: rgb(var(--_color-brand-200-rgb) / 0.2);
  padding: 0.625rem; /* 10px */
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-brand-mid);
  line-height: 1;
}

.concept__body {
  font-size: var(--text-base);
  color: var(--color-ink);
  line-height: 2;
  text-align: justify;
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: block;
  }

  .concept {
    padding-block-start: 0;
  }

  .concept__header {
    margin-block-end: var(--space-5); /* 20px */
    gap: var(--space-5); /* 20px */
  }

  .concept__items {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}


/* ============================================================
   Plant Metaphors
   ============================================================ */
.plant-metaphors {
  position: relative;
  padding-block-start: 0;
  padding-block-end: 6.25rem; /* 100px */
  isolation: isolate;
  background: transparent;
}

/* Diagonal gradient background — right-top high, left-top low */
.plant-metaphors::before {
  content: '';
  position: absolute;
  inset: 25px 0 0 0;
  background: linear-gradient(180deg, var(--color-brand-light) 0%, var(--color-bg-light) 92.31%, var(--color-white) 100%);
  clip-path: polygon(0 clamp(100px, 11vw, 160px), 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

/* Vertical center line — top aligned to bottom of title */
.plant-metaphors::after {
  content: '';
  position: absolute;
  inset-block-start: var(--plant-line-top, 0); /* set by JS: aligns to bottom of h2::after */
  inset-block-end: var(--plant-line-bottom, 0); /* set by JS: aligns to bottom of last item */
  inset-inline-start: calc(50% - 0.5px);
  width: 1px;
  background-color: var(--color-brand);
  z-index: 0;
  pointer-events: none;
}

/* Title wrap: deco + h2 */
.plant-metaphors__title-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-block-end: 6rem;
}

/* Decorative SVG — absolute inside title-wrap, 40px from left edge */
.plant-metaphors__deco {
  position: absolute;
  inset-inline-start: 10.5rem; /* 168px */
  top: 50%;
  transform: translateY(-50%) rotate(-5.9deg);
  width: 6.25rem;   /* 100px */
  height: 10.25rem; /* 164px */
  aspect-ratio: 25 / 41;
}

/* Title */
.plant-metaphors__title {
  font-size: clamp(1.25rem, calc(0.795rem + 1.94vw), 2.25rem); /* 20→36px, max at 1200px */
  font-weight: 700;
  color: var(--color-brand);
  text-align: center;
  line-height: 1.11;
}

/* Horizontal rule after title */
.plant-metaphors__title::after {
  content: '';
  display: block;
  width: 6.25rem; /* 100px */
  height: 1px;
  background-color: var(--color-brand);
  margin: 1.875rem auto;
}

/* Items list */
.plant-metaphors__items {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Arrow separator between items */
.plant-metaphors__arrow {
  display: flex;
  justify-content: center;
  padding-block: 1.875rem; /* 30px */
}

.plant-metaphors__arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plant-metaphors__arrow-circle img {
  display: block;
}

/* Item card */
.plant-metaphors__item {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 55.625rem; /* 890px */
  border-radius: var(--radius-sm); /* 6px */
  box-shadow: var(--shadow-card);
  padding-block: 2.5rem;  /* 40px */
  padding-inline: 1.875rem; /* 30px */
  background-color: var(--color-white);
}

/* First item: navy bg（大きな樹・実り） */
.plant-metaphors__item:first-child {
  background-color: var(--color-brand);
  border: 2px solid var(--color-brand-mid);
}

/* Image */
.plant-metaphors__img-wrap {
  flex-shrink: 0;
  width: clamp(14rem, 25vw, 22.5rem); /* →360px */
  aspect-ratio: 360 / 210;
  overflow: hidden;
}

.plant-metaphors__img-wrap picture,
.plant-metaphors__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.plant-metaphors__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* 16px */
  text-align: center;
}

/* Icon — SVG carries its own background circle */
.plant-metaphors__icon {
}

.plant-metaphors__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Name */
.plant-metaphors__name {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-brand);
}

.plant-metaphors__item:first-child .plant-metaphors__name { color: var(--color-white); }

/* 2nd and 3rd items are nth-child(3) and nth-child(5) due to arrow <li>s */
.plant-metaphors__item:nth-child(3) .plant-metaphors__name { color: var(--color-plant); }
.plant-metaphors__item:nth-child(5) .plant-metaphors__name { color: var(--color-earth); }

/* Phase label */
.plant-metaphors__phase {
  display: block;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-white);
}

.plant-metaphors__item:nth-child(3) .plant-metaphors__phase,
.plant-metaphors__item:nth-child(5) .plant-metaphors__phase {
  color: var(--color-ink);
}

/* Copy band — line-height: 1 eliminates Figma text-box-trim gap */
.plant-metaphors__copy {
  width: 100%;
  padding-block: 0.9375rem; /* 15px — matches Figma (no trim compensation needed with lh:1) */
  padding-inline: 0.625rem;  /* 10px */
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.plant-metaphors__item:first-child .plant-metaphors__copy {
  background-color: var(--color-brand-mid);
  color: var(--color-white);
}

.plant-metaphors__item:nth-child(3) .plant-metaphors__copy {
  background-color: rgb(90 140 90 / 0.2);
  color: var(--color-plant);
}

.plant-metaphors__item:nth-child(5) .plant-metaphors__copy {
  background-color: rgb(139 69 19 / 0.2);
  color: var(--color-earth);
}

@media (max-width: 768px) {
  .plant-metaphors {
    padding-block-end: 3.125rem; /* 50px */
  }

  .plant-metaphors__deco {
    display: none;
  }

  .plant-metaphors__title-wrap {
    margin-block-end: 1.25rem; /* 20px */
  }

  .plant-metaphors__title::after {
    margin-block: 0.9375rem; /* 15px */
  }

  .plant-metaphors__item {
    flex-direction: column;
    align-items: stretch;
    padding-block: var(--space-6);
    padding-inline: var(--space-4);
  }

  .plant-metaphors__img-wrap {
    width: 100%;
    margin-block-end: 0.9375rem; /* 15px */
  }

  .plant-metaphors__arrow {
    padding-block: 0.9375rem; /* 15px */
  }

  .plant-metaphors::after {
    display: none;
  }
}


/* ============================================================
   Integrative
   ============================================================ */
.integrative {
  --_border: 1px solid rgb(var(--color-neutral-mid-rgb) / 0.3);
  text-align: center;
  padding-block-start: 0;
}

/* --- Heading --- */
.integrative__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6); /* 30px */
  margin-block-end: 3.125rem; /* 50px */
}

.integrative__head-en {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4375rem; /* 7px */
}

.integrative__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-sm); /* 14px */
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-brand-mid);
  line-height: 1.43; /* 20/14 */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.integrative__heading {
  font-size: var(--text-display); /* clamp 30→50px */
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* --- Table --- */
.integrative__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.integrative__table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 65.625rem; /* 1050px: 250 + 400 + 400 */
  margin-inline: auto;
}

/* Column widths */
.integrative__table thead th:nth-child(1) { width: 15.625rem; } /* 250px */
.integrative__table thead th:nth-child(2) { width: 25rem; }     /* 400px */
.integrative__table thead th:nth-child(3) { width: 25rem; }     /* 400px */

/* Common cell */
.integrative__table th,
.integrative__table td {
  height: 4.6875rem; /* 75px */
  padding-inline-start: 1.25rem; /* 20px */
  padding-block: 0;
  vertical-align: middle;
  font-size: var(--text-base); /* 16px */
  line-height: 1.5;
  text-align: start;
}

/* Header: col1（観点）・col2（一般整形外科） */
.integrative__table thead th:nth-child(1),
.integrative__table thead th:nth-child(2) {
  background-color: var(--color-white);
  border-top: var(--_border);
  border-left: var(--_border);
  border-bottom: var(--_border);
  font-weight: 700;
  color: var(--color-ink);
}

/* Header: col3（SAクリニック）— 紺背景・ボーダーなし */
.integrative__table thead th:nth-child(3) {
  background-color: var(--color-brand);
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 1.556; /* 28/18 */
  color: var(--color-white);
}

/* Body: col1（行ラベル） */
.integrative__table tbody th {
  background-color: var(--color-white);
  border-left: var(--_border);
  border-bottom: var(--_border);
  font-weight: 700;
  color: var(--color-brand);
}

/* Body: col2（一般整形外科） */
.integrative__table tbody td:first-of-type {
  background-color: var(--color-white);
  border-left: var(--_border);
  border-bottom: var(--_border);
  font-weight: 500;
  color: var(--color-ink);
}

/* Body: col3（SAクリニック） */
.integrative__table tbody td:last-child {
  background-color: rgb(var(--_color-brand-200-rgb) / 0.2);
  border-left: var(--_border);
  border-right: var(--_border);
  border-bottom: var(--_border);
  font-weight: 700;
  color: var(--color-brand);
}

.table-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: block;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-brand-mid);
    margin-block-end: var(--space-3);
  }

  .integrative__head {
    margin-block-end: 1.25rem; /* 20px */
    gap: 1.25rem; /* 20px */
  }

  .integrative__table {
    table-layout: auto;
    width: auto;
  }

  .integrative__table thead th {
    width: auto;
  }

  .integrative__table th,
  .integrative__table td {
    font-size: var(--text-sm);
    padding-inline-start: var(--space-3);
    padding-inline-end: var(--space-3);
    height: 3rem;
    white-space: nowrap;
  }

  .integrative__table thead th:nth-child(3) {
    font-size: var(--text-base);
  }
}


/* ============================================================
   Consultation
   ============================================================ */
.consultation {
  position: relative;
  padding-block: var(--space-section);
}

/* Background */
.consultation__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.consultation__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.consultation__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.consultation__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(var(--color-white-rgb) / 0.1);
}

/* Card */
.consultation__inner {
  position: relative;
  z-index: 1;
  max-width: 55.625rem; /* 890px */
  margin-inline: auto;
  margin-block-start: 1.75rem; /* 28px — タイトルバッジのはみ出し分 */
  padding-block: 5rem; /* 80px */
  padding-inline: 6.25rem; /* 100px */
  background-color: var(--color-white);
  border-top: 4px solid var(--color-brand);
  border-radius: var(--radius-md); /* 10px */
  box-shadow: 0 1px 1.5px rgba(0 0 0 / 0.1), 0 1px 1px rgba(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  gap: 3.75rem; /* 60px */
}

/* Title badge */
.consultation__title {
  position: absolute;
  top: -1.75rem; /* -28px: カード上端にはみ出し */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-brand);
  border-radius: var(--radius-md);
  padding: 1.25rem 3.125rem; /* 20px 50px */
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.333; /* 32/24 */
  color: var(--color-white);
  white-space: nowrap;
  box-shadow: 0 4px 3px rgba(0 0 0 / 0.1), 0 2px 2px rgba(0 0 0 / 0.1);
}

/* List */
.consultation__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.consultation__item {
  display: flex;
  align-items: center;
  gap: 0.9375rem; /* 15px */
  padding-block: 1.875rem; /* 30px */
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 2.25rem; /* 36px */
  color: var(--color-ink);
  border-bottom: 1px solid rgb(var(--color-neutral-mid-rgb) / 0.2);
}

.consultation__item:first-child {
  padding-block-start: 0;
}

.consultation__item:last-child {
  padding-block-end: 0;
  border-bottom: none;
}

/* Check icon — CSS で描画 */
.consultation__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; /* 20px */
  height: 1.25rem;
  border: 1.5px solid var(--color-brand-mid);
  border-radius: 50%;
}

.consultation__check::after {
  content: '';
  display: block;
  width: 0.3125rem; /* 5px */
  height: 0.5625rem; /* 9px */
  border-right: 1.5px solid var(--color-brand-mid);
  border-bottom: 1.5px solid var(--color-brand-mid);
  transform: rotate(45deg) translate(-1px, -1px);
}

/* CTA box */
.consultation__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem; /* 10px */
  padding-block: 1.5625rem; /* 25px */
  background-color: var(--color-bg-light); /* #F8FAFB */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md); /* 10px */
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.333; /* 32/24 */
  color: var(--color-brand);
}


@media (max-width: 768px) {
  .consultation__inner {
    padding-inline: var(--space-4);
    padding-block: 2.5rem;
    gap: 1.875rem;
  }

  .consultation__title {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-5);
  }

  .consultation__item {
    padding-block: 0.625rem;
    font-size: var(--text-base);
    line-height: 2;
  }

  .consultation__cta {
    font-size: 1.1rem;
    padding-block: 0.9375rem;
  }
}


/* ============================================================
   Origin
   ============================================================ */

/* グラデーション角丸ボックス */
.origin__inner {
  background: linear-gradient(to bottom, #1a4a7a 0%, var(--color-brand-deep) 100%);
  border-radius: 1.875rem; /* 30px */
  overflow: hidden;
  padding: 3.125rem; /* 50px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.125rem; /* 50px */
}

/* ヘッダーエリア */
.origin__header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.125rem; /* 50px */
  width: 100%;
}

/* 装飾植物画像（右側絶対配置） */
.origin__deco-plant {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 2.5rem; /* 40px */
  width: 12.5rem; /* 200px */
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* タイトルブロック */
.origin__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem; /* 30px */
}

/* リーフアイコン + 英語サブタイトル（縦並び） */
.origin__head-en {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4375rem; /* 7px */
}

.origin__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-sm); /* 14px */
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.origin__heading {
  font-size: var(--text-display); /* 30→50px */
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* リード文 */
.origin__lead {
  font-size: 1.25rem; /* 20px */
  font-weight: 400;
  line-height: 2;
  color: var(--color-white);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* カードリスト */
.origin__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 1.875rem; /* 30px */
  width: 100%;
}

/* カード */
.origin__item {
  position: relative;
  flex: 1;
  background-color: var(--color-white);
  border-inline-start: 5px solid var(--color-brand-light);
  border-radius: var(--radius-xl) 0 var(--radius-xl) 0; /* TL+BR=20px */
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 2.625rem 1.75rem 1.75rem; /* 42px 28px 28px */
}

/* 装飾ナンバー */
.origin__num {
  position: absolute;
  top: -1rem; /* 16px */
  right: 0;
  font-family: var(--font-serif);
  font-size: 8rem; /* 128px */
  font-weight: 900;
  line-height: 1;
  color: rgb(var(--_color-brand-700-rgb) / 0.05);
  z-index: 0;
}

/* カード本文ラッパー */
.origin__item-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.875rem; /* 30px */
}

/* カード内タイトル */
.origin__item-title {
  display: flex;
  flex-direction: column;
  gap: 0.875rem; /* 14px */
}

.origin__item-en {
  font-family: var(--font-serif);
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.333; /* 32/24 */
  color: var(--color-brand);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.origin__item-ja {
  font-size: var(--text-base); /* 16px */
  font-weight: 700;
  letter-spacing: 0.04375em;
  color: var(--color-brand-mid);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.origin__item-desc {
  font-size: var(--text-base); /* 16px */
  font-weight: 400;
  line-height: 2;
  color: var(--color-ink);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* 下部フロストガラスボックス */
.origin__three {
  width: 100%;
  background-color: rgb(var(--color-white-rgb) / 0.05);
  border: 1px solid rgb(var(--color-white-rgb) / 0.1);
  border-radius: var(--radius-md); /* 10px */
  padding: 2rem; /* 32px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* 16px */
}

.origin__three-heading {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

.origin__three-body {
  font-size: var(--text-base); /* 16px */
  font-weight: 500;
  line-height: 1.625;
  color: var(--color-brand-light);
  text-align: center;
}


@media (max-width: 768px) {
  .origin__deco-plant {
    display: none;
  }

  .origin__inner {
    padding: var(--space-5);
    gap: 1.875rem;
  }

  .origin__header {
    gap: var(--space-6);
  }

  .origin__lead {
    font-size: var(--text-base);
  }

  .origin__items {
    flex-direction: column;
  }

  .origin__three {
    padding: 1rem;
  }

  .origin__three-heading {
    white-space: normal;
    line-height: 1.5;
  }
}


/* ============================================================
   CTA Bottom
   ============================================================ */
.cta-bottom {
  background-color: rgb(229 229 229 / 0.5);
  padding-block: var(--space-section); /* 50→100px */
}

/* White card（.container の max-width を上書き） */
.cta-bottom__inner {
  max-width: 55.625rem; /* 890px */
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding-block: 2.5rem; /* 40px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem; /* 30px */
}

/* タイトルブロック */
.cta-bottom__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem; /* 30px */
}

.cta-bottom__heading {
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  line-height: 1.2; /* 36/30 */
  color: var(--color-brand);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.cta-bottom__sub {
  font-size: var(--text-base); /* 16px */
  font-weight: 400;
  line-height: 1.5; /* 24/16 */
  color: var(--color-ink);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ボタン群 */
.cta-bottom__bnrs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem; /* 20px */
}

.cta-bottom__sub-bnrs {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
}


@media (max-width: 768px) {
  .cta-bottom__inner {
    padding-block: 1.875rem;
    padding-inline: 1.875rem;
  }

  .cta-bottom__heading {
    font-size: var(--text-2xl);
  }
}


/* ============================================================
   Promises
   ============================================================ */
.promises {
  background-color: var(--color-bg-light); /* #F8FAFB */
}

/* タイトルブロック */
.promises .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem; /* 30px */
  margin-block-end: 3.125rem; /* 50px: タイトル→リスト間 */
}

.promises .section-head__ja {
  font-size: 1.875rem; /* 30px: Figma 指定 */
  font-weight: 700;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.promises__lead {
  font-size: var(--text-base); /* 16px */
  font-weight: 400;
  line-height: 1.5; /* 24/16 */
  color: var(--color-ink);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* アイテムリスト */
.promises__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
  max-width: 55.625rem; /* 890px */
  margin-inline: auto;
}

/* カード */
.promises__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5625rem; /* 25px */
  padding: 1.9375rem; /* 31px */
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 1.5px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.1);
}

/* アイコン円 */
.promises__icon {
}

/* テキストブロック */
.promises__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
}

.promises__heading {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  line-height: 1.4; /* 28/20 */
  color: var(--color-brand-mid);
}

.promises__text {
  font-size: var(--text-base); /* 16px */
  font-weight: 500;
  line-height: 1.625; /* 26/16 */
  color: var(--color-neutral-mid);
}


@media (max-width: 768px) {
  .promises .section-head {
    margin-block-end: 1.875rem;
  }

  .promises .section-head__ja {
    font-size: var(--text-2xl);
  }

  .promises__item {
    padding: var(--space-4);
  }
}


/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  background-color: var(--color-brand);
  border-top: 4px solid var(--color-brand-mid);
  padding-block: 3.125rem; /* 50px */
}

/* Info + Map 横並び */
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 12.3125rem; /* 197px: Figma 指定 */
  margin-block-end: 5rem; /* 80px: copyright border までの間隔 */
}

/* 左カラム: クリニック情報 */
.site-footer__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.875rem; /* 30px */
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  line-height: 1.2; /* 36/30 */
  letter-spacing: 0.05em; /* 1.5px / 30px */
  color: var(--color-white);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* 基本情報リスト */
.site-footer__dl {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.site-footer__row {
  display: flex;
  align-items: flex-start;
}

.site-footer__row dt {
  flex-shrink: 0;
  width: 6rem; /* 96px */
  font-size: var(--text-base); /* 16px */
  font-weight: 700;
  line-height: 1.5; /* 24/16 */
  color: var(--color-brand-light);
}

.site-footer__row dd {
  font-size: var(--text-base); /* 16px */
  font-weight: 500;
  line-height: 1.5; /* 24/16 */
  color: var(--color-white);
}

.site-footer__row dd a:hover {
  text-decoration: underline;
}

/* 右カラム: Google Map */
.site-footer__map {
  flex-shrink: 0;
}

.site-footer__map iframe {
  display: block;
  border: 0;
}

/* コピーライト */
.site-footer__copy {
  border-top: 1px solid var(--color-brand-light);
  padding-block-start: 1.875rem; /* 30px */
  text-align: center;
}

.site-footer__copy small {
  font-size: var(--text-sm); /* 14px */
  font-weight: 400;
  line-height: 1.43; /* 20/14 */
  color: var(--color-brand-light);
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    gap: var(--space-7);
    margin-block-end: var(--space-7);
  }

  .site-footer__map {
    width: 100%;
  }

  .site-footer__map iframe {
    width: 100%;
    height: 12.5rem;
  }
}
