@charset "UTF-8";

/* CSS Document */

/* h1 の1行目（医院名）。2行目より小さく、改行して表示する */
.index_title_clinic {
  display: block;
  font-size: 0.7em;
}

.section_title{
  padding: 0 0 8px 0;
  font-size: 1.6rem;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 3rem;
  color: rgba(59, 91, 153, 1);
  text-align: center;
  border: 0;
  border-bottom: 2px solid rgba(59, 91, 153, 1);
  border-radius: 0;
  width: 100%;
  display: block;
  width: fit-content;
}



/* ============================
   医療法人Zion 理念
   =============================*/
.top_philosophy2026 {
  padding: 3rem 2rem 4rem 2rem;
  font-family: var(--mincho);
  text-align: center;
  margin: 0 auto;
  background-color: #fafafa;
}

.top_philosophy2026_lead {
  padding: 1rem 1.2rem;
  margin-bottom: 30px;
}

/* チェックボックス制御 */
.toggle_input {
  display: none !important;
}

/* フレーム本体 (閉じている初期状態) */
.top_philosophy2026_frame {
  display: grid !important;
  grid-template-rows: 250px !important;
  overflow: hidden !important;
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 3rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: grid-template-rows 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.philosophy_inner {
  min-height: 0;
}

.gradient_overlay {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 150px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0) 0%, #fafafa 50%);
  margin: -150px auto 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s;
}


.btn_text_open, .btn_text_close {
  font-weight: bold;
  color: #444;
  font-size: 15px;
}

.btn_text_close {
  display: none;
}

/* 理念アコーディオンの開閉矢印。#spSidemenuPanel .arrow 等の同名クラスに
   干渉しないよう .toggle_label 配下に限定する */
.toggle_label .arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  transform: rotate(45deg);
  margin-top: 10px;
  transition: transform 0.4s;
}

/* --- チェックが入った時の状態変化 --- */
#philosophy_toggle:checked~.top_philosophy2026_frame {
  grid-template-rows: 1fr !important;
  padding-bottom: 40px !important;
}

#philosophy_toggle:checked~.gradient_overlay {
  opacity: 0 !important;
  visibility: hidden !important;
}

#philosophy_toggle:checked~.toggle_label .btn_text_open {
  display: none !important;
}

#philosophy_toggle:checked~.toggle_label .btn_text_close {
  display: block !important;
}

#philosophy_toggle:checked~.toggle_label .arrow {
  transform: rotate(-135deg) !important;
  margin-top: 15px !important;
}

.toggle_label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  cursor: pointer;
  margin-top: -100px;
  position: relative;
  z-index: 3;
}

#philosophy_toggle:checked~.toggle_label {
  margin-top: -100px !important;
}

.top_philosophy2026 .mission_statement {
  padding: 40px 0 20px 0;
  font-size: 1.7rem;
  line-height: 2.6rem;
}

.top_philosophy2026 .mission_item {
  padding: 40px 0 24px 0;
  font-size: 1.3rem;
}

.top_philosophy2026 p {
  line-height: 180%;
}

.top_philosophy2026 ul {
  max-width: 640px;
  margin: auto;
  list-style: none;
  padding: 0;
}

.top_philosophy2026_sign {
  text-align: center;
  display: block;
  padding: 64px 0;
}

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

  .top_philosophy2026_frame {
    padding: 0 1.5rem;
  }
}

/* ============================
   インバウンド対応
   =============================*/

.inbound {
  padding: 4rem 1.5rem 0 1.5rem;
  margin: auto;
  display: grid;
  place-content: center;
  width: 100%;
}

.inbound h2 {
  text-align: center;
}

.inbound img {
  width: 100%;
  margin: auto;
}
.inbound_banners {
  display: flex;
  gap: var(--space32);
  justify-content: space-between;
  align-items: stretch;
  max-width: 1024px;
  margin: auto;
  margin-top: 48px;
  gap: 2rem;
}

@media (max-width: 767px) {
  .inbound_banners {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.banners {
  max-width:1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom:4rem;
}

.banners>* {
  padding: 12px 0;
  margin: 6px;
}

/*---------------------
お知らせ（日本語サイトのトップ ../index.css と同じ見た目）
-----------------------*/
.news {
  background-image: url(images/denim.webp);
  margin: 64px auto;
  text-align: left;
  max-width: 1240px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.news .news_stripe {
  background-image: url(images/stripe02.webp);
  background-position: left;
  background-repeat: repeat-y;
  padding: 15px;
}

/* 日付と本文の2列。英語サイトの en_style.css の .table は table-layout: fixed などが日本語サイトと違うので、ここで日本語サイトと同じにする */
.news .table {
  display: table;
  width: 100%;
  table-layout: auto;
}

.news .table > * {
  display: table-cell;
  vertical-align: top;
}

.news .date {
  width: 250px;
  text-align: right;
  padding: 10px;
  padding-right: 30px;
  font-size: 1.2rem;
  border-bottom: 2px dashed #fff;
}

.news .entry {
  width: auto;
  text-align: left;
  padding: 10px;
  border-bottom: 2px dashed #fff;
}

.news .entry h3 {
  font-size: 1.2rem;
}

/* 最後のお知らせの下には区切り線を入れない */
.news .table:last-child .date,
.news .table:last-child .entry {
  border-bottom: none;
}

@media screen and (max-width: 767px) {
  .news .news_stripe {
    background-image: none;
  }

  .news .table,
  .news .table > * {
    display: block;
    width: 100%;
  }

  .news .date {
    width: 100%;
    text-align: center;
    border-bottom: none;
  }

  .news .entry {
    width: 100%;
    text-align: left;
  }

  .news_header {
    text-align: center;
  }
}

/* AI相談 */
.top_ai {
  box-sizing: border-box;
  min-height: 306px;
  padding: 48px 16px;
  background: #edf6fc;
  word-break: normal;
}
.top_ai .wbr {
  display: inline-block;
}
.top_ai .dentai-inline-head {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0;
  text-align: center;
}
.top_ai .dentai-inline-title,
.top_ai .dentai-inline-lead,
.top_ai .dentai-inline-buttons [data-dentai-ask] {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.02em;
}
.top_ai .dentai-inline-title {
  margin: 0;
  padding: 0;
  color: #163267;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}
.top_ai .dentai-inline-lead {
  margin: 12px 0 0;
  padding: 0;
  color: #444444;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.top_ai .dentai-inline-buttons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 20px auto 0;
  padding: 0;
}
.top_ai .dentai-inline-buttons [data-dentai-ask] {
  margin: 0;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.15s;
}
.top_ai .dentai-inline-buttons [data-dentai-ask]:hover {
  background: #dfe5f1;
}
.top_ai .dentai-inline-buttons [data-dentai-ask]:focus-visible {
  outline: 2px solid #163267;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .top_ai {
    min-height: 267px;
    padding: 40px 16px;
  }
  .top_ai .dentai-inline-head {
    margin-bottom: 20px;
  }
  .top_ai .dentai-inline-title {
    font-size: 19px;
  }
  .top_ai .dentai-inline-lead {
    margin-top: 8px;
    font-size: 14px;
  }
  .top_ai .dentai-inline-buttons {
    gap: 8px;
    margin-top: 16px;
  }
  .top_ai .dentai-inline-buttons [data-dentai-ask] {
    padding: 7px 14px;
    font-size: 14px;
  }
}
