/**
 * symptoms アーカイブ（.i1-medical-cards 併用）・単一投稿
 */

/* 症状一覧ランディング：セクション背景をビューポート幅いっぱい（#content の幅制限を解除） */
body.ichiha-1-symptoms-landing #content.site-content {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

/* 子テーマ style.css の .site-main { padding: 0 !important } より優先して固定ヘッダー分を確保 */
body.ichiha-1-symptoms-landing .site-main.i1-symptoms-archive {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: calc(var(--i1-header-h, 120px)) !important;
}

/* 下層ヒーロー（症状一覧・固定ページテンプレ）— 背景画像＋ぼかし＋オーバーレイ */
.i1-sub-hero.i1-symptoms-sub-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  min-height: clamp(140px, 22vw, 240px);
  isolation: isolate;
}

.i1-sub-hero.i1-symptoms-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/sub-header1.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.1);
}

.i1-sub-hero.i1-symptoms-sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(40, 45, 35, 0.48);
}

/* ヘッダー分は .site-main の padding-top で確保済み。ここはヒーロー内の詰め用のみ */
.i1-sub-hero .i1-sub-hero__inner {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__inner {
  position: relative;
  z-index: 2;
}

.i1-sub-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #666;
  margin: 0 0 0.35rem;
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.i1-sub-hero__home {
  color: var(--color-primary, #6f745c);
  text-decoration: none;
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__home {
  color: #fff;
}

.i1-sub-hero__home:hover,
.i1-sub-hero__home:focus-visible {
  text-decoration: underline;
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__home:hover,
.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__home:focus-visible {
  color: #fff;
}

.i1-sub-hero__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.i1-sub-hero__title {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.08em;
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__title {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* 単一投稿：パンくず「症状について」を一覧へリンク */
.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__trail {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__trail:hover,
.i1-sub-hero.i1-symptoms-sub-hero .i1-sub-hero__trail:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* 症状・単一投稿 — 本文エリア */
.i1-symptoms-single__article {
  margin: 0;
  padding-bottom: 0;
}

.i1-symptoms-single__body {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: var(--i1-bg-beige, #f2ebe4);
  color: var(--color-main-text, #000);
}

.i1-symptoms-single__block {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

/* .i1-warm-head__title と同じタイポ（マークなしブロック見出し） */
.i1-symptoms-single__block-title {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  margin: 0 0 0.75rem;
  padding-bottom: 0;
  border-bottom: none;
  color: var(--color-main-text, #000);
}

.i1-symptoms-single__block-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #333;
}

.i1-symptoms-single__block-text > *:first-child {
  margin-top: 0;
}

.i1-symptoms-single__block-text > *:last-child {
  margin-bottom: 0;
}

.i1-symptoms-single__editor {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 初めての方へ・施術内容・料金・店舗情報（固定ページテンプレ）— サンプル本文 */
.i1-first-visit__lead,
.i1-treatment-menu__lead,
.i1-clinic-information__lead {
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  color: #333;
}

.i1-first-visit__section,
.i1-treatment-menu__section,
.i1-clinic-information__section {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

.i1-first-visit__section:last-child:not(.i1-first-visit__section--strip),
.i1-treatment-menu__section:last-child,
.i1-clinic-information__section:last-child {
  margin-bottom: 0;
}

/* 初めての方へ — ご来院の流れ・保険・FAQ を TOP の #i1-concept / #i1-policy / #i1-method と同系のフル幅帯で区切る */
.i1-first-visit-page .i1-first-visit__section--strip {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  box-sizing: border-box;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-left: var(--i1-gutter, clamp(1rem, 4vw, 2.5rem));
  padding-right: var(--i1-gutter, clamp(1rem, 4vw, 2.5rem));
  overflow-x: clip;
}

.i1-first-visit-page .i1-first-visit__section--strip-concept {
  background: var(--i1-bg-beige, #f2ebe4);
}

.i1-first-visit-page .i1-first-visit__section--strip-policy {
  background: #cedbce;
  color: var(--color-main-text, #000);
}

.i1-first-visit-page .i1-first-visit__section--strip-policy.i1-first-visit__section p {
  color: inherit;
}

.i1-first-visit-page .i1-first-visit__section--strip-method {

}

.i1-first-visit-page .i1-first-visit__section-strip-inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.i1-first-visit__section p,
.i1-treatment-menu__section p,
.i1-clinic-information__section p {
  margin: 0 0 0.75rem;
  line-height: 1.85;
  color: #333;
}

.i1-first-visit__section p:last-child,
.i1-treatment-menu__section p:last-child,
.i1-clinic-information__section p:last-child {
  margin-bottom: 0;
}

/* 管理画面本文・下層固定ページの h2 — タイポは .i1-warm-head__title に合わせる（マークは出せないため文字のみ） */
.i1-symptoms-archive__intro-inner.entry-content > h2:not(.i1-warm-head__title),
.i1-treatment-archive__page-intro.entry-content > h2:not(.i1-warm-head__title) {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-main-text, #000);
}

/* プライバシーポリシー（ラッパー内 h2 は intro-inner の直下子ではないため上記とは別指定） */
.i1-privacy-policy-default h2 {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-main-text, #000);
}

.i1-privacy-policy-default h2:first-of-type {
  margin-top: clamp(1rem, 2.75vw, 1.75rem);
}

.i1-privacy-policy-default ul {
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  padding-left: 1.35rem;
  display: grid;
  gap: 0.5rem;
  line-height: 1.75;
}

.i1-privacy-policy-default .i1-privacy-policy-default__lead {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.i1-privacy-policy-default .i1-privacy-policy-default__office {
  margin-top: clamp(0.75rem, 2vw, 1rem);
}

.i1-first-visit__steps {
  margin: 0;
  padding-left: 1.35rem;
  list-style: decimal;
  display: grid;
  gap: 1rem;
  line-height: 1.85;
  color: #333;
}

.i1-first-visit__steps strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-main-text, #000);
  font-size: 1.25rem;
  font-family: var(--i1-font-serif);
}

.i1-first-visit__list,
.i1-treatment-menu__list,
.i1-clinic-information__list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.85;
  color: #333;
}

.i1-first-visit__list li,
.i1-treatment-menu__list li,
.i1-clinic-information__list li {
  margin-bottom: 0.35rem;
}

.i1-first-visit__note,
.i1-treatment-menu__note,
.i1-clinic-information__note {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
}

.i1-first-visit__faq {
  margin: 0;
}

.i1-first-visit__faq-item {
  margin-bottom: 1.25rem;
}

.i1-first-visit__faq-item:last-child {
  margin-bottom: 0;
}

.i1-first-visit__faq-item dt {
  font-family: var(--i1-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-main-text, #000);
}

.i1-first-visit__faq dd {
  margin: 0;
  padding: 0;
  line-height: 1.85;
  color: #333;
}

.i1-first-visit__faq-more-wrap {
  margin: clamp(1.75rem, 4vw, 2.25rem) 0 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.i1-first-visit__faq-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 18rem);
  padding: 1rem 2.75rem;
  border-radius: 999px;
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
  background: var(--i1-cta-web, #6b705c);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.i1-first-visit__faq-more-link:hover,
.i1-first-visit__faq-more-link:focus-visible {
  opacity: 0.94;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
}

/* 施術内容・料金 — 料金表（サンプル） */
.i1-treatment-menu__table-wrap {
  margin: 1rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.i1-treatment-menu__table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
}

.i1-treatment-menu__table th,
.i1-treatment-menu__table td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.i1-treatment-menu__table thead th {
  background: rgba(111, 116, 92, 0.12);
  font-weight: 600;
  color: var(--color-main-text, #000);
}

.i1-treatment-menu__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.5);
}

/* 施術内容・料金 — 保険診療の自己負担（目安）テーブル */
.i1-treatment-menu__table-wrap--insurance-pricing {
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

.i1-treatment-menu__table--insurance-pricing {
  min-width: min(100%, 36rem);
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
  line-height: 1.5;
  color: #000;
}

.i1-treatment-menu__table--insurance-pricing th,
.i1-treatment-menu__table--insurance-pricing td {
  padding: 0.55rem 0.45rem;
  vertical-align: middle;
}

.i1-treatment-menu__table--insurance-pricing thead th {
  background: #555d42;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.i1-treatment-menu__table--insurance-pricing tbody th[scope="row"] {
  background: #fff;
  font-weight: bold;
  text-align: left;
  color: #555d42;
}

.i1-treatment-menu__table--insurance-pricing tbody td {
  background: #fff;
  text-align: center;
  color: #000;
}

.i1-treatment-menu__table--insurance-pricing tbody tr:nth-child(even) th,
.i1-treatment-menu__table--insurance-pricing tbody tr:nth-child(even) td {
  background: #fff;
}

/* 施術内容・料金 — お支払い（カード風レイアウト＋ブランド画像） */
.i1-treatment-menu__payment-lead {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.i1-treatment-menu__payment-box {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(231, 220, 200, 0.45) 48%,
    rgba(167, 189, 154, 0.18) 100%
  );
  border: 1px solid rgba(111, 116, 92, 0.22);
  border-radius: clamp(14px, 3vw, 20px);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.i1-treatment-menu__payment-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
  align-items: stretch;
}

.i1-treatment-menu__payment-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.i1-treatment-menu__payment-item:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 899px) {
  .i1-treatment-menu__payment-item--cards {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .i1-treatment-menu__payment-grid {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
}

.i1-treatment-menu__payment-label {
  display: block;
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary, #6f745c);
}

.i1-treatment-menu__payment-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #444;
  flex: 1;
}

.i1-treatment-menu__payment-brands {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(111, 116, 92, 0.25);
}

.i1-treatment-menu__payment-img {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 施術内容・料金 — 自費施術メニュー（全幅・#fff。本文は .i1-symptoms-archive__intro-inner と同幅） */
.i1-treatment-menu__section--selfpay {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  padding-left: var(--i1-gutter, clamp(1rem, 4vw, 2.5rem));
  padding-right: var(--i1-gutter, clamp(1rem, 4vw, 2.5rem));
  background: #ffffff;
  box-sizing: border-box;
}

.i1-treatment-menu__selfpay-inner {
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* 施術内容・料金 — 自費診療メニュー（カード＋料金バー） */
.i1-treatment-menu__selfpay-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 2rem);
}

.i1-treatment-menu__selfpay-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}

.i1-treatment-menu__selfpay-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
}

@media (max-width: 720px) {
  .i1-treatment-menu__selfpay-card-main {
    grid-template-columns: 1fr;
  }
}

.i1-treatment-menu__selfpay-card-text {
  padding: clamp(1.15rem, 2.8vw, 1.65rem) clamp(1.15rem, 2.8vw, 1.75rem);
}

.i1-treatment-menu__selfpay-card-title {
  margin: 0 0 0.85rem;
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--color-accent-1, #f08976);
}

.i1-treatment-menu__selfpay-card-bullets {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #444;
}

.i1-treatment-menu__selfpay-card-bullets li {
  margin-bottom: 0.45rem;
  white-space: pre-line;
}

.i1-treatment-menu__selfpay-card-bullets li:last-child {
  margin-bottom: 0;
}

.i1-treatment-menu__selfpay-card-media {
  position: relative;
  min-height: 11rem;
  background: #e8e4dc;
}

@media (max-width: 720px) {
  .i1-treatment-menu__selfpay-card-media {
    min-height: 14rem;
    max-height: 16rem;
  }
}

.i1-treatment-menu__selfpay-card-img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .i1-treatment-menu__selfpay-card-img {
    min-height: 14rem;
    max-height: 16rem;
  }
}

.i1-treatment-menu__selfpay-card-prices {
  background: #eceae6;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.35rem);
}

.i1-treatment-menu__selfpay-card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.i1-treatment-menu__selfpay-card-price-text {
  margin: 0;
  flex: 1 1 12rem;
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
  line-height: 1.65;
  color: #333;
}

.i1-treatment-menu__selfpay-price-line {
  margin: 0 0 0.35rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.i1-treatment-menu__selfpay-price-line:last-child {
  margin-bottom: 0;
}

.i1-treatment-menu__selfpay-card-price-text--stack .i1-treatment-menu__selfpay-price-line {
  margin-bottom: 0.25rem;
}

.i1-treatment-menu__selfpay-price-line--inline {
  margin: 0;
}

.i1-treatment-menu__selfpay-price-sep {
  margin: 0 0.35rem;
  color: #888;
  font-weight: 400;
}

.i1-treatment-menu__selfpay-price-segment {
  white-space: normal;
}

.i1-treatment-menu__selfpay-card-note {
  margin: 0;
  flex: 0 1 auto;
  max-width: 22rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #555;
  text-align: right;
}

@media (max-width: 720px) {
  .i1-treatment-menu__selfpay-card-note {
    text-align: left;
    max-width: none;
  }
}

/* 店舗情報・アクセス — 基本情報テーブル・地図リンク */
.i1-clinic-information__table-wrap {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.i1-clinic-information__access-photo {
  margin: 0 0 clamp(0.85rem, 2vw, 1.25rem);
}

.i1-clinic-information__access-photo-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.i1-clinic-information__table-simple {
  width: 100%;
  min-width: 260px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.i1-clinic-information__table-simple th,
.i1-clinic-information__table-simple td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.i1-clinic-information__table-simple th[scope="row"] {
  width: 32%;
  max-width: 10rem;
  background: rgba(111, 116, 92, 0.1);
  font-weight: 600;
  color: var(--color-main-text, #000);
  white-space: nowrap;
}

.i1-clinic-information__table-simple tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.45);
}

.i1-clinic-information__table-simple tbody tr:nth-child(even) th {
  background: rgba(111, 116, 92, 0.12);
}

.i1-clinic-information__table-simple td a {
  color: var(--color-primary, #6f745c);
  font-weight: 600;
  text-decoration: none;
}

.i1-clinic-information__table-simple td a:hover,
.i1-clinic-information__table-simple td a:focus-visible {
  text-decoration: underline;
}

/* Google マップ埋め込み（幅100%・縦横比 4:3） */
.i1-clinic-information__map-embed {
  margin: clamp(1.15rem, 3vw, 1.75rem) auto 40px;
  width: 100%;
  max-width: min(100%, 42rem);
  aspect-ratio: 4 / 3;
  border-radius: clamp(10px, 2vw, 14px);
  overflow: hidden;
  background: #e5e7e0;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.i1-clinic-information__map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.i1-clinic-information__map-link {
  margin: clamp(1.75rem, 4.5vw, 2.5rem) 0 0;
  text-align: center;
}

.i1-clinic-information__btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary, #6f745c);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.i1-clinic-information__btn-map:hover,
.i1-clinic-information__btn-map:focus-visible {
  opacity: 0.92;
  color: #fff;
  transform: translateY(-1px);
}

/* 店舗情報 — 診療時間表（曜日×時間帯） */
.i1-clinic-information__hours-wrap {
  margin-top: 1rem;
}

.i1-clinic-information__hours-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font-sans, "Zen Kaku Gothic New", "Noto Sans JP", sans-serif);
  font-size: clamp(0.75rem, 2.1vw, 0.9rem);
  line-height: 1.4;
  color: var(--color-main-text, #000);
}

.i1-clinic-information__hours-table caption {
  padding: 0;
}

.i1-clinic-information__hours-table thead th {
  padding: 0.55rem 0.3rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  background: #5d6346;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.i1-clinic-information__hours-table thead th:first-child {
  width: 22%;
}

.i1-clinic-information__hours-table tbody th,
.i1-clinic-information__hours-table tbody td {
  padding: 0.55rem 0.3rem;
  text-align: center;
  vertical-align: middle;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.i1-clinic-information__hours-table tbody th[scope="row"] {
  font-weight: 600;
  white-space: nowrap;
}

.i1-clinic-information__hours-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #444;
}

.i1-symptoms-archive__intro {
  padding-top: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: clamp(1rem, 3vw, 1.75rem);
  background: var(--i1-bg-beige, #f2ebe4);
  overflow-x: clip;
}

.i1-symptoms-archive__intro-inner {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #333;
}

/* 初めての方へ：コンセプト（TOP #i1-mission と同系の縦組み＋ロゴ）— 背景をビューポート幅いっぱいに */
.i1-first-visit__content > #i1-first-visit-concept.i1-first-visit-concept {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 初めての方へ：コンセプト内・.i1-mission__inner 上の六診図 */
#i1-first-visit-concept .i1-first-visit-concept__rokushin {
  margin-top: 0;
  margin-bottom: clamp(2.75rem, 7vw, 5rem);
  text-align: center;
}

#i1-first-visit-concept .i1-first-visit-concept__rokushin-img {
  display: block;
  width: min(100%, 28rem);
  max-width: 250px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* 初めての方へ：六診詳細モーダル */
.i1-first-visit-concept__rokushin-detail {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.i1-rokushin-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem clamp(1.75rem, 4vw, 2.75rem);
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--color-primary, #6f745c);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(111, 116, 92, 0.38);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.i1-rokushin-detail-btn:hover,
.i1-rokushin-detail-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(111, 116, 92, 0.42);
  filter: brightness(1.03);
  outline: none;
}

.i1-rokushin-detail-btn:focus-visible {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--color-primary, #6f745c);
}

dialog.i1-rokushin-modal {
  border: none;
  padding: 0;
  margin: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  width: min(100%, 34rem);
  background: transparent;
  overflow: visible;
}

dialog.i1-rokushin-modal::backdrop {
  background: rgba(40, 45, 35, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: i1-rokushin-backdrop-in 0.45s ease forwards;
}

dialog.i1-rokushin-modal[open] .i1-rokushin-modal__panel {
  animation: i1-rokushin-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

dialog.i1-rokushin-modal.i1-rokushin-modal--closing .i1-rokushin-modal__panel {
  animation: i1-rokushin-panel-out 0.32s ease forwards;
}

dialog.i1-rokushin-modal.i1-rokushin-modal--closing::backdrop {
  animation: i1-rokushin-backdrop-out 0.32s ease forwards;
}

@keyframes i1-rokushin-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes i1-rokushin-backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes i1-rokushin-panel-in {
  from {
    opacity: 0;
    transform: translateY(1.35rem) scale(0.94);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes i1-rokushin-panel-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(0.65rem) scale(0.97);
  }
}

.i1-rokushin-modal__panel {
  position: relative;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  background: #fff;
  border-radius: clamp(14px, 2.5vw, 20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.i1-rokushin-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  font-size: 1.65rem;
  line-height: 1;
  color: #444;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.i1-rokushin-modal__close:hover,
.i1-rokushin-modal__close:focus-visible {
  background: rgba(111, 116, 92, 0.12);
  color: var(--color-primary, #6f745c);
  outline: none;
}

.i1-rokushin-modal__close:focus-visible {
  box-shadow: 0 0 0 2px var(--color-primary, #6f745c);
}

.i1-rokushin-modal__body {
  max-height: min(70vh, 32rem);
  padding-right: 0.25rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #333;
  text-align: left;
}

.i1-rokushin-modal__heading {
  margin: 0 0 0.65rem;
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-main-text, #000);
}

.i1-rokushin-modal__heading--sub {
  margin-top: 1.35rem;
}

.i1-rokushin-modal__lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #555;
}

.i1-rokushin-modal__list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.i1-rokushin-modal__list li {
  margin-bottom: 0.55rem;
}

.i1-rokushin-modal__list li strong {
  font-family: var(--i1-font-serif);
  font-size: 1.1rem;
  color: var(--color-main-text, #000);
}

.i1-rokushin-modal__list--points {
  list-style: none;
  padding-left: 0;
}

.i1-rokushin-modal__list--points li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
}

.i1-rokushin-modal__list--points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary, #6f745c);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  dialog.i1-rokushin-modal[open] .i1-rokushin-modal__panel,
  dialog.i1-rokushin-modal.i1-rokushin-modal--closing .i1-rokushin-modal__panel,
  dialog.i1-rokushin-modal::backdrop,
  dialog.i1-rokushin-modal.i1-rokushin-modal--closing::backdrop {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .i1-rokushin-detail-btn {
    transition: none;
  }
}

/* コンセプト：スマホでは横書き（縦組みを解除） */
@media (max-width: 900px) {
  #i1-first-visit-concept .i1-mission__line {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-width: 100%;
  }

  #i1-first-visit-concept .i1-mission__body,
  #i1-first-visit-concept .i1-mission__heading {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  #i1-first-visit-concept .i1-mission__body .i1-mission__line {
    letter-spacing: 0.06em;
    line-height: 1.25;
    /* 日本語の禁則に近い改行（読点直後の不自然な改行を抑止）。900px超では未指定のためPC相当幅では影響なし */
    word-break: keep-all;
    line-break: strict;
  }

  #i1-first-visit-concept .i1-mission__heading .i1-mission__line--display {
    letter-spacing: 0.08em;
    line-height: 1.55;
  }

  #i1-first-visit-concept .i1-mission__text {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    max-width: 100%;
  }

  /* 見出し（大）→ 本文の順で読めるように */
  #i1-first-visit-concept .i1-mission__heading {
    order: -1;
  }

  #i1-first-visit-concept .i1-mission__inner {
    align-items: stretch;
  }
}

/* CTA 白パネル：症状一覧のみ上下マージン（TOP の .i1-landing-main 内には該当しない） */
.i1-symptoms-archive .i1-cta__panel {
  margin-top: 100px;
  margin-bottom: 100px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.i1-symptoms-archive__section {
  background: var(--i1-bg-medical);
  color: var(--color-main-text, #000);
}

.i1-symptoms-archive__wrap {
  max-width: var(--i1-max, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.i1-symptoms-archive__head {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.i1-symptoms-archive__title {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.08em;
}

.i1-symptoms-archive__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
}

.i1-symptoms-archive__page-intro {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: left;
}

/* 診療案内と同じ .i1-medical-card — 一覧のみ 3 列グリッド（landing.css の 2 列を上書き） */
.i1-symptoms-archive__cards.i1-medical-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  width: 100%;
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
}

#i1-medical .i1-symptoms-archive__cards.i1-medical-cards {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

@media (max-width: 1024px) {
  .i1-symptoms-archive__cards.i1-medical-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .i1-symptoms-archive__cards.i1-medical-cards {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* サムネなし時の円内プレースホルダー */
.i1-symptoms-archive__section .i1-medical-card__placeholder,
#i1-medical .i1-medical-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(145deg, #e8cdb0 0%, #a7bd9a 100%);
}

/* 続きを見る */
.i1-symptoms-archive__section .i1-medical-card__actions,
#i1-medical .i1-medical-card__actions {
  margin: 0.5rem 0 0;
}

.i1-symptoms-archive__section .i1-medical-card__more,
#i1-medical .i1-medical-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary, #6f745c);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.i1-symptoms-archive__section .i1-medical-card__more:hover,
.i1-symptoms-archive__section .i1-medical-card__more:focus-visible,
#i1-medical .i1-medical-card__more:hover,
#i1-medical .i1-medical-card__more:focus-visible {
  opacity: 0.92;
  color: #fff;
  transform: translateY(-1px);
}

.i1-symptoms-archive__empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #666;
}

#i1-medical .i1-medical-cards__empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #666;
  grid-column: 1 / -1;
}

.i1-symptoms-archive .navigation.pagination {
  margin-top: 2rem;
}

.i1-symptoms-archive .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.i1-symptoms-archive .nav-links a,
.i1-symptoms-archive .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  border-radius: 8px;
  text-decoration: none;
}

.i1-symptoms-archive .nav-links a {
  background: var(--color-primary, #6f745c);
  color: #fff;
}

.i1-symptoms-archive .nav-links span.current {
  background: rgba(111, 116, 92, 0.15);
  color: var(--color-main-text, #000);
}

/* 単一投稿 */
.i1-treatment-single {
  padding-top: calc(var(--i1-header-h, 120px) + 1.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-main-text, #000);
}

.i1-treatment-single__inner {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.i1-treatment-single__title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.i1-treatment-single__thumb {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
}

.i1-treatment-single__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.i1-treatment-single__content {
  font-size: 0.95rem;
  line-height: 1.85;
}

.i1-treatment-single__back {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.i1-treatment-single__back a {
  color: var(--color-primary, #6f745c);
  font-weight: 600;
  text-decoration: none;
}

.i1-treatment-single__back a:hover,
.i1-treatment-single__back a:focus-visible {
  text-decoration: underline;
}

/* お知らせ一覧・単一（infomation） */
.i1-infomation-archive__section {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.i1-infomation-archive__empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #666;
}

.i1-infomation-single__article {
  margin: 0;
  padding-bottom: 0;
}

.i1-infomation-single__body {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: var(--i1-bg-beige, #f2ebe4);
  color: var(--color-main-text, #000);
}

.i1-infomation-single__meta {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #666;
}

.i1-infomation-single__meta time {
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
}

/* お問い合わせ（MW WP Form 等） */
.i1-contact__content > .i1-first-visit__lead {
  margin-bottom: clamp(1rem, 2.5vw, 1.4rem);
}

.i1-contact__tel-note {
  margin: 0 0 clamp(1.5rem, 4vw, 2.35rem);
  font-size: 0.95rem;
  line-height: 1.85;
  color: #333;
}

.i1-contact__tel-note a {
  color: var(--color-primary, #6f745c);
  font-weight: 600;
  text-decoration: none;
}

.i1-contact__tel-note a:hover,
.i1-contact__tel-note a:focus-visible {
  text-decoration: underline;
}

.i1-contact__privacy-hint {
  margin: clamp(1.5rem, 4vw, 2.1rem) 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #666;
}

/* よくある質問（qanda） */
.i1-qanda__intro {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.85;
}

.i1-qanda__intro > :first-child {
  margin-top: 0;
}

.i1-qanda__intro > :last-child {
  margin-bottom: 0;
}

.i1-qanda__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.i1-qanda__item {
  margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
  padding: 0;
}

.i1-qanda__item:last-child {
  margin-bottom: 0;
}

/* アコーディオン（details / summary） */
.i1-qanda__details {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.i1-qanda__details[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.i1-qanda__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.35rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--i1-font-serif, "Noto Serif JP", serif);
}

.i1-qanda__summary:focus-visible {
  outline: 2px solid var(--color-accent-1, #f08976);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.i1-qanda__summary::-webkit-details-marker {
  display: none;
}

.i1-qanda__summary::marker {
  display: none;
}

.i1-qanda__question {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-primary, #6f745c);
  text-align: left;
}

.i1-qanda__num {
  display: inline-block;
  min-width: 1.75rem;
  margin-right: 0.25rem;
  font-weight: 700;
  color: var(--color-accent-2, #c07a60);
}

/* 開閉アイコン（chevron） */
.i1-qanda__toggle {
  flex-shrink: 0;
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.1rem;
  border-right: 2px solid var(--color-primary, #6f745c);
  border-bottom: 2px solid var(--color-primary, #6f745c);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
}

.i1-qanda__details[open] .i1-qanda__toggle {
  margin-top: 0.35rem;
  transform: rotate(225deg);
}

.i1-qanda__summary:hover .i1-qanda__toggle,
.i1-qanda__summary:focus-visible .i1-qanda__toggle {
  border-color: var(--color-accent-1, #f08976);
}

.i1-qanda__answer {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2vw, 1.35rem);
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(242, 235, 228, 0.35);
}
