@charset "UTF-8";

/* ============================
   CSS Variables（色・余白・角丸）
   ============================ */
:root {
  /* カラー：白ベース + 淡いベージュ / グリーン / イエロー */
  --color-bg:           #ffffff;
  --color-bg-soft:      #faf7f1; /* 淡いベージュ */
  --color-bg-green:     #f1f7f1; /* 淡いグリーン */
  --color-bg-yellow:    #fff9e9; /* 淡いイエロー */

  --color-text:         #333a36;
  --color-text-soft:    #5b6660;
  --color-text-mute:    #8a9089;

  --color-border:       #e8e3d8;
  --color-line:         #ece9e0;

  /* アクセント：やわらかいグリーン */
  --color-accent:       #6fae8a;
  --color-accent-dark:  #58997a;
  --color-accent-soft:  #e1efe4;

  /* サブアクセント：あたたかいベージュ */
  --color-warm:         #e9c98a;

  /* 余白 */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* 影 */
  --shadow-sm: 0 2px 6px rgba(80, 90, 80, 0.06);
  --shadow-md: 0 6px 20px rgba(80, 90, 80, 0.08);

  /* フォント */
  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* レイアウト */
  --container-max: 1080px;
}

/* ============================
   Reset / Base
   ============================ */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.pc-only { display: none; }
.sp-only { display: inline; }

/* ============================
   ボタン
   ============================ */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: 1.5px solid transparent;
  min-width: 200px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: #ffffff;
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}
.btn--secondary:hover {
  background-color: var(--color-accent-soft);
}

.btn--small {
  padding: 10px 18px;
  font-size: 13px;
  min-width: 0;
}

.btn--large {
  padding: 18px 34px;
  font-size: 16px;
  min-width: 260px;
}

/* ============================
   セクション共通
   ============================ */
.section {
  padding: var(--space-xl) 0;
}
.section--soft {
  background-color: var(--color-bg-soft);
}

.section__title {
  font-size: 22px;
  text-align: center;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.section__title--left {
  text-align: left;
}

.section__lead {
  text-align: center;
  color: var(--color-text-soft);
  font-size: 14.5px;
  margin-bottom: var(--space-lg);
}

/* ============================
   1. ヘッダー
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 16px;
}

.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.header__note {
  font-size: 11px;
  color: var(--color-text-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__cta {
  white-space: nowrap;
}

/* スマホでは「内覧会情報」サブボタンは非表示にして予約のみ表示 */
.header__cta--sub {
  display: none;
}

@media (min-width: 768px) {
  .header__cta--sub {
    display: inline-block;
  }
}

/* CTAボタンを縦並びにする際の幅調整 */
.cta__buttons {
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================
   2. ファーストビュー
   ============================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/clinic01.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(1.02);
}

/* ベージュ系の半透明オーバーレイで柔らかく */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.85) 0%, rgba(241, 247, 241, 0.78) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 20px;
}

.hero__label {
  display: inline-block;
  background-color: #ffffff;
  color: var(--color-accent-dark);
  border: 1.5px solid var(--color-accent-soft);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: 26px;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__sub {
  font-size: 14.5px;
  line-height: 2;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.hero__event {
  display: inline-block;
  background-color: var(--color-bg-yellow);
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* ============================
   3. 開業・内覧会のお知らせ
   ============================ */
.news__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.info-card--accent {
  background-color: var(--color-bg-yellow);
  border-color: #f3e7c2;
}

.info-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-dark);
  background-color: var(--color-accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.info-card--accent .info-card__label {
  color: #a37b1f;
  background-color: #f7ecc7;
}

.info-card__date {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.info-card__day {
  font-size: 14px;
  font-weight: 500;
  margin-left: 2px;
  color: var(--color-text-soft);
}

.info-card__sub {
  font-size: 13px;
  color: var(--color-text-soft);
}

.info-card__address {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================
   4. 当院が大切にしていること
   ============================ */
.values__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.value-card {
  background-color: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card__title {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.value-card__text {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.9;
  text-align: left;
}

/* ============================
   5. 院長あいさつ
   ============================ */
.doctor__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.doctor__photo-wrap {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-bg-soft);
  box-shadow: var(--shadow-md);
  border: 6px solid #ffffff;
}

.doctor__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor__body {
  width: 100%;
}

.doctor__eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-align: center;
}

.doctor__text {
  font-size: 14.5px;
  color: var(--color-text-soft);
  margin-top: 16px;
  line-height: 2;
}

.doctor__text--quote {
  background-color: var(--color-bg-green);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

/* ============================
   6. 当院の特徴
   ============================ */
.features__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.feature-card__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background-color: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.feature-card__title {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.feature-card__text {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.9;
}

/* ============================
   7. 院内空間
   ============================ */
.interior__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.interior__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-bg-soft);
}

.interior__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ============================
   8. 開業情報
   ============================ */
.info-table {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table__row {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-line);
}

.info-table__row:last-child {
  border-bottom: none;
}

.info-table__term {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.info-table__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================
   9. 最後のCTA
   ============================ */
.cta {
  background:
    radial-gradient(ellipse at top, var(--color-accent-soft) 0%, var(--color-bg-soft) 70%);
}

.cta__inner {
  text-align: center;
}

.cta__text {
  font-size: 14.5px;
  color: var(--color-text-soft);
  line-height: 2;
  margin-bottom: 24px;
}

.cta__date {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: inline-block;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.cta__date-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.cta__date-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.cta__buttons {
  display: flex;
  justify-content: center;
}

/* ============================
   10. フッター
   ============================ */
.footer {
  background-color: var(--color-text);
  color: #ffffff;
  padding: 36px 0 28px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer__address,
.footer__note {
  font-size: 13px;
  color: #d4d8d5;
  line-height: 1.7;
}

.footer__copy {
  font-size: 11px;
  color: #9aa19c;
  margin-top: 18px;
  letter-spacing: 0.05em;
}

/* ============================
   レスポンシブ：タブレット以上
   ============================ */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .pc-only { display: inline; }
  .sp-only { display: none; }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: var(--space-md);
  }

  .section__lead {
    font-size: 15.5px;
  }

  /* ヘッダー */
  .header__name {
    font-size: 17px;
  }
  .header__note {
    font-size: 12px;
  }

  /* ヒーロー */
  .hero {
    min-height: 620px;
  }
  .hero__inner {
    padding: 120px 40px;
  }
  .hero__title {
    font-size: 38px;
    line-height: 1.55;
  }
  .hero__sub {
    font-size: 15.5px;
    max-width: 640px;
  }
  .hero__cta {
    flex-direction: row;
    gap: 16px;
  }

  /* お知らせカード */
  .news__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* 大切にしていること */
  .values__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .value-card {
    padding: 36px 28px;
  }

  /* 院長 */
  .doctor__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }
  .doctor__photo-wrap {
    width: 240px;
    height: 240px;
  }
  .doctor__eyebrow {
    text-align: left;
  }
  .section__title--left {
    font-size: 26px;
  }

  /* 特徴 */
  .features__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .feature-card {
    padding: 36px 28px;
  }

  /* 院内 */
  .interior__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .interior__item img {
    height: 280px;
  }
  .interior__item--wide {
    grid-column: 1 / -1;
  }
  .interior__item--wide img {
    height: 340px;
  }

  /* 開業情報 */
  .info-table__row {
    flex-direction: row;
    align-items: flex-start;
    padding: 22px 28px;
  }
  .info-table__term {
    flex: 0 0 140px;
    margin-bottom: 0;
    padding-top: 2px;
    font-size: 13px;
  }
  .info-table__desc {
    flex: 1;
    font-size: 15.5px;
  }

  /* CTA */
  .cta__text {
    font-size: 15.5px;
  }
  .cta__date-value {
    font-size: 18px;
  }
}

/* ============================
   レスポンシブ：PC
   ============================ */
@media (min-width: 1024px) {
  .hero__title {
    font-size: 42px;
  }
}
