/*
 Theme Name: Aloe Clinic Original
 Theme URI: https://aloe-clinic.com/
 Author: Masumi Kudo
 Author URI: https://aloe-clinic.com/
 Description: アロエクリニック用オリジナルテーマ
 Version: 1.0
*/

/* ================================
   基本設定
================================ */
:root {
  --main-green: #7bbf9b;
  --light-green: #e7f3ec;
  --dark: #333333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Hiragino Sans", "Noto Sans JP", sans-serif;
  padding-top: 70px;
}

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

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

/* ================================
   共通レイアウト
================================ */
/* ================================
   HEADER
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ロゴ（左上の縦2行） */
.site-header__logo a {
  display: inline-block;
  font-weight: 700;
  line-height: 1.1;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: #222;
  text-decoration: none;
}

/* グローバルナビ */
.global-nav {
  flex: 1 1 auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__item {
  position: relative;
}

.global-nav__link,
.global-nav__link:visited {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.global-nav__link:hover {
  color: #688a49;
  border-bottom-color: #688a49;
}

/* ▼「診療メニュー」の▼マーク */
.global-nav__link--dropdown {
  border-bottom-color: transparent; /* 常時線は出さない */
  cursor: pointer;
  background: none;
  border: none;
}

.global-nav__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #333;
  margin-top: 2px;
}

/* 開いている時は色変更 */
.global-nav__item.is-open > .global-nav__link--dropdown {
  color: #ffffff;
}
.global-nav__item.is-open > .global-nav__link--dropdown .global-nav__caret {
  border-top-color: #ffffff;
}

/* ヘッダー下の余白を完全に削除 */
.site-header,
.header,
.header-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ヒーロースライダー（メインビジュアル）の余白も削除 */
.hero,
.hero-slider-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* WPテーマによくあるナビ下の margin を消す */
.nav,
.global-nav,
.header-nav {
  margin-bottom: 0 !important;
}


/* 右上 SNS アイコン */
.site-header__sns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__sns a {
  display: inline-flex;
}
.site-header__sns img {
  display: block;
  width: 24px;
  height: 24px;
}
/* ヘッダー内部の配置を横並びにしつつ右寄せ */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* LOGO左、ナビ・SNS右 */
  padding: 14px 24px;
}

/* メニューとSNSを右側で並べる */
.header-nav {
  margin-left: auto;
}

.header-menu {
  display: flex;
  gap: 32px;
  margin-right: 24px; /* SNS との間隔 */
}


/* ================================
   MEGA MENU（診療メニュー）
================================ */
.mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: min(1180px, 100vw);
  background: #688a49;
  color: #ffffff;
  margin-top: 16px;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.global-nav__item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px 40px 28px;
  column-gap: 40px;
}

.mega-menu__col {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 32px;
}
.mega-menu__col:last-child {
  border-right: none;
  padding-right: 0;
}

.mega-menu__heading {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.08em;
}

.mega-menu__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu__col li + li {
  margin-top: 6px;
}

.mega-menu__col a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
}
.mega-menu__col a:hover {
  text-decoration: underline;
}

/* スマホでは普通の縦ナビにしてもOK（ざっくり版） */
@media (max-width: 768px) {
  .site-header__inner {
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .global-nav__list {
    justify-content: flex-start;
    gap: 20px;
    font-size: 13px;
  }

  .mega-menu {
    position: static;
    transform: none;
    margin-top: 8px;
    width: 100%;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 16px 16px 20px;
  }

  .mega-menu__col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 12px;
  }
  .mega-menu__col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}


/* ================================
   HERO（トップスライダー）
================================ */
.hero {
  background: var(--light-green);
  padding: 0;
  margin: 0;
}

/* スライダー全体のラッパー */
.hero-slider-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 16px;
  overflow: visible;
  position: relative;
}

/* Swiper コンテナ */
.hero-slider.swiper {
  width: 100%;
  overflow: visible !important; /* 左右見切れ防止 */
}

/* 各スライド：80%表示 → 左右チラ見せ */
.hero-slide {
  width: 80%;
}

/* 画像は角丸なし・横長 */
.hero-slide img,
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
}

/* ドット */
.hero-swiper-pagination {
  bottom: 16px !important;
}

/* 矢印 */
.hero-swiper-nav {
  color: #ffffff;
}
.hero-swiper-prev,
.hero-swiper-next {
  width: 40px;
  height: 40px;
}
.hero-swiper-prev::after,
.hero-swiper-next::after {
  font-size: 18px;
}

/* SP：1枚表示 */
@media (max-width: 768px) {
  .hero-slider-wrapper {
    margin: 24px auto 32px;
    padding: 0 8px;
  }
  .hero-slide {
    width: 100%;
  }
}

/* ================================
   MENU（Skin / Face / Body カード）
================================ */

.menu-section {
  background: linear-gradient(180deg, #f4faf7 0%, #e7f3ec 100%);
}

.menu-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.menu-section .section-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

/* カテゴリごとの大きなカード */
.menu-category-card {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
  background: #ffffff;
  margin-bottom: 32px;
}

/* 上の緑ヘッダー */
.menu-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #6f9050;
  color: #ffffff;
  padding: 20px 28px;
}

.menu-category-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.menu-category-heading {
  display: flex;
  flex-direction: column;
}

.menu-category-title-en {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 4px;
}

.menu-category-title-ja {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

/* 白い本文エリア */
.menu-category-body {
  background: #ffffff;
  padding: 28px 32px 32px;
}

/* グループ（シミ・そばかす 等） */
.menu-group {
  margin-top: 8px;
}

.menu-group + .menu-group {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d9d9d9;
}

.menu-group-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* 施術ボタン横並び */
.menu-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* 施術ボタン（ピコレーザー等） */
.menu-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffd9aa;
  color: #5a3b17;
  font-size: 13px;
  font-weight: 600;
  min-width: 150px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.menu-item-label {
  white-space: nowrap;
}

/* 矢印 */
.menu-item-arrow::before {
  content: "›";
  display: inline-block;
  font-size: 14px;
  margin-left: 10px;
}

/* hover */
@media (hover: hover) {
  .menu-item:hover {
    transform: translateY(-2px);
    opacity: 0.95;
  }
}

/* SP 調整 */
@media (max-width: 768px) {
  .menu-category-header {
    padding: 18px 20px;
  }

  .menu-category-icon img {
    width: 52px;
    height: 52px;
  }

  .menu-category-title-en {
    font-size: 22px;
  }

  .menu-category-body {
    padding: 22px 18px 24px;
  }

  .menu-item-list {
    gap: 10px;
  }

  .menu-item {
    width: 100%;
    justify-content: space-between;
  }
}

/* ================================
   single-treatment（施術詳細）
================================ */

.treatment-single {
  background: #ffffff;
}

.treatment-single .section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.treatment-breadcrumb {
  font-size: 12px;
  color: #777;
  margin: 0 0 12px;
}

.treatment-breadcrumb a {
  text-decoration: none;
  color: #777;
}

.treatment-title {
  font-size: 26px;
  margin: 0 0 24px;
}

/* カテゴリ・タグ表示 */
.treatment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.treatment-meta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}

.treatment-meta-label {
  font-size: 12px;
  color: #666;
}

.treatment-meta-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7f3ec;
  color: #333;
}

/* 本文 */
.treatment-content {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.treatment-content p {
  margin-bottom: 1.4em;
}

@media (max-width: 768px) {
  .treatment-title {
    font-size: 22px;
  }
}


/* ================================
   FEATURE（当院が選ばれる理由）
================================ */
.reason-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.reason-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
  position: relative;
}
.reason-thumb {
  height: 140px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7f3ec, #ffffff);
  margin-bottom: 12px;
}
.reason-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.reason-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
/* 01 / 02 / 03 バッジ */
.reason-card::before {
  content: attr(data-num);
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main-green);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .reason-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .reason-list {
    grid-template-columns: 1fr;
  }
}

/* ================================
   NEWS
================================ */
.section-news {
  padding: 80px 16px;
  background: linear-gradient(180deg, #f4faf7 0%, #e7f3ec 100%);
}

.section-label-en {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7bbf9b;
  margin: 0 0 4px;
}

.section-news .section-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

/* 真ん中の白いカード部分 */
.news-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  padding: 28px 40px 32px;
}

/* 一覧 */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  border-bottom: 1px solid #f3f3f3;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 12px 0;
  font-size: 14px;
}

.news-date {
  color: #999999;
  white-space: nowrap;
}

.news-title {
  flex: 1;
  color: #333333;
}

/* もっと見るボタン */
.news-more {
  margin-top: 24px;
  text-align: center;
}

.btn-news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--main-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-news-more:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

/* SP 調整 */
@media (max-width: 768px) {
  .section-news {
    padding: 56px 12px;
  }

  .news-card {
    padding: 24px 20px 28px;
  }

  .news-item a {
    gap: 16px;
    font-size: 13px;
  }
}

/* ================================
   ACCESS
================================ */
.access-section {
  padding: 80px 0;
  background: #fff;
}

.access-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.access-title-en {
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
  color: #6d855d;
}

.access-title-ja {
  font-size: 28px;
  margin-bottom: 40px;
}

/* --- アイコン + テキスト --- */
.access-items {
  max-width: 700px;
  margin: 0 auto 40px;
}

.access-item {
  display: flex;
  align-items: center;
  text-align: left;
}

.access-icon {
  width: 22px;
  height: 22px;
  margin-right: 12px;
  object-fit: contain;
}

.access-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* --- Google Map --- */
.access-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .access-item {
    justify-content: flex-start;
    text-align: left;
  }

  .access-text {
    font-size: 15px;
  }

  .access-map iframe {
    height: 300px;
  }
}

/* ================================
   右側追従ボタン
================================ */
.floating-buttons {
  position: fixed;
  right: 0;                   /* 右端ピタッ */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;                  /* ボタン同士の間隔 */
  z-index: 999;
}

/* 個々のボタン共通 */
.floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 130px;
  background: #688a49;
  color: #ffffff;
  text-decoration: none;

  border-radius: 20px 0 0 20px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.18);

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* アイコン部分 */
.floating-btn-icon {
  display: block;
  margin-bottom: 8px;
}

.floating-btn-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.floating-btn-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.floating-btn:hover {
  background: #56733b;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.22);
}

/* 必要ならボタンごとに色を変えるとき用（今は全部同じ色） */
.floating-btn--line { }
.floating-btn--web  { }
.floating-btn--tel  { }

/* SP レイアウト調整（お好みで） */
@media (max-width: 768px) {
  .floating-buttons {
    right: 0;
    top: auto;
    bottom: 32px;
    transform: none;
    gap: 14px;
  }

  .floating-btn {
    width: 56px;
    height: 180px;
    border-radius: 28px 0 0 28px;
  }

  .floating-btn-text {
    font-size: 12px;
  }
}

/* ================================
   FOOTER
================================ */
.site-footer {
  background: #3b3b3b;
  color: #fff;
  padding: 40px 16px 24px;
  font-size: 13px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;   /* 上：ナビ、下：コピーライト の縦並び */
  justify-content: flex-start;
}

/* 上段ナビ部分 --------------------------------- */
.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
  align-items: flex-start;
  width: 100%;
}

.footer-column {
  flex: 1 1 0;
}

.footer-column--menu {
  flex: 1.5 1 0;
}

/* 右カラムを少し右へ寄せる */
.footer-column--right {
  margin-left: 40px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* 施術メニュー：2列レイアウト（間隔を少し狭く） */
.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 4px;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  margin-bottom: 6px;
}

/* 通常リンク（施術メニュー含む） */
.footer-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  opacity: 0.85;
  text-decoration: none;
  font-size: 13px;
}

/* 「›」マークを付ける（デフォルト） */
.footer-link a::before {
  content: "›";
  font-size: 11px;
  position: relative;
  top: -1px;
}

/* ホバー */
.footer-link a:hover {
  opacity: 1;
}

/* 右カラムだけ「›」を消す */
.footer-column--right .footer-link a::before {
  content: none !important;
  display: none;
}

/* コピーライト --------------------------------- */
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 40px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* SPレイアウト --------------------------------- */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .footer-link a {
    font-size: 12px;
  }

  .footer-column--right {
    margin-left: 0;
  }
}


/* ================================
   SP 微調整
================================ */
@media (max-width: 768px) {
  .menu-card {
    padding: 24px 16px;
  }
}

/* ---------- PICK UP（キャンペーン画像） ---------- */
#pickup {
  background: #ffffff;
}

/* スマホ：横スクロール1枚表示 */
.pickup-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 8px;
  scroll-snap-type: x mandatory;
}
.pickup-gallery::-webkit-scrollbar {
  display: none;
}

.pickup-item {
  flex: 0 0 80%;
  max-width: 320px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pickup-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (hover: hover) {
  .pickup-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.15);
  }
}

/* PC / タブレット：2×2 グリッド */
@media (min-width: 768px) {
  .pickup-gallery {
    max-width: 1100px;
    margin: 0 auto;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .pickup-item {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
    scroll-snap-align: none;
  }
}

/* ===== PICK UP おすすめ施術 (4枚横並び) ===== */
.pickup-section {
  padding: 80px 0 60px;
}

.pickup-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.pickup-title-en {
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
  color: #999;
}

.pickup-title-ja {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

/* 横並び 4 枚 */
.pickup-row {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.pickup-card {
  display: block;
  flex: 0 0 240px; /* ← 4 枚横並びの決め手 */
  max-width: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: 0.25s ease;
}

.pickup-card img {
  width: 100%;
  display: block;
  height: auto;
}

/* hover */
@media (hover: hover) {
  .pickup-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  }
}

/* タブレットでは 2×2 */
@media (max-width: 1024px) {
  .pickup-row {
    flex-wrap: wrap;
  }
  .pickup-card {
    flex: 0 0 calc(50% - 12px);
    max-width: none;
  }
}

/* ===== スマホ：横スクロール 4枚スライド ===== */
@media (max-width: 600px) {
  .pickup-inner {
    padding: 0 0 0;
  }

  .pickup-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pickup-row::-webkit-scrollbar {
    display: none;
  }

  .pickup-card {
    flex: 0 0 70vw;
    max-width: none;
  }
}

/* =========================
   FEATURES 当院が選ばれる理由
   ========================= */
.features-section {
  background: #ffffff;
  padding: 80px 16px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.features-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #999;
  margin-bottom: 6px;
}

.features-title {
  font-size: 26px;
  letter-spacing: 0.18em;
  margin-bottom: 56px;
}

/* 3カラムレイアウト */
.features-items {
  display: flex;
  gap: 70px;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

.features-item {
  flex: 1 1 0;
}

/* 画像＋大きな番号 */
.features-thumb-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
}

.features-thumb-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.features-num {
  position: absolute;
  left: -18px;
  bottom: -34px;
  font-family: "Times New Roman", serif;
  font-size: 92px;
  line-height: 1;
  color: #6a9b62;
  z-index: 1;
}

/* 画像の裏にうっすら緑の背景四角 */
.features-thumb-wrap::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50px;
  width: 92%;
  height: 92%;
  background: rgba(210, 224, 212, 0.6);
  z-index: 0;
  border-radius: 4px;
}

/* 見出し・本文 */
.features-heading {
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0 10px;
}

.features-text {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .features-section {
    padding: 64px 16px;
  }

  .features-items {
    flex-direction: column;
    gap: 70px;
  }

  .features-num {
    left: -6px;
    bottom: -28px;
    font-size: 82px;
  }
}

@media (max-width: 600px) {
  .features-section {
    padding: 56px 16px;
  }

  .features-title {
    font-size: 22px;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
  }

  .features-num {
    left: 0;
    bottom: -24px;
    font-size: 76px;
  }
}

/* ====== RESERVE section ====== */

.reserve-section {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f3fce9 0%, #e4f5e9 50%, #f4fbf3 100%);
}

.reserve-inner {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.reserve-title-en {
  font-size: 14px;
  letter-spacing: 0.25em;
  color: #7a9b69;
  margin-bottom: 8px;
}

.reserve-title-ja {
  font-size: 28px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.reserve-lead {
  font-size: 14px;
  color: #555;
  margin-bottom: 32px;
}

.reserve-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.reserve-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  height: 80px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  opacity: 0.9;
}

/* --- 電話ボタン --- */
.reserve-btn-tel {
  background: #ffffff;
  border: 2px solid #8fb36a;
  color: #3e5a32;
}

.reserve-btn-tel .reserve-btn-label {
  font-size: 13px;
  margin-bottom: 4px;
}

.reserve-btn-tel .reserve-btn-main {
  font-size: 20px;
  font-weight: 600;
}

/* --- LINEボタン --- */
.reserve-btn-line {
  background: #00b900;
  color: #fff;
  position: relative;
  overflow: visible; /* 吹き出しがはみ出せるように */
}

.reserve-btn-line .reserve-btn-main {
  font-size: 18px;
  font-weight: 600;
}

/* --- WEBボタン --- */
.reserve-btn-web {
  background: #748d63;
  color: #fff;
}

.reserve-btn-web .reserve-btn-main {
  font-size: 18px;
  font-weight: 600;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .reserve-section {
    padding: 60px 0 70px;
  }

  .reserve-buttons {
    gap: 16px;
  }

  .reserve-btn {
    width: 100%;
    max-width: 320px;
    height: 70px;
    margin: 0 auto;
  }
}

/* --- 共通：ボタン内アイコン --- */
.reserve-btn-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reserve-btn-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 4px;
}

/* 電話アイコン */
.reserve-btn-tel .reserve-btn-icon {
  background-image: url('assets/img/icons/icon-reserve-tel.png');
}

/* LINEアイコン */
.reserve-btn-line .reserve-btn-icon {
  background-image: url('assets/img/icons/icon-reserve-line.png');
}

/* WEBアイコン */
.reserve-btn-web .reserve-btn-icon {
  background-image: url('assets/img/icons/icon-reserve-web.png');
}

/* ====== LINE 吹き出し（バルーン） ====== */

/* LINEボタン自体は relative にしておく */
.reserve-btn-line {
  background: #00b900;
  color: #fff;
  position: relative;
  overflow: visible;
}

/* 吹き出し本体 */
.reserve-badge {
  position: absolute;
  top: -32px;                 /* ボタンの少し上にかぶせる高さ */
  left: 22%;                  /* ボタン左寄り（好みで微調整OK） */
  transform: translateX(-50%);
  padding: 8px 18px;
  background: #ffe74f;
  color: #3a3a3a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 999px;       /* 楕円形 */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  text-align: center;
  white-space: nowrap;
  z-index: 3;                 /* ボタンより前面に表示 */
}

/* 吹き出しの“しっぽ”（下向き三角） */
.reserve-badge::after {
  content: "";
  position: absolute;
  top: 100%;                  /* 本体のすぐ下にくっつける */
  left: 55%;                  /* 吹き出しのやや右寄り */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #ffe74f transparent transparent transparent;
}

/* スマホ時：少し小さく＆中央寄り */
@media (max-width: 767px) {
  .reserve-badge {
    top: -28px;
    left: 30%;
    padding: 6px 14px;
    font-size: 11px;
  }

  .reserve-badge::after {
    left: 60%;
  }
}

