@charset "utf-8";

/* ベースカラー定義 */
:root {
  --main-green: #D0A900;
  --main-dark: #006036;
  --black: #000;
  --accent-pink: #fdc9be;
  --text-dark: #233;
  --text-light: #fff;
}
html{
overflow-x: hidden;  
}
/* --- レイアウト全般 --- */
body {
  font-family: 'Yu Gothic', 'YuGothic', 'Noto Sans JP', sans-serif;
  background: #f7f8f9;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;  
}

/* --- ヘッダー --- */
.tourism-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--main-dark);
  padding: 16px 32px;
}
.site-logo img {
  height: 42px;
  display: block;
}
.tourism-header nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tourism-header nav a, .contact-btn {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 20px;
  padding: 8px 18px;
  transition: background 0.22s, color 0.22s;
}
.tourism-header .contact-btn {
  background: var(--main-green);
  color: #fff;
  font-weight: bold;
}
.tourism-header .contact-btn:hover {
  background: var(--accent-blue);
}

/* --- Heroセクション --- */
.hero-section {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-content {
  z-index: 2;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  padding: 56px 8px 0px 8px;
}
.main-catch {
  font-size: 2.6rem;
  font-weight: bold;
  color: var(--black);
  letter-spacing: 0.06em;
  margin-bottom: 0.7em;
  line-height: 1.1;
}
.sub-catch {
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--black);
}
.hero-action {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.hero-btn {
  background: var(--main-green);
  color: #fff;
  font-weight: bold;
  padding: 14px 32px;
  font-size: 1.1em;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44,88,88,0.11);
  transition: background 0.23s;
}
.hero-btn.mail { background: var(--main-dark);}
.hero-btn:hover { background: var(--accent-blue);}
@media (max-width: 600px) {
  .main-catch { font-size: 1.38rem; }
  .sub-catch { font-size: 1em; }
  .hero-action { flex-direction: column; gap: 14px;}
  .hero-btn { width: 100%; font-size: 1em;}
}

/* --- Featureセクション --- */
.tourism-feature {
  background: #fff;
  border-radius: 18px;
  max-width: 960px;
  margin: 36px auto 24px auto;
  padding: 36px 10px 32px 10px;
  box-shadow: 0 4px 24px rgba(44,88,88,0.07);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  text-align: center;
}
.feature-list {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.feature-card {
  background-color: var(--color-bg-mid);
  border-radius: 15px;
  flex: 1 1 0;
  min-width: 220px;
  margin: 0 8px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(44, 88, 88, 0.06);
}
.feature-icon {
  font-size: 2.6em;
  margin-bottom: 10px;
  display: block;
}
.feature-text {
  font-size: 1.08em;
  color: var(--black);
}

/* --- 料金プラン --- */
.tourism-pricing {
  background: #fff;
  border-radius: 18px;
  max-width: 960px;
  margin: 32px auto 28px auto;
  padding: 36px 10px 28px 10px;
  box-shadow: 0 4px 24px rgba(44,88,88,0.07);
}
.pricing-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pricing-card {
  background-color: var(--color-bg-mid);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(44, 88, 88, 0.06);
  text-align: center;
  padding: 34px 22px 28px 22px;
  min-width: 200px;
  max-width: 270px;
  margin: 8px 2px;
}
.plan-title {
  font-size: 1.14em;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 2.0em;
  font-weight: 700;
  color: var(--main-green);
  margin-bottom: 10px;
}
.plan-price span {
  font-size: 0.55em;
  font-weight: 500;
  color: #666;
}
.plan-desc {
  font-size: 0.97em;
}
.note {
  text-align: center;
  font-size: 0.99em;
  margin-top: 22px;
}

/* --- フロー --- */
.tourism-flow {
  max-width: 960px;
  margin: 32px auto 24px auto;
  padding: 32px 12px 30px 12px;
}
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.flow-list li {
  font-size: 1.12em;
  background: #fff;
  margin-bottom: 12px;
  border-left: 8px solid var(--main-green);
  border-radius: 6px;
  padding: 14px 18px 14px 22px;
  box-shadow: 0 1px 4px rgba(44,88,88,0.06);
}
.flow-list li b {
  color: var(--main-dark);
  margin-right: 10px;
}


@media (max-width: 850px) {
  .feature-list,
  .pricing-cards,
  .contact-actions {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .feature-card, .pricing-card { min-width: 0; width: 94%; max-width: 300px;}
}
@media (max-width: 600px) {
  .tourism-header { padding: 12px 6px;}
  .section-title { font-size: 1.25rem;}
  .pricing-card { padding: 26px 10px 20px 10px;}
  .tourism-feature, .tourism-pricing, .tourism-flow, .tourism-contact {
    padding: 18px 0 20px 0;
    border-radius: 12px;
  }
}

.site-footer {
  background: #f6f6f6;
  border-top: 1px solid #e3e3e3;
  padding: 28px 0 10px 0;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.footer-logo img {
  height: 36px;
}
.footer-info {
  font-size: 0.98em;
  color: #888;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 4px; align-items: flex-start;}
  .footer-logo img { height: 28px;}
}

/*バナーボックス*/
#banner{
    width: 100%;
    max-width: 100%;
    margin:0 auto;
    margin-bottom:60px;
}
#banner .banner_box{
    display: flex;
    width: 100%;
    max-width: 1000px;
    height:auto;
    margin:0 auto;
    justify-content: center;
}

#banner .banner_box a{
    display: inline-block;
    width: 33%;
    max-width: 100%;
}

@media only screen and (max-width:450px){
	.main_photo img{
        height: auto;
	}
}

#banner .banner_box a{
    width: 100%;
}

/*20251008追記*/
/* ========== Tourism: 新規3セクション 共通カード ========== */
.tourism-card{
  border-radius:18px;
  max-width:960px;
  margin:28px auto;
  padding:28px 14px 26px 14px;
}

/* サブ見出し（既存 .section-title より一段小さく） */
.section-subtitle{
  font-size:1.5rem;
  font-weight:700;
  color:var(--black);
  text-align:center;
  letter-spacing:.03em;
  margin:0 0 18px;
}
.section-subtitle .num{ color:var(--main-green); }

/* --- 1) Reason --- */
.tourism-reason .reason-row{
  display:flex;
  align-items:center;
  gap:28px;
  justify-content:space-between;
}
.tourism-reason .reason-text{
  font-size:1.02rem;
  line-height:1.9;
}
.tourism-reason .reason-illust{
  flex:0 0 280px;
  text-align:center;
}
.tourism-reason .reason-illust img{
  width:100%;
  max-width:280px;
  height:auto;
}

/* --- 2) Support（画像のみ・説明はaltに記載） --- */
.tourism-support .support-illust{
  text-align:center;
}
.tourism-support .support-illust img{
  width:100%;
  max-width:100%;
  height:auto;
  display:inline-block;
}

/* --- 3) Merit（画像のみ・説明はaltに記載） --- */
.tourism-merit .merit-illust{
  text-align:center;
}
.tourism-merit .merit-illust img{
  width:100%;
  max-width:720px;
  height:auto;
  display:inline-block;
}

/* --- SP調整 --- */
@media (max-width: 780px){
  .tourism-card{ padding:20px 10px 20px 10px; border-radius:12px; }
  .tourism-reason .reason-row{ flex-direction:column-reverse; gap:16px; }
  .tourism-reason .reason-text{ font-size:1rem; }
  .section-subtitle{ font-size:1.25rem; }
}

/*メリット内容　６つの～*/
/* ===== Tourism: 6メリット（画像の下にテキスト列） ===== */
.tourism-merit .merit-list{
  list-style:none;
  padding:0;
  margin:16px auto 0;
  width:100%;
  max-width: 720px;     /* 画像幅に合わせて中央寄せ */
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.merit-item{
  display:grid;
  grid-template-columns: 56px 1fr;  /* 左にアイコン、右に本文 */
  align-items:center;
  gap:16px;
  padding:16px 22px;
  background: rgba(0,96,54,.08);    /* 淡いグリーン（MRi基調） */
  border-radius: 999px;             /* ピル型 */
}

/* 左のアイコン（暫定：絵文字）。あとでSVGへ差し替え可 */
.merit-item::before{
  content: attr(data-ico);
  width: 44px; height: 44px;
  display:grid; place-items:center;
  background:#fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,96,54,.06) inset;
  font-size: 22px; line-height:1;
}

.merit-title{
  margin:0 0 4px 0;
  color: var(--main-dark);          /* #006036 */
  font-weight: 800;
  font-size: 1.2rem;
}
.merit-desc{
  margin:0;
  color:#333;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 600px){
  .merit-item{ grid-template-columns: 48px 1fr; padding:12px 16px; }
  .merit-item::before{ width:40px;height:40px;font-size:20px; }
  .merit-title{ font-size:1.05rem; }
  .merit-desc{ font-size:.95rem; }
}

/* ========== Doctors section ========== */
.tourism-doctors .doctor-columns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.tourism-doctors .doctor-col{ display:flex; flex-direction:column; gap:14px; }

.tourism-doctors .doctor-meta{
  line-height:1.35;
}
.tourism-doctors .doctor-meta .hospital{
  display:block;
  font-weight:700;
  font-size:1.05rem;
  color:#233;
}
.tourism-doctors .doctor-meta .name{
  display:block;
  font-weight:600;
  color:#4a5a6d;
}

.tourism-doctors .doctor-stack{
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.doctor-photo{
  margin:0;
  border-radius:10px;
  overflow:hidden;
  background:#e9eef2;
}
.doctor-photo img{
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;     /* 比率固定 */
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}
.doctor-photo:hover img{ transform: scale(1.02); }

/* ========== Facility section ========== */
.tourism-facility .facility-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.facility-photo{
  margin:0;
  border-radius:10px;
  overflow:hidden;
  background:#eef3f6;
}
.facility-photo img{
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}
.facility-photo:hover img{ transform: scale(1.02); }

/* キャプション（下段のみ） */
.facility-photo.with-cap figcaption{
  padding:10px 4px 0;
}
.cap-title{
  font-weight:700;
  color:#233;
  margin-bottom:4px;
}
.cap-note{
  color:#4e5b64;
  font-size:.95rem;
}

/* ===== SP ===== */
@media (max-width: 820px){
  .tourism-doctors .doctor-columns,
  .tourism-facility .facility-grid{
    grid-template-columns: 1fr;
  }
}

/* 下段：キャプションを見せる */
.facility-photo.with-cap{
  overflow: visible;              /* ← ここで figcaption を隠さない */
}

.facility-photo.with-cap figcaption{
  display: block;                 /* 念のため明示 */
  padding: 10px 4px 0;
  background: transparent;
}

.cap-title{
  font-weight: 700;
  color: #233;
  margin-bottom: 4px;
}

.cap-note{
  color: #4e5b64;
  font-size: .95rem;
  line-height: 1.6;
}


/* 下段：キャプション付きの figure は高さに含める */
.facility-photo.with-cap{
  overflow: visible;                 /* 画像の外へ出るキャプションも表示 */
}

.facility-photo.with-cap figcaption{
  position: static !important;       /* 念のため通常フローに固定 */
  display: block;
  margin-top: 10px;                  /* 画像との余白 */
  padding: 0 4px;
  background: transparent;
}

/* 下段グリッドの直後に少し余白を確保 */
.tourism-facility .facility-grid.bottom{
  margin-bottom: 24px;
}

/* どこかで float が当たっても見出しを食い上げない */
.tourism-facility h3{
  display: block;
  clear: both;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 80px;
}

/* ========== Aftercare（帰国後サポート） ========== */
.tourism-aftercare{
  max-width: 960px;
  margin: 32px auto 28px;
  padding: 28px 14px 36px;
}

.aftercare-title{
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
  font-size: 2rem;
  color: var(--text-dark);
  margin: 0 0 14px;
}

.aftercare-lead{
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: left;
  line-height: 1.9;
  font-size: 1.02rem;
  color: #1f2b36;
}

/* 3つのアフターケアアイコン（常に横3列） */
.aftercare-icons{
  list-style: none;
  padding: 0;
  margin: 16px auto;
  display: flex;
  flex-wrap: nowrap;              /* ← スマホでも改行させない */
  justify-content: space-between; /* 3つを均等に配置 */
  gap: clamp(8px, 2vw, 16px);     /* 余白は画面幅に応じて可変 */
  max-width: 1000px;              /* 任意：親の上限幅 */
}

.aftercare-icons li{
  flex: 0 0 33.333%;              /* 幅を常に33%に固定 */
  max-width: 33.333%;
  min-width: 0;                   /* はみ出し防止（長いalt等の安全策） */
}

.aftercare-icons img{
  display: block;
  width: 100%;                    /* 枠いっぱいにフィット */
  height: auto;
  max-width: 100%;
}

/* 見出し帯 */
.aftercare-banner{
  margin: 6px auto 18px;
  background: var(--main-dark);      /* テーマの濃色 */
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 12px 10px;
  border-radius: 8px;
  letter-spacing: .08em;
}

/* 提携クリニック：2カラム（SP縦積み） */
.aftercare-partner{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 26px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.partner-text{ font-size: 1rem; color:#20313f; }
.partner-head{
  font-weight: 800;
  font-size: 1.25rem;
  margin: 6px 0 8px;
}
.partner-head .diamond{ color:#000; margin-right:.25em; }
.partner-quote{
  font-weight: 700;
  font-size: 1.05rem;
  margin: 6px 0 10px;
}
.partner-desc{
  line-height: 1.9;
  margin: 0;
}

.partner-photo{
  margin: 0;
  padding: 0;
}
.partner-photo img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(30,60,60,.08);
}

/* SP調整 */
@media (max-width: 780px){
  .aftercare-title{ font-size: 1.6rem; }
  .aftercare-lead{ font-size: 1rem; text-align: left; }
  .aftercare-partner{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- 料金一覧 / 無料相談 / 予約方法（画像セクション） --- */
.tourism-priceimg .img-wrap,
.tourism-free-consul .img-wrap,
.tourism-reserv .img-wrap { text-align: center; }

.tourism-card .img-wrap img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: inline-block;
}

.tourism-free-consul { 
  width: 100%; 
  max-width: 600px; 
  padding: 0; 
  margin: 0 auto;            /* セクション自体も中央寄せ */
  text-align: center;
}

.tourism-free-consul .img-link{
  display: block;            /* ← inline-block だと shrink-to-fit になる */
  width: 100%;               /* 親の幅を確定させる */
  max-width: 600px;
  margin: 0 auto;
  line-height: 0;
}

.tourism-free-consul .img-link img{
  display: block;            /* 画像下の隙間対策 */
  width: 100%;
  height: auto;
  max-width: 600px;         /* 任意：上限幅 */
}

/* 予約CTAボタン */
.tourism-reserv .cta-wrap {
  text-align: center;
  margin-top: 18px;
}
.tourism-reserv .cta-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--color-bg-button-hover);    /* #006036 */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 6px 16px rgba(44,88,88,.15);
  transition: transform .15s ease, background .15s ease;
}
.tourism-reserv .cta-btn:hover {
  background: var(--color-bg-button);
  transform: translateY(-1px);
}

/* SP最適化 */
@media (max-width: 600px){
  .tourism-card .img-wrap img { border-radius: 10px; }
  .tourism-free-consul { max-width: 100%; }
  .tourism-reserv .cta-btn { width: 92%; max-width: 360px; }
}

/* 入会ボタン：初期は非表示 → スクロールで出現 */
.fixed-join-banner {
  position: fixed;
  right: -12px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  width: 170px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

/* 出現時 */
.fixed-join-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* 出現時のアニメ：左右にゆれる */
.fixed-join-banner.is-visible a {
  display: inline-block;
  animation: swayX 2s ease-in-out infinite alternate;
  will-change: transform;
}

/* 左右スイング（-6px ↔ 6px） */
@keyframes swayX {
  0%   { transform: translateX(-6px); }
  100% { transform: translateX(6px); }
}

/* 画像はブロックで拡縮に追従 */
.fixed-join-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* 小さめ端末で少し控えめに */
@media (max-width: 480px) {
  .fixed-join-banner { width: 140px; right: 16px; }
}

/* ふわふわアニメ */
@keyframes floaty {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* 動きに弱い方向けに無効化 */
@media (prefers-reduced-motion: reduce) {
  .fixed-join-banner,
  .fixed-join-banner.is-visible,
  .fixed-join-banner.is-visible a {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ===== Tourism：7つのサポート見出し ===== */
.tourism-merit-heading {
  text-align: center;
  margin: 0 auto 34px;
}

.merit-heading-en {
  color: var(--main-green);
  font-weight: 700;
  letter-spacing: .16em;
  font-size: 14px;
  margin-bottom: 8px;
}

.tourism-merit-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--black);
}

.tourism-merit-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.merit-item-pickup {
  background: rgba(208,169,0,.14);
  border: 1px solid rgba(208,169,0,.35);
}

.sp-only {
  display: none;
}

@media (max-width: 600px) {
  .tourism-merit-heading h2 {
    font-size: 1.55rem;
  }

  .sp-only {
    display: block;
  }
}

/* ===== Tourism：外部サイト導線 ===== */
.tourism-site-guide {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 26px 20px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(30,60,60,.08);
}

.tourism-site-guide .guide-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--main-dark);
  margin-bottom: 10px;
}

.tourism-site-guide .guide-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

.tourism-site-guide .guide-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--main-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.tourism-site-guide .guide-btn:hover {
  opacity: .85;
}

/* ===== Tourism：料金概要 ===== */
.tourism-price-summary {
  max-width: 600px;
  margin: 0 auto 36px;
  padding: 34px 38px;
  background: #fff;
  border-top: 5px solid var(--main-dark);
  box-shadow: 0 4px 18px rgba(30,60,60,.08);
}

.price-summary-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--main-dark);
  margin-bottom: 22px;
  text-align: center;
}

.price-summary-main {
  border-top: 1px solid #e5eeee;
  border-bottom: 1px solid #e5eeee;
}

.price-summary-main p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e5eeee;
  font-size: 16px;
}

.price-summary-main p:last-child {
  border-bottom: none;
}

.price-summary-main span {
  color: #333;
}

.price-summary-main strong {
  color: #111;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.price-summary-note {
  list-style: none;
  padding: 0;
  margin: 20px 0 16px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.price-summary-note li::before {
  content: "✓";
  color: var(--main-dark);
  font-weight: 800;
  margin-right: 8px;
}

.price-summary-small {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .tourism-price-summary {
    padding: 26px 20px;
  }

  .price-summary-main p {
    display: block;
  }

  .price-summary-main strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
  }
}