/* ============================================
   キャンセルポリシー専用スタイル
   - HP本体 (style.css) と同一カラー・フォント
   - ヘッダー固定ソリッド版 + 単独ページ用調整
============================================ */

.policy-body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-jp);
}

/* ヘッダー: トップとは違って常に塗りつぶし */
.header.header--solid {
  background: rgba(87, 71, 49, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 2px 16px rgba(87, 71, 49, .15);
}
.header--solid .nav-pc a.is-current {
  color: var(--c-accent-end);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(193, 165, 128, .35);
}

/* メイン */
.policy-main {
  padding: 120px 20px 80px;
  position: relative;
}
.policy-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(193, 165, 128, .08), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(160, 130, 90, .08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.policy-container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: 56px 48px 64px;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(74, 62, 46, .08);
  border: 1px solid var(--c-line);
  overflow-x: hidden;
}

/* ロゴ中央 */
.policy-logo {
  text-align: center;
  margin-bottom: 32px;
}
.policy-logo img {
  display: inline-block;
  width: auto;
  height: 64px;
  filter: brightness(.4) sepia(.3) hue-rotate(-10deg);
}

/* タイトル */
.policy-title {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}
.policy-title h1 {
  font-family: var(--font-jp-soft);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
  color: var(--c-base2);
  letter-spacing: .12em;
  line-height: 1.5;
  margin-bottom: 8px;
}
.policy-title__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 20px;
  color: var(--c-accent-start);
}
.policy-title__ornament span {
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent-start), transparent);
}
.policy-lead {
  font-size: 14px;
  line-height: 2;
  color: var(--c-text-light);
  font-family: var(--font-jp);
}

/* カード共通 */
.policy-card {
  background: var(--c-bg);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.policy-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.policy-card__head h2 {
  font-family: var(--font-jp-soft);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-base2);
  letter-spacing: .06em;
  line-height: 1.5;
}

/* 厚労省通知 */
.policy-card--notice {
  background: rgba(149, 137, 124, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}
.policy-notice__text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.policy-notice__icon {
  flex-shrink: 0;
  color: var(--c-accent-start);
}
.policy-notice__text p {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-base2);
  line-height: 1.65;
  letter-spacing: .04em;
}
.policy-qr {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 8px 12px;
  flex-shrink: 0;
  transition: transform .2s;
}
.policy-qr:hover { transform: translateY(-2px); }
.policy-qr__label {
  font-size: 10px;
  line-height: 1.5;
  color: var(--c-text-light);
  letter-spacing: .04em;
  text-align: left;
}
.policy-qr img {
  width: 64px;
  height: 64px;
  display: block;
}

/* 当院の基本方針 */
.policy-card--policy {
  position: relative;
  background: rgba(149, 137, 124, .14);
}
.policy-card--policy p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text);
}
.policy-card__deco {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 36px;
  height: 36px;
  color: var(--c-accent-end);
  opacity: .7;
}
.policy-em {
  color: var(--c-base2);
  font-weight: 700;
}
.policy-em--strong {
  color: #b85959;
  font-weight: 700;
}

/* 例外条件 */
.policy-card--warn {
  background: #fbf6e8;
  border-left: 4px solid #d9a85e;
}
.policy-card__warn-icon {
  width: 24px;
  height: 24px;
  color: #c08545;
  flex-shrink: 0;
}
.policy-list {
  list-style: none;
  padding-left: 4px;
  margin-top: 4px;
}
.policy-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text);
  margin-bottom: 4px;
}
.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c08545;
}

/* ご協力ヘッダー */
.policy-cooperation-head {
  text-align: center;
  margin: 40px 0 28px;
}
.policy-cooperation-head__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-base2);
}
.policy-cooperation-head__inner h2 {
  font-family: var(--font-jp-soft);
  font-size: clamp(18px, 2.6vw, 21px);
  font-weight: 700;
  letter-spacing: .1em;
}
.policy-cooperation-head__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--c-accent-start);
}
.policy-cooperation-head__rule span {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent-start), transparent);
}

/* 4枚グリッド */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.policy-grid__item {
  background: var(--c-bg);
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.policy-grid__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 62, 46, .1);
}
.policy-grid__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  margin-bottom: 12px;
  color: var(--c-base2);
}
.policy-grid__item h3 {
  font-family: var(--font-jp-soft);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-base2);
  letter-spacing: .05em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.policy-grid__item p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--c-text-light);
  text-align: left;
}

/* クロージング */
.policy-closing {
  position: relative;
  text-align: center;
  background: var(--c-bg);
  border: 1px dashed var(--c-line);
  border-radius: 8px;
  padding: 32px 60px;
  margin-bottom: 32px;
  overflow: hidden;
}
.policy-closing p {
  font-size: 13px;
  line-height: 2;
  color: var(--c-text);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}
.policy-closing__deco {
  position: absolute;
  width: 72px;
  height: 72px;
  color: var(--c-accent-end);
  opacity: .35;
}
.policy-closing__deco--left {
  left: -12px;
  bottom: -12px;
}
.policy-closing__deco--right {
  right: -12px;
  top: -12px;
  transform: scaleY(-1);
}

/* 戻るリンク */
.policy-back {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--c-accent-start);
  font-family: var(--font-en);
  letter-spacing: .1em;
  transition: opacity .2s;
}
.policy-back:hover { opacity: .7; }

/* レスポンシブ */
@media (max-width: 700px) {
  .policy-main { padding: 100px 12px 60px; }
  .policy-container { padding: 36px 20px 44px; }
  .policy-logo img { height: 48px; }
  .policy-title h1 { letter-spacing: .04em; font-size: 22px; }
  .policy-lead { font-size: 12.5px; line-height: 1.95; }

  /* PC前提の強制改行をモバイルでは無効化（自然折り返し） */
  .policy-lead br,
  .policy-card--policy p br,
  .policy-card--notice p br,
  .policy-closing p br {
    display: none;
  }

  .policy-card--notice {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .policy-notice__text { justify-content: center; flex-direction: column; gap: 8px; }
  .policy-qr { align-self: center; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-closing { padding: 28px 24px; }
  .policy-closing__deco { display: none; }

  /* PCナビは隠す（HP本体と同じハンバーガー運用） */
  .nav-pc { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   ストーリー画像用ページ (1080x1920)
============================================ */
html.story-mode, html.story-mode body {
  margin: 0;
  padding: 0;
  background: #fff;
}
.story-stage {
  width: 1080px;
  height: 1920px;
  position: relative;
  margin: 0 auto;
  background: linear-gradient(180deg, #f7f3ee 0%, #ece4d6 100%);
  overflow: hidden;
  padding: 70px 70px 60px;
  box-sizing: border-box;
  color: var(--c-text);
  font-family: var(--font-jp);
}

/* 上下装飾ライン */
.story-stage::before,
.story-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a0825a, transparent);
}
.story-stage::before { top: 38px; }
.story-stage::after { bottom: 38px; }

/* 葉装飾 */
.story-leaves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  color: #7d9569;
  opacity: .35;
}
.story-leaves svg {
  width: 180px;
  height: 200px;
}

.story-logo {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 18px;
}
.story-logo img {
  height: 84px;
  display: inline-block;
  filter: brightness(.35) sepia(.3) hue-rotate(-10deg);
}

.story-title {
  text-align: center;
  margin-bottom: 22px;
}
.story-title h1 {
  font-family: var(--font-jp-soft);
  font-size: 56px;
  font-weight: 500;
  color: #574731;
  letter-spacing: .14em;
  line-height: 1.4;
  margin: 0 0 14px;
}
.story-title .story-title__sub {
  font-size: 32px;
  font-weight: 500;
  color: #574731;
  letter-spacing: .12em;
  line-height: 1.5;
  font-family: var(--font-jp-soft);
}
.story-title__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 20px;
  color: #a0825a;
}
.story-title__ornament span {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a0825a, transparent);
}

.story-lead {
  font-size: 19px;
  line-height: 1.95;
  color: #5f5239;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: .04em;
}

.story-section {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(74, 62, 46, .06);
}

.story-notice {
  background: rgba(149, 137, 124, .18);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
}
.story-notice__icon {
  flex-shrink: 0;
  color: #a0825a;
}
.story-notice__icon svg { width: 44px; height: 44px; }
.story-notice__text {
  font-size: 22px;
  font-weight: 700;
  color: #574731;
  line-height: 1.55;
  letter-spacing: .04em;
  flex: 1;
}
.story-qr {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d9cdb9;
  border-radius: 8px;
  padding: 8px 12px;
}
.story-qr__label {
  font-size: 14px;
  line-height: 1.4;
  color: #7d6f5f;
  text-align: left;
}
.story-qr img { width: 84px; height: 84px; display: block; }

.story-policy {
  position: relative;
  background: rgba(149, 137, 124, .14);
  padding: 26px 30px;
}
.story-policy h2 {
  font-family: var(--font-jp-soft);
  font-size: 26px;
  font-weight: 700;
  color: #574731;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.story-policy p {
  font-size: 21px;
  line-height: 1.85;
  color: #4a3e2e;
  letter-spacing: .03em;
}
.story-policy .em { color: #574731; font-weight: 700; }
.story-policy .em--red { color: #b85959; font-weight: 700; }
.story-policy__tooth {
  position: absolute;
  right: 26px;
  top: 22px;
  color: #c1a580;
  opacity: .7;
}
.story-policy__tooth svg { width: 48px; height: 48px; }

.story-warn {
  background: #fbf6e8;
  border-left: 6px solid #d9a85e;
  padding: 22px 28px;
}
.story-warn__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.story-warn__head svg { width: 30px; height: 30px; color: #c08545; flex-shrink: 0; }
.story-warn__head h2 {
  font-family: var(--font-jp-soft);
  font-size: 22px;
  font-weight: 700;
  color: #574731;
  letter-spacing: .04em;
  line-height: 1.4;
}
.story-warn ul {
  list-style: none;
  margin: 0; padding: 0;
}
.story-warn li {
  position: relative;
  padding-left: 22px;
  font-size: 19px;
  line-height: 1.85;
  color: #4a3e2e;
  margin-bottom: 4px;
}
.story-warn li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c08545;
}

.story-coop-head {
  text-align: center;
  margin: 28px 0 18px;
}
.story-coop-head__inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #574731;
}
.story-coop-head__inner svg { color: #574731; }
.story-coop-head__inner h2 {
  font-family: var(--font-jp-soft);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .08em;
}
.story-coop-head__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: #a0825a;
}
.story-coop-head__rule span {
  display: inline-block;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a0825a, transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.story-grid__item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(74, 62, 46, .06);
}
.story-grid__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 88px;
  margin-bottom: 8px;
  color: #574731;
}
.story-grid__icon svg { width: 72px; height: 72px; }
.story-grid__item h3 {
  font-family: var(--font-jp-soft);
  font-size: 22px;
  font-weight: 700;
  color: #574731;
  letter-spacing: .04em;
  margin-bottom: 6px;
  line-height: 1.35;
}
.story-grid__item p {
  font-size: 15px;
  line-height: 1.7;
  color: #7d6f5f;
  text-align: left;
}

.story-closing {
  position: relative;
  background: rgba(193, 165, 128, .14);
  border: 1px dashed #c1a580;
  border-radius: 12px;
  padding: 22px 36px;
  text-align: center;
}
.story-closing p {
  font-size: 17px;
  line-height: 1.9;
  color: #4a3e2e;
  letter-spacing: .03em;
}
.story-closing__deco {
  position: absolute;
  width: 80px;
  height: 80px;
  color: #c1a580;
  opacity: .4;
}
.story-closing__deco--left { left: -8px; bottom: -8px; }
.story-closing__deco--right { right: -8px; top: -8px; transform: scaleY(-1); }
