@charset "utf-8";
/* アクセス・診療時間ページ。見出し（.ct-h2）は /clinic/ct.css と共通 */

.ac-access { margin-bottom: 90px; }

/* 外観写真＋情報カード */
.ac-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; margin-bottom: 56px; box-shadow: 0 16px 44px rgba(0, 0, 0, .1); }
.ac-photo { position: relative; margin: 0; min-height: 420px; overflow: hidden; }
.ac-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-photo figcaption {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 18px;
  padding: 14px 22px; color: #fff;
  background: linear-gradient(135deg, rgba(10, 58, 63, .92), rgba(0, 110, 120, .88)); border-left: 4px solid #f5d066;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; font-weight: bold;
}
.ac-photo figcaption b { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; font-size: 40px; line-height: 1; margin: 0 3px; vertical-align: -5px; }
.ac-photo .floor { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .4); }
.ac-photo .floor b { color: #f5d066; }

.ac-card { padding: 36px 40px 34px; background: #fff; border-top: 4px solid #00a0ad; }
.ac-name { margin-bottom: 18px; font-size: 22px; font-weight: bold; color: #26231c; letter-spacing: .05em; }
.ac-name span { display: block; margin-bottom: 4px; font-family: "Oswald", sans-serif; font-weight: 400; font-size: 12px; letter-spacing: .3em; color: #00a0ad; }
.ac-info { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px 10px; font-size: 14px; line-height: 1.75; }
.ac-info dt { font-weight: bold; color: #00838e; white-space: nowrap; }
.ac-info dt i { width: 1.3em; color: #00a0ad; }
.ac-info .off { color: #c0533a; font-weight: bold; }
.ac-svc { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-svc a { display: inline-block; padding: 2px 10px; font-size: 12px; border: 1px solid #b9dfe2; border-radius: 999px; color: #00838e; text-decoration: none; background: #f4fafa; transition: background .2s, color .2s; }
.ac-svc a:hover { background: #00a0ad; color: #fff; }
.ac-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ac-btns a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 10px; border-radius: 4px; color: #fff; text-decoration: none; font-weight: bold; font-size: 18px; line-height: 1.2; transition: opacity .2s; }
.ac-btns a:hover { opacity: .88; }
.ac-btns small { display: block; font-size: 10px; font-weight: normal; opacity: .9; margin-bottom: 2px; }
.ac-btns i { font-size: 22px; }
.ac-btns .tel { background: #f0b100; font-family: "Oswald", "Arial Narrow", sans-serif; letter-spacing: .04em; }
.ac-btns .tel small { font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.ac-btns .web { background: #e2583f; }

/* 地図（案内図＋Googleマップ） */
.ac-maps { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; }
.ac-maps > div { display: flex; flex-direction: column; background: #fff; padding: 20px; border: 1px solid #e3ded3; }
.ac-map-ttl { margin-bottom: 12px; padding-left: 10px; border-left: 4px solid #00a0ad; font-weight: bold; }
.ac-map-illust img { display: block; width: 100%; height: auto; max-width: 390px; margin: 0 auto; }
.ac-iframe { position: relative; flex: 1; min-height: 360px; }
.ac-iframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.ac-link { display: block; margin-top: 14px; padding: 11px; text-align: center; border: 1px solid #00a0ad; color: #00838e; text-decoration: none; font-size: 14px; transition: background .2s, color .2s; }
.ac-link:hover { background: #00a0ad; color: #fff; }

/* 診療時間 */
.ac-hours { margin-bottom: 100px; }
.ac-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.ac-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, .07); }
.ac-table th, .ac-table td { padding: 18px 8px; text-align: center; border-bottom: 1px solid #ece8de; font-size: 15px; }
.ac-table thead th { background: #0a4a50; color: #fff; font-weight: bold; letter-spacing: .1em; }
.ac-table thead th:first-child { background: #083c41; }
.ac-table tbody th { width: 22%; font-family: "Oswald", sans-serif; font-size: 17px; letter-spacing: .04em; color: #26231c; background: #f4fafa; }
.ac-table .o { color: #00a0ad; font-size: 20px; }
.ac-table .x { color: #b9b3a6; font-size: 18px; }
.ac-table .today { background: #fffbea; }
.ac-table thead .today { background: #f5d066; color: #26231c; }
.ac-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ac-notes li { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: #fff; border: 1px solid #e3ded3; }
.ac-notes i { font-size: 22px; color: #00a0ad; }
.ac-notes b { display: block; font-size: 12px; color: #00838e; }

@media screen and (max-width: 979px) {
  .ac-access, .ac-hours { margin-bottom: 60px; }
  .ac-access .inner, .ac-hours .inner { padding: 0 16px; }
  .ac-hero { grid-template-columns: 1fr; margin-bottom: 36px; }
  .ac-photo { min-height: 0; aspect-ratio: 47 / 29; }
  .ac-photo figcaption { font-size: 13px; gap: 12px; padding: 10px 14px; }
  .ac-photo figcaption b { font-size: 30px; }
  .ac-card { padding: 24px 18px; }
  .ac-info { grid-template-columns: 1fr; gap: 2px; }
  .ac-info dd { margin-bottom: 10px; }
  .ac-btns { grid-template-columns: 1fr; }
  .ac-maps { grid-template-columns: 1fr; gap: 18px; }
  .ac-maps > div { padding: 14px; }
  .ac-iframe { min-height: 300px; }
  .ac-table th, .ac-table td { padding: 12px 2px; font-size: 13px; }
  .ac-table tbody th { font-size: 13px; width: 30%; }
  .ac-notes { flex-direction: column; }
}

/* はじめてお越しの方へ・よくあるご質問 */
.ac-hours { margin-bottom: 80px; }
.ac-first, .ac-faq { margin-bottom: 80px; }
.ac-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ac-guide > div { padding: 24px 24px 20px; background: #fff; border-top: 3px solid #00a0ad; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.ac-guide .ttl { margin-bottom: 8px; font-size: 16px; font-weight: bold; color: #26231c; }
.ac-guide .ttl i { margin-right: 8px; color: #00a0ad; }
.ac-guide p:not(.ttl) { font-size: 14px; line-height: 1.85; color: #5a554b; }
@media screen and (max-width: 979px) {
  .ac-first, .ac-faq { margin-bottom: 60px; }
  .ac-first .inner, .ac-faq .inner { padding: 0 16px; }
  .ac-guide { grid-template-columns: 1fr; gap: 12px; }
  .ac-guide > div { padding: 18px 16px 14px; }
}
