/* トップページ：一般のお客様と、寺院会員・ビジネス会員で見せ方を分ける（2026-12）
   読み込む順番：top2026.css・catalogue.css・top2026-home.css の後ろ。
   - 一般のお客様：見出しの下に実績と寺院様のご利用の一文・納期の帯／保証を小さく（文とリンクは同じ）／ご注文の流れ＋作成画面の絵を商品一覧より上に
   - 会員（<html class="is-member is-temple"> または "is-member is-business"）：
     上の飾り・ご注文の流れ・作成画面の絵・保証の説明を出さず、商品一覧・会員価格・納期を先に出す
   - 一般・会員とも：商品カードとシリーズのカードの値段の下に、発送の目安（JS が足す）。
     シリーズのカードの写真の下の注意書き（裏面の写真を含む など）は出さない
   値段・注文の動きには何も触らない（見せ方だけ）。 */

/* ---------- 1. 見出しのすぐ下：実績と寺院様のご利用の一文・納期の帯 ---------- */
.hero-lead { margin: 10px 0 0; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--ink, #292c29); }
.hero-lead span { display: inline-block; }
.top-delivery { margin-top: 14px; }
.top-delivery-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.top-delivery-list li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 14px 7px 8px; background: #fff; border: 1px solid #dedbd0; border-radius: 8px; line-height: 1.4; }
.top-delivery-label { flex: none; padding: 2px 8px; border-radius: 4px; background: #53664d; color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.top-delivery-label--rush { background: #9b432e; }
.top-delivery-list strong { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink, #292c29); white-space: nowrap; }
.top-delivery-note { margin-top: 6px; font-size: 12px; line-height: 1.65; color: var(--muted, #5b625c); }
.top-delivery-note a { color: var(--accent, #9b432e); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 760px) {
  .hero-lead { margin-top: 8px; font-size: 14px; }
  .top-delivery { margin-top: 12px; }
  .top-delivery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .top-delivery-list li { flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 10px 8px; }
  .top-delivery-label { font-size: 11px; padding: 1px 7px; }
  .top-delivery-list strong { font-size: 15px; }
  .top-delivery-note { font-size: 11px; }
}

/* ---------- 2. 保証の箱を小さく（HTML の文・リンクは今までと同じ。class を1つ足すだけ） ---------- */
.hero .hero-assurance.hero-assurance--compact { margin-top: 18px; padding: 12px 14px; border: 1px solid #ad3933; border-top-width: 3px; border-radius: 10px; background: #fff7f4; }
.hero-assurance--compact .assurance-heading { margin-bottom: 8px; }
.hero .hero-assurance--compact .assurance-heading h2 { color: #652e2a; font-size: 17px; font-weight: 700; line-height: 1.5; }
.hero-assurance--compact .assurance-heading p { margin-top: 0; font-size: 12px; line-height: 1.6; }
.hero-assurance--compact .assurance-cards { gap: 8px; }
.hero .hero-assurance--compact .assurance-card { grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 8px; min-height: 44px; padding: 7px 10px; border-radius: 8px; }
.hero .hero-assurance--compact .assurance-icon { width: 28px; height: 28px; background: #faeae5; color: #923c34; }
.hero-assurance--compact .assurance-icon svg { width: 20px; height: 20px; }
.hero-assurance--compact .assurance-card-copy { line-height: 1.45; }
.hero-assurance--compact .assurance-title { margin-bottom: 0; font-size: 12px; }
.hero-assurance--compact .assurance-card strong { font-size: 14px; }
.hero-assurance--compact .assurance-arrow { font-size: 14px; }
.hero-assurance--compact .assurance-note { margin-top: 8px; font-size: 11px; line-height: 1.6; }
@media (min-width: 761px) {
  .hero .hero-assurance.hero-assurance--compact { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: center; padding: 12px 18px; }
  .hero-assurance--compact .assurance-heading { display: block; margin-bottom: 0; }
  .hero-assurance--compact .assurance-note { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero .hero-assurance.hero-assurance--compact { margin-top: 16px; padding: 11px 12px 12px; }
  .hero .hero-assurance--compact .assurance-heading h2 { font-size: 16px; }
  .hero-assurance--compact .assurance-heading p { font-size: 11px; }
  .hero-assurance--compact .assurance-cards { gap: 6px; }
  .hero .hero-assurance--compact .assurance-card { grid-template-columns: minmax(0, 1fr) 14px; padding: 7px 10px 7px 12px; }
  .hero .hero-assurance--compact .assurance-icon { display: none; }
  .hero-assurance--compact .assurance-card-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .hero-assurance--compact .assurance-title { font-size: 12px; }
  .hero-assurance--compact .assurance-card strong { font-size: 14px; }
}

/* ---------- 3. ご注文の流れ＋作成画面の絵（商品一覧より上・種類の写真のすぐ下） ---------- */
.hero-grid.hero-grid--flow { grid-template-areas: "copy copy" "categories categories" "flow flow" "proof actions" "assurance assurance"; }
.hero-grid--flow > .guide-section--top { grid-area: flow; min-width: 0; margin-top: 26px; padding-block: 22px 0; border-top: 1px solid #dcded1; scroll-margin-top: 24px; }
.guide-top-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.maker-shot { margin: 0; min-width: 0; }
.maker-shot picture { display: block; }
.maker-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 903; border: 1px solid #dedbd0; border-radius: 10px; background: #eee; box-shadow: 0 6px 18px #45372914; }
.maker-shot figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--muted, #5b625c); text-align: center; }
.guide-top-copy { min-width: 0; }
.guide-section--top .guide-header { align-items: flex-end; }
.guide-section--top .guide-header h2 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; }
.guide-section--top .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 14px; }
.guide-section--top .flow-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 10px; padding: 11px 0; border-top: 1px solid #d9dccf; }
.guide-section--top .flow-number { grid-row: 1 / 3; font-size: 24px; line-height: 1.2; }
.guide-section--top .flow-step h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.guide-section--top .flow-step p { grid-column: 2; font-size: 13px; line-height: 1.65; }
.guide-section--top .flow-layouts { word-break: auto-phrase; }
.guide-section--top .flow-layouts span { white-space: nowrap; }
.guide-section--top .guide-note { margin-top: 10px; font-size: 12px; line-height: 1.7; }
.guide-section--top .guide-phone { margin-top: 0; }
#faq-delivery { scroll-margin-top: 72px; }
@media (max-width: 760px) {
  .hero-grid.hero-grid--flow { grid-template-areas: "copy" "categories" "flow" "proof" "actions" "assurance"; }
  .hero-grid--flow > .guide-section--top { margin-top: 20px; padding-block: 18px 0; }
  .guide-top-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .guide-top-copy { display: contents; }
  .guide-section--top .guide-header { order: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .guide-section--top .guide-header > div { display: contents; }
  .guide-section--top .guide-header .eyebrow { grid-area: 1 / 1; }
  .guide-section--top .guide-header .text-link { grid-area: 1 / 2; }
  .guide-section--top .guide-header h2 { grid-area: 2 / 1 / 3 / 3; margin-top: 2px; font-size: 20px; }
  .maker-shot { order: 2; margin-top: 12px; }
  .maker-shot img { width: min(100%, 300px); margin-inline: auto; aspect-ratio: 780 / 826; border-radius: 14px; }
  .maker-shot figcaption { font-size: 11px; }
  /* スマホ：3つの手順は見出しだけを横に並べ、対応しているレイアウトの文（02 の中の .flow-layouts）だけを、その下に幅いっぱいで出す */
  .guide-section--top .flow-grid { order: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; margin-top: 12px; }
  .guide-section--top .flow-step { display: contents; }
  .guide-section--top .flow-step:nth-child(1) > * { grid-column: 1; }
  .guide-section--top .flow-step:nth-child(2) > * { grid-column: 2; }
  .guide-section--top .flow-step:nth-child(3) > * { grid-column: 3; }
  .guide-section--top .flow-number { grid-row: 1; padding-top: 8px; border-top: 1px solid #d9dccf; font-size: 19px; }
  .guide-section--top .flow-step h3 { grid-row: 2; margin-top: 2px; font-size: 13px; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
  .guide-section--top .flow-step p { display: none; }
  .guide-section--top .flow-step p.flow-layouts { display: block; grid-row: 3; grid-column: 1 / -1; margin-top: 10px; font-size: 12px; line-height: 1.65; }
  .guide-section--top .guide-note { margin-top: 12px; font-size: 12px; }
}

/* ---------- 4. 会員向け：上の飾りを出さず、商品一覧・会員価格・納期を先に ---------- */
.member-top { display: none; }
html.is-member .hero,
html.is-member #guarantee,
html.is-member #temple-members { display: none !important; }
html.is-member .member-top { display: block; background: #f8f5ed; border-bottom: 1px solid var(--line, #dedfd5); }
.member-top-inner { padding-block: 14px 13px; }
.member-top-title { font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.5; }
.member-top-kind { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 4px; background: #53664d; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; }
.member-top-ship { margin-top: 7px; font-size: 13px; line-height: 1.7; color: var(--ink, #292c29); }
.member-top-ship small { display: block; font-size: 12px; color: var(--muted, #5b625c); }
html.is-member .member-top [data-member-only] { display: none; }
html.is-temple .member-top [data-member-only="temple"],
html.is-business .member-top [data-member-only="business"] { display: inline; }
@media (max-width: 760px) {
  .member-top-inner { padding-block: 11px 10px; }
  .member-top-title { font-size: 16px; }
  .member-top-kind { font-size: 12px; }
  .member-top-ship { font-size: 12px; }
  .member-top-ship small { font-size: 11px; }
}

/* ---------- 5. 一般・会員とも：商品カードとシリーズのカードの値段の下に、発送の目安（JS が足す） ---------- */
.card-ship { display: block; margin-top: 3px; font-family: var(--sans); font-size: 11px; font-weight: 500; line-height: 1.5; color: #46563f; }
.card-ship span { display: inline-block; }
.card-ship b { font-weight: 700; }
#hybrid-picker .catalogue-series-tile .card-ship { margin-top: 2px; }
/* シリーズのカードの写真の下の注意書き（「裏面の写真を含む」「椿・カサブランカ・あじさい」など）は出さない */
#hybrid-picker .catalogue-series-tile .series-views-note { display: none; }
