/* TCDの固定ページ幅を実質無視して全面化 */
body.page .post_content,
body.page .entry-content,
body.page .page_content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* 自作コンテンツを画面幅いっぱいに */
.page-original {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =========================
   Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #2d3b35;
  background: #ffffff;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.page-original img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

section {
  position: relative;
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3ece7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #215c45;
  letter-spacing: 0.04em;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-size: 0.96rem;
  color: #4d5f57;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #2f8f68;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 49, 36, 0.78) 0%, rgba(17, 49, 36, 0.58) 40%, rgba(17, 49, 36, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 100px 0;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #bfe8d4;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-text {
  max-width: 760px;
  margin: 0;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.95);
}

/* =========================
   Section common
========================= */
.section-label {
  margin: 0 0 14px;
  color: #2f8f68;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-label.white {
  color: #d9f3e7;
}

.section-intro {
  text-align: center;
  padding: 88px 0 52px;
}

.section-intro h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.45;
  color: #214f3d;
}

.section-intro p:last-child {
  max-width: 780px;
  margin: 0 auto;
  color: #50615a;
  font-size: 1rem;
}

/* =========================
   Lead
========================= */
.lead-section {
  background: #ffffff;
}

/* =========================
   Feature Sections
========================= */
.feature-section {
  padding: 40px 0 96px;
}

.alt-bg {
  background: #f7fbf9;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-grid.reverse .feature-image {
  order: 2;
}

.feature-grid.reverse .feature-content {
  order: 1;
}

.feature-image {
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(35, 84, 61, 0.12);
}

.feature-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.feature-content {
  padding-right: 8px;
}

.feature-number {
  margin: 0 0 14px;
  color: #2f8f68;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feature-content h2 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.45;
  color: #214f3d;
}

.feature-content p {
  margin: 0 0 16px;
  color: #4e6058;
  font-size: 1rem;
}

.annotation {
  color: #72827b;
  font-size: 0.92rem;
}

/* =========================
   Highlight band
========================= */
.highlight-band {
  padding: 0 0 96px;
  background: #ffffff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.highlight-card {
  background: linear-gradient(135deg, #2e8662, #3fa276);
  color: #ffffff;
  padding: 34px 28px;
  box-shadow: 0 18px 34px rgba(41, 112, 81, 0.12);
}

.highlight-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.highlight-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.highlight-value.small {
  font-size: 1.34rem;
}

/* =========================
   Doctor section
========================= */
.doctor-section {
  padding: 96px 0;
  background: #f7fbf9;
}

.doctor-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}

.doctor-photo {
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(35, 84, 61, 0.14);
}

.doctor-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.doctor-content h2 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.45;
  color: #214f3d;
}

.doctor-content p {
  margin: 0 0 16px;
  color: #4d5f57;
}

.book-note {
  color: #2f8f68;
  font-weight: 700;
}

/* =========================
   CTA
========================= */
.cta-section {
  padding: 96px 0 110px;
  background: #ffffff;
}

.cta-box {
  text-align: center;
  padding: 70px 30px;
  background:
    linear-gradient(135deg, rgba(31, 86, 63, 0.96), rgba(57, 141, 103, 0.96)),
    url("img/cta-bg.jpg") center / cover no-repeat;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(37, 98, 71, 0.15);
}

.cta-box h2 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.45;
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.95);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 26px;
  background: #ffffff;
  color: #215c45;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
  .feature-grid,
  .doctor-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-grid.reverse .feature-image,
  .feature-grid.reverse .feature-content {
    order: initial;
  }

  .feature-image img,
  .doctor-photo img {
    height: 420px;
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    padding: 72px 0 44px;
  }

  .feature-section,
  .doctor-section,
  .cta-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .site-logo {
    font-size: 1rem;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .section-intro h2,
  .feature-content h2,
  .doctor-content h2,
  .cta-box h2 {
    font-size: 1.55rem;
  }

  .feature-image img,
  .doctor-photo img {
    height: 300px;
  }

  .cta-box {
    padding: 48px 20px;
  }
}