@charset "utf-8";

/* ==============================
   ページタイトル背景（お知らせ）
============================== */
.page_ttl_wrap {
  position: relative;
    background-image: url(../img/news/news_ttl_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fbf6f0;
}

.page_ttl {
  color: #6b3d14;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0;
  z-index: 1;
}


/* スマホ時のみ背景を切り替え */
@media (max-width: 768px) {
  .page_ttl_wrap {
    background-image: url(../img/news_ttl_bg_sp.png);
    background-size: cover;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .page_ttl_wrap {
    height: 120px;
    background-size: contain;
  }
	
  .page_ttl {
    font-size: clamp(18px, 5vw, 26px);
  }
}


/* ============ Clinic About ============ */
.clinic{
  background: #fbf6f0; /* セクション全体の淡い背景 */
  padding:72px 16px 88px;
  color:#7f4c1f;
}
.clinic__inner{max-width:900px;margin:0 auto;}

/* 見出し */
.clinic__head{ text-align:center; margin-bottom:32px; }
.clinic__head-icon{
  display: inline-block;
    width: 60px;
    height: auto;
    position: relative;
}
.clinic__head-icon:before,
.clinic__head-icon:after{
  content:"";position:absolute;background:#fff;border-radius:2px;
}
.clinic__head-icon:before{ /* 縦棒 */
  width:8px;height:24px;left:50%;top:50%;
  transform:translate(-50%,-50%);
}
.clinic__head-icon:after{ /* 横棒 */
  width:26px;height:8px;left:50%;top:50%;
  transform:translate(-50%,-50%);
}
.clinic__title{
  font-size:1.8rem;font-weight:700;letter-spacing:.05em;
}

/* 行のリスト */
.clinic__list{
  position:relative;
  margin-top:10px;
  padding:10px 0;
}


/* 1行 */
.clinic__row{
      display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    position: relative;
    border-bottom: 2px solid;
}


/* 左の角丸ラベル */
.clinic__label{
      display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 170px;
    height: 57px;
    padding: 0 10px;
    background: #fff;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .2em;
}

/* 右側の値 */
.clinic__value{
  font-size:18px;letter-spacing:.04em;line-height:1.8;margin:0;
}
.clinic__value a{ color:#7f4c1f;text-decoration:none; }
.clinic__value a:hover{ text-decoration:underline; }

/* SP */
@media (max-width: 768px){
  .clinic{ padding: 50px 4% 0px; }
  .clinic__row{
    grid-template-columns: 125px 1fr;
    gap: 40px;
    padding: 20px 0;
  }
  .clinic__label{
    width:128px;min-width:0;height:48px;margin:0 auto;
    letter-spacing:.18em;
   text-wrap: nowrap;
  }
  .clinic__value{
    font-size: 16px;
  }
	.clinic__list {
    margin-top: 0px;
    padding: 0px;
}
	.clinic__title {
    margin-bottom: 0;
	margin-top: 10px;
	font-size: 20px;
}
	.clinic__head {
    margin-bottom: 0px;
}
	
	.clinic__head-icon {
    width: 50px;
    height: 50px;
}
	   
}



/* ===== 診療時間 ===== */
.hours {
    background: #fbf6f0;
    padding: 80px 16px 1px;
    color: #5c3b1e;
}
.hours__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 見出し */
.hours__head {
  text-align: center;
  margin-bottom: 40px;
}
.hours__head-icon {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}
.hours__title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7f4c1f;
}

/* テーブル */
.hours__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hours__table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  color: #5c3b1e;
  background: #fff;
}

/* テーブルヘッダー */
.hours__table thead th {
  background: #cfee74;
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
}
.hours__table thead th:nth-child(-n + 2) {
  text-align: left;
}

/* 行 */
.hours__table tbody th,
.hours__table tbody td {
  padding: 20px 10px;
  vertical-align: middle;
}

/* ボーダー制御：左から3列目と4列目の境界のみ */
.hours__table tbody td:nth-child(2) {
  border-right: 2px dotted #c9a87a;
}

.br_line {
  border-right: 2px dotted #c9a87a;
}

/* 各行の下線 */
.hours__table tbody th,
.hours__table tbody td {
  border-bottom: 1px solid #e5d5bf;
}

/* 左2列 */
.hours__time {
  font-weight: 700;
  white-space: nowrap;
}
.hours__note {
  line-height: 1.8;
}

/* 記号 */
.ta-c {
  text-align: center;
}
.mark {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.08em;
}
.mark--open {
  color: #6c411f; /* ● */
}
.mark--close {
  color: #6c411f; /* × */
}
.mark--special {
  color: #6c411f; /* ◎ */
}

/* バッジ（予約制） */
.badge {
  display: inline-block;
  width: 3.5em;
  height: 3.5em;
  line-height: 3.2em;
  text-align: center;
  margin-left: 0.5em;
  background: #ffb3a5;
  color: #5c3b1e;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  vertical-align: middle;
}

/* 備考 */
.hours__notes {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #7b5a3a;
}

/* SP */
@media (max-width: 768px) {
  .hours {
    padding: 56px 12px 72px;
  }
  .hours__title {
    font-size: 1.6rem;
	margin: 10px 0px;
  }
  .badge {
    width: 2.8em;
        height: 2.8em;
        line-height: 2.8em;
        font-size: 0.76rem;
        padding: 6px;
        text-wrap: nowrap;
  }
	
	.hours__head-icon {
	width: 50px;
	}
	
	.hours__head {
    margin-bottom: 20px;
}
}


/* ===== 診療時間セクション装飾（密着・背景色なし） ===== */
.clinic-time{
  position: relative;
  margin: 0;                 /* 上下の外余白なし → 前セクションと密着 */
  border: 0;
  /* 背景色は入れない：波の白地を殺さないため */
}

/* 先頭要素の上マージンを打ち消し（幅が変わっても隙間が出ない） */
.clinic-time__inner > *:first-child { margin-top: 0 !important; }

/* 内容は前面。上の波に被らないよう “上” だけ余白を margin で確保（paddingは使わない） */
.clinic-time__inner{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: clamp(24px, 6vw, 64px) auto 0; /* ← 上だけ余白を確保、下は0 */
  padding: 0 16px;                       /* 左右は従来どおり */
}

/* 波：セクション “上端” に固定（直前セクションにピッタリくっつく） */
.clinic-time__wave{
  position: absolute;
  left: 0;
  right: 0;
  top: -64px;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 0;
  margin: 0;
}

/* 花：波の上に “少しかぶせて” 配置（右寄せ） */
.clinic-time__flowers{
     position: absolute;
    right: 18.5%;
    top: -104px;
    width: clamp(140px, 15vw, 150px);
    height: auto;
    pointer-events: none;
    z-index: 1;
    margin: 0;
}

/* 万一、直前セクション側に下マージンが残っている場合の保険（任意） */
.section + .clinic-time{ margin-top: 0; }

/* SP調整 */
@media (max-width: 768px){
  .clinic-time__inner{
    margin-top: clamp(20px, 10vw, 40px); /* 波の高さに応じて少し浅めに */
  }
  .clinic-time__flowers{
   right: 40px;
   top: -34px;
   width: 25vw;
   max-width: 200px;
}
	.clinic-time__wave {
    top: 0px;
  }
}



/* ===== 医院内の紹介 ===== */
.intro{
  position: relative;
  padding: 64px 16px 80px;
  overflow: hidden;
  color: #5c3b1e;
}
.intro__inner{ max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

/* 見出し */
.intro__head{ text-align:center; margin-bottom: 30px; }
.intro__icon{ width: 60px; height: auto; display: block; margin: 0 auto 30px;}
.intro__title{ font-size:1.8rem; font-weight:700; letter-spacing:.06em; color:#7f4c1f;}

/* 背景の雲（通常の <img> を absolute で配置／端にピッタリ） */
.intro__cloud{
  position:absolute; z-index:1; pointer-events:none; height:auto;
  opacity:.9;
}
.intro__cloud--left{ left: 0; top: 62%; width: min(54vw, 380px); transform: translateY(-50%);}
.intro__cloud--right{ right:0; top: 3%;  width:min(48vw, 480px); }

/* グリッド */
.intro__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 60px;
  position: relative;
  z-index:2;                    /* 雲より前面 */
  margin-top: 70px;
}

/* カード（画像+キャプション） */
.intro__card{ margin:0; text-align:center; }
.intro__img{
  width: 100%;
  display: block;
}
.intro__cap{
  margin-top:14px;
  font-weight:700;
  letter-spacing:.06em;
  font-size: .98rem;
  color:#7b4a1b;
}

/* レスポンシブ */
@media (max-width: 1024px){
  .intro{ padding: 56px 14px 68px; }
  .intro__grid{ grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px){
  .intro{ padding: 44px 12px 56px; }
  .intro__title{ font-size:20px; }
  .intro__grid{ grid-template-columns: 1fr; gap: 20px; margin-top: 50px}
  .intro__img{ border-radius: 22px;  max-width: 80%; margin: 0 auto;}
  .intro__cloud--left{ width: 88vw; top: 78%; }
  .intro__cloud--right{ width: 80vw; top: 4%; }
	
  .intro__icon {
	  width: 50px;}
}



/* ========== 波と花（セクション外側） ========== */
.access-wave-wrap{
  position: relative;
  width: 100%;
  line-height: 0; /* 余計な隙間をゼロに */
}
.access-wave{
  display: block;
  width: 100%;
  height: auto;   /* 画面幅が変わってもピッタリ密着 */
}
.access-flower{
  position: absolute;
    left: 380px;
    top: clamp(-26px, -3vw, -12px);
    width: clamp(70px, 9vw, 110px);
    height: auto;
    pointer-events: none;
    z-index: 1;
}

/* ========== アクセス本体 ========== */
.access{
  background:#fbf6f0;      /* セクション背景色は復元 */
  color:#5c3b1e;
  padding: 80px 0px 150px;
  margin:0;                /* 波との間に余白を作らない */
}
.access__inner{
  max-width:900px;
  margin:0 auto;
  position:relative; /* 下の人物の基準などに使う */
}

/* 見出し */
.access__head{ text-align:center; position:relative; z-index:1; margin-bottom:40px; }
.access__icon{ width:60px; height:auto; display:block; margin:0 auto 30px; }
.access__title{ font-size:1.8rem; font-weight:700; letter-spacing:.06em;  margin-bottom: 40px; color:#7f4c1f;}

/* ボックス（flexは使わない） */
.access__box{ position:relative; z-index:1; margin:24px 0 36px; }
.access__lead{
  /* display:inline-block; は使わない */
  background:#fff; border-radius:12px;
  padding:10px 16px; font-weight:700; letter-spacing:.06em;
  margin:0 0 10px;
}
.access__desc{
  text-align:left;          /* 左寄せ */
  margin:14px 0 0; line-height:1.9;
  margin-bottom: 60px;
}

/* 2段目ボックスの下に画像を配置（横並び）。hum だけ上に被せる */
.access__under{
  position:relative;        /* hum の絶対基準 */
  display:flex;             /* 横並び */
  align-items:flex-end;
  gap:15px;
  z-index:1;
  margin-top: 8px;
}
.access__lot{
  width: min(420px, 50%);
  height: auto;
  display: block;
}
.access__human{
  width: min(570px, 70%);
  height: auto;
  display: block;
  position: absolute;
  right: -150px;  /* 2段目ボックス右側にオーバーラップ */
  top: -160px;    /* 2段目ボックスに被せる量 */
  z-index: 2;
  pointer-events: none;
}

/* レスポンシブ */
@media (max-width: 900px){
  .access__lot{ width:60%; }
  .access__human{ width:28%; top:-22px; right: 8px; }
}
@media (max-width: 680px){
  .access{ padding:56px 12px 72px; }
  .access__title{ font-size: 20px; }
	.access-flower {
		left: 280px;}
	
  .access__box {
    margin: 20px 0px 0px;
}
	.access__desc {
    margin: 0px 0 0;}
	
	.access__icon {
    width: 50px;
    margin: 0 auto 10px;
}

  .access__under{
    display:block;          /* SPは縦積み */
    margin-top:10px;
  }
  .access__lot{
        width: 86%;
        margin: 0 auto;
  }
	
  .access__human{
    position: initial;
        width: auto;
        max-width: 320px;
        margin: 0 auto;
        margin-top: 30px;
  }
	
	.access__head {
    margin-bottom: 20px;
}
}
