@charset "utf-8";
/* 院内紹介ページ：院内写真のギャラリーと「私たちが届ける安心」 */

/* 見出し（英字＋日本語、画像を使わない） */
#wrapper .cont .inner.widthfix h2.ct-h2 { text-align: center; margin-bottom: 40px; }
#wrapper .cont .inner.widthfix h2.ct-h2 .en { background: none; display: block; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 13px; letter-spacing: .35em; color: #00a0ad; margin-bottom: 8px; }
#wrapper .cont .inner.widthfix h2.ct-h2 .ja { display: inline-block; font-size: 30px; }

/* ===== 院内のご案内：大小のタイルを敷き詰める ===== */
.ct-tour { margin-bottom: 110px; }
.ct-lead { text-align: center; margin: -10px auto 40px; }
.ct-lead .catch { font-size: 22px; letter-spacing: .12em; margin-bottom: 10px; color: #26231c; font-family: font02, "SmartFont UI Proportional", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.ct-lead p { line-height: 2; }
.ct-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px;
}
.ct-tile { position: relative; margin: 0; overflow: hidden; background: #eee; }
.ct-tile.w2 { grid-column: span 2; }
.ct-tile.h2 { grid-row: span 2; }
.ct-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ct-tile:hover img { transform: scale(1.05); }
.ct-tile figcaption {
  position: absolute; left: 0; bottom: 0; padding: 6px 14px;
  background: rgba(10, 58, 63, .82); color: #fff; font-size: 13px; letter-spacing: .1em;
  border-left: 3px solid #f5d066;
}

/* ===== 私たちが届ける安心：写真と文章を左右交互に、文章を写真に重ねる ===== */
.ct-promise { margin-bottom: 100px; }
.ct-items { display: flex; flex-direction: column; gap: 70px; }
.ct-item { display: grid; grid-template-columns: 58% 1fr; align-items: center; scroll-margin-top: 110px; }
.ct-photo { grid-column: 1; grid-row: 1; }
.ct-photo img { display: block; width: 100%; height: auto; aspect-ratio: 41 / 26; object-fit: cover; }
.ct-text {
  grid-column: 2; grid-row: 1; position: relative; z-index: 1;
  margin-left: -70px; padding: 34px 36px 32px;
  background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .1); border-top: 4px solid #00a0ad;
}
.ct-item:nth-child(even) { grid-template-columns: 1fr 58%; }
.ct-item:nth-child(even) .ct-photo { grid-column: 2; }
.ct-item:nth-child(even) .ct-text { grid-column: 1; margin-left: 0; margin-right: -70px; }
.ct-num { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 12px; letter-spacing: .25em; color: #00a0ad; }
.ct-num span { font-size: 40px; line-height: 1; letter-spacing: 0; color: #f5d066; font-weight: 500; }
#wrapper .cont .inner.widthfix .ct-text h3 { text-align: left; margin: 0 0 14px; font-size: 21px; line-height: 1.55; font-weight: bold; color: #26231c; }
.ct-text p { line-height: 1.95; font-size: 15px; }
.ct-text a { color: #00838e; text-decoration: underline; }

@media screen and (min-width: 980px) and (max-width: 1100px) {
  .ct-gallery { grid-auto-rows: 160px; }
}
@media screen and (max-width: 979px) {
  .ct-tour, .ct-promise { margin-bottom: 60px; }
  .ct-tour .inner, .ct-promise .inner { padding: 0 16px; }
  #wrapper .cont .inner.widthfix h2.ct-h2 .ja { font-size: 23px; }
  .ct-lead { text-align: left; }
  .ct-lead .catch { font-size: 18px; text-align: center; }
  /* スマホ：ギャラリーは2列（形の違いは残す）、安心の項目は縦並び */
  .ct-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
  .ct-tile figcaption { font-size: 11px; padding: 4px 10px; }
  .ct-items { gap: 36px; }
  .ct-item, .ct-item:nth-child(even) { display: block; }
  .ct-text, .ct-item:nth-child(even) .ct-text { margin: -30px 12px 0; padding: 24px 20px; }
  .ct-num span { font-size: 32px; }
  #wrapper .cont .inner.widthfix .ct-text h3 { font-size: 18px; }
}

/* ===== ギャラリーの拡大表示（モーダル） ===== */
.ct-tile { cursor: zoom-in; }
.ct-tile::after {
  content: "\f00e"; font-family: FontAwesome; position: absolute; right: 10px; top: 10px;
  width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 50%;
  background: rgba(10, 58, 63, .7); color: #fff; font-size: 14px; opacity: 0; transition: opacity .2s;
}
.ct-tile:hover::after, .ct-tile:focus-visible::after { opacity: 1; }
.ct-tile:focus-visible { outline: 3px solid #f5d066; outline-offset: 2px; }
html.ct-lb-open, html.ct-lb-open body { overflow: hidden; }
.ct-lb {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 26, 28, .92); padding: 60px 70px;
}
.ct-lb[hidden] { display: none; }
.ct-lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.ct-lb-fig img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: ctLbIn .25s ease; }
@keyframes ctLbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.ct-lb-fig figcaption { margin-top: 14px; color: #fff; font-size: 15px; letter-spacing: .1em; min-height: 1em; }
.ct-lb-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, .7); font-family: "Oswald", sans-serif; letter-spacing: .2em; font-size: 13px; }
.ct-lb button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%; transition: background .2s; }
.ct-lb button:hover { background: rgba(255, 255, 255, .25); }
.ct-lb-close { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 22px; }
.ct-lb-prev, .ct-lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; }
.ct-lb-prev { left: 12px; }
.ct-lb-next { right: 12px; }
@media screen and (max-width: 979px) {
  .ct-lb { padding: 56px 8px 50px; }
  .ct-lb-prev, .ct-lb-next { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; font-size: 26px; }
  .ct-lb-prev { left: 20px; }
  .ct-lb-next { right: 20px; }
  .ct-lb-count { bottom: 20px; }
  .ct-lb-fig img { max-height: calc(100vh - 170px); }
}

/* ===== 院内の設備・体制／よくあるご質問 ===== */
.ct-equip, .ct-faq { margin-bottom: 90px; }
.ct-equip-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-equip-list li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px 22px; background: #fff; border-left: 4px solid #00a0ad; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.ct-equip-list i { grid-row: 1 / 3; width: 48px; height: 48px; line-height: 48px; text-align: center; border-radius: 50%; background: #e6f5f6; color: #00838e; font-size: 22px; }
.ct-equip-list b { font-size: 16px; color: #26231c; }
.ct-equip-list span { font-size: 13px; color: #6d675c; line-height: 1.6; }
.ct-faq .dt-faq { max-width: 900px; margin: 0 auto; background: #fff; padding: 6px 28px; box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
.ct-faq .dt-faq a { color: #00838e; text-decoration: underline; }
@media screen and (max-width: 979px) {
  .ct-equip, .ct-faq { margin-bottom: 56px; }
  .ct-equip .inner, .ct-faq .inner { padding: 0 16px; }
  .ct-equip-list { grid-template-columns: 1fr; gap: 10px; }
  .ct-faq .dt-faq { padding: 4px 12px; }
}
