/* 応援ページ(index / oen / cancel_guide)。既存の苔色・方眼紙の配色(style.css の変数)を使う。
   見せ場は、段階カードの色見本(商品そのものが「色」だから)。ほかは静かに保つ。 */
.oen-home, .oen-page { max-width: 960px; margin: 0 auto; padding: 0 4px 48px; line-height: 1.85; }
.oen-page { max-width: 720px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- ヒーロー ---- */
.oen-hero { padding: clamp(36px, 8vw, 88px) 0 clamp(28px, 5vw, 56px); }
.oen-eyebrow { display: none; }
.oen-hero h1 { margin: 0; font-size: clamp(1.7rem, 5.2vw, 3rem); line-height: 1.35; letter-spacing: .01em; font-weight: 800; }
.oen-hero h1 span { display: block; word-break: auto-phrase; text-wrap: balance; }
.nav-links a { white-space: nowrap; }
.oen-home, .oen-page { word-break: auto-phrase; }
.oen-hero-lead { max-width: 34em; margin: 1.4em 0 1.6em; font-size: 1.02em; }
.oen-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oen-cta { display: inline-block; padding: 14px 26px; border-radius: var(--radius-md); background: var(--moss); color: var(--moss-on); text-decoration: none; font-weight: 700; }
.oen-cta:hover { background: var(--moss-deep); }
.oen-cta-sub { background: transparent; color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss); }
.oen-cta-sub:hover { background: var(--inner); }
.oen-hero-note { margin-top: 1em; font-size: .88em; opacity: .8; }

/* 見せ場: 初回だけ、見出しの2行が、順に現れる(その場で一度きり) */
@media (prefers-reduced-motion: no-preference) {
  .oen-hero h1 span { animation: oen-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .oen-hero h1 span:nth-child(2) { animation-delay: .18s; }
  @keyframes oen-rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
}

/* ---- 説明 ---- */
.oen-section { padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--border-light); }
.oen-points { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.oen-point h2 { margin: 0 0 .3em; font-size: 1.05em; }
.oen-point p { margin: 0; font-size: .92em; }
.oen-h2 { margin: 0 0 .3em; font-size: 1.3em; }
.oen-sub { margin: 0 0 1.4em; max-width: 36em; }

/* ---- 月額の段階カード ---- */
.oen-tier-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.oen-tier-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.oen-tier-card:hover, .oen-tier-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.oen-tier-name { font-size: 1.15em; font-weight: 800; }
.oen-tier-price { font-size: 1.6em; font-weight: 800; }
.oen-tier-price small { font-size: .55em; font-weight: 600; margin-left: .15em; }
.oen-swatches { display: flex; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.oen-swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); transition: transform .25s; }
.oen-tier-card:hover .oen-swatches i, .oen-tier-card:focus-visible .oen-swatches i { transform: scale(1.18); }
.oen-tier-color { font-weight: 700; font-size: .92em; }
.oen-tier-detail { font-size: .88em; opacity: .85; flex: 1; }
.oen-tier-go { margin-top: 8px; color: var(--moss); font-weight: 700; font-size: .92em; }
.oen-tier-card:focus-visible, .oen-cta:focus-visible, .oen-submit:focus-visible, .oen-back:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }

/* ---- FAQ ---- */
.oen-faq details { border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.oen-faq summary { cursor: pointer; font-weight: 700; }
.oen-faq summary:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.oen-faq p { margin: .6em 0 0; font-size: .94em; }

/* ---- 申込み・最終確認 ---- */
.oen-page h1 { margin: 24px 0 .3em; font-size: 1.6em; }
.oen-lead { margin: 0 0 1.4em; }
.oen-form fieldset { border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 16px 18px 18px; margin: 0 0 16px; background: var(--white); }
.oen-form legend, .oen-card h2 { font-weight: 800; padding: 0 6px; }
.oen-form[hidden], .oen-form [hidden] { display: none !important; }
.oen-form input[type=text], .oen-form input[type=number] { width: 100%; max-width: 360px; padding: 10px 12px; font-size: 1em; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: var(--white); color: inherit; box-sizing: border-box; }
.oen-form label { display: block; margin: .4em 0 .2em; font-size: .92em; }
.oen-kinds { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.oen-kinds legend { grid-column: 1 / -1; }
.oen-kind { display: flex !important; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--border-light); border-radius: var(--radius-md); cursor: pointer; margin: 0 !important; }
.oen-kind:has(input:checked), .oen-tier:has(input:checked) { border-color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss); }
.oen-kind-body { display: flex; flex-direction: column; }
.oen-kind-body small { opacity: .8; }
.oen-tiers { display: grid; gap: 10px; }
.oen-tier { display: block !important; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px; cursor: pointer; margin: 0 !important; }
.oen-tier input { float: left; margin: 6px 12px 0 0; }
.oen-tier-body { display: grid; gap: 2px; }
.oen-check { display: flex !important; gap: 10px; align-items: flex-start; margin: 12px 0 !important; }
.oen-check input { margin-top: .5em; flex: none; }
.oen-note { font-size: .86em; opacity: .85; margin: .5em 0 0; }
@media (max-width: 520px) { .oen-kinds { grid-template-columns: 1fr; } }

.oen-confirm { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 8px 20px 20px; }
.oen-dl > div { padding: 14px 0; border-bottom: 1px solid var(--border-light); display: grid; gap: 4px; grid-template-columns: 9em 1fr; }
.oen-dl dt { font-weight: 800; }
.oen-dl dd { margin: 0; }
.oen-price { font-size: 1.35em; }
@media (max-width: 560px) { .oen-dl > div { grid-template-columns: 1fr; } }
/* 返金・キャンセル: ボタンの上、価格と同じ大きさ以上、太字(他に埋もれさせない) */
.oen-refund { margin: 20px 0 8px; padding: 16px 18px; border-left: 5px solid var(--danger-color); background: var(--danger-bg); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 1.1em; }
.oen-refund h3 { margin: 0 0 .4em; font-size: 1.1em; }
.oen-refund p { margin: .4em 0; }
.oen-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.oen-submit { padding: 14px 22px; font-size: 1.05em; font-weight: 800; border-radius: var(--radius-md); }
.oen-submit[disabled] { opacity: .5; cursor: not-allowed; }
.oen-back { background: transparent; color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss); padding: 14px 22px; }
.oen-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 14px 20px; margin-bottom: 16px; }
