/* =========================================================
   Base Setup
   ========================================================= */
:root {
  --max-content: 1164px;        /* コンテンツ最大幅 */
  --header-h: clamp(60px, 6vw, 80px);            /* ヘッダー高さ */
  --gap: clamp(16px, 2vw, 28px);
  --radius: 16px;
  
  /* 右上スタンプ */
  --stamp-width: clamp(200px, 34vw, 470px);
  --stamp-height: clamp(170px, 25vw, 340px);
  --stamp-mini-width: clamp(170px, 19vw, 330px);
  --stamp-mini-height: clamp(140px, 15vw, 240px);
}


p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  margin: 0 0 clamp(16px, 2vw, 22px);
}

* { box-sizing: border-box; }

html, body { 
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

/* -- FONT ----------------------------- */
html {  font-size: clamp(15px, 1.4vw, 18px); }
h1 { font-size:1.7rem; font-weight:500;}
h2 { font-size:1.6rem; font-weight:500;}
h3 { font-size:1.2rem; font-weight:500;}
.small { font-size:0.795rem; }
.bold { font-weight:600;}
.red{ color:#E7563C;}



body {
  /*font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN","Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  */font-family: "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  font-weight:500;
  margin: 0;
  line-height: 1.7;
  color: #333227;
  background: #fff;
  padding-top: 40px;  /* ヘッダー高さぶん下げる */
}


/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;  /* 上ヘッダー固定 */
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid #eee;
}



/* 左右 6% 余白の内側ラッパー（ロゴ左 / メニュー右） */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 6%;
  padding-right: 6%;
}


/* =========================================================
   右上画像LOGO
   ========================================================= */

/* 通常サイズ */
.logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  width: var(--stamp-width);
  height: var(--stamp-height);
  transform-origin: top left; /* ← 左上を基準に縮小 */
  transition: transform 0.4s ease, opacity 0.3s ease;
  display: block;
  overflow: hidden; /* ← クリック範囲を子要素に合わせる */
}

/* 縮小時 */
/* スクロール後：小さく */
.logo.is-mini {
  transform: scale(
    calc(var(--stamp-mini-width) / var(--stamp-width)),
    calc(var(--stamp-mini-height) / var(--stamp-height))
  );
}

.corner-stamp img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
   /* 右下のみ角丸 */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 50px;
}

.corner-stamp.is-mini {
  width: clamp(180px, 28vw, 350px);
  height: auto;
}

@media (max-width: 768px) {
  .corner-stamp img {
    border-bottom-right-radius: 30px;
  }

}


/* ロゴはhover時に透過しない */
.logo:hover,
.logo:hover img {
  opacity: 1 !important;
}



/* ナビゲーション */
.site-nav { position: relative; }

/* ============ = と × マーク（シンプル版） ============ */
.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  position: fixed;          /* 右上に固定 */
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  z-index: 120;
  cursor: pointer;
}

/* ３本線の描画 */
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 26px;
  height: 2px;
  background: currentColor;  /* 文字色と揃える */
  transform: translateX(-50%);
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

.nav-toggle .hamburger { top: 50%; }
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after  { top:  8px; }

/* 開いたときに × に変形 */
.site-header.is-menu-open .hamburger {
  background: transparent;  /* 中央線を消す */
}
.site-header.is-menu-open .hamburger::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.site-header.is-menu-open .hamburger::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================================
   ナビゲーション（SPフルスクリーン＋フェード / PC横並び）
   ========================================= */

/* ベース（共通） */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sns-icon img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* ハンバーガー（☰→×） */
.nav-toggle {
  appearance: none; -webkit-appearance: none;
  background: transparent !important;
  border: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 1002;
  color: #333;
}
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute; left: 50%;
  width: 26px; height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}
.nav-toggle .hamburger { top: 50%; }
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after  { top:  8px; }
.site-header.is-menu-open .hamburger { background: transparent; }
.site-header.is-menu-open .hamburger::before {
  top: 0; transform: translateX(-50%) rotate(45deg);
}
.site-header.is-menu-open .hamburger::after {
  top: 0; transform: translateX(-50%) rotate(-45deg);
}

/* ======== SP/タブレット（≤1023px）：フルスクリーン＋フェード ======== */
@media (max-width: 1023px) {
  /* ハンバーガーを右上固定 */
  .nav-toggle {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }

  /* オーバーレイの“土台”は常時。見せる/隠すはopacity系だけ */
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #F3F4EB;
    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  /* 開いた時だけ可視化 */
  .site-header.is-menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* hiddenが付いていてもdisplayは維持（フェード殺さないため） */
  .nav-menu[hidden] { display: flex !important; }

  /* メニューリンクの体裁 */
  .site-header.is-menu-open .nav-menu li { margin: 0; }
  .site-header.is-menu-open .nav-menu a {
    display: inline-block;
    padding: 6px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(18px, 2.4vh, 25px);
    line-height: 1.6;
  }

  /* 展開中、背面スクロール停止（JSが body.menu-lock を付与） */
  body.menu-lock { 
    overflow: hidden; 
    height: 100%;
  }
}



/* フルスクリーン内電話番号 */
.menu-contact {
  margin-top: 28px;
  padding: 16px 20px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 85%;
  max-width: 300px;
  line-height: 1.6;
}

.menu-contact .tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.menu-contact .icon-tel {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
}


.menu-contact .hours,
.menu-contact .closed {
  font-size: 14px;
  font-weight: 400;
}

.site-header.is-menu-open .nav-menu .menu-contact .tel a {
  padding: 0;
}



/* ======== PC（≥1024px）：横並び常時表示 ======== */
@media (min-width: 1024px) {
  /* ハンバーガーはPCで非表示 */
  .nav-toggle { display: none; }

  /* ULを通常フローに戻す（オーバーレイ解除） */
  .nav-menu {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 0;
    background: transparent;
    overflow: visible;

    display: flex;               /* 横並び */
    align-items: center;
    justify-content: flex-end;   /* 右寄せは好みで */
    gap: 29px;
    padding: 0;
    margin: 0;

    /* フェードを無効化＝常時可視 */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  /* hiddenが付いていても表示（予防線） */
  .nav-menu[hidden] { display: flex !important; }

  /* PC時のリンク体裁 */
  .nav-menu li { margin: 0; }
  .nav-menu a {
    display: block;
    padding: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    transition: opacity .2s;
  }
  .nav-menu a:hover { opacity: .7; }
}


/* =========================================================
   メインビジュアル Hero Section（ヘッダー＋ヒーローで 100vh 構成）
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  z-index: 1; 
}


/* スライドは最背面 */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1; 
}


/* 各スライド共通 */
.slide {
  position: absolute;
  inset: 0;
  z-index: 0;            /* 念のため固定 */
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlideshow 18s infinite;
  transition: opacity 1.5s ease;
}

/* 各スライド画像指定 */
.slide1 { background-image: url("../images/mv01.webp"); animation-delay: 0s; }
.slide2 { background-image: url("../images/mv02.webp"); animation-delay: 6s; }
.slide3 { background-image: url("../images/mv03.webp"); animation-delay: 12s; }

/* スマホ用のスライド画像に切り替え */
@media (max-width: 767px) {
  .slide1 { background-image: url("../images/mv01_sp.webp"); }
  .slide2 { background-image: url("../images/mv02_sp.webp"); }
  .slide3 { background-image: url("../images/mv03_sp.webp"); }

  /* 背景サイズや位置もスマホ向けに調整可能 */
  .slide {
    background-size: cover;
    background-position: center center;
  }
}

/* フェードアニメーション */
@keyframes fadeSlideshow {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}


.hero-overlay {
  position: absolute;   
  inset: 0;             /* ← top/right/bottom/left:0 と同義：全面フィット */
  z-index: 2;           /* スライドより前面 */
  display: flex;
  align-items: center;  /* 上下中央 */
  justify-content: flex-end; /* 右寄せ */
  padding: 40px 0;
  text-align: right;
  background: none;     /* 透過グラデ不要なので明示的に無し */
}

/* 右側のテキストボックス（幅/位置調整） */
.hero-textbox{
  margin-left: auto;
  max-width: 640px;
  margin-right: 10%; /* ← 右端との距離を調整 */
}


/* タイポ */
.hero-title {
  font-size: clamp(30px, 2.8vw, 54px);
  line-height: 1.9;
  margin: 0 0 30px;
  font-weight: 600;
}

.hero-lead{
  font-size: clamp(15px, 1.7vw, 20px);
  margin: 0 0 22px;
  opacity: .95;
}

/* 電話情報ブロック */
.hero-contact {
  width: 258px;                       /* PCはボタンと同幅 */
  background-color: rgba(255, 255, 255, 0.6); /* 白を透過 */
  border-radius: 20px;                /* 角丸 */
  padding: 24px 16px 16px 16px;
  margin-top: 16px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.5;
  box-sizing: border-box;
  margin-left: auto;      /* ← これで右寄せ */
  margin-right: 0;

  /* ▼ 中央寄せ追加 ▼ */
  display: flex;
  flex-direction: column;
  align-items: center;    /* 横方向センタリング */
  text-align: center;     /* テキスト中央寄せ */
}



.hero-contact .phone {
  display: flex;
  align-items: center;     /* ← これで垂直中央揃え */
  justify-content: center; /* ← 横も中央揃え */
  gap: 8px;
  font-size: clamp(26px, 2.4vw, 30px);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1;          /* ← 行の高さによるズレを防ぐ */
}

.hero-contact img {
  width: 24px;
  height: 24px;
  display: block;           /* ← inline画像のベースラインを消す */
  transform: translateY(3px);
}


@media (max-width: 768px) {
  .hero-contact{
  width: 258px; 
}

  .hero-overlay {
    align-items: flex-start; /* ← 上寄せに変更 */
    padding-top: 150px;       /* ← 上から余白） */
    padding-bottom: 0; 
  }

  .hero-contact img {
    width: 20px;
    height: 20px;
  }

}


.hero-contact .time,
.hero-contact .closed {
  margin: 0;
  font-weight: 400;
  font-size:clamp(13px, 1.2vw, 16px);
}






/* =========================================================
   overlap-image（コンテンツ間の画像）
   ========================================================= */


.overlap-image {
  position: relative;
  width: 100vw;             /* ← ブラウザ幅いっぱいに */
  margin-left: 50%;         /* ← ビューポート基準の中央寄せ補正 */
  transform: translateX(-50%); /* ← 中央に戻す */
  margin-top: -50px;        /* ← かぶらせる（調整） */
  z-index: 10;
}

@media (max-width: 767px) {
  .overlap-image {
    margin-top: -20px;   /* ← スマホではかぶせ量を小さく */
    margin-bottom: -4px; /* ← 下の余白を詰める */
  }
}

.overlap-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.overlap-image img.wave {
  width: 100%;
  height: auto;
  display: block;
}

.overlap-illust {
  position: absolute;
  left: 5%;                 
  top: -40px;              /* 上方向にかぶせる */
  width: clamp(100px, 13vw, 182px);            /* 指定サイズ */
  z-index: 3;             
}

.overlap-illust {
  position: absolute;
  left: 5%;                 
  top: -40px;              /* 上方向にかぶせる */
  width: clamp(100px, 13vw, 182px);            /* 指定サイズ */
  z-index: 3;             
}

.overlap-illust2 {
  position: absolute;
  left: 5%;                 
  top: -40px;              /* 上方向にかぶせる */
  width: clamp(80px, 8vw, 126px);            /* 指定サイズ */
  z-index: 3;             
}

/* =========================================================
   main_catch（メインキャッチエリア）
   ========================================================= */

.main_catch {
  position: relative;
  width: 100%;
  padding: 0px 0 60px 0;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  background-color:#F8F9F4;
}

/* 中央テキストエリア */
.main_catch .center-text {
  width: clamp(300px, 47vw, 700px);
  max-width: 100%;
  margin: 0 auto;
}

.main_catch .center-text h2 {
  font-size: clamp(18px, 2.2vw, 32px);
  text-align: left;
  font-weight: 600;
  margin-bottom: 32px;
}

.main_catch .center-text p {
  text-align: left;
}

/* 左右の装飾画像 */
.main_catch .side-image {
  position: absolute;
  width: clamp(160px, 20vw, 320px);
  z-index: 0;
}

.main_catch .side-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左右別の上下位置調整 */
.main_catch .side-image.left {
  left: 0;
  top: 80px;
}
.main_catch .side-image.left img {
    border-radius: 0 20px 20px 0;
}

.main_catch .side-image.right {
  right: 0;
  top: 0px;
}
.main_catch .side-image.right img {
    border-radius: 20px 0 0 20px;
}



/* ======================
   レスポンシブ調整
   ====================== */
@media (max-width: 1023px) {
  .main_catch .side-image {
    width: 200px;
    opacity: 0.9;
  }
}

@media (max-width: 767px) {
  .main_catch {
    padding: 0 0 40px 0;
  }
  .main_catch .side-image {
    display: none; /* スマホでは非表示推奨 */
  }
  .main_catch .center-text {
    width: 90%;
  }
  .main_catch .center-text p {
    text-align: left;
  }
}

/* スマホでのみメインキャッチ下画像表示 */
.main_catch_spimage {
  display: none; /* デフォルトでは非表示 */
}


@media (max-width: 767px) {
  .main_catch_spimage {
    display: block;
    margin: 40px 0;
    text-align: center;
  }

  .main_catch_spimage img {
    width: 90%;
    max-width: 60%; /* お好みで */
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
  }
}


/* =========================================================
   about（３つの特徴）
   ========================================================= */

.about {
  position: relative;
  background-color: #F3F4EB;
  padding: 100px 0 130px;
  text-align: center;
  overflow: visible;
  z-index: 3;    
}

/* 内側ラッパーを中央寄せ */
.about-inner {
  width: 100%;
  max-width: 1164px;
  margin: 0 auto;          /* ← ブラウザ中央に配置 */
  text-align: left;        /* ← 中のテキストは左寄せ */
  position: relative;
  z-index: 2;
  padding: 0 40px;   /* ← 左右に余白 */
}

@media (max-width: 1023.98px) {
  .about-inner { padding: 0 40px; }
}

@media (max-width: 767px) {
  .about-inner {
    padding: 0 20px;   /* ← モバイルは余白を狭める */
  }
}

/* タイトル */
.section-title {
  display: flex;
  align-items: center;
  gap: 22px;  /* ← 赤バーとタイトルとの距離 */
  font-size: clamp(18px, 1.8vw, 26px);
  margin: 0 0 50px 0; 
  font-weight:600;
}

/* 赤バー */
.section-title .bar {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background-color: #D45B3F;
  /* transform: translateY(2px); */
}


/* 3つのボックス配置 */
.about-boxes {
  display: flex;
  justify-content: space-between;  /* ← 中央寄せではなく均等配置 */
  gap: 30px;                       /* ← 適度な余白 */
  max-width: 1164px;
  margin: 0 auto 70px;
  flex-wrap: nowrap;               /* ← 折り返し禁止：タブレットでも横並び */
}

.about-box {
  flex: 1;  
  min-width: 0;
  background-color: #fff;
  border-radius: 20px;
  padding: 10px 30px 60px;  /* ← box余白 */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
}


.about-box .num {
  font-size: clamp(28px, 3vw, 40px);
  color: #D45B3F;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-box p {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.8;
  font-weight:500;
  margin-bottom: 24px;
}

.about-box p .red {
  color: #D45B3F;
}

.about-box .icon img {
  width: clamp(60px, 10vw, 120px);
  height: auto;
  margin: 0 auto;
  display: block;
}

/* 3つのアイコン画像 */
.about-box .icon img {
  display: block;
  margin: 0 auto;
  height: auto;
}

/* 3つのアイコン画像個別サイズ */
.about-boxes .about-box:nth-child(1) .icon img {
  max-width: 100px;   /* 歯アイコン */
}

.about-boxes .about-box:nth-child(2) .icon img {
  width: 80px;  /* 猫アイコン */
}

.about-boxes .about-box:nth-child(3) .icon img {
  width: 150px;   /* 医療・本アイコン */
}


.about .btn {
  display: block;
  margin: 32px auto 0;   /* ブラウザ中央寄せ */
  text-align: center;
}


/* 右上の装飾イラスト */
.aboutindex-illust {
  position: absolute;
  top: -30px;
  right: 5%;
  width: clamp(60px, 8vw, 108px);
  z-index: 4;
  pointer-events: none;
}

.aboutindex-illust img {
  width: 100%;
  height: auto;
  display: block;
}



/* タブレット専用調整 */
@media (max-width: 1023px) and (min-width: 768px) {
  .about-boxes {
    gap: 20px;                     /* ← タブレットでは少し余白を狭く */
    padding: 0 24px;               /* ← 左右に少し余裕をつける */
  }

  .about-box {
    font-weight:600;
    padding: 20px 16px 40px;       /* ← 内側の余白を少し減らして調整 */
  }

  .about-box p {
    font-size: clamp(15px, 1.5vw, 18px); /* ← 少し小さくして収まり良く */
  }

  .about-box .icon img {
    width: clamp(60px, 9vw, 100px); /* ← 横幅に応じて自然に縮小 */
  }
}


/* スマホ対応 */
@media (max-width: 767px) {
  .about {
    padding: 60px 0 130px;
  }

  .about-boxes {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-box {
    width: 70%;
    max-width: none;
    margin: 0 auto;
    padding: 0px 30px 40px;  /* ← box余白 */
  }

  .about-box p {
    font-weight:600;
  }
        
  .section-title {
    display: flex;
    align-items: center;
    gap: 10px; /* ← 文字との距離 */
    margin: 0 0 40px 0;
    font-weight:bold;
  }

  .section-title .bar {
    margin: 0 4px 0 0; /* ← バーと文字の最小余白 */
    position: static;
    display: inline-block;
    width: 6px;
    height: 1em;
  }

  .aboutindex-illust {
    width: clamp(40px, 20vw, 80px);
  }


}




/* =========================================================
   information
   ========================================================= */
.information {
  background: #F8F9F4;
  padding: 20px 0 90px 0;
}

.information-inner {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 40px; /* ← 1164px付近でも左右に呼吸 */
}

.info-grid {
  display: flex;
  gap: 60px;
}

.info-col {
  width: 50%;
}

/* マーカー見出し（全て共通） */
.marker-title {
  display: inline-block;
  background: linear-gradient(transparent 60%, #FFE3D8 60%);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  margin: 0px 0 12px;
  line-height: 1.4;
}

.marker-title.sm { margin-top: 55px; }

@media (max-width: 767px) {
  .marker-title.sm { margin-top: 30px; }
}


/* 説明文 */
.info-text{
  margin: 0 0 40px 0;
}


/* 横並び＋中央寄せ（幅が足りなければ折り返しOK） */
.btn-row {
  display: flex;
  justify-content: center;  /* ← 中央寄せ */
  align-items: center;
  gap: 18px;                /* ← ボタン間の距離 */
  flex-wrap: wrap;          /* ← 狭い画面では自然に折り返す */
  margin: 22px 0 10px;
}

.btn-row .btn {
  width: 240px;  
  text-align: center;
}



/* Instagramカード */
.insta-card {
  position: relative;   
  margin: 14px 0 80px 0;
  padding: 25px 30px 10px 30px;;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

@media  (max-width: 1024px) {
  .insta-card {
    margin-bottom:0;
  }
}


.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.insta-link img { display:block; }

.insta-card .insta-illust {
  position: absolute;
  top: -10px; 
  right: 20px;
  width: clamp(100px, 14vw, 135px); 
  height: auto;
  z-index: 2;
  pointer-events: none; 
}

@media  (min-width: 769px) and (max-width: 1170px) {
  .insta-card .insta-illust {
    width: clamp(80px, 13vw, 123px); 
    top: -6px;                      
    right: 15px;
  }
}

@media (max-width: 768px) {
  .insta-card .insta-illust {
    width: 100px;
    top: 55px;                      
    right: 0px;
  }
  .insta-card p{
    font-size:14px;
  }
}

/* カレンダーカード */
.calendar-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  padding: 14px;
  margin-top:20px;
}

/* タブレットで中央寄せ＋幅80% */
@media (max-width: 1024px) {
  .calendar-card {
    width: 80%;
    margin: 10px auto 70px auto; /* autoで中央寄せ */
  }
}
/* スマホで中央寄せ＋幅94% */
@media (max-width: 767px) {
  .calendar-card {
    width: 100%;
    margin: 10px 0 0px 0;
  }
}

.gcalendar {
  width: 100%;
  aspect-ratio: 4 / 4;      /* レスポンシブで比率維持 */
  border: 0;
  border-radius: 12px;
}



/* スマホレイアウト */
@media (max-width: 1023.98px) {
  .information-inner { padding: 0 40px; }
  .info-grid { flex-direction: column; }
  .info-col { width: 100%; }
}


/* =========================================================
   services（診療案内）
   ========================================================= */  
  
.services {
  background: #FFF;
  padding: 100px 0 120px;
  position: relative;
  z-index: 2;
}

.services-inner {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 4%; /* ← ブラウザ幅が狭くなった時の余白対策 */
}

.services-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: nowrap;        /* ← wrapを解除（横並び固定） */
  margin-bottom: 80px;
}

.services-text {
  flex: 1 1 55%;
}

.services-image {
  flex: 1 1 40%;
  align-self: flex-start;   /* ← テキスト上部にそろえる */
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}


/* PCは横並び固定 */
@media (min-width: 1024px) {
  .services-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: nowrap;              /* ← 折り返さない */
    position: relative;
  }

  .services-inner {
    padding-right: 0;
  }

  /* テキスト側はそのまま */
  .services-text {
    flex: 1 1 auto;
  }

  /* 画像をブラウザ右端へ張り付ける */
  .services-image {
    flex: 0 0 clamp(360px, 34vw, 560px); /* 画像幅（お好みで） */
    align-self: flex-start;
    /* コンテナの外側余白分だけ右へ“はみ出す”ネガティブマージン */
    margin-right: calc(max(0px, (100vw - 1164px) / 2) * -1);
  }

  .services-image img {
  border-radius: 20px;
}

}

@media (max-width: 1023px) {
  .services-flex {
    flex-direction: column;
  }

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

  .services-image img {
    width: 70%;
    margin:0 auto;
  }

}

/* スマホ */
@media (max-width: 767px) {
  .services{
    padding-top:70px;
  }
}



/* 段落 */
.services p {
  line-height: 1.9;
  margin-bottom: 12px;
}

/* 下段グリッド（2列×2行） */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin-bottom: 60px;
}

/* スマホ：縦1列に変更 */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr; /* ← 1列に変更 */
    gap: 30px;                  /* ← 余白も調整 */
  }
}

/* ボタン中央寄せ */
.services .btn {
  display: block;
  margin: 40px auto 0;
  text-align: center;
}




/* =========================================================
   top-feature
   ========================================================= */
.top-feature {
  position: relative;
  width: 100%;
  overflow: visible;      /* ← はみ出しを許可 */
  z-index: 10;            /* ← 上のセクションより前面に出す */
}

/* 背景画像 */
.feature-image-wrap {
  position: relative;
  width: 100%;
  z-index: 1;             /* ← 背景は下の層 */
}

.feature-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* デフォルト（PC） */
.feature-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホで画像を切り替え */
@media (max-width: 767px) {
  .feature-bg {
    content: url("../images/top-feature-image_sp.webp"); /* ← スマホ用に切り替え */
  }
}

/* 左上イラスト配置 */
.feature-illust {
  position: absolute;
  top: -40%;               /* ← はみ出す位置 */
  left: 5%;
  width: clamp(80px, 12vw, 180px);
  height: auto;
  z-index: 11;            /* ← 背景より前、他セクションより前 */
  pointer-events: none;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .feature-illust {
    width: clamp(60px, 18vw, 120px);
    top: -30%;             /* ← スマホで調整 */
    left: 6%;
  }
}

/* =========================================================
   access
   ========================================================= */
.access {
  background: #F8F9F4;
  padding: 90px 0 90px;
}
.access-inner {
  max-width: 1164px;
  margin: 0 auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

.access-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.access-col.left  { flex: 1 1 50%; }
.access-col.right { flex: 1 1 50%; }

.access-name {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  margin: 0 0 8px;
}
.access-addr {
  margin: 0 0 18px;
}

.access-table {
  margin: 22px 0 28px;
}
.access-table img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

/* ボタンと電話ブロック横並び */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px; /* ボタンと電話の間の余白 */
  flex-wrap: wrap;
}

/* 電話ブロック（右側） */
.phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← 中央寄せ */
  justify-content: center;
  text-align: center;    /* ← テキストも中央に */
  margin-top: 12px;

}

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.phone-number {
  font-size: clamp(24px, 2.6vw, 28px);
  font-weight: 600;
}

.phone-note {
  margin-top: 0px;
  font-size: 15px;
  line-height: 1;
}

/* スマホでは縦並びに */
@media (max-width: 767px) {
  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}

/* マップ */
.map-card {
  border-radius: 18px;
}
.gmap {
  width: 100%;
  aspect-ratio: 4 / 4; /* 縦/横の比率 */
  border: 0;
  border-radius: 12px;
}

/* レスポンシブ：スマホで縦並び（地図が下） */
@media (max-width: 1024px) {
  .access-grid {
    flex-direction: column;
    gap: 36px;
  }
}

/* タブレット(768–1024px)での access */
@media (max-width: 1024px) {
  .access {
    padding:40px 0 0 0; /* ← 地図下余白を削除 */
  }
  .map-card { line-height: 0; }  /* 親の行間を潰す */
  .gmap { display: block; }      /* iframeのbaselineギャップを消す */

  .access-table img {
    width: 70%;
  }

  .access-grid {
    flex-direction: column;  /* 既存のままでOK */
    gap: 36px;
  }

  .access-col.right {
    width: 100%;             /* 右カラムは全幅 */
  }

  /* フルブリードの定番：100vw + 中央補正 */
  .map-card {
    width: 100vw;            /* ブラウザ幅いっぱい */
    margin-left: 50%;
    transform: translateX(-50%);  /* 中央に戻す */
    padding: 0;              /* 余白は削除（任意） */
    border-radius: 0;        /* 端まで出すので角丸オフ（任意） */
  }

  .gmap {
    width: 100%;
    height: clamp(360px, 55vh, 600px);
    border: 0;
    border-radius: 0;        /* 端まで出すので角丸オフ（任意） */
    /* aspect-ratio 指定があればこのブロックで上書きされます */
  }
}

/* スマホ */
@media (max-width: 767px) {
  .gmap {
    width: 100%;
    aspect-ratio: 3 / 2;   /* ← 横：縦  */
    height: auto;          /* ← 明示的な高さ指定を解除 */
    border: 0;
  }

  .access-table img {
    width: 100%;
  }

  /* ご予約ボタンと電話ブロックを横並びに */
  .cta-row {
    flex-direction: row;          /* ← 横並びに戻す */
    justify-content: flex-start;  /* 左寄せ */
    align-items: center;
    gap: 20px;                    /* ボタンと電話の間 */
  }

  /* 電話ブロックは縦のまま中央寄せ（電話番号＋時間） */
  .phone-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .phone-row {
    justify-content: center;
  }

  .access-cta{
    margin-top:20px;
  }
}


/* =============================
   下層ページタイトル
   ============================= */
.pagetitle {
  background-color: #F3F4EB;
  height: clamp(160px, 20vw, 238px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pagetitle-inner {
  text-align: center;
}

.pagetitle .jp-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  margin-top: clamp(55px, 5.5vw, 70px);
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.pagetitle .en-title {
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: 0.06em;
}



/* =============================
   院長ご挨拶セクション
   ============================= */
.greeting {
  position: relative;
  background: #F8F9F4;
  padding: clamp(40px, 6vw, 80px) 0;
}


.greeting-illust {
  position: absolute;
  top: clamp(-70px, -6vw, -40px);
  right: 5%;
  width: clamp(40px, 5vw, 70px);
  z-index: 2; 
  pointer-events: none; 
}

.greeting-illust img {
  width: 100%;
  height: auto;
  display: block;
}


.greeting-inner {
  max-width: 1164px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 40px);
  gap: 6%; /* ← カラム間の余白 */
}

/* カラム比率 */
.greeting-col.left {
  flex: 0 0 57%;
}

.greeting-col.right {
  flex: 0 0 37%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F3F4EB;
}

.greeting .profile {
  text-align: left;
  width: 100%;
  max-width: 300px; 
  margin: 0 auto;
  margin-bottom:30px;
  padding-left:10px;
}


/* 左カラム内容 */
.greeting .catch {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.8;
  margin: 0 0 clamp(28px, 3vw, 40px);
}


/* 右カラム内容 */
.greeting .photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.greeting .profile .role {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  margin: 0 0 4px;
}

.greeting .profile .name {
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 600;
  margin: 0 0 clamp(8px, 1vw, 14px);
}

.greeting .profile .name .en {
  font-size: clamp(13px, 1.2vw, 15px);
  margin-left: 4px;
  font-weight: 400;
}

.greeting .career {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
  font-size: clamp(14px, 1.2vw, 16px);
}

/* スマホ縦並び */
@media (max-width: 767px) {
  .greeting-inner {
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 6vw, 60px);
  }

  .greeting-col.left,
  .greeting-col.right {
    flex: none;
  }

  .greeting .photo img {
    width: 80%;
    margin:0 auto;
    margin-bottom: clamp(20px, 3vw, 30px);
  }
    
}



/* =========================================================
   About main左右
   ========================================================= */
.about_main {
  background: #fff;
  padding: 0;
}

.about_main .about-inner {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 40px);
}

.about_main .section-title {
  margin-bottom: clamp(30px, 4vw, 50px);
}

/* 各行 */
.about_main .about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6%;
  margin-bottom: clamp(30px, 4vw, 50px);
}

/* 幅比率：左52%,右42% */
.about_main .about-col.left  { flex: 0 0 56%; }
.about_main .about-col.right { flex: 0 0 38%; }

/* 2段目だけ反転：左画像42%,右テキスト52% */
.about_main .about-row:nth-of-type(2) .about-col.left  { flex: 0 0 38%; }
.about_main .about-row:nth-of-type(2) .about-col.right { flex: 0 0 56%; }

/* 画像 */
.about_main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.about_main .about-row {
  display: flex;
  align-items: flex-start; /* ← これを追加（上揃え） */
  justify-content: space-between;
  gap: 6%;
  margin-bottom: clamp(60px, 8vw, 100px);
}

/* 見出し */
.about_main .about-head {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  margin-top: 10px; /* ← 番号直下の余白を詰める */
  margin-bottom: clamp(14px, 2vw, 18px);
}

@media (max-width: 767px) {
  .about_main .about-row {
    flex-direction: column;
    gap: clamp(24px, 6vw, 36px);
    margin: 0 auto clamp(60px, 8vw, 100px);
    width: 100%; 
    padding: 0;               /* ← 内側余白リセット */
  }

  .about_main .about-col.left,
  .about_main .about-col.right {
    flex: none;
    width: 100%;
    margin: 0 auto;
  }

  /* 2段目だけ順番を逆にする（テキスト上→写真下） */
  .about_main .about-row:nth-of-type(2) {
    flex-direction: column-reverse;
  }

  /* 画像幅80%） */
  .about_main .about-col img {
    width: 80%;
    margin: 0 auto; 
    display: block; 
  }
}

/* 番号 */
.about_main .num {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  color: #D45B3F;
  margin-top: clamp(8px, 1.2vw, 12px);
  margin-bottom: clamp(8px, 1.2vw, 12px);
  line-height: 1;
}

/* 2段目：右側に番号が来る場合の微調整 */
.about_main .about-row:nth-of-type(2) .about-col.right .num {
  text-align: left; /* 文字は左寄せのままでOK */
}

.about_main .num {
  font-family: 'Vibur', cursive;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  color: #D45B3F;
  line-height: 1;
  /* ↓ ここを小さくして余白を詰める */
  margin: 10px 0 0 0;
}


/* 各イラスト共通の基本スタイル */
.about-illust {
  position: absolute;
  top: -20px; 
  right: -10px;
  z-index: 3;
  pointer-events: none;
}

.about-illust img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about-illust02 {
  top: 0px;
  right: 20px;
  width: clamp(70px, 8vw, 110px);
}

.about-illust03 {
  top: -10px;
  right: 30px;
  width: clamp(40px, 4vw, 55px);
}

.about-illust04 {
  top: -10px;
  right: 30px;
  width: clamp(100px, 11vw, 150px);
 }

/* 見出しの右上に相対配置できるように */
.about-col.left,
.about-col.right {
  position: relative;
}

/* スマホ時のサイズ調整 */
@media (max-width: 767px) {
  .about-illust {
    top: -10px;
    right: 0;
  }
}


/* =============================
   Staff
   ============================= */
.staff {
  background: #F3F4EB;
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.staff-inner {
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 40px);
}

/* 左上のイラスト配置 */
.about-illust05 {
  position: absolute;
  top: clamp(-60px, -3vw, -20px);
  left: 5%;
  width: clamp(40px, 5vw, 60px);
  z-index: 2;
  pointer-events: none; /* クリック操作を邪魔しない */
}

.about-illust05 img {
  width: 100%;
  height: auto;
  display: block;
}

/* 白いボックス */
.staff-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  padding: clamp(40px, 6vw, 60px);
}

/* 左右レイアウト */
.staff-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6%;
}

.staff-col {
  flex: 1;
}

.staff-col.left,
.staff-col.right {
  width: 47%; /* 左右のバランスを確実に取る */
}

/* テキスト */
.staff p {
  margin: 0;
}

/* スマホ：縦並び */
@media (max-width: 767px) {
  .staff-row {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .staff-col.left,
  .staff-col.right {
    width: 100%;
  }
}


/* =============================
   services
   ============================= */

.services_main {
  position:relative;
  padding: clamp(40px, 6vw, 80px) 0 0 0;
  margin:0;
}

.services-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: 0 clamp(20px, 6vw, 40px);
}

/* services note box */
.services-note {
  background: #F3F4EB;
  border-radius: 18px;
  padding: 18px 35px;
  margin-top: 35px;
}

.services-note p {
  margin-bottom: 12px;
}

.services-note .note-head {
  font-weight: 600;
}

.services-illust {
  position: absolute;
  top: clamp(-70px, -6vw, -45px);
  right: 5%;
  width: clamp(55px, 6vw, 80px);
  z-index: 2; 
  pointer-events: none; 
}

.services-illust img {
  width: 100%;
  height: auto;
  display: block;
}

.image01 img {
  width: clamp(60px, 10vw, 120px);
  height: auto;
  display: block;
  margin: 0 auto; /* → 中央寄せにしたいならこれに変更 */
}

/* 下段 */
.departments {
  margin-top: clamp(30px, 5vw, 40px); 
  margin-bottom: 120px;
}

.departments .services-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px); /* 他ページと同じ余白 */
} /* :contentReference[oaicite:0]{index=0} */

.dept-row {
  display: flex;
  gap: 6%;                /* 中央の余白を6%に固定 */
  margin-bottom: clamp(30px, 5vw, 60px);
}

.dept-col {
  width: 47%;             /* (100 - 6) / 2 = 47% → 左右同じ幅 */
}

.dept-col p {
  margin: 0 0 12px 0;
  line-height: 2;
  font-weight: 400;
}

/* スマホ：縦並び */
@media (max-width: 767px) {
  .dept-row {
    flex-direction: column;
    gap: 20px;
  }
  .dept-col {
    width: 100%;
    border-top: 1px solid #ccc;
    padding-top: 30px;
  }
    /* 1段目の最初のカラムだけはライン不要に */
  .dept-row:first-child .dept-col:first-child {
    border-top: none;
    padding-top: 0;
  }

    /* イラストを含むカラムはラインを除外 */
  .dept-col:has(.image01) {
    border-top: none;
    padding-top: 0;
  }

  .services-image {
    margin: 0;
  }

  .departments{
      margin-bottom: 60px;
    }
}


/* =============================
   yobo 予防医療
   ============================= */
.yobo {
  background-color: #F8F9F4;
  margin-top: 0;
  padding-bottom: clamp(35px, 6vw, 70px);
}

.yobo-inner {
  max-width: var(--max-content);      /* ← 共通1164px幅 */
  margin-inline: auto;                /* ← 中央寄せ */
  padding-inline: clamp(20px, 6vw, 40px);
}

.yobo-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6%;                            /* ← 中央の余白6% */
  margin-top: clamp(40px, 6vw, 70px);
}

/* 左右カラム構成 */
.yobo-image {
  width: 36%;
}

.yobo-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.yobo-text {
  width: 58%;
}

.yobo-text p {
  margin-bottom: 18px;
  line-height: 1.9;
}

/* スマホ時：縦並び */
@media (max-width: 767px) {
  .yobo-flex {
    flex-direction: column;
    gap: 28px;
  }

  .yobo-image,
  .yobo-text {
    width: 100%;
  }

  .yobo-image {
    margin-bottom: 10px;
    width:80%;
    margin:0 auto;
  }

}


/* =============================
   Health (健康診断)
   ============================= */
.health {
  background-color: #F3F4EB;
  padding-block: clamp(60px, 8vw, 100px);
  padding-block-end:  clamp(90px, 12vw, 150px);
  position: relative;

}

.health-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

/* 2カラム：左右同幅 + 中央6% */
.health-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6%;
  margin-top: clamp(30px, 5vw, 60px);
}

.health-col {
  width: 47%; /* (100 - 6) / 2 */
}

/* サブ見出し（太字は使わず500） */
.note-head {
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.6;
  margin: 0 0 8px 0;
}

/* 箇条書き（「・」を擬似要素で統一表示） */
.health-list {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.9;
}
.health-list li {
  position: relative;
  padding-left: 1.2em;
}
.health-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* 白ボックス */
.health-note {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 14px;
}
.health-note p {
  margin: 0 0 6px 0;
  line-height: 1.8;
  text-align: center;
}

/* 画像 */
.health-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.health-row:nth-of-type(2) {
  margin-top: clamp(60px, 8vw, 100px);
}

/* スマホ：縦並び＋画像の上下マージンを少し詰める */
@media (max-width: 767px) {
  .health-row {
    flex-direction: column;
    gap: 24px;
  }
  .health-col { width: 100%; }

  .health-image {
    width:80%;
    margin: 0 auto;  /* ← 写真の上下マージンを狭く */
  }

  .health-row:nth-of-type(2) .health-image {
    order: 2; /* 画像を後ろに（＝テキストの下） */
  }

  .health-row:nth-of-type(2) .right {
    order: 1; /* テキストを先に表示 */
  }

}

/* イラスト配置 */
.health-illust {
  position: absolute;
  top: clamp(-20px, 1vw, -60px);
  right: 5%;
  width: clamp(60px, 7vw, 90px);
  height: auto;
  display: block;
  pointer-events: none; /* ← クリック無効（装飾用） */
  z-index: 1;
}

/* タイトルなど他要素を上に被せないように調整 */
.health h2.section-title {
  position: relative;
  z-index: 2;
}


/* =============================
   Second Opinion (セカンドオピニオン)
   ============================= */
.secondopinion {
  background-color: #fff;
  padding-block-start: 0;
  padding-block-end:  clamp(60px, 9vw, 100px);
}

.secondopinion-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

/* タイトルの上余白を0に */
.secondopinion .section-title {
  margin-top: 0;
}

.secondopinion-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6%;
  margin-top: clamp(40px, 6vw, 70px);
}

/* 左右カラム：左を広く */
.secondopinion-text {
  width: 58%;
}

.secondopinion-image {
  width: 36%;
}

.secondopinion-text p {
  line-height: 1.9;
  margin-bottom: 14px;
}

.secondopinion-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* スマホ：縦並び */
@media (max-width: 767px) {
  .secondopinion {
    padding:20px 0 50px 0;
  }

  .secondopinion-flex {
    flex-direction: column;
    gap: 28px;
  }

  .secondopinion-text,
  .secondopinion-image {
    width: 100%;
  }

  .secondopinion-image {
    width:80%;
    margin:0 auto;
  }
}

/* =============================
   Facility (3×3 tiles)
   ============================= */
.facility_main {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  margin-bottom: 70px;
}

.facility-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

/* 3×3 グリッド（PC） */
.facility-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 36px);
}

/* タイル */
.facility-item {
  margin: 0 0 15px 0;
}

.facility-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* キャプション（中央） */
.facility-item figcaption {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  margin-top: 10px;
  font-weight: 400;
}

/* 左下のイラスト（装飾） */
.facility-illust {
  position: absolute;
  left: clamp(10px, 4vw, 24px);
  bottom: clamp(6px, 2vw, 16px);
  z-index: 0;
  pointer-events: none;
}
.facility-illust img {
  width: clamp(54px, 10vw, 92px);
  height: auto;
  display: block;
}

/* スマホ：1列に */
@media (max-width: 767px) {
  .facility-flex {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .facility-item img {
    width:80%;
    margin:0 auto;
  }

}

/* Facillity イラスト*/
.pagetitle-inner {
  position: relative;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

.pagetitle-illust {
  position: absolute;
  top: clamp(50px, 5vw, 150px);
  right: 5%;
  width: clamp(50px, 5vw, 80px);
  height: auto;
  display: block;
  pointer-events: none; 
  z-index: 1;
}

.jp-title,
.en-title {
  position: relative;
  z-index: 2;
}

/* =============================
   Reserve（ご予約について）
   ============================= */
.reserve {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  background: #fff;
}

.reserve-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

/* タイトル直下の左右1:1レイアウト */
.reserve-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6%;
  margin-top: clamp(36px, 5vw, 60px);
}

.reserve-col {
  width: 47%; /* 1:1（gap 6%） */
}

.reserve-col p {
  line-height: 1.9;
  margin-bottom: 12px;
}

/* 左カラムのボックス (#F8F9F4) */
.reserve-box {
  background: #F8F9F4;
  border-radius: 14px;
  text-align: center;
  padding: 18px 20px;
  margin-top: 16px;
}

.reserve-box .box-title {
  font-weight: 600;  /* strongは使わない */
  margin: 0 0 8px 0;
}

.phone-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px 0;
}

.reserve-box .phone-number {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
}

.reception {
  margin: 0;
}

/* 右カラム：QR + 画面イメージ */
.qr-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: 20px;
}

.qr-item {
  margin: 0 auto;
  text-align: center;
}

.qr-item img {
  width: clamp(100px, 5vw, 200px);
  height: auto;
  display: block;
  border-radius: 0;
}

.qr-item img[src*="vetty_img.jpg"] {
  width: clamp(180px, 40%, 300px);
  height: auto;
  margin-inline: auto; /* 中央寄せ */
  display: block;
}

.qr-item .figcaption {
  margin-top: 8px;
  font-size: clamp(12px, 1.2vw, 14px);
}

/* Flow イラスト*/
.reserve-illust {
  position: absolute;
  top: clamp(-60px, 3vw, -50px);
  right: 5%;
  pointer-events: none;
  z-index: 0;
}
.reserve-illust img {
  width: clamp(80px, 12vw, 130px);
  height: auto;
  display: block;
}

/* スマホ：縦並びに */
@media (max-width: 767px) {
  .reserve-flex {
    flex-direction: column;
    gap: 28px;
  }
  .reserve-col {
    width: 100%;
  }
  .qr-wrap {
    grid-template-columns: 1fr; /* 画像を縦に並べる */
    gap: 16px;
  }
}

/* =============================
   Bring（持ち物）
   ============================= */
.bring {
  background-color: #F3F4EB;
  padding-block: clamp(60px, 8vw, 100px);
  margin-top: clamp(20px, 2.5vw, 30px);
}

.bring-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
  padding-bottom:clamp(20px, 6vw, 70px);
}

.bring-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(40px, 6vw, 70px);
}

.bring-box {
  background: #fff;
  border-radius: 16px;
  flex: 1 1 calc((100% - 60px) / 3);
  padding: clamp(20px, 3vw, 28px);
  text-align: center;
  box-sizing: border-box;
  min-width: 260px; 
}
.bring-box figure {
  display: flex;
  align-items: center; 
  justify-content: center; 
  height: clamp(85px, 7vw, 120px);         /* ← 高さを統一 */
  margin: 0 0 14px 0;
}

.bring-box img {
  width: clamp(110px, 12vw, 150px);
  height: auto;
  display: block;
}

.bring-box h3 {
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 20px);
  margin-bottom: 10px;
  line-height: 1.6;
}

.bring-box p {
  line-height: 1.9;
  font-size: clamp(15px, 1.4vw, 16px);
  text-align: left;
}

/* スマホ：縦並び */
@media (max-width: 767px) {
  .bring-flex {
    flex-direction: column;
    gap: 24px;
  }
  .bring-box {
    width: 80%;
    text-align: center;
    margin:0 auto;
  }
  .bring-box p {
    text-align: left;
  }
}


/* =============================
   Q&A
   ============================= */
.qanda {
  background: #fff;
  margin-bottom: clamp(60px, 7vw, 80px);
}

.qanda-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

.qa-block {
  border-radius: 14px;
  padding: clamp(16px, 3vw, 22px);
  margin-bottom: clamp(16px, 3vw, 22px);
  background: #fff; /* 基本は白 */
}

/* 2番目・4番目だけ背景#F8F9F4 */
.qa-block:nth-of-type(2),
.qa-block:nth-of-type(4) {
  background: #F8F9F4;
}

/* Q / A 行 */
.qa-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qa-row + .qa-row {
  margin-top: 8px;
}

/* アイコン */
.qa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  border-radius: 8px;
  font-weight: 600; 
  font-size: 14px;
  line-height: 1;
}

/* Qアイコン：赤背景に白文字 */
.qa-icon.q {
  background: #E7563C;
  color: #fff;
}

/* Aアイコン：薄色背景＋赤枠に赤文字 */
.qa-icon.a {
  background: #F8F9F4;
  color: #E7563C;
  border: 1px solid #E7563C;
}

/* 本文 */
.qa-text {
  margin: 0;
  line-height: 1.9;
}

/* スマホ最適化（アイコン小さめ・行間詰めすぎ防止） */
@media (max-width: 767px) {
  .qa-icon {
    min-width: 38px;
    height: 30px;
    font-size: 13px;
    border-radius: 7px;
  }
  .qa-block {
    padding: 16px;
  }
}

/* =============================
   Q&A イラスト配置
   ============================= */

.qanda-illust {
  position: absolute;
  top: clamp(-40px, 3vw, -30px);
  left: 6%;
  z-index: 0;
  pointer-events: none;
}

.qanda-illust img {
  width: clamp(50px, 5vw, 80px);
  height: auto;
  display: block;
}

/* Q&A本文より前面に出す */
.qanda-inner {
  position: relative;
  z-index: 1;
}


/* =============================
   Access（住所＋Googleマップ）
   ============================= */
.access_main {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  background: #fff;
}

.access_main-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
  text-align: center;
}

/* 住所 */
.address {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.8;
  margin: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 60px);
  text-align: left;
}

/* Googleマップ */
.access-map {
  display: flex;
  justify-content: center;
}

.access-map iframe {
  width: min(900px, 100%);
  height: 450px;
  border: none;
  border-radius: 12px;
}

/* イラスト配置（左上） */
.access_main-illust {
  position: absolute;
  top: clamp(-60px, -3vw, -40px);
  right: 5%;
  pointer-events: none;
  z-index: 0;
}

.access_main-illust img {
  width: clamp(70px, 7vw, 100px);
  height: auto;
  display: block;
}


/* =============================
   Access Box
   ============================= */
.accessbox_main {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  background: #F3F4EB;
}

.accessbox-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
  padding-bottom:50px;
}

.accessbox-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 36px);
}

/* 白いボックス */
.accessbox {
  background: #fff;
  border-radius: 16px;
  width: 31%;
  box-sizing: border-box;
  padding: clamp(20px, 3vw, 28px);
}

.accessbox h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  margin-bottom: 10px;
}

.accessbox p {
  line-height: 1.9;
  font-size: clamp(14px, 1.3vw, 15px);
  color: #333;
}

.accessbox .marker-title {
  display: inline-block; 
  text-align: center;  
  position: relative; 
  left: 50%;
  transform: translateX(-50%); 
  margin-top: 10px;
  margin-bottom: 25px;
}

/* スマホ縦並び */
@media (max-width: 767px) {
  .accessbox-flex {
    flex-direction: column;
    gap: 24px;
  }
  .accessbox {
    width: 80%;
    margin:0 auto;
  }
}


/* =============================
   Movie
   ============================= */
.movie {
  position: relative;
  background: #fff;
  margin-bottom: clamp(60px, 7vw, 80px);
}

.movie-inner {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
  text-align: center;
}

/* YouTube動画 */
.movie-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 60px);
}

.movie-wrap iframe {
  width: 500px;
  max-width: 100%;
  height: 281px;
  border-radius: 12px;
  border: none;
}

/* イラスト配置（右上） */
.movie-illust {
  position: absolute;
  top: clamp(-40px, -4vw, -20px);
  left: 5%;
  pointer-events: none;
  z-index: 0;
}

.movie-illust img {
  width: clamp(60px, 7vw, 100px);
  height: auto;
  display: block;
}

/* スマホ縦並び */
@media (max-width: 767px) {
  .movie {
    margin-top:30px;
  }

  .movie-wrap {
    width: 80%;
    margin:0 auto;
  }
}


/* ハンバーガー展開中はロゴを非表示（SP/タブレットのみ） */
@media (max-width: 1023px) {
  .site-header.is-menu-open ~ .logo {
    opacity: 0;
    pointer-events: none; /* クリック無効化 */
  }
}



/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  width: 100%;
  background: #fff;
  padding: 40px 0 20px;
  border-top: 1px solid #eee;
  font-size: 15px;
}

/* ブラウザ幅100％に */
.footer-inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 6%;
}

/* 左側：メニュー */
.footer-left {
  flex: 1 1 60%;
}

/* メニュー幅500px内でグリッド配置 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start; /* 左寄せ */
  column-gap: 80px;       /* 列の間 */
  row-gap: 23px;           /* 行間 */
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

/* コピーライト */
.footer-copy {
  font-size: 13px;
  color: #555;
  margin: 10px 0 0;
}

/* 右側：ロゴ */
.footer-right {
  flex: 0 0 auto;
  text-align: right;
}

.footer-logo {
  width: clamp(200px, 23vw, 260px);
  height: auto;
  display: inline-block;
}

.footer-copy {
  text-align: left;   /* ← 左寄せ */
  font-size: 13px;
  margin: 0px 6%;
}

@media (max-width: 767px) {
  .footer-copy {
    margin-top: 30px; /* 少し余白を広げて、最下部に見せる */
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 5%; /* スマホは左右5% */
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
    justify-content: center; /* 全体として中央配置 */
    text-align: left;        /* 各項目テキストは左揃え */
    gap: 25px 50px;
    width: auto;
    margin: 0;
  }

  .footer-nav li {
    text-align: left; /* 念のため個別にも左寄せ指定 */
  }

  .footer-right {
    text-align: center;
  }

  .footer-copy {
    margin-top: 20px;
    text-align:center;
  }
}



/* =========================================================
   Main Contents
   ========================================================= */

.section { padding: clamp(40px, 6vw, 80px) 0; }





/* =========================================================
   Responsive fine-tuning
   ========================================================= */
@media (min-width: 1400px) {
  :root { --header-h: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


.nairan_pdf img {
  width: clamp(350px, 60%, 540px); /* ← 横幅を小さく調整 */
  height: auto;
  display: block;
  margin-inline: auto; /* 中央寄せ */
}