@charset "UTF-8";
/* ========================================
   リセットCSS & 基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  line-height: 1.75;
  color: #2c3e50;
  font-size: 16px;
  background: #fafbfc;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   ヘッダー（階層メニュー対応）
======================================== */
/* ========================================
   ヘッダー（階層メニュー対応）- 修正版
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.02);
}

.custom-logo-link img {
  height: 48px;
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2.5px;
  background: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ナビゲーション */
.nav-list {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > .menu-item {
  position: relative;
}

.nav-list > .menu-item > a {
  font-size: 14.5px;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.02em;
  position: relative;
  padding: 10px 16px;
  display: block;
  transition: color 0.3s ease;
}

.nav-list > .menu-item > a:hover {
  color: #00a876;
}

/* サブメニュートグルボタン */
.submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2c3e50;
  transition: all 0.3s ease;
  display: none;
}

.submenu-toggle svg {
  width: 10px;
  height: 6px;
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.submenu-toggle.active svg,
.menu-item-has-children.active > .submenu-toggle svg {
  transform: rotate(180deg);
}

/* サブメニュー */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  z-index: 100;
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.sub-menu li {
  margin: 0;
}

.sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  transition: all 0.3s ease;
  position: relative;
}

.sub-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #00a876;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sub-menu li a:hover {
  background: rgba(0, 168, 118, 0.05);
  color: #00a876;
  padding-left: 24px;
}

.sub-menu li a:hover::before {
  opacity: 1;
}

/* ホバー時にサブメニューを表示（デスクトップのみ） */
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 1000px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease-out;
  }
  .nav.active {
    max-height: calc(100vh - 80px);
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: stretch;
  }
  .nav-list > .menu-item {
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-list > .menu-item:last-child {
    border-bottom: none;
  }
  .nav-list > .menu-item > a {
    padding: 16px 24px;
    font-size: 15px;
    padding-right: 60px; /* トグルボタンのスペースを確保 */
  }
  /* サブメニュートグルボタン（モバイル表示） */
  .submenu-toggle {
    display: block;
    right: 16px;
    padding: 16px;
    position: absolute;
    top: 0;
    transform: none;
    height: 100%;
  }
  /* サブメニュー（モバイル） */
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .sub-menu::before {
    display: none;
  }
  .sub-menu li a {
    padding: 12px 24px 12px 40px;
    font-size: 13.5px;
  }
  .sub-menu li a:hover {
    background: rgba(0, 168, 118, 0.08);
    padding-left: 44px;
  }
  /* アクティブ時にサブメニューを表示 */
  .menu-item-has-children.active > .sub-menu {
    max-height: 500px;
  }
  /* ホバーエフェクトを無効化（モバイル） */
  .menu-item-has-children:hover > .sub-menu {
    max-height: 0;
    opacity: 1;
    visibility: visible;
  }
  .menu-item-has-children.active:hover > .sub-menu {
    max-height: 500px;
  }
}
@media (max-width: 768px) {
  .nav {
    top: 70px;
  }
}
/* ========================================
   メインビジュアル
======================================== */
.hero {
  margin-top: 80px;
  padding: 30px 0 60px;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f8f9 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  display: flex;
  gap: 80px;
  align-items: center;
}

.hero-left {
  flex: 1;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.45;
  color: #1a2530;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.hero-illustration {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-right {
  flex: 0 0 400px;
}

/* 健診コースメニュー */
.course-menu {
  background: linear-gradient(135deg, #ffffff 0%, #f0faf7 100%);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 168, 118, 0.08), 0 0 0 1px rgba(0, 168, 118, 0.04);
}

.course-menu-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: #1a2530;
  letter-spacing: 0.02em;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.course-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 168, 118, 0.08);
  position: relative;
  overflow: hidden;
}
.course-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 168, 118, 0.03) 0%, rgba(0, 200, 150, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.course-item:hover::before {
  opacity: 1;
}
.course-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 168, 118, 0.15);
  border-color: rgba(0, 168, 118, 0.2);
}

.course-item-wide {
  grid-column: 1/-1;
}

.course-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.course-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.course-name {
  font-size: 15px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.course-sub {
  font-size: 12px;
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-weight: 500;
}

/* ============================================
   背景アニメーション用CSS
   既存のstyle.cssに追加してください
   ============================================ */
/* ヒーローセクションの基本設定を調整 */
.hero {
  position: relative;
  overflow: hidden; /* アニメーションがはみ出さないように */
}

/* 背景アニメーションのコンテナ */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* クリックを透過 */
  z-index: 1; /* コンテンツより後ろ */
}

/* hero-containerをアニメーションより前に */
.hero-container {
  position: relative;
  z-index: 10;
}

/* ============================================
   1. 斜め線アニメーション
   ============================================ */
.diagonal-lines {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
}

.diagonal-line {
  position: absolute;
  width: 2px;
  height: 300%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 168, 118, 0.1) 50%, transparent 100%);
  transform: rotate(-45deg);
  animation: diagonalSlide 20s linear infinite;
}

.diagonal-line:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.diagonal-line:nth-child(2) {
  left: 25%;
  animation-delay: 4s;
}

.diagonal-line:nth-child(3) {
  left: 40%;
  animation-delay: 8s;
}

.diagonal-line:nth-child(4) {
  left: 55%;
  animation-delay: 12s;
}

.diagonal-line:nth-child(5) {
  left: 70%;
  animation-delay: 16s;
}

.diagonal-line:nth-child(6) {
  left: 85%;
  animation-delay: 2s;
}

@keyframes diagonalSlide {
  0% {
    transform: rotate(-45deg) translateX(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translateX(100%);
    opacity: 0;
  }
}
/* ============================================
   2. 浮遊する円
   ============================================ */
.floating-circles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 168, 118, 0.15), rgba(0, 168, 118, 0.05));
  animation: float 15s ease-in-out infinite;
}

.circle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.circle:nth-child(2) {
  width: 120px;
  height: 120px;
  right: 15%;
  top: 40%;
  animation-delay: 2s;
  animation-duration: 15s;
}

.circle:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 30%;
  bottom: 25%;
  animation-delay: 4s;
  animation-duration: 13s;
}

.circle:nth-child(4) {
  width: 100px;
  height: 100px;
  right: 25%;
  bottom: 15%;
  animation-delay: 1s;
  animation-duration: 14s;
}

.circle:nth-child(5) {
  width: 70px;
  height: 70px;
  left: 50%;
  top: 15%;
  animation-delay: 3s;
  animation-duration: 16s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, -80px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, -40px) scale(1.05);
    opacity: 0.6;
  }
}
/* ============================================
   3. 脈動する点
   ============================================ */
.pulse-dots {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 168, 118, 0.4);
  animation: pulse 3s ease-in-out infinite;
}

.dot:nth-child(1) {
  left: 15%;
  top: 30%;
  animation-delay: 0s;
}

.dot:nth-child(2) {
  right: 20%;
  top: 25%;
  animation-delay: 0.5s;
}

.dot:nth-child(3) {
  left: 40%;
  bottom: 30%;
  animation-delay: 1s;
}

.dot:nth-child(4) {
  right: 35%;
  bottom: 40%;
  animation-delay: 1.5s;
}

.dot:nth-child(5) {
  left: 60%;
  top: 45%;
  animation-delay: 0.8s;
}

.dot:nth-child(6) {
  right: 45%;
  top: 60%;
  animation-delay: 1.2s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.8;
  }
}
/* ============================================
   4. 波紋エフェクト
   ============================================ */
.ripples {
  position: absolute;
  width: 100%;
  height: 100%;
}

.ripple {
  position: absolute;
  border: 2px solid rgba(0, 168, 118, 0.2);
  border-radius: 50%;
  animation: ripple 8s ease-out infinite;
}

.ripple:nth-child(1) {
  width: 200px;
  height: 200px;
  left: 20%;
  top: 50%;
  animation-delay: 0s;
}

.ripple:nth-child(2) {
  width: 300px;
  height: 300px;
  right: 15%;
  top: 30%;
  animation-delay: 2s;
}

.ripple:nth-child(3) {
  width: 250px;
  height: 250px;
  left: 50%;
  bottom: 20%;
  animation-delay: 4s;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}
/* ============================================
   レスポンシブ調整
   ============================================ */
@media (max-width: 768px) {
  /* スマホでは円を少し小さく */
  .circle:nth-child(1) {
    width: 60px;
    height: 60px;
  }
  .circle:nth-child(2) {
    width: 90px;
    height: 90px;
  }
  .circle:nth-child(3) {
    width: 50px;
    height: 50px;
  }
  .circle:nth-child(4) {
    width: 80px;
    height: 80px;
  }
  .circle:nth-child(5) {
    width: 55px;
    height: 55px;
  }
  /* 波紋も少し小さく */
  .ripple:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  .ripple:nth-child(2) {
    width: 200px;
    height: 200px;
  }
  .ripple:nth-child(3) {
    width: 180px;
    height: 180px;
  }
}
/* ============================================
   パフォーマンス最適化
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  /* アニメーションを減らすユーザー設定に対応 */
  .diagonal-line,
  .circle,
  .dot,
  .ripple {
    animation: none;
    opacity: 0.2;
  }
}
/* ========================================
   セクション共通
======================================== */
.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 48px;
  color: #1a2530;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00a876 0%, #00c896 100%);
  border-radius: 2px;
}

.section-title-with-border {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 48px;
  color: #1a2530;
  letter-spacing: -0.01em;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}
.section-title-with-border::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00a876 0%, #00c896 100%);
  border-radius: 2px;
}

.group-guide {
  padding: 100px 0;
}

/* ========================================
   健診のご案内
======================================== */
.checkup-guide {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-item {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 168, 118, 0.06);
  position: relative;
  overflow: hidden;
}
.guide-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 168, 118, 0.02) 0%, rgba(0, 200, 150, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.guide-item:hover::before {
  opacity: 1;
}
.guide-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 168, 118, 0.12);
  border-color: rgba(0, 168, 118, 0.15);
}

.guide-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.guide-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.guide-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a2530;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.guide-description {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ========================================
   アクセス
======================================== */
.access {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0faf7 0%, #e8f5f1 100%);
}

.access-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.access-info {
  flex: 1;
}

.access-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a2530;
  letter-spacing: 0.01em;
}

.access-address {
  font-size: 15px;
  margin-bottom: 24px;
  color: #64748b;
  line-height: 1.75;
}

.access-contact {
  font-size: 15px;
  margin-bottom: 32px;
  color: #64748b;
  line-height: 1.75;
}
.access-contact p {
  margin-bottom: 6px;
}

.access-hours h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a2530;
  letter-spacing: 0.01em;
}
.access-hours p {
  font-size: 14px;
  line-height: 1.85;
  color: #64748b;
}

.access-map {
  flex: 1;
}

.map-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #94a3b8;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.map-placeholder iframe {
  border-radius: 20px;
}

/* ========================================
   お知らせ
======================================== */
.news {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
}

.news-list {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-item {
  display: flex;
  align-items: center;
  padding: 24px 36px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00a876 0%, #00c896 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news-item:hover::before {
  opacity: 1;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item:hover {
  background: linear-gradient(90deg, rgba(0, 168, 118, 0.02) 0%, transparent 100%);
}

.news-date {
  flex: 0 0 130px;
  font-size: 14.5px;
  color: #00a876;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.news-link {
  flex: 1;
  font-size: 15px;
  color: #2c3e50;
  line-height: 1.7;
  font-weight: 500;
}

.news-more {
  text-align: center;
  margin-top: 48px;
}

.news-more-link {
  display: inline-block;
  padding: 16px 56px;
  background: #fff;
  border: 2px solid #00a876;
  color: #00a876;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 168, 118, 0.1);
  text-decoration: none !important;
}
.news-more-link:hover {
  background: #00a876;
  color: #fff !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 168, 118, 0.2);
  text-decoration: none !important;
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
  padding: 100px 0;
}

.contact-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  border: 2px solid rgba(0, 168, 118, 0.12);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 168, 118, 0.08);
}

.contact-text {
  font-size: 16px;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-button {
  display: inline-block;
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 72px;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(0, 168, 118, 0.3);
}
.contact-button:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 12px 36px rgba(0, 168, 118, 0.4);
}

/* ========================================
   フッター
======================================== */
.footer {
  background: linear-gradient(135deg, #00a876 0%, #008c63 100%);
  color: #fff;
  padding: 64px 0 36px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  margin-bottom: 28px;
}
.footer-logo img {
  height: 48px;
}

.footer-address {
  font-size: 14.5px;
  line-height: 1.85;
  opacity: 0.95;
}
.footer-address p {
  margin-bottom: 6px;
}

.footer-contact {
  margin-top: 18px;
}
.footer-contact p {
  margin-bottom: 4px;
}

.footer-nav {
  display: flex;
  gap: 72px;
}

.footer-nav-column ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav-column a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-weight: 500;
}
.footer-nav-column a:hover {
  color: #fff;
  opacity: 1;
  transform: translateX(4px);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1000px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .nav.active {
    max-height: 400px;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
  }
  .nav-list li {
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-list li:last-child {
    border-bottom: none;
  }
  .nav-list a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
  }
  .nav-list a::after {
    display: none;
  }
}
@media (max-width: 1024px) {
  .hero-content {
    gap: 48px;
    flex-direction: column;
  }
  .hero-right {
    flex: 0 0 380px;
    width: 100%;
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    margin-top: 80px;
    padding: 56px 0 72px;
  }
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }
  .hero-right {
    flex: 1;
    width: 100%;
  }
  .hero-title {
    font-size: 32px;
  }
  .section-title,
  .section-title-with-border {
    font-size: 26px;
    margin-bottom: 36px;
  }
  .checkup-guide,
  .access,
  .news,
  .contact {
    padding: 72px 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .access-content {
    flex-direction: column;
    gap: 40px;
  }
  .contact-box {
    padding: 48px 32px;
  }
  .footer-container {
    flex-direction: column;
    gap: 48px;
  }
  .footer-nav {
    gap: 48px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .course-menu {
    padding: 28px 20px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .section-title,
  .section-title-with-border {
    font-size: 24px;
  }
  .contact-box {
    padding: 40px 24px;
  }
  .contact-button {
    padding: 18px 56px;
    font-size: 16px;
  }
}
/* ========================================
   パンくずリスト
======================================== */
.breadcrumb-wrapper {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-top: 82px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: #64748b;
}
.breadcrumb a {
  color: #64748b;
  transition: color 0.3s;
  font-weight: 500;
}
.breadcrumb a:hover {
  color: #00a876;
  opacity: 1;
}
.breadcrumb .separator {
  margin: 0 10px;
  color: #cbd5e1;
}
.breadcrumb .current {
  color: #00a876;
  font-weight: 700;
}

/* ========================================
   ページヘッダー
======================================== */
.page-header {
  background: linear-gradient(135deg, #e8f5f1 0%, #d4ede5 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.page-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a2530;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.page-subtitle {
  font-size: 14.5px;
  color: #00a876;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

/* ========================================
   レイアウト
======================================== */
.courses-page-new {
  background: #fafbfc;
  min-height: 100vh;
}

.courses-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 56px 0 100px;
}

/* ========================================
   サイドバー
======================================== */
.courses-sidebar {
  position: sticky;
  top: 100px;
  height: -moz-fit-content;
  height: fit-content;
}

.sidebar-toggle {
  display: none;
  width: 100%;
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 168, 118, 0.25);
  transition: all 0.3s;
  margin-bottom: 12px;
}
.sidebar-toggle:hover {
  box-shadow: 0 6px 24px rgba(0, 168, 118, 0.35);
  transform: translateY(-1px);
}
.sidebar-toggle.is-active {
  border-radius: 16px 16px 0 0;
}

.toggle-icon {
  font-size: 16px;
}

.toggle-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.sidebar-toggle.is-active .toggle-arrow {
  transform: rotate(180deg);
}

.side-menu {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 8px 0;
}

.side-menu-item {
  display: block;
  padding: 14px 24px;
  color: #64748b;
  font-size: 14.5px;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  letter-spacing: 0.01em;
}
.side-menu-item.h3 {
  padding-left: 40px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
}
.side-menu-item:hover, .side-menu-item.active {
  background: linear-gradient(90deg, rgba(0, 168, 118, 0.05) 0%, transparent 100%);
  color: #00a876;
  border-left-color: #00a876;
  opacity: 1;
}

/* ========================================
   メインコンテンツ
======================================== */
.courses-main {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.page-featured-image {
  margin-bottom: 48px;
  text-align: center;
}
.page-featured-image img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ========================================
   WordPressデフォルトテーブルのリセット
======================================== */
.page-content-body table {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}
.page-content-body table * {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}
.page-content-body {
  line-height: 1.85;
  color: #2c3e50;
}
.page-content-body p {
  margin-bottom: 1.75em;
  font-size: 15.5px;
  color: #475569;
}
.page-content-body h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 64px 0 32px;
  padding-bottom: 18px;
  border-bottom: 3px solid #00a876;
  color: #1a2530;
  letter-spacing: -0.01em;
}
.page-content-body h2:first-child {
  margin-top: 0;
}
.page-content-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 24px;
  color: #1a2530;
  padding-left: 18px;
  border-left: 4px solid #00a876;
  letter-spacing: 0.01em;
}
.page-content-body h4 {
  font-size: 18.5px;
  font-weight: 700;
  margin: 36px 0 18px;
  color: #2c3e50;
}
.page-content-body ul,
.page-content-body ol {
  margin: 24px 0;
  padding-left: 32px;
}
.page-content-body li {
  margin-bottom: 12px;
  line-height: 1.85;
  color: #475569;
}
.page-content-body ul li {
  list-style: disc;
}
.page-content-body ol li {
  list-style: decimal;
}
.page-content-body blockquote {
  background: #f8f9fa;
  border-left: 5px solid #00a876;
  padding: 24px 28px;
  margin: 36px 0;
  font-style: italic;
  color: #64748b;
  border-radius: 8px;
}
.page-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.page-content-body a {
  color: #00a876;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s;
}
.page-content-body a:hover {
  color: #00c896;
}
.page-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.page-content-body table th {
  background: linear-gradient(135deg, #e8f5f1 0%, #d4ede5 100%) !important;
  color: #1a2530 !important;
  font-weight: 700 !important;
  padding: 18px !important;
  text-align: left !important;
  font-size: 14.5px !important;
}
.page-content-body table td {
  padding: 18px !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: 14.5px !important;
}
.page-content-body table tr:nth-child(even) td {
  background: #f8fffe !important;
}
.page-content-body table tbody tr:hover td {
  background: rgba(0, 168, 118, 0.03) !important;
}
.page-content-body table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}
.page-content-body .comparison-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}
.page-content-body table.comparison-table thead,
.page-content-body .comparison-table-wrapper table thead {
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%) !important;
}
.page-content-body table.comparison-table th,
.page-content-body .comparison-table-wrapper table th {
  color: #fff !important;
  font-weight: 700 !important;
  padding: 22px 18px !important;
  text-align: center !important;
  font-size: 15.5px !important;
  border: none !important;
  background: transparent !important;
}
.page-content-body table.comparison-table th.table-header-first,
.page-content-body .comparison-table-wrapper table th.table-header-first {
  background: transparent !important;
}
.page-content-body table.comparison-table tbody tr,
.page-content-body .comparison-table-wrapper table tbody tr {
  border-bottom: 1px solid #e8f5f1 !important;
  transition: background 0.3s;
}
.page-content-body table.comparison-table tbody tr:hover,
.page-content-body .comparison-table-wrapper table tbody tr:hover,
.page-content-body table.comparison-table tbody tr:hover td,
.page-content-body .comparison-table-wrapper table tbody tr:hover td {
  background: rgba(0, 168, 118, 0.02) !important;
}
.page-content-body table.comparison-table tbody tr:last-child,
.page-content-body .comparison-table-wrapper table tbody tr:last-child {
  border-bottom: none !important;
}
.page-content-body table.comparison-table td,
.page-content-body .comparison-table-wrapper table td {
  padding: 20px 18px !important;
  text-align: center !important;
  border: none !important;
  background: #fff !important;
}
.page-content-body table.comparison-table td.item-name,
.page-content-body .comparison-table-wrapper table td.item-name {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  text-align: left !important;
  background: #f8f9fa !important;
}
.page-content-body table.comparison-table td.check-cell,
.page-content-body .comparison-table-wrapper table td.check-cell {
  background: #fff !important;
}
.page-content-body table.comparison-table .check-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 168, 118, 0.25);
}
.page-content-body .comparison-table-wrapper table .check-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 168, 118, 0.25);
}
.page-content-body .comparison-table-wrapper {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin: 36px 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.page-content-body .wp-block-button {
  margin: 36px 0;
}
.page-content-body .wp-block-button__link {
  display: inline-block;
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  padding: 18px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 168, 118, 0.3);
}
.page-content-body .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 168, 118, 0.4);
}
.page-content-body .wp-block-image {
  margin: 36px 0;
}
.page-content-body .wp-block-quote {
  background: #f8f9fa;
  border-left: 5px solid #00a876;
  padding: 24px 28px;
  margin: 36px 0;
  border-radius: 8px;
}
.page-content-body .wp-block-columns {
  display: flex;
  gap: 36px;
  margin: 36px 0;
}
.page-content-body .wp-block-column {
  flex: 1;
}
.page-content-body .info-box,
.page-content-body .notice-box,
.page-content-body .warning-box {
  padding: 24px 28px;
  border-radius: 12px;
  margin: 32px 0;
  border-left: 5px solid;
}
.page-content-body .info-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5f9 100%);
  border-left-color: #2196f3;
}
.page-content-body .notice-box {
  background: linear-gradient(135deg, #fff8e6 0%, #fffbf0 100%);
  border-left-color: #ffa500;
}
.page-content-body .warning-box {
  background: linear-gradient(135deg, #ffebee 0%, #fff5f7 100%);
  border-left-color: #f44336;
}

.cards-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  padding-top: 40px;
}
.cards-wrapper .card {
  background: #ffffff;
  border-radius: 20px;
  width: 50%;
  box-shadow: 0 4px 20px rgba(120, 160, 100, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.5s ease both;
  border: solid 6px rgba(220, 235, 215, 0.92);
}
@media (max-width: 600px) {
  .cards-wrapper {
    flex-direction: column;
  }
  .cards-wrapper .card {
    width: 100%;
  }
}
.cards-wrapper .card:nth-child(2) {
  animation-delay: 0.1s;
}
.cards-wrapper .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 20px rgba(120, 160, 100, 0.15);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cards-wrapper .card-header {
  background: url(/img/course.jpg);
  padding: 32px 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-size: cover;
  height: 240px;
}
.cards-wrapper .icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(44, 123, 45, 0.25);
}
.cards-wrapper .icon-circle img {
  width: 52px;
  height: 52px;
}
.cards-wrapper .card-body {
  padding: 28px 28px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cards-wrapper .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00a876;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-align: center;
}
.cards-wrapper .card-text {
  font-size: 0.875rem;
  line-height: 1.9;
  color: #555;
  flex: 1;
}
.cards-wrapper .card-footer {
  padding: 0px 10px 40px 10px;
  display: flex;
  justify-content: center;
}
.cards-wrapper .btn-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1eb082;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.cards-wrapper .btn-arrow:hover {
  background: #a4e7d3;
  transform: scale(1.1);
}
.cards-wrapper .btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
  padding-top: 40px;
  /* ---- Card ---- */
}
.features-wrapper .feature-card {
  position: relative;
  width: 460px;
  animation: fadeUp 0.6s ease both;
}
.features-wrapper .feature-card:nth-child(2) {
  animation-delay: 0.15s;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.features-wrapper {
  /* Photo sits at top, slight right offset */
}
.features-wrapper .card-photo {
  position: relative;
  z-index: 1;
  margin-left: 30px; /* shifts photo right so text panel peeks left */
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.features-wrapper .card-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.features-wrapper .feature-card:hover .card-photo img {
  transform: scale(1.04);
}
.features-wrapper {
  /* Placeholder gradient when no real image */
  /* Text panel overlaps photo from bottom-left */
}
.features-wrapper .card-panel {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  margin-right: 30px; /* panel extends left of photo */
  background: rgba(220, 235, 215, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 36px 36px 28px 36px;
  box-shadow: 0 4px 20px rgba(120, 160, 100, 0.15);
}
.features-wrapper .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3a5a30;
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-align: center;
}
.features-wrapper .card-text {
  font-size: 0.875rem;
  line-height: 2;
  color: #4a5a40;
  margin-bottom: 28px;
}
.features-wrapper {
  /* Footer: Feature label + View more */
}
.features-wrapper .card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.features-wrapper .feature-label {
  font-family: "Lora", serif;
  font-style: italic;
  color: rgba(80, 110, 60, 0.35);
  line-height: 1;
}
.features-wrapper .feature-label .feature-word {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.features-wrapper .feature-label .feature-num {
  display: block;
  font-size: 2.8rem;
  margin-top: -8px;
}
.features-wrapper .view-more {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #5a7a50;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: gap 0.2s ease, color 0.2s ease;
}
.features-wrapper .view-more:hover {
  gap: 16px;
  color: #3a5a30;
}
.features-wrapper .view-more::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}
.features-wrapper .view-more:hover::before {
  width: 56px;
}

.section-wrapper {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  animation: fadeIn 0.7s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-wrapper {
  /* ---- Photo ---- */
}
.section-wrapper .section-photo {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  z-index: 1;
  margin-right: -60px;
}
.section-wrapper .section-photo img {
  width: 100%;
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.section-wrapper .section-photo:hover img {
  transform: scale(1.04);
}
.section-wrapper {
  /* ---- Content panel overlapping the photo ---- */
}
.section-wrapper .section-content {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 44px 48px 44px 80px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}
.section-wrapper .section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.section-wrapper .section-number {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 400;
  color: #c9a96e;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-wrapper .section-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.18em;
  line-height: 1.5;
}
.section-wrapper .section-subtitle {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.78rem;
  color: #c9a96e;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.section-wrapper .section-divider {
  width: 48px;
  height: 1px;
  background: #c9a96e;
  margin-bottom: 24px;
  opacity: 0.6;
}
.section-wrapper .section-lead {
  font-size: 1rem;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin-bottom: 20px;
}
.section-wrapper .section-body {
  font-size: 0.875rem;
  color: #555;
  line-height: 2.1;
}
.section-wrapper .section-body p + p {
  margin-top: 16px;
}
.section-wrapper {
  /* ============ Tablet (≤900px): stack vertically, content overlaps bottom of photo ============ */
}
@media (max-width: 900px) {
  .section-wrapper {
    grid-template-columns: auto 1fr;
  }
  .section-wrapper .section-photo {
    grid-column: 1;
    grid-row: 1;
    margin-right: 0;
    margin-bottom: -48px;
    border-radius: 12px 12px 0 0;
    z-index: 1;
  }
  .section-wrapper .section-photo img {
    height: 300px;
  }
  .section-wrapper .section-content {
    grid-column: 1;
    grid-row: 2;
    z-index: 2;
    margin: 0 24px;
    padding: 40px 36px;
    border-radius: 12px;
  }
}
.section-wrapper {
  /* ============ Mobile (≤600px) ============ */
}
@media (max-width: 600px) {
  .section-wrapper body {
    padding: 40px 16px;
  }
  .section-wrapper .section-photo img {
    height: 220px;
  }
  .section-wrapper .section-content {
    margin: 0 12px;
    padding: 28px 20px;
  }
  .section-wrapper .section-number {
    font-size: 3rem;
  }
  .section-wrapper .section-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
  .section-wrapper .section-lead {
    font-size: 0.9rem;
  }
  .section-wrapper .section-body {
    font-size: 0.82rem;
  }
}

/* ---- Section ---- */
.counsel-section {
  padding: 100px 0;
  margin: auto;
  position: relative;
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 680px;
  align-items: stretch;
  overflow: hidden;
  animation: fadeIn 0.7s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.counsel-section {
  /* ---- Left content area with stripe background ---- */
}
.counsel-section .counsel-content {
  position: relative;
  padding: 80px 80px 80px 100px;
  /* Diagonal stripe: very light pink */
  z-index: 1;
}
.counsel-section {
  /* Number + Title */
}
.counsel-section .counsel-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
}
.counsel-section .counsel-number {
  font-family: "Playfair Display", serif;
  font-size: 5.5rem;
  font-weight: 400;
  color: #c9956a;
  line-height: 1;
  letter-spacing: -0.02em;
}
.counsel-section .counsel-title {
  font-size: 1.7rem;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.counsel-section {
  /* Body text */
}
.counsel-section .counsel-body {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.1;
  margin-bottom: 44px;
}
.counsel-section .counsel-body p {
  margin-bottom: 4px;
}
.counsel-section {
  /* ---- Right photo ---- */
}
.counsel-section .counsel-photo {
  position: relative;
  overflow: hidden;
}
.counsel-section .counsel-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  min-height: 520px;
  transition: transform 0.6s ease;
}
.counsel-section .counsel-photo:hover img {
  transform: scale(1.03);
}
.counsel-section {
  /* ============ Tablet (≤960px) ============ */
}
@media (max-width: 1200px) {
  .counsel-section .counsel-section {
    grid-template-columns: 1fr 540px;
    grid-template-rows: auto auto;
  }
  .counsel-section .counsel-photo {
    grid-row: 1;
    order: -1;
  }
  .counsel-section .counsel-photo img {
    height: 340px;
    min-height: unset;
  }
  .counsel-section .counsel-content {
    grid-row: 2;
    padding: 60px 48px;
  }
}
.counsel-section {
  /* ============ Mobile (≤600px) ============ */
}
@media (max-width: 600px) {
  .counsel-section .counsel-content {
    padding: 48px 28px;
  }
  .counsel-section .counsel-number {
    font-size: 3.8rem;
  }
  .counsel-section .counsel-title {
    font-size: 1.25rem;
  }
  .counsel-section .counsel-body {
    font-size: 0.85rem;
  }
  .counsel-section .counsel-photo img {
    height: 260px;
  }
}

@media (max-width: 1200px) {
  .counsel-section {
    grid-template-columns: auto;
  }
}
/* CTA Button */
.counsel-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(201, 149, 106, 0.3);
  background: linear-gradient(135deg, #00a876 0%, #00c896 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 72px;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(0, 168, 118, 0.3);
}

.counsel-btn:hover {
  transform: translateX(4px);
}

.counsel-btn-arrow {
  font-size: 0.8rem;
  opacity: 0.85;
}

.follow-up {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0faf7 0%, #e8f5f1 100%);
}

/* ========================================
   WordPress エディタで追加される要素のスタイル
======================================== */
/* 通常のテーブル */
/* カスタムクラス用テーブルスタイル（比較表） */
/* WordPress ブロックエディタのスタイル */
/* カスタムボックス（情報・注意・警告） */
/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  .courses-layout {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .courses-sidebar {
    position: static;
    margin-bottom: 32px;
  }
}
@media (max-width: 768px) {
  .breadcrumb-wrapper {
    margin-top: 80px;
    padding: 12px 0;
  }
  .breadcrumb {
    font-size: 12.5px;
  }
  .page-header {
    padding: 36px 0;
  }
  .page-header::before, .page-header::after {
    width: 100px;
    height: 100px;
  }
  .page-title {
    font-size: 28px;
  }
  .page-subtitle {
    font-size: 13px;
  }
  .courses-layout {
    padding: 36px 0 72px;
  }
  .sidebar-toggle {
    display: flex;
  }
  .side-menu {
    display: none;
    flex-direction: column;
    border-radius: 0 0 16px 16px;
    margin-top: -12px;
    box-shadow: 0 6px 24px rgba(0, 168, 118, 0.2);
  }
  .side-menu.is-open {
    display: flex;
  }
  .side-menu-item {
    white-space: normal;
  }
  .side-menu-item.active {
    border-left-color: #00a876;
  }
  .courses-main {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .page-content-body h2 {
    font-size: 24px;
    margin: 48px 0 24px;
  }
  .page-content-body h3 {
    font-size: 20px;
    margin: 36px 0 18px;
  }
  .page-content-body table {
    font-size: 13.5px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-content-body .wp-block-columns {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .breadcrumb-wrapper {
    margin-top: 70px;
  }
  .page-header {
    padding: 32px 0;
  }
  .page-header::before, .page-header::after {
    display: none;
  }
  .page-title {
    font-size: 24px;
  }
  .page-subtitle {
    font-size: 12.5px;
  }
  .sidebar-toggle {
    padding: 14px 20px;
    font-size: 15px;
  }
  .side-menu-item {
    padding: 12px 18px;
    font-size: 13.5px;
  }
  .side-menu-item.h3 {
    padding-left: 34px;
  }
  .courses-main {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .page-content-body {
    font-size: 14.5px;
  }
  .page-content-body p {
    font-size: 14.5px;
  }
  .page-content-body h2 {
    font-size: 20px;
    margin: 36px 0 18px;
    padding-bottom: 14px;
  }
  .page-content-body h3 {
    font-size: 17px;
    margin: 28px 0 14px;
    padding-left: 14px;
  }
  .page-content-body h4 {
    font-size: 15.5px;
    margin: 24px 0 12px;
  }
  .page-content-body ul,
  .page-content-body ol {
    padding-left: 28px;
  }
  .page-content-body li {
    font-size: 14.5px;
    margin-bottom: 10px;
  }
  .page-content-body table th,
  .page-content-body table td {
    padding: 12px 10px !important;
    font-size: 12.5px !important;
  }
  .page-content-body .comparison-table-wrapper {
    margin: 24px -18px;
    border-radius: 12px;
  }
  .page-content-body table.comparison-table,
  .page-content-body .comparison-table-wrapper table {
    min-width: 480px;
  }
  .page-content-body table.comparison-table .check-mark,
  .page-content-body .comparison-table-wrapper table .check-mark {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 11.5px;
  }
  .page-title {
    font-size: 22px;
  }
  .sidebar-toggle {
    padding: 12px 16px;
    font-size: 14px;
  }
  .side-menu-item {
    padding: 11px 14px;
    font-size: 12.5px;
  }
  .courses-main {
    padding: 20px 14px;
  }
  .page-content-body h2 {
    font-size: 18px;
  }
  .page-content-body h3 {
    font-size: 16px;
  }
  .page-content-body p,
  .page-content-body li {
    font-size: 13.5px;
  }
}
@media (max-width: 390px) {
  .container {
    padding: 0 12px;
  }
  .page-title {
    font-size: 20px;
  }
  .sidebar-toggle {
    padding: 11px 14px;
    font-size: 13px;
  }
  .side-menu-item {
    padding: 10px 12px;
    font-size: 11.5px;
  }
  .courses-main {
    padding: 18px 12px;
  }
  .page-content-body h2 {
    font-size: 17px;
  }
  .page-content-body h3 {
    font-size: 15px;
  }
  .page-content-body p,
  .page-content-body li {
    font-size: 12.5px;
  }
  .page-content-body .comparison-table-wrapper {
    margin: 18px -12px;
  }
  .page-content-body table.comparison-table,
  .page-content-body .comparison-table-wrapper table {
    min-width: 100%;
    font-size: 10.5px;
  }
  .page-content-body table.comparison-table th,
  .page-content-body .comparison-table-wrapper table th {
    padding: 12px 5px !important;
    font-size: 10.5px !important;
  }
  .page-content-body table.comparison-table td,
  .page-content-body .comparison-table-wrapper table td {
    padding: 10px 5px !important;
    font-size: 10.5px !important;
  }
  .page-content-body table.comparison-table .check-mark,
  .page-content-body .comparison-table-wrapper table .check-mark {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
  }
}/*# sourceMappingURL=style.css.map */