@charset "utf-8";

:root{
  --mint:#dff2ea;
  --mint-weak:#e7f9f3;
  --green:#11b08f;
  --text:#333;
  --max:1120px;
}

/* フォントをGoogle Fonts＋代替フォントで指定 */
html, body{
  overflow-x:hidden;
  font-family: "Zen Maru Gothic", "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

section{
  max-width:1200px;
  margin:0 auto;
  line-height:1.8;
  color:var(--text);
}

.section-title{ text-align: -webkit-center; margin-top:80px; }
.section-title h2{
  text-align:center;
  font-size:28px;
  font-weight:bold;
  color:#fff;
  background:#00a58c;
  display:inline-block;
  padding:10px 30px;
  border-radius:4px;
  margin-bottom:40px;
}

.highlight{ color:#00a58c; font-weight:bold; }
.note{ font-size:14px; margin:10px 0; }

/* ページタイトル（ヒーロー） */
.page_ttl_wrap{
  --hero:url("../img/guide_ttl_back.jpg");
  --tint:rgba(17,176,143,.35);
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  min-height:clamp(220px,28vw,360px);
  width:100vw; max-width:100vw;
  margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  background-image:var(--hero);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.page_ttl_wrap::before{
  content:"";
  position:absolute; inset:0;
  background:var(--tint);
  z-index:-1;
}
.page_ttl{
  margin:0; color:#fff; font-weight:800;
  font-size:clamp(28px,5.2vw,56px);
  letter-spacing:.25em;
  -webkit-text-stroke:1px rgba(6,172,132,.9);
  text-shadow:0 0 17px #fff, 0 0 10px #fff;
}

/* ごあいさつ */
.greeting{ padding:clamp(30px,4vw,50px) 0; }
.clinic-title{
  max-width:var(--max); margin:0 auto 40px; padding:0 20px;
  font-size:clamp(18px,2.2vw,22px); color:#0a6a55; font-weight:700; text-align:center; margin-top:60px;
  font-size: 34px;
}
.greeting > .section-title{ max-width:var(--max); margin:0 auto 16px; padding:0 20px; }
.greeting .greeting-inner{ max-width:var(--max); margin:0 auto; padding:0 20px; }
.greeting-inner{ display:grid; grid-template-columns:360px 1fr; gap:clamp(18px,3vw,36px); align-items:start; }
.greeting-image img{ width:100%; height:auto; display:block; }
.greeting-text{ line-height:1.9; color:var(--text); }
.greeting-text p { font-size:17px; }
.greeting .highlight{ color:#17b692; font-weight:700; font-size: 18px; }
@media (max-width:900px){
  .greeting-inner{ grid-template-columns:1fr; }
  .greeting-image{ order:-1; text-align:center; }
  .greeting-image img{ max-width:260px; margin:0 auto; }
  .clinic-title { margin: 0 auto 20px; margin-top: 0px; font-size: 22px;}
  .greeting .highlight { font-size: 17px;}
  .greeting-text p { font-size: 16px;}
}

/* 予約優先制 */
.reservation{ padding:clamp(28px,4vw,48px) 0; }
.reservation-title{ max-width: var(--max); margin: 0 auto 40px; padding: 0 20px; font-size: clamp(18px, 2.2vw, 22px); color: #0a6a55; font-weight: 700; text-align: center; font-size: 34px;}
.yoyaku_flex{
  max-width:var(--max); margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:1fr 360px; gap:clamp(18px,3vw,36px); align-items:start;
}
.yoyaku_txt{ line-height:1.9; }
.yoyaku_txt .highlight { font-size:18px;}
.yoyaku_txt p{ font-size:17px; }
.reservation-image img{ width:100%; height:auto; display:block; }
@media (max-width:900px){
  .yoyaku_flex{ grid-template-columns:1fr; }
  .reservation-image{ max-width:330px; margin:0 auto; }
  .reservation-title { margin: 0 auto 20px; margin-top: 0px; font-size: 22px;}	
  .yoyaku_txt .highlight { font-size: 17px;}
  .yoyaku_txt p { font-size: 16px;}
}

/* CTA（ご予約・ご相談） */
.cta-reserve{
  --pink:#fde7e3; --card:#fff; --accent:#17b692; --shadow:0 10px 24px rgba(0,0,0,.06);
  position:relative;
  padding:clamp(40px,6vw,80px) 20px;
  background-color:var(--pink);
  background-image:url("../img/cta_back.jpg");
  background-repeat:no-repeat; background-position:center; background-size:cover;
  overflow:hidden; margin-bottom:100px;
}
.cta-reserve__inner{
  max-width:550px; margin:0 auto; background:var(--card); border-radius:18px;
  padding:clamp(26px,4.5vw,42px) clamp(24px,6vw,60px);
  text-align:center; box-shadow:var(--shadow);
}
.cta-reserve__lead{
  margin:0 0 .35em; font-size:clamp(16px,1.9vw,20px); font-weight:700; color:var(--accent); letter-spacing:.1em;
}
.cta-reserve__tel{
  margin:0; font-size:clamp(26px,4.2vw,36px); font-weight:500; letter-spacing:.15em; line-height:1.2;
}
.cta-reserve__tel a{ color:var(--accent); text-decoration:none; outline:none; }
.cta-reserve__tel a:focus-visible{ box-shadow:0 0 0 3px rgba(23,182,146,.25); border-radius:6px; }

/* 診療時間（フルブリード） */
.clinic-hours{
  background:var(--mint);
  padding:clamp(40px,7vw,80px) 20px;
  width:100vw; max-width:100vw;
  margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  overflow-x:clip; margin-bottom:150px;
}
.clinic-hours__title{
  text-align:center; color:var(--green); font-weight:800;
  font-size:clamp(22px,3.3vw,34px); letter-spacing:.2em; margin:0 0 22px;
}
.clinic-hours__card{
  max-width:980px; width:100%; margin:0 auto; background:#fff;
  border:3px solid var(--green); border-radius:8px; padding:clamp(18px,3vw,40px);
}
.hours-table{ width:100%; border-collapse:collapse; table-layout:fixed; margin:0 auto; font-size:17px; }
.hours-table th,.hours-table td{ text-align:center; padding:clamp(10px,1.8vw,16px) 8px; vertical-align:middle; word-break:keep-all; }
.hours-table thead th{ font-weight:700; color:#444; }
.hours-table .timecol,.hours-table tbody th[scope="row"]{ width:20%; color:#555; font-weight:700; }
.hours-table tbody td{ font-size:clamp(18px,2.6vw,22px); line-height:1; }
.hours-table tbody .row-line{ border-top:2px solid #58cbb7; border-bottom: 2px solid #58cbb7; padding-left: 30px;}
.clinic-hours__note{ font-size:13px; margin:clamp(10px,2vw,16px) 0 4px; padding-left: 35px; }
@media (max-width:560px){
  .clinic-hours__card{ overflow-x:auto; }
  .hours-table{ min-width:560px; }
}

/* 院内紹介グリッド */
.facility {
  margin-bottom: 200px;
}
.facility__grid{
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2.5vw,28px); list-style:none; padding:0;
}
.facility-card{
  background:var(--mint-weak); border-radius:6px; overflow:hidden;
  display:flex; flex-direction:column; padding:10px;
}
.facility-card>img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.facility-card__text{ padding:12px 0 16px; color:#333; line-height:1.8; }
.facility-card__text h3{ font-size:18px; font-weight:500;}
.facility-card__text p{  font-size: 16px; line-height:22px; }
@media (max-width:1024px){
  .facility__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:769px){
	.facility { max-width: var(--max); margin: 0 auto; padding: 0 20px;} 
}
@media (max-width:640px){
  .facility__grid{ grid-template-columns:1fr; }
  .facility-card__text h3{ font-size:17px; }	
}

/* アクセス地図 */
.map-wrap{ width:100%; }
.map-wrap iframe{ width:100%; aspect-ratio:16/9; height:auto; border:0; display:block; }




:root{
  --ff-title: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Meiryo", system-ui, -apple-system, sans-serif;
  --ff-body:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.page_ttl, .section-title h2, .clinic-title, .reservation-title {
  font-family: var(--ff-title) !important;
}


/* ==== Google Map：レスポンシブ時の余白調整（下の空白を解消） ==== */

/* タブレット以下：比率は維持しつつ、下余白を縮める */
@media (max-width: 1024px){
  .map-wrap iframe { aspect-ratio: 4 / 3; }
  .map-section { margin-bottom: 60px; }  /* 110px → 60px */
}

/* スマホ：正方形＋マージン折りたたみ回避で“空白”をなくす */
@media (max-width: 560px){
  .map-wrap { line-height: 0; }          /* 一部環境の微小な隙間対策 */
  .map-wrap iframe { aspect-ratio: 1 / 1; }

  /* 次セクションの margin-top と“相殺（マージンの折りたたみ）”が起きると
     余白が大きく見えるため、スマホだけ padding に置換 */
  .map-section {
    margin-bottom: 0;     /* 折りたたみを避ける */
    padding-bottom: 28px; /* 体感ちょうど良い余白に */
  }
}

/* === Google Map の内側の余白を完全除去 === */
.map-wrap { 
  line-height: 0;      /* 行ボックス由来の隙間を潰す */
  font-size: 0;        /* インライン空白対策（保険） */
  padding: 0;          /* 念のため */
}

.map-wrap p { 
  margin: 0;           /* WPが自動で入れる<p>の上下マージンを無効化 */
}

.map-wrap iframe {
  display: block;      /* inline のベースライン隙間を回避 */
  margin: 0;           /* 念のため */
  vertical-align: top; /* 追加の保険（bottomでも可） */
}
