@charset "utf-8";
/* ----------------
 共通設定
---------------- */

html {
 scroll-behavior: smooth;
}

:root {
 --main-blue: #0066B8;
 --main-green: #009944;
 --sub-blue: #7FB7DE;
 --bg-blue: #F2F8FD;
 --text-dark: #0B1F3A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
}

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

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


/* ----------------
 ヘッダー
---------------- */

.header {
  background: var(--bg-blue);
  border-bottom: 2px solid var(--sub-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
 position: sticky;
 top: 0;
}

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

/* ロゴ */

.logo img {
  height: 40px;
}

/* ナビ */

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: .3s;
}

.nav a:hover {
  color: var(--main-blue);
}

/* 電話CTA */

.tel a {
  background: #4a7fc1;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: .3s;
}

.tel a:hover {
  background: #3a6fb2;
}

/* ===== HERO全体 ===== */

.hero-circle {
  background: #CEE6C1;
  padding: 40px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ======================
 ハンバーガーメニュー
====================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--main-blue);
  border-radius: 3px;
  transition: .4s;
}


/* × アニメーション */

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ======================
 スマホナビ
====================== */

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    transform: translateY(-120%);
    transition: .4s;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
  }
  .nav {
 pointer-events: auto;
}
.nav {
 will-change: transform;
}

  .nav.active {
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 0;
    font-size: 16px;
  }

}

/* ===== テキストエリア ===== */

.hero-text {
  max-width: 520px;
  padding-left: 20px;
}

.hero-text h1 {
  display: inline-block;
  background: #2f5fa5;
  color: #fff;
  padding: 12px 40px;
  font-size: 32px;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 6px 6px 0 #1e4a8a;
  margin-bottom: 30px;
}

.hero-text p {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-text p span {
  color: #2f5fa5;
}


/* ===== 円画像エリア ===== */

.hero-images {
  position: relative;
  width: 380px;
  height: 380px;
}

.circle {
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

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


/* 大円 */

.circle.big {
  width: 300px;
  height: 300px;
  border: 6px solid #fff;
}


/* 小円 */

.circle.small {
  width: 140px;
  height: 140px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 6px solid #fff;
}


/* ===== レスポンシブ ===== */

@media (max-width: 768px) {

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

  .hero-text {
    border-left: none;
    padding-left: 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 20px;
  }

  .hero-images {
    width: 280px;
    height: 280px;
  }

  .circle.big {
    width: 230px;
    height: 230px;
  }

  .circle.small {
    width: 110px;
    height: 110px;
  }

}

/* ----------------
 セクション
---------------- */

.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--main-green);
  margin: 10px auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 0 auto;
}


@media screen and (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }
}

/* ----------------
 フッター
---------------- */

.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}

/* ----------------
 レスポンシブ
---------------- */

@media (max-width: 600px) {

  .hero-text h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }

}

/* ----------------
 画像カードフロー
---------------- */

.flow {
  padding: 80px 0;
  background: #f9fcff;
}

.flow-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* カード */

.flow-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: .3s;
}

.flow-card:hover {
  transform: translateY(-5px);
}

/* 画像 */

.flow-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* 本文 */

.flow-body {
  padding: 20px;
  position: relative;
}

.flow-step {
  position: absolute;
  top: -18px;
  right: 20px;
  background: #5aa6d6;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
}

.flow-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.flow-body p {
  font-size: 14px;
  color: #555;
}

/* ----------------
 レスポンシブ
---------------- */

@media (max-width: 1000px) {

  .flow-cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .flow-cards {
    grid-template-columns: 1fr;
  }

  .flow-img img {
    height: 200px;
  }

}
/* =========================
   術後のお願い セクション
========================= */

.aftercare {
  padding: 80px 0;
  background: #fff;
}

/* リード文 */

.aftercare-lead {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
  font-size: 16px;
}

/* グリッド */

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

/* カード */

.aftercare-card {
  background: #f9fcff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: .3s;
}

.aftercare-card:hover {
  transform: translateY(-4px);
}

/* タイトル */

.aftercare-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

/* 説明文 */

.aftercare-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* 注意アラート */

.aftercare-alert {
  margin-top: 40px;
  background: #fff3f3;
  border-left: 6px solid #ff6b6b;
  padding: 20px 25px;
  border-radius: 10px;
}

.aftercare-alert strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.aftercare-alert p {
  font-size: 14px;
  color: #444;
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 1000px) {

  .aftercare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

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

  .aftercare-lead {
    font-size: 14px;
  }

}
/* =========================
 タイムライン型レイアウト
========================= */

.timeline-section {
  padding: 80px 0;
  background: #dde6ef;
}

/* 全体 */

.timeline {
  max-width: 900px;
  margin: auto;
}

/* 各行 */

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

/* 左テキスト */

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.timeline-content h3::before {
  content: "👁";
  margin-right: 8px;
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* 右画像 */

.timeline-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

/* 矢印 */

.timeline-arrow {
  text-align: left;
  font-size: 18px;
  margin: 10px 0 25px 10px;
  color: #7fa7c7;
}

/* ----------------
 レスポンシブ
---------------- */

@media (max-width: 768px) {

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-image {
    order: -1;
  }

  .timeline-arrow {
    text-align: center;
  }

}

.timeline-image {
  transition: .3s;
}

.timeline-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.clinic-footer {
  background: var(--bg-blue);
}

.footer-main {
  padding: 60px 20px;
  text-align: center;
}

.footer-title {
  font-size: 22px;
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #7fb3cf;
  display: block;
  margin: 10px auto 0;
}

/* 診療時間表 */

.schedule-box {
  margin-bottom: 30px;
}

.schedule-box table {
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
}

.schedule-box th,
.schedule-box td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
}

.schedule-box th {
  background: #f3f6f9;
}

.schedule-note {
  font-size: 12px;
  margin-top: 10px;
  color: #555;
}

/* マップ */

.map-wrap {
  max-width: 600px;
  margin: 25px auto;
}

.map-wrap iframe {
  width: 100%;
  height: 250px;
  border: none;
}

.map-wrap iframe {
 height: min(250px, 60vw);
}

/* 住所 */

.footer-address {
  font-size: 14px;
  margin: 15px 0;
}

/* 電話ボタン */

.footer-tel {
  display: inline-block;
  background: var(--main-blue);
  color: #fff;
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  margin: 20px 0;
  transition: opacity .3s;
}

.footer-tel:hover {
  opacity: .8;
  background: #0054A0;
}

.footer-text {
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {

.footer-tel {
 position: fixed;
 bottom: 15px;
 left: 50%;
 transform: translateX(-50%);
 z-index: 9999;
 width: 90%;
}


.footer-bottom {
 padding-bottom: 80px;

}

}

/* 下部ボタン */

.footer-link-btn {
  display: inline-block;
  border: 2px solid #9fc6dc;
  color: #6aa6c8;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* コピーライト */

.footer-bottom {
  background: var(--main-green);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
}

/* ---------- スマホ対応 ---------- */

@media (max-width: 768px) {

  .footer-tel {
    font-size: 18px;
    width: 90%;
  }

  .schedule-box table {
    font-size: 12px;
  }

  .map-wrap iframe {
    height: 200px;
  }
  .schedule-box {
  overflow-x: auto;
}

.schedule-box table {
  min-width: 400px;
}
}
#about,
#flow,
#aftercare,
#access {
 scroll-margin-top: 90px;
}
/* =========================
 スマホ用 電話＋HP 固定バナー
========================= */

.sp-fixed-banner {
  display: none;
}

@media (max-width: 768px) {
  .sp-fixed-banner {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    display: flex;
    gap: 10px;
    z-index: 9999;
  }

  .banner-btn {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
  }

  .banner-btn.tel {
    background: #0066B8; /* 電話：青 */
  }

  .banner-btn.home {
    background: #009944; /* HP：緑 */
  }
}

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

