@charset "UTF-8";

/* ページ全体のスタイル
------------------------------------------ */
html {
  font-size: 62.5%;
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
  html {
    font-size: 1vw;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(10 / 375 * 100vw);
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.75;
  color: #5a4a3c;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }
}

a {
  color: #5a4a3c;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

li {
  list-style: none;
}

* {
  box-sizing: border-box;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

/* ウェーブ */
.wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100px;
}

.wave-top {
  margin-bottom: -1px;
  transform: rotate(180deg) scaleX(-1);
  /* 隙間防止用 */
}

.wave-bottom {
  margin-top: -1px;
  transform: scaleX(-1);
}

.container {
  padding: 5rem 2.5rem;
  max-width: 120rem;
  margin: auto;
  width: 90%;
  overflow: hidden;
}
@media (max-width: 767px) {
.container {
  padding: 5rem 0rem;
}
}
.section-title {
  font-family: "Zen Maru Gothic", serif;
  position: relative;
  color: #5a4a3c;
  text-align: center;
  font-size: 2.4rem;
  margin: 0 0 5rem;
}

@media (min-width: 768px) {
  .section-title {
    margin: 0 0 8rem;
  }
}

.section-title::before {
  content: "";
  position: absolute;
  left: calc(50% - 18px);
  bottom: -2rem;
  width: 3.6rem;
  height: .4rem;
  border-radius: .2rem;
  background-color: #77a61b;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;

  }
}

.section-sub {
  color: #77a61b;
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 700;
}

/* ヘッダー */
.hamburger-button {
  transition: background-color 0.3s ease;
}



@media (min-width: 768px) {
  .hamburger-button {
    display: none;
  }
}

@media (max-width: 767px) {
  .hamburger-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f7f1e9;
    transform: translateX(100%);
    transition: all 0.6s;
    z-index: 999;
  }
}

.hamburger-menu.active {
  transform: translateX(0);
}

.hamburger-menu-list {
  padding: 5.5rem 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
  font-size: 1.3rem;
  margin: 0;
  font-family: "Zen Maru Gothic", serif;
}

@media (min-width: 768px) {
  .hamburger-menu-list {
    flex-direction: row;
    column-gap: 1.5vw;
    margin-bottom: 0;
    row-gap: 2rem;
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  .hamburger-menu-list {
    font-size: 1.3rem; /* PCより少し小さく */
  }

  .hamburger-menu-list li a {
    font-size: 1.3rem;
    white-space: nowrap; /* 改行させない */
  }
}
.hamburger-menu-list li a {
    display: flex;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400; /* 細めにして軽く */
    gap: 0.4rem; /* アイコンとの間隔も控えめに */
    letter-spacing: 0.03em; /* 詰めて上品に */
    line-height: 1; /* 縦の余白を詰める */
    transition: color 0.3s ease;
}

.hamburger-menu-list li a i {
  color: #77a61b;
  font-size: 1em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger-menu-list li a:hover i {
  color: #4c7a0e;
  transform: translateX(2px);
}

.hamburger-menu-list li a:hover {
  color: #4c7a0e;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  padding-inline: 1rem;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}


@media (min-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100%;
    height: 9rem;
    padding-inline: 5rem;
    background-color: #fff;
    justify-content: space-between;
  }
}



.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo img {
  display: block;
  height: 3rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 5rem;
    margin-bottom: 1rem;
  }
}
/* 左側のロゴ＋テキストのまとまり */
.header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem;
}

/* 上の細いテキスト */
.header-info {
  font-size: 1.2rem;
  color: #5a4a3c;
  line-height: 1;
  margin-bottom: .5rem;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .header-left {
    margin-top: 0;
  }

  .header-info {
    font-size: .8rem;
    text-align: center;
    margin-bottom: .3rem;
  }

}

@media (max-width: 767px) {

  /* オーバーレイ全体 */
  .hamburger-menu {
    top: 0;                      /* ヘッダーも含めて全画面 */
    padding-top: 4rem;           /* 固定ヘッダーの高さぶん下げる */
    background: rgba(0, 0, 0, 0); /* うっすら暗くしてモーダルっぽく */
    display: flex;
    justify-content: flex-end;
  }

  /* 中身のリスト部分を白い箱にする */
  .hamburger-menu-list {
    background: #ffffff;
    margin: 0;
    padding: 2rem 1.5rem 3rem;
    width: 85%;
    max-width: 480px;
    height: 100vh;
    overflow-y: auto;
    row-gap: 2rem;
  }

  .hamburger-menu-list li {
    list-style: none;
  }

  /* 各メニュー項目をカード風に */
  .hamburger-menu-list li a {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;   /* 左テキスト・右矢印を両端に */
    text-decoration: none;
    color: #5a4a3c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    gap: 0.8rem;                      /* 左アイコンとの間 */
  }

  /* 左側の「▶」アイコンを少し大きく */
  .hamburger-menu-list li a i {
    font-size: 1.4rem;
    color: #77a61b;
    flex-shrink: 0;
  }

  /* 右側の「＞」っぽい矢印を CSS で追加 */
  .hamburger-menu-list li a::after {
    content: "›";
    font-size: 1.4rem;
    color: #c0c0c0;
    margin-left: auto;
  }

  /* ホバー（スマホだとタップ時）用の軽い反応 */
  .hamburger-menu-list li a:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
}

/* =============================
   スマホ版：Menu 表記つきボタン
   ============================= */
@media (max-width: 767px) {

  /* ボタン全体 */
  .hamburger-button {
    position: fixed;
    top: 1.9rem;
    right: 1rem;
    z-index: 2000;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    color: #333;
  }

  /* Menu の文字 */
  .hamburger-text {
    font-size: 1rem;
    color: #333;
    font-family: "Zen Maru Gothic", serif;
    line-height: 1;
  }

  /* 2本線アイコン */
  .hamburger-icon {
    width: 3rem;
    height: 1.5rem;
    position: relative;
    display: inline-block;
  }

  .hamburger-icon::before,
  .hamburger-icon::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: .1rem;
    background: #333;
    border-radius: 2px;
  }

  .hamburger-icon::before {
    top: 0;
  }

  .hamburger-icon::after {
    bottom: 0.5rem;
  }

/* アクティブ時：Xの形にする */
.hamburger-button.active .hamburger-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-button.active .hamburger-icon::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}
.hamburger-button.active .hamburger-text {
  display: none;
}
}




/* カバー */
.cover {
  margin-top: 5.5rem;
  position: relative;
  overflow: hidden; /* 波がはみ出さないように */
}
@media (min-width: 768px) {
  .cover {
  margin-top: 9rem;
  }
}

.cover-top {
  height: 100%;
  min-height: 60rem;
  background-color: #fff;
  background-image: url("../images/image02.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .cover-top {
    height: 70%;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.cover-title {
  color: #fff;
  z-index: 2;
  margin-bottom: 1.6rem;
  font-family: "Zen Maru Gothic", serif;
  font-size: 2rem;
  font-weight: bold;
}
.cover-title, .cover-text { position: relative; z-index: 2; }

.cover-text {
  color: #fff;
  z-index: 2;
  font-size: 1.2rem;
  letter-spacing: 0.3rem;
}

@media (min-width: 768px) {
  .cover-title {
    font-size: 3.5rem;
    letter-spacing: .2rem;
  }

  .cover-text {
  font-size: 1.5rem;
}
}



/* 下部ウェーブ */
.hero-wave{
  position: absolute;
  left: 0; bottom: -1px;     /* 隙間防止で -1px */
  width: 100%;
  line-height: 0;
  z-index: 3;                /* ← これが重要 */
  pointer-events: none;      /* クリックを遮らないため */
}
.hero-wave svg{
  display: block;
  width: 100%;
  height: 120px;             /* 好みで 90–160px */
}

.list-post li {
  border-bottom: .2rem dotted #8B4513;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.list-ttl {
  margin: 0 0 1rem;
}


/* About */
.about {
  background-color: #f7f1e9;
}

.about-txt {
  text-align: center;
}

.about .container {
  padding: 0 2.5rem;
}
@media (max-width: 767px) {
  .about .container {
  padding: 0 0rem;
}
}

/* Schedule */
.schedule-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 3rem;
}

@media (min-width: 768px) {
  .schedule-container {
    flex-direction: row;
    row-gap: 0;
  }
}

@media (min-width: 768px) {
  .schedule-time-table {
    width: 47%;
  }
}

.time-table {
  width: 100%;
  /* テーブル全体を100%にする */
  border-collapse: collapse;
  /* セルの隙間をなくす */
  table-layout: fixed;
  /* 各列幅を均等に配分する */
  border: 1px solid #dfdfdf;
}

.time-table th,
.time-table td {
  border-bottom: 1px solid #dfdfdf;
  text-align: center;
  padding: 0.5rem;
}

.time-table th:first-child {
  font-family: "Zen Maru Gothic", serif;
  border-bottom: 1px solid #dfdfdf;
  width: 18%;
  text-align: center;
}

.time-table th {
  font-family: "Zen Maru Gothic", serif;
  background: #f7f1e9;
  border: .1rem solid #dfdfdf;
  padding: .8rem 1.8rem;
}

.time-table td:first-child {
  background: #f7f1e9;
  border-bottom: .1rem solid #dfdfdf;
}

.time-table td.color {
  color: #d1c6ab;
}

@media (max-width: 767px) {
  /* 曜日の列は改行させない＋少し幅を確保 */
  .time-table th:first-child,
  .time-table td:first-child {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {

  .schedule-calender table,
  .schedule-time-table table {
    width: 100%;
  }
}

.schedule-calender tbody th {
  border-bottom: 1px solid #dfdfdf;
  background: #f7f1e9;
  font-family: "Zen Maru Gothic", serif;
}

@media (min-width: 768px) {
  .schedule-calender tbody th {
    padding: .5rem 2rem;
  }
}

.schedule-calender table {
  border-collapse: collapse;
  border-spacing: 0;
  line-height: 1.5;
  border: 1px solid #dfdfdf;
  table-layout: fixed;
}

.schedule-calender .cellSunday,
.schedule-calender .cellHoliday {
  background: #f6d5cc;
}

.Sunday {
  color: #c75c5c;
}

.Saturday {
  color: #5a8fba;
}

.schedule-calender td {
  padding: 10px;
  vertical-align: top;
  text-align: center;
}

.closed-pm {
  background: #f1f6df;
}

.closed {
  color: #f6d5cc;
}

.closed-pm-item {
  color: #f1f6df;
}

.schedule-note {
  margin: 0;
  /* 上下の余白をゼロに */
  line-height: 1.4;
  /* 行間はお好みで */
}

/* 月・水・木を固定で緑色背景にする */
.fixed-green {
  background: #f1f6df !important; /* closed-pm と同じ色 */
}

/* 日曜祝日（赤系） */
.fixed-red {
  background: #f6d5cc !important; /* cellHoliday と同じ色 */
}

/* フッター */
.f-logo {
  margin-bottom: 2rem;
}

.f-logo img {
  width: 15rem;
  height: auto;
}
@media (max-width: 767px) {
  .f-logo img {
  width: 12rem;
  }
}

.footer {
  background-color: #f7f1e9;
}

.footer-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.footer-copyright,
small {
  font-size: 80%;
  text-align: center;
  display: block;
  padding-bottom: 2rem;
}

.f-map {
  flex: 1.5;
  width: 100%;
}

.f-map iframe {
  width: 100%;
  height: 20rem;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .f-map iframe {
    height: 40rem;
  }
}

.f-info {
  flex: 1;
  margin-bottom: 1.5rem;
}


small {
  font-size: 80%;
  text-align: center;
  display: block;
  padding-bottom: 2rem;
}

.f-info .highlight {
  font-weight: bold;
  color: #77a61b;
}



.f-info i {
  margin-right: 0.5rem;
  /* アイコンとテキストの間隔 */
  color: #77a61b;
  /* アイコン色 */
}

.f-info p:last-child {
  margin-top: 3rem;
  /* 電話番号の上に余白 */
}

.address,
.phone {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.address span,
.phone a {
  display: inline-block;
  line-height: 1.7;
}

.access-info {
  color: #77a61b;
  font-weight: 700;
}
.font-big{
  color: #77a61b;
  font-weight: 700;
  font-size: 2rem;
}


/* ==========================
医師のご紹介ページ
========================== */
.doctor {
  background-color: #fff;
  padding: 6rem 2.5rem;
}



.doctor .section-title {
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
  font-size: 2.4rem;
  position: relative;
  color: #5a4a3c;
  margin-bottom: 4rem;
}

.doctor .section-title::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.5rem;
  width: 3.6rem;
  height: 0.4rem;
  background-color: #77a61b;
  border-radius: 0.2rem;
}

.doctor .greeting {
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
  text-align: center;
}
.greeting li:last-child{
  margin-top: 2rem;
}

.disease {
  background-color: #f7f1e9;
  padding: 4rem;
  margin-bottom: 4rem;
}
section.doctor {
  padding-left: 0;
  padding-right: 0;
}
.highlight-red {
  color: #c75c5c;
  font-weight: 700;
}
.staff-message{
  padding: 4rem 2rem;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .staff-message {
    padding: 3rem 1.5rem;
  }
}

/* 当院のご案内専用スタイル */
.policy {
  background-color: #fff;
  padding: 6rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-top: 1px solid #eee;
}

@media (max-width: 767px) {
  .policy {
    padding: 6rem 0rem;
  }
}

.policy .section-title {
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
  font-size: 2.4rem;
  position: relative;
  color: #5a4a3c;
}

.policy .section-title::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.5rem;
  width: 3.6rem;
  height: 0.4rem;
  background-color: #77a61b;
  border-radius: 0.2rem;
}

.policy-list {
  max-width: 800px;
  margin: 0 auto 5rem;
  font-size: 1.5rem;
  line-height: 2;
  counter-reset: policy-counter;
}

.policy-list li {
  position: relative;
  display: flex;
  align-items: baseline;
  margin-bottom: 1.8rem;
}

.policy-list li::before {
  counter-increment: policy-counter;
  content: counter(policy-counter);
  display: inline-block; /* ← これでwidthが有効になる */
  width: 2rem;           /* 固定幅を効かせる */
  text-align: right;
  margin-right: 0.6rem;  /* 数字と文の間隔 */
  font-weight: bold;
  font-size: 2rem;
  line-height: 1;
  color: #77a61b;
  position: relative;    /* staticの代わりにrelativeでOK */
  top: 0.1em;
}

@media (max-width: 767px) {
  .policy-list {
    font-size: 1.4rem;
  }
}

#footer-map {
  scroll-margin-top: 8rem;
  /* スマホ時: ヘッダー約4rem + 余白 */
}

@media (min-width: 768px) {
  #footer-map {
    scroll-margin-top: 9rem;
    /* PC時: ヘッダー約7rem + 余白 */
  }
}

/* 初診ページ（first.html） */
.first {
  background-color: #fff;
  padding: 6rem 2.5rem;
}

/* 初診休止の告知ボックス */
.first-notice {
  background: #fff;
  border-left: 4px solid #77a61b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.2rem 1.4rem;
  margin: 0 0 4rem;
  line-height: 1.7;
  color: #5a4a3c;
}

.first-notice i {
  color: #77a61b;
  margin-right: .4rem;
}

/* 持ち物リスト */
.bring-list {
  max-width: 800px;
  margin: 0 auto;
}

.bring-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px dotted #d9cbb9;
}

.bring-list li:last-child {
  border-bottom: none;
}

.bring-list i {
  font-size: 1.6rem;
  color: #77a61b;
  margin-top: .2rem;
}

.bring-list strong {
  font-weight: 700;
}

.first-note {
  margin-bottom: 5rem;
}

.clinic-info__title {
  font-weight: 700;
  margin: .2rem 0 .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #5a4a3c;
}

.clinic-info__title .bi {
  color: #77a61b;
}

.clinic-info__text {
  line-height: 1.9;
}

/* =========================
   住所・電話の行
   ========================= */

/* 1行を「アイコン + テキスト」の横並びに */
.address,
.phone {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
}

/* テキスト側の行間 */
.address span,
.phone a,
.phone span {
  display: inline-block;
  line-height: 1.7;
}

/* アイコン共通（Phosphor） */
.f-info i {
  flex-shrink: 0;
  font-size: 2rem;   /* アイコンの大きさ */
  line-height: 1;
  color: #77a61b;      /* 緑 */
  margin-top: .3rem;   /* 上下のズレを微調整 */
}

/* 電話行だけ、上に少し余白 */
.f-info p:last-child {
  margin-top: 2rem;
}

/* 強調テキスト */
.access-info {
  color: #77a61b;
  font-weight: 700;
}

/* 「徒歩3分」の 3 を大きく */
.font-big {
  color: #77a61b;
  font-weight: 700;
  font-size: 2rem;
}


/* アンカー位置補正（固定ヘッダー対策） */
#footer-map {
  scroll-margin-top: 8rem;
}

@media (min-width: 768px) {
  #footer-map {
    scroll-margin-top: 9rem;
  }
}