@charset "UTF-8";
/*!
 * content-upgrade-v2.css — 旧本文マークアップをV2デザインに漸進的に引き上げる。
 * landmark 歯科向け。アクセント: #25AABB（ティール系）。
 *
 * 方針:
 * - 本文HTMLはそのまま（PHPテンプレート変更不要）
 * - 旧クラス名（.inner, #index-top, .onayami-container 等）に
 *   モダンなV2スタイルをマッピング
 * - 既存の content.css / sp.css より後に読んで override
 * - 新 static-v2.css が提供するコンポーネント変数・パターンを活用
 *
 * このファイルは foundation.css + static-v2.css の後に読むことを前提とする。
 */

/* ============================================
 * 1. 基本タイポグラフィ・コンテナの近代化
 * ============================================ */

.site-shell--static-v2 #content .inner {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
}

#content h2.title-shadow {
  text-align: center;
  margin-bottom: var(--sv2-space-lg);
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--sv2-heading);
  font-weight: 400;
  font-family: var(--site-font-display);
}

#content h2.title-shadow span {
  display: inline;
}

/* ============================================
 * 2. #index-top（クリニック情報）→ モダン intro
 * ============================================ */

#index-top {
  padding: var(--sv2-space-xl) 0;
}

#index-top .info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sv2-space-lg);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

#index-top .logo2 {
  text-align: center;
}

#index-top .logo2 img {
  max-width: 260px;
  height: auto;
  margin-bottom: 12px;
}

#index-top .logo2 div {
  font-size: 13px;
  color: var(--sv2-ink-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

#index-top .contact {
  padding: var(--sv2-space-md);
  background: var(--sv2-bg-soft);
  border-radius: var(--sv2-radius-lg);
}

#index-top .contact .address {
  font-size: 14px;
  line-height: 1.8;
  color: var(--sv2-ink);
}

#index-top .contact .tel {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .04em;
}

#index-top .contact .tel em {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--sv2-ink-muted);
  letter-spacing: .22em;
  margin-right: 6px;
}

#index-top .contact .web {
  margin-top: 10px;
}

#index-top .contact .web a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--sv2-heading);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .18s ease;
}

#index-top .contact .web a:hover {
  background: #2a1f12;
}

/* ============================================
 * 3. .web_top → モダン CTA バナー
 * ============================================ */

.web_top a {
  display: block;
  max-width: 860px;
  padding: var(--sv2-space-lg) !important;
  background: var(--sv2-bg-soft) !important;
  border: 1px solid var(--sv2-rule-strong) !important;
  border-radius: var(--sv2-radius-lg) !important;
  color: var(--sv2-heading) !important;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 20px rgba(74, 54, 29, .06) !important;
  line-height: 1.4 !important;
  transition: border-color .18s ease, background .18s ease;
}

.web_top a:hover {
  border-color: var(--sv2-accent) !important;
}

.web_top h2 {
  font-family: var(--site-font-display) !important;
  font-size: clamp(20px, 3.6vw, 28px) !important;
  font-weight: 400 !important;
  color: var(--sv2-heading) !important;
  margin: 0 0 10px !important;
  letter-spacing: .04em;
}

.web_top a span {
  font-size: 14px !important;
  color: var(--sv2-ink-muted);
  line-height: 1.6 !important;
}

/* ============================================
 * 4. .box30, .box31 → モダン note
 * ============================================ */

.box30 {
  max-width: 860px;
  margin: var(--sv2-space-lg) auto;
  padding: var(--sv2-space-lg);
  background: #fffbeb;
  border: 1px solid rgba(200, 170, 80, .3);
  border-radius: var(--sv2-radius-lg);
  box-shadow: 0 2px 12px rgba(74, 54, 29, .04);
}

.box30 .box-title,
.box31 .box-title {
  font-family: var(--site-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--sv2-heading);
  margin: 0 0 14px;
  letter-spacing: .04em;
}

.box30 p,
.box31 p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sv2-ink);
}

.box30 b {
  color: #c0392b;
}

.box31 {
  max-width: 860px;
  margin: var(--sv2-space-md) auto;
  padding: var(--sv2-space-lg);
  background: var(--sv2-bg-soft);
  border: 1px solid var(--sv2-rule-strong);
  border-radius: var(--sv2-radius-lg);
  box-shadow: 0 2px 12px rgba(74, 54, 29, .04);
  transition: border-color .18s ease, background .18s ease;
}

.box31 a {
  text-decoration: none;
  color: var(--sv2-ink);
  display: block;
}

.box31:hover {
  border-color: var(--sv2-accent);
}

.box31 a span {
  display: inline-block;
  margin-top: 8px;
  color: var(--sv2-accent-ink);
  font-weight: 500;
  font-size: 14px;
}

/* ============================================
 * 5. .p-concept → 既にSCSSベースのモダン構造、微調整
 * ============================================ */

.p-concept {
  padding: var(--sv2-space-2xl) 0;
}

.p-concept__heading {
  text-align: center;
  font-family: var(--site-font-display) !important;
  font-size: clamp(22px, 5.2vw, 30px) !important;
  font-weight: 400 !important;
  color: var(--sv2-heading) !important;
  margin: 0 0 var(--sv2-space-lg) !important;
  letter-spacing: .06em;
  line-height: 1.3;
}

.p-concept__inner {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: var(--sv2-space-lg);
  align-items: start;
}

.p-concept__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--sv2-radius-lg);
}

.p-concept__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  object-position: center top;
}

.p-concept__content {
  min-width: 0;
}

.c-paragraph {
  font-size: 15px;
  line-height: 1.95;
  color: var(--sv2-ink);
  margin: 0 0 14px;
}

.c-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--sv2-heading);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .18s ease;
}

.c-button:hover {
  background: #2a1f12;
}

.c-button small {
  font-size: 11px;
  opacity: .8;
}

/* ============================================
 * 6. #etiquette / .preventive-btn → モダン
 * ============================================ */

#etiquette {
  max-width: 800px;
  margin: var(--sv2-space-md) auto;
}

#etiquette img {
  width: 100%;
  height: auto;
  border-radius: var(--sv2-radius-md);
}

.preventive-btn {
  text-align: center;
  margin-top: var(--sv2-space-lg);
}

.preventive-btn button {
  background: none;
  border: none;
  padding: 0;
}

.preventive-btn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--sv2-heading);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .18s ease;
}

.preventive-btn a:hover {
  background: #2a1f12;
}

/* ============================================
 * 7. #index-content → モダン feature section
 * ============================================ */

#index-content .content-header {
  margin-bottom: var(--sv2-space-lg);
}

#index-content article.inner {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--sv2-space-lg);
  align-items: start;
  padding: var(--sv2-space-xl) 0;
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--sv2-rule);
}

#index-content article.inner:last-of-type {
  border-bottom: 1px solid var(--sv2-rule);
}

#index-content article.inner figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--sv2-radius-md);
  aspect-ratio: 4/3;
}

#index-content article.inner figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#index-content article.inner h3 {
  font-family: var(--site-font-display);
  font-weight: 400;
  color: var(--sv2-heading);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: .04em;
  margin: 0 0 10px;
}

#index-content article.inner p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sv2-ink);
  margin: 0 0 14px;
}

#index-content article.inner .phone {
  font-family: var(--site-font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sv2-heading);
  margin: 12px 0;
}

#index-content article.inner .web {
  margin-top: 8px;
}

#index-content article.inner .web a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--sv2-heading);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .18s ease;
}

#index-content article.inner .web a:hover {
  background: #2a1f12;
}

#index-content article.inner .web p {
  font-size: 12px;
  margin-top: 6px;
}

/* ============================================
 * 8. #timetel → モダン診療時間セクション
 * ============================================ */

#timetel {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter-current);
  box-sizing: border-box;
}

#timetel .timetel-schedule {
  background: var(--sv2-bg-soft);
  border-radius: var(--sv2-radius-lg);
  padding: var(--sv2-space-lg);
  box-shadow: 0 2px 20px rgba(74, 54, 29, .06);
}

#timetel .timetel-schedule .address {
  font-size: 13px;
  color: var(--sv2-ink-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

#timetel .timetel-schedule-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sv2-rule);
  font-size: 12px;
  color: var(--sv2-ink-muted);
  line-height: 1.6;
}

/* ============================================
 * 9. .news-container → モダン note カード
 * ============================================ */

.news-container {
  background: var(--sv2-bg-soft) !important;
  border-radius: var(--sv2-radius-lg) !important;
  padding: var(--sv2-space-lg) !important;
  box-shadow: 0 2px 20px rgba(74, 54, 29, .06) !important;
}

.news-container h2 {
  font-family: var(--site-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--sv2-heading);
  margin: 0 0 16px !important;
  letter-spacing: .06em;
}

.news-container .news-body li {
  padding: 10px 0;
  border-bottom: 1px solid var(--sv2-rule);
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.news-container .news-body li:last-child {
  border-bottom: none;
}

.news-container .news-body .date {
  font-size: 12px;
  color: var(--sv2-ink-muted);
  margin-bottom: 2px;
}

.news-container .news-body a {
  color: var(--sv2-link);
  text-decoration: none;
}

.news-container .news-body a:hover {
  color: var(--sv2-link-hover);
  text-decoration: underline;
}

/* ============================================
 * 10. #onayami → モダン menu chips
 * ============================================ */

#onayami {
  padding: var(--sv2-space-2xl) 0;
  border-top: 1px solid var(--sv2-rule);
}

#onayami h2 {
  text-align: center;
  margin-bottom: var(--sv2-space-lg);
  font-family: var(--site-font-display);
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--sv2-heading);
  font-weight: 400;
}

#onayami h2 span {
  display: inline;
}

.onayami-container {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
}

.onayami-container li {
  display: flex;
}

.onayami-container li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  padding: 16px 20px;
  background: var(--sv2-bg);
  border: 1px solid var(--sv2-rule-strong);
  border-radius: var(--sv2-radius-md);
  color: var(--sv2-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.onayami-container li a:hover {
  background: var(--sv2-bg-soft);
  color: var(--sv2-accent-ink);
  border-color: var(--sv2-accent);
}

/* ============================================
 * 11. #facility ギャラリー → モダン grid
 * ============================================ */

#facility {
  padding: var(--sv2-space-2xl) 0;
}

#facility h2 {
  text-align: center;
  margin-bottom: var(--sv2-space-lg);
  font-family: var(--site-font-display);
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--sv2-heading);
  font-weight: 400;
}

#facility h2 span {
  display: inline;
}

#facility .box {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

#facility .box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sv2-space-md);
}

#facility .box ul li {
  display: flex;
  flex-direction: column;
}

#facility .box ul li img {
  width: 100%;
  height: auto;
  border-radius: var(--sv2-radius-md);
  margin-bottom: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================
 * 12. .btn → モダン button
 * ============================================ */

#facility .btn {
  text-align: center;
  margin-top: var(--sv2-space-lg);
}

#facility .btn a,
#index-content .btn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 25px;
  min-width: 220px;
  justify-content: center;
  background: var(--sv2-heading);
  color: #fff;
  border: 1px solid var(--sv2-heading);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .18s ease;
}

#facility .btn a:hover,
#index-content .btn a:hover {
  background: #2a1f12;
}

/* ============================================
 * 13. 施設情報テーブル → モダン price-table
 * ============================================ */

#facility table,
#index-content table {
  width: 100%;
  max-width: 800px;
  margin: var(--sv2-space-lg) auto;
  border-collapse: collapse;
  border: 1px solid var(--sv2-rule-strong);
  background: #fff;
}

#facility table th,
#index-content table th {
  padding: 12px 18px;
  background: var(--sv2-bg-soft);
  color: var(--sv2-ink-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sv2-rule-strong);
  width: 25%;
  vertical-align: middle;
}

#facility table td,
#index-content table td {
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sv2-ink);
  border-bottom: 1px solid var(--sv2-rule);
  vertical-align: middle;
}

#facility table tr:last-child td,
#facility table tr:last-child th,
#index-content table tr:last-child td,
#index-content table tr:last-child th {
  border-bottom: none;
}

/* ============================================
 * 14. #index-yoyaku → モダン予約CTA
 * ============================================ */

#index-yoyaku {
  max-width: var(--site-max-width);
  margin: var(--sv2-space-2xl) auto;
  padding: var(--sv2-space-lg);
  background: var(--sv2-bg-soft);
  border-radius: var(--sv2-radius-lg);
  box-shadow: 0 2px 20px rgba(74, 54, 29, .06);
}

#index-yoyaku h2 {
  text-align: center;
  font-family: var(--site-font-display);
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 400;
  color: var(--sv2-heading);
  margin: 0 0 var(--sv2-space-md);
  line-height: 1.3;
  letter-spacing: .04em;
}

#index-yoyaku .clearfix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sv2-space-md);
}

#index-yoyaku .yoyaku-box-left,
#index-yoyaku .yoyaku-box-right {
  padding: var(--sv2-space-md);
  background: #fff;
  border-radius: var(--sv2-radius-md);
  box-shadow: 0 2px 12px rgba(74, 54, 29, .04);
  text-align: center;
}

#index-yoyaku h3 {
  font-family: var(--site-font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--sv2-heading);
  margin: 0 0 12px;
  letter-spacing: .04em;
}

#index-yoyaku .yoyaku-contact-tel {
  font-family: var(--site-font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sv2-heading);
}

#index-yoyaku .web a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--sv2-heading);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .18s ease;
}

#index-yoyaku .web a:hover {
  background: #2a1f12;
}

#index-yoyaku .web p {
  font-size: 12px;
  color: var(--sv2-ink-muted);
  margin-top: 8px;
}

/* ============================================
 * 15. .bnr_bunkatsu → モダン
 * ============================================ */

.bnr_bunkatsu {
  text-align: center;
  margin-top: var(--sv2-space-lg);
}

.bnr_bunkatsu img {
  max-width: 860px;
  width: 100%;
  height: auto;
  border-radius: var(--sv2-radius-md);
}

/* ============================================
 * 16. グローバル余白の統合
 * ============================================ */

.site-shell--static-v2 #content {
  background: var(--sv2-bg);
}

#content section.content {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter-current);
  padding-right: var(--site-gutter-current);
  box-sizing: border-box;
}

/* ============================================
 * 17. 旧画像表示のモダン化
 * ============================================ */

#content figure img {
  border-radius: var(--sv2-radius-md);
}

/* ============================================
 * 18. レスポンシブ調整
 * ============================================ */

@media screen and (max-width: 1023px) {
  #index-top .info {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: var(--sv2-space-md);
  }

  .p-concept__inner {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: var(--sv2-space-md);
  }

  #index-content article.inner {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: var(--sv2-space-md);
  }

  .onayami-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #facility .box ul {
    gap: var(--sv2-space-md);
  }
}

@media screen and (max-width: 767px) {
  #index-top .info {
    grid-template-columns: 1fr;
    gap: var(--sv2-space-md);
  }

  #index-top .info .logo2 {
    order: -1;
  }

  .web_top a {
    width: calc(100% - 32px) !important;
  }

  .box30,
  .box31 {
    width: calc(100% - 32px);
  }

  .p-concept__inner {
    grid-template-columns: 1fr;
    gap: var(--sv2-space-md);
  }

  #index-content article.inner {
    grid-template-columns: 1fr;
    gap: var(--sv2-space-md);
    padding: var(--sv2-space-md) 0;
  }

  #index-content article.inner figure {
    aspect-ratio: 16/10;
    order: -1;
  }

  .onayami-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .onayami-container li a {
    padding: 14px 16px;
    min-height: 56px;
    font-size: 14px;
  }

  #facility .box ul {
    grid-template-columns: 1fr;
  }

  #index-yoyaku .clearfix {
    grid-template-columns: 1fr;
  }
}

/* ============================================
 * 19. ホバー・遷移の統一
 * ============================================ */

#content a[style*="transition"] {
  transition: all .18s ease !important;
}

/* .fz30, .fz16 のテキストサイズ調整を吸収（V2では不要） */
.fz30 {
  font-size: clamp(22px, 5.2vw, 30px) !important;
}

.fz16 {
  font-size: 15px !important;
}

/* ============================================
 * 20. PHPテンプレートから抽出したスタイル
 * ============================================ */

/* slick slider ヒーロー */
@media only screen and (min-width: 481px) {
  .js-slick-slide {
    overflow: hidden;
  }
}
@media only screen and (min-width: 1600px) {
  .js-slick-slide {
    height: 580px;
    overflow: hidden;
  }
  .js-slick-slide div {
    height: 100% !important;
  }
  img.mainvisual {
    min-width: 100% !important;
    width: auto !important;
    min-height: 100% !important;
    height: auto !important;
    position: absolute;
    bottom: 0;
  }
}

/* メインビジュアル picture */
.mv-picture {
  max-width: 700px;
}

/* Instagram ブロック */
.insta {
  display: none;
}
@media screen and (max-width: 480px) {
  .insta {
    display: block;
  }
  .insta img {
    width: 80%;
    margin: 0 auto 30px;
    display: block;
  }
}

/* 重要お知らせスクロール */
.memo {
  height: 150px;
  text-align: center;
  overflow-y: scroll;
}
@media screen and (max-width: 480px) {
  .memo {
    height: 200px;
    text-align: left;
    overflow-y: scroll;
  }
}

/* Web予約注意書き */
.web-note {
  font-size: 14px;
}

/* 患者様へのお願い */
.caution-notice {
  margin-top: 24px;
}
.caution-notice span {
  font-size: 140%;
  font-weight: 700;
  color: #ff3300;
}
