/* ========================================
   リセット & ベース
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
  background: #fff;
}

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

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

/* ========================================
   ヒーローセクション
======================================== */
.hero {
  background: linear-gradient(180deg, #ede9fe 0%, #f3e8ff 50%, #ffffff 100%);
  padding: 60px 20px 0;
  position: relative;
  overflow: hidden;
  min-height: 650px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,133.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

/* キャッチコピー */
.hero-catch {
  font-size: 24px;
  color: #555;
  margin-bottom: 18px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.hero-catch .highlight-blue {
  color: #8b5cf6;
  font-weight: 700;
}

/* サブコピー（黄色帯） */
.hero-subcopy {
  background: linear-gradient(90deg, #fff4b3 0%, #ffe066 100%);
  padding: 12px 24px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: inline-block;
}

.hero-subcopy p {
  font-size: 15px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

/* サービス名ロゴエリア */
.hero-logo-area {
  margin-bottom: 35px;
  display: flex;
  justify-content: center;
}

.logo-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.hero-smile-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.hero-logo {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 2px;
}

.hero-subtitle {
  margin-left: 3px;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  color: #555;
  letter-spacing: 1px;
  white-space: nowrap;
}

.hero-logo-kana {
  font-size: 14px;
  color: #666;
  letter-spacing: 3px;
  padding-left: 44px;
}

/* 情報ボックス（横並び） */
.hero-info-boxes {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.info-box {
  background: #ffffff;
  border: 2px solid #8b5cf6;
  padding: 20px 28px;
  border-radius: 12px;
  flex: 1;
  text-align: center;
}

.info-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.info-value {
  font-size: 48px;
  font-weight: 900;
  color: #8b5cf6;
  line-height: 1;
  margin-bottom: 6px;
}

.info-value.period {
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.info-unit {
  font-size: 22px;
  font-weight: 700;
  margin-left: 2px;
}

.info-tilde {
  font-size: 28px;
  font-weight: 600;
  color: #999;
}

.info-sub {
  font-size: 11px;
  color: #999;
}

/* 特典エリア */
.hero-benefits {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f5f3ff;
  padding: 24px;
  border-radius: 12px;
}

.benefit-image img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.benefit-list {
  flex: 1;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-item i {
  color: #8b5cf6;
  font-size: 18px;
}

.benefit-item strong {
  color: #8b5cf6;
  font-weight: 700;
  font-size: 18px;
}

/* 右側画像エリア */
.hero-right {
  flex: 1;
  max-width: 500px;
  align-self: flex-end;
}

.hero-main-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

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

/* 右端固定UIボタン */
.hero-fixed-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.fixed-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 120px;
}

.fixed-btn i {
  font-size: 24px;
  color: #8b5cf6;
}

.fixed-btn span {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
}

.fixed-btn:hover {
  background: #8b5cf6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.fixed-btn:hover i {
  color: #ffffff;
}

.btn-reservation {
  background: #8b5cf6;
  color: #ffffff;
}

.btn-reservation i {
  color: #ffffff;
}

/* ========================================
   統一情報セクション（共通スタイル）
======================================== */
.info-section {
  padding: 70px 20px;
}

.info-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.info-header {
  text-align: center;
  margin-bottom: 50px;
}

.info-heading {
  font-size: 32px;
  font-weight: 900;
  color: #4c1d95;
  margin-bottom: 15px;
  line-height: 1.5;
}

.info-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.info-text-area {
  max-width: 900px;
  margin: 0 auto;
}

.info-description {
  font-size: 18px;
  line-height: 2;
  color: #333;
  text-align: left;
}

.info-description p {
  margin-bottom: 25px;
}

.info-description p:first-child {
  font-size: 28px;
  font-weight: 700;
  color: #4c1d95;
  position: relative;
  margin-bottom: 20px;
}

.info-description p:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

.info-description p:nth-child(2) {
  font-size: 26px;
  font-weight: 600;
  color: #6d28d9;
  position: relative;
  margin-bottom: 20px;
}

.info-description p:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

.info-description p:last-child {
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 700;
  color: #4c1d95;
  position: relative;
  margin-top: 10px;
  padding-bottom: 8px;
}

.info-description p:last-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
  border-radius: 2px;
}

/* 画像付きレイアウト */
.info-content-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.info-content-layout .info-text-area {
  flex: 1;
  min-width: 320px;
}

.info-image-area {
  flex: 1;
  min-width: 400px;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.info-image-area img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 注意書きボックス */
.info-notice-box {
  margin-top: 35px;
  padding: 25px 30px;
  background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
  border-radius: 12px;
  border-left: 4px solid #8b5cf6;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-notice-box i {
  font-size: 22px;
  color: #8b5cf6;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-notice-box p {
  font-size: 15px;
  font-weight: 600;
  color: #4c1d95;
  margin: 0;
  line-height: 1.8;
}

/* ========================================
   歯科検診の重要性セクション
======================================== */
.importance-section {
  background: #ffffff;
}

/* ========================================
   30代から50代が歯医者に行かない理由セクション
======================================== */
.reasons-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

.reasons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.reason-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #8b5cf6;
}

.reason-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.reason-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.reason-icon i {
  font-size: 24px;
  color: #ffffff;
}

.reason-content {
  width: 100%;
  text-align: center;
}

.reason-title {
  font-size: 18px;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 8px;
  line-height: 1.4;
}

.reason-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .reasons-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .reason-item {
    padding: 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reason-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .reason-desc {
    font-size: 12px;
  }

  .reason-icon {
    width: 45px;
    height: 45px;
  }

  .reason-icon i {
    font-size: 20px;
  }

  .reason-title {
    font-size: 16px;
  }

  .reason-desc {
    font-size: 13px;
  }
}

/* ========================================
   サービスセクション
======================================== */
.service {
  background: #f7f7f7;
  overflow-x: hidden;
  padding: 80px 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* PCサイズで2列レイアウト */
@media (min-width: 769px) {
  .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1200px;
  }
}

.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  filter: blur(8px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(139, 92, 246, 0.1);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1;
}

.service-card[data-direction="left"] {
  transform: translateY(60px) scale(0.95);
}

.service-card[data-direction="right"] {
  transform: translateY(60px) scale(0.95);
}

.service-card.slide-in {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image {
  flex: 0 0 auto;
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(139, 92, 246, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  flex: 1;
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.service-name {
  font-size: 24px;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 18px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.service-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-radius: 2px;
}

.service-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 30px;
  letter-spacing: 0.3px;
}

.btn-orange-small {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-orange-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* サービスセクションのアニメーション用JavaScript */
.service-card[data-direction="left"] {
  transform: translateX(-120px) scale(0.95);
}

.service-card[data-direction="right"] {
  transform: translateX(120px) scale(0.95);
}

.service-card.slide-in[data-direction="left"] {
  transform: translateX(0) scale(1);
}

.service-card.slide-in[data-direction="right"] {
  transform: translateX(0) scale(1);
}

/* ========================================
   使い方セクション
======================================== */
.howto-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  padding: 70px 20px;
}

.section-heading {
  font-size: 32px;
  font-weight: 900;
  color: #4c1d95;
  text-align: center;
  margin-bottom: 20px;
}

.howto-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.8;
}

.howto-steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* STEPカード（01・02・03） */
.step-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

/* STEPラベル（STEP + 番号） */
.step-card .step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  line-height: 1;
}

.step-card .step-number > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #8b5cf6;
  margin-bottom: 4px;
}

.step-card .number-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.step-card:nth-child(2) .number-circle {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.35);
}

.step-card:nth-child(3) .number-circle {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
  box-shadow: 0 4px 12px rgba(196, 181, 253, 0.4);
}

.step-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon i {
  font-size: 40px;
  color: #8b5cf6;
  opacity: 0.9;
}

.step-card:nth-child(2) .step-icon i {
  color: #7c3aed;
}

.step-card:nth-child(3) .step-icon i {
  color: #6d28d9;
}

/* カード間の矢印（デスクトップ） */
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(139, 92, 246, 0.4);
  border-right: 2px solid rgba(139, 92, 246, 0.4);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4c1d95;
  letter-spacing: 0.02em;
}

.step-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}

/* 旧構造用（未使用時も互換のため残す） */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
}

.step-content-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

/* ========================================
   初回プランセクション
======================================== */
.plan-section {
  position: relative;
  padding: 100px 20px;
  min-height: 500px;
  overflow: hidden;
}

.plan-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/clinic-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.plan-bg-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(196, 181, 253, 0.3) 0%,
    rgba(167, 139, 250, 0.3) 100%
  );
  z-index: 2;
}

.plan-section .container {
  position: relative;
  z-index: 3;
}

.plan-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-right: 40px;
}

.plan-text-side {
  max-width: 600px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.plan-badge-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b6b 0%, #ff8787 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.plan-heading {
  font-size: 36px;
  font-weight: 900;
  color: #4c1d95;
  margin-bottom: 30px;
  line-height: 1.4;
}

.plan-price-display {
  margin-bottom: 15px;
}

.price-large {
  font-size: 72px;
  font-weight: 900;
  color: #4c1d95;
}

.price-yen {
  font-size: 32px;
  font-weight: 700;
  color: #4c1d95;
  margin-left: 5px;
}

.price-detail {
  font-size: 18px;
  color: #666;
  margin-left: 10px;
}

.plan-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.plan-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.plan-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* ========================================
   光が流れるボタンアニメーション
======================================== */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 80%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 3.5s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: -100%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ========================================
   スタッフセクション
======================================== */
.staff-section {
  background-image: url("../images/sumanabitte.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.staff-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.staff-section .info-content-wrapper {
  position: relative;
  z-index: 1;
}

.staff-image-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.staff-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.staff-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.staff-photo:hover img {
  transform: scale(1.05);
}

/* ========================================
   保険適用セクション
======================================== */
.insurance-section {
  background: #ffffff;
}

/* ========================================
   比較セクション
======================================== */
.comparison-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  padding: 30px 20px;
}

.comparison-boxes {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.comparison-box {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
}

.traditional-box {
  background: #f5f5f5;
  border: 2px solid #ddd;
}

.smanavi-box {
  background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
  border: 2px solid #8b5cf6;
}

.comparison-title {
  font-size: 24px;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 25px;
}

.comparison-icon-area {
  margin-bottom: 30px;
}

.comparison-icon-area i {
  color: #999;
}

.smanavi-box .comparison-icon-area i {
  color: #8b5cf6;
}

.comparison-list {
  list-style: none;
  text-align: left;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.comparison-list li i {
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.traditional-box .comparison-list li i {
  color: #ff6b6b;
}

.smanavi-box .comparison-list li i {
  color: #8b5cf6;
}

/* ========================================
   データセクション
======================================== */
.data-section {
  background: #ffffff;
  padding: 20px 10px;
}

.data-boxes {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.data-box {
  text-align: center;
  max-width: 300px;
  flex: 1;
  min-width: 250px;
}

.data-icon-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.data-icon-circle i {
  font-size: 42px;
  color: #ffffff;
}

.data-title {
  font-size: 18px;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 15px;
}

.data-number {
  font-size: 48px;
  font-weight: 900;
  color: #8b5cf6;
  margin-bottom: 10px;
}

.data-unit {
  font-size: 24px;
  font-weight: 700;
  margin-left: 3px;
}

.data-desc {
  font-size: 14px;
  color: #666;
}

/* ========================================
   ドクターセクション
======================================== */
.doctors-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  padding: 70px 20px;
}

.doctors-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.doctor-card {
  background: linear-gradient(180deg, #1e3a5f 0%, #2c5282 100%);
  border-radius: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.doctor-photo {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(180deg, #ede9fe 0%, #ffffff 100%);
}

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

.doctor-info {
  padding: 25px 20px 30px;
  color: #ffffff;
}

.doctor-clinic {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 400;
}

.doctor-name-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.doctor-position {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
}

.doctor-name {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.doctor-suffix {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
}

.doctor-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.doctor-credentials li {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.doctor-credentials li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-weight: bold;
  font-size: 16px;
}

.doctor-credentials li:last-child {
  margin-bottom: 0;
}

/* ========================================
   CTA最終セクション
======================================== */
.final-cta-section {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.final-cta-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  animation: ctaPatternMove 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes ctaPatternMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.final-cta-section .container {
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
  animation: ctaTitleGlow 3s ease-in-out infinite;
}

@keyframes ctaTitleGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.final-cta-desc {
  font-size: 19px;
  margin-bottom: 45px;
  line-height: 1.9;
  opacity: 0.95;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.final-cta-note {
  font-size: 14px;
  margin-top: 25px;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.final-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  color: #8b5cf6;
  padding: 22px 70px;
  border-radius: 50px;
  font-size: 21px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 255, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  text-transform: none;
}

.final-cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.final-cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.final-cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%);
}

.final-cta-button:active {
  transform: translateY(-2px) scale(1.02);
}

.final-cta-button .btn-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.final-cta-button .btn-text::after {
  content: "→";
  font-size: 24px;
  transition: transform 0.3s ease;
}

.final-cta-button:hover .btn-text::after {
  transform: translateX(5px);
}

/* ========================================
   トップページのブログセクション
======================================== */
.home-blog-section {
  padding: 80px 20px;
  background: #ffffff;
}

.section-header-with-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.section-header-with-link > div {
  text-align: center;
  flex: 1;
}

.section-header-with-link .view-all-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  line-height: 1.8;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b5cf6;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #7c3aed;
  gap: 12px;
}

.view-all-link i {
  font-size: 14px;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   フッター
======================================== */
.footer {
  background: #4c1d95;
  color: #ffffff;
  padding: 50px 20px 30px;
}

.footer-content {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 13px;
  color: #999;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
  .hero {
    padding: 0;
    min-height: auto;
    position: relative;
  }

  .hero-content {
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .hero-left {
    max-width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
  }

  .hero-catch {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  }

  .hero-subcopy {
    padding: 10px 18px;
  }

  .hero-subcopy p {
    font-size: 13px;
  }

  .hero-logo {
    font-size: 36px;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  }

  .hero-subtitle {
    font-size: 13px;
    margin-left: 12px;
  }

  .hero-smile-icon {
    width: 45px;
    height: 45px;
  }

  .hero-star-icon {
    font-size: 14px;
  }

  .hero-logo-area {
    margin-bottom: 20px;
  }

  .hero-logo-kana {
    padding-left: 38px;
    font-size: 12px;
  }

  .hero-info-boxes {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }

  .info-box {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
  }

  .info-value {
    font-size: 38px;
  }

  .info-value.period {
    font-size: 34px;
  }

  .hero-benefits {
    flex-direction: column;
    text-align: center;
  }

  .benefit-image img {
    width: 80px;
    margin: 0 auto;
  }

  .benefit-item {
    justify-content: center;
    font-size: 14px;
  }

  .hero-right {
    max-width: 100%;
    width: 100%;
    order: -1;
  }

  .hero-main-image {
    width: 100%;
    height: auto;
  }

  .hero-main-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-fixed-buttons {
    position: fixed;
    right: 15px;
    bottom: 20px;
    top: auto;
    transform: none;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 0;
    padding: 0;
    z-index: 1000;
  }

  .fixed-btn {
    min-width: 100px;
    flex: none;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }

  .fixed-btn span {
    font-size: 11px;
  }

  .achievement-boxes {
    gap: 30px;
  }

  .section-heading {
    font-size: 26px;
  }

  /* 統一情報セクションのレスポンシブ */
  .info-section {
    padding: 60px 20px;
  }

  .info-header {
    margin-bottom: 40px;
  }

  .info-heading {
    font-size: 24px;
  }

  .info-subtitle {
    font-size: 14px;
  }

  .info-description {
    font-size: 17px;
    text-align: left;
  }

  .info-description p {
    margin-bottom: 20px;
  }

  .info-description p:first-child {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .info-description p:first-child::before {
    font-size: 20px;
  }

  .info-description p:nth-child(2) {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .info-description p:nth-child(2)::before {
    content: "";
    font-size: 18px;
  }

  .info-description p:last-child {
    font-size: 21px;
    font-weight: 700;
    color: #4c1d95;
    position: relative;
    margin-top: 8px;
    padding-bottom: 6px;
  }

  .info-description p:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 2px;
  }

  .info-content-layout {
    flex-direction: column;
    gap: 40px;
  }

  .info-image-area {
    width: 100%;
    min-width: auto;
    max-width: 100%;
  }

  .info-notice-box {
    padding: 18px 20px;
    gap: 12px;
  }

  .info-notice-box i {
    font-size: 18px;
  }

  .info-notice-box p {
    font-size: 14px;
  }

  .service {
    padding: 50px 20px;
  }

  .service-list {
    gap: 25px;
    margin-top: 35px;
    overflow-x: hidden;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
  }

  .service-card {
    flex-direction: column;
    max-width: 100%;
    width: 90%;
  }

  /* 偶数番目の画像カードはmargin-right: 10%を適用 */
  .service-list .service-card:nth-child(even) {
    margin-right: 10%;
    margin-left: 0;
  }

  /* 奇数番目の画像カードはmargin-left: 10%を適用（従来通り） */
  .service-list .service-card:nth-child(odd) {
    margin-left: 10%;
    margin-right: 0;
  }

  .service-card[data-direction="left"] {
    transform: translateX(-100px) scale(0.95);
  }

  .service-card[data-direction="right"] {
    transform: translateX(100px) scale(0.95);
  }

  .service-card.slide-in[data-direction="left"] {
    transform: translateX(0) scale(1);
  }

  .service-card.slide-in[data-direction="right"] {
    transform: translateX(0) scale(1);
  }

  .service-image {
    flex: 0 0 auto;
    width: 100%;
    height: 250px;
  }

  .service-content {
    padding: 35px 30px;
  }

  .service-name {
    font-size: 22px;
    padding-left: 18px;
  }

  .service-name::before {
    width: 3px;
    height: 20px;
  }

  .service-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .howto-subtitle {
    font-size: 14px;
  }

  .howto-steps {
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .howto-steps::-webkit-scrollbar {
    height: 4px;
  }

  .howto-steps::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .howto-steps::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 2px;
  }

  .step-card {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    padding: 24px 20px;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-card:active {
    transform: scale(0.98);
  }

  .step-card .step-number > span {
    font-size: 10px;
  }

  .step-card .number-circle {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .step-icon {
    margin-bottom: 12px;
  }

  .step-icon i {
    font-size: 34px;
  }

  .step-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .step-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .plan-section {
    padding: 70px 20px;
    min-height: 400px;
  }

  .plan-content {
    justify-content: center;
    padding-right: 0;
  }

  .plan-text-side {
    padding: 40px 30px;
  }

  .plan-heading {
    font-size: 28px;
  }

  .price-large {
    font-size: 56px;
  }

  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .comparison-boxes {
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
  }

  .comparison-box {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 25px 15px;
  }

  .comparison-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .comparison-icon-area {
    margin-bottom: 20px;
  }

  .comparison-icon-area i {
    font-size: 2.5rem !important;
  }

  .comparison-list li {
    font-size: 12px;
    margin-bottom: 10px;
    gap: 8px;
  }

  .comparison-list li i {
    font-size: 14px;
  }

  .data-boxes {
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
  }

  .data-box {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .data-icon-circle {
    width: 65px;
    height: 65px;
    margin-bottom: 8px;
  }

  .data-icon-circle i {
    font-size: 28px;
  }

  .data-title {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .data-number {
    font-size: 32px;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .data-unit {
    font-size: 16px;
  }

  .data-desc {
    font-size: 11px;
    line-height: 1.4;
    color: #777;
  }

  .final-cta-section {
    padding: 70px 20px;
  }

  .final-cta-title {
    font-size: 28px;
  }

  .final-cta-title::before,
  .final-cta-title::after {
    font-size: 18px;
  }

  .final-cta-title::before {
    left: -35px;
  }

  .final-cta-title::after {
    right: -35px;
  }

  .final-cta-desc {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .final-cta-button {
    padding: 18px 50px;
    font-size: 18px;
  }

  .final-cta-button .btn-text::after {
    font-size: 20px;
  }

  .plan-cta-btn {
    padding: 16px 45px;
    font-size: 16px;
  }

  .doctors-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .doctor-photo {
    height: 350px;
  }

  .doctor-name {
    font-size: 24px;
  }

  .home-blog-section {
    padding: 60px 20px;
  }

  .section-header-with-link {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
  }

  .section-header-with-link > div {
    text-align: center;
  }

  .section-header-with-link .view-all-link {
    position: static;
    transform: none;
    margin-top: 20px;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }

  .hero-logo {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-left: 16px;
  }

  .info-value {
    font-size: 42px;
  }

  .hero-right {
    max-width: 400px;
  }

  .staff-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .doctors-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .home-blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
}
