/* 名入れギフトの選び方ガイド 共通スタイル（デザインv2 ポップ路線、CEO承認 2026-08-19）
   トークン: 白地、黄緑#7DB53C（店舗バナー）、水色#5BB8D4（ロゴ）、ピンク#E5518D（＊、最小限）、
   Zen Maru Gothic見出し、角丸一律16px。たたき台: output/sanasana-media/design/ */
:root {
  --white: #FFFFFF;
  --cream: #FDFBF5;
  --ink: #4A4440;
  --green: #7DB53C;
  --green-deep: #5E9426;
  --green-pale: #F0F7E4;
  --aqua: #5BB8D4;
  --aqua-pale: #EAF6FA;
  --aqua-deep: #2E86A3;
  --pink: #E5518D;
  --wood: #8A6A4B;
  --line: #E8E2D6;
  --maru: 'Zen Maru Gothic', sans-serif;
  --sans: 'Noto Sans JP', sans-serif;
  --r: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; word-break: auto-phrase; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 3px solid var(--green); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; flex-wrap: wrap; gap: 10px; }
.site-name { font-family: var(--maru); font-weight: 900; font-size: 22px; letter-spacing: 0.02em; line-height: 1.4; }
.site-name a { text-decoration: none; }
.site-name .ast { color: var(--pink); }
.site-name small { display: block; font-size: 11px; font-weight: 700; color: var(--aqua); letter-spacing: 0.18em; }
nav.global { font-size: 13.5px; font-weight: 500; }
nav.global a { text-decoration: none; margin-left: 6px; padding: 7px 14px; border-radius: 999px; }
nav.global a:hover { background: var(--green-pale); color: var(--green-deep); }

/* Hero（トップ） */
.hero { padding: 56px 0 48px; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.hero .hello { display: inline-block; background: var(--green); color: #fff; font-family: var(--maru); font-weight: 700; font-size: 13px; padding: 4px 16px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.65; }
.hero h1 em { font-style: normal; color: var(--green-deep); }
.hero .lede { margin-top: 18px; font-size: 15px; max-width: 32em; }
.hero .official { margin-top: 18px; font-size: 12.5px; color: var(--wood); }
.hero-photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.ph { background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: #97a37f; font-size: 12px; letter-spacing: 0.06em; min-height: 150px; text-align: center; padding: 10px; }
.hero-photo .ph { min-height: 320px; }

/* セクション共通 */
.sec { padding: 52px 0; }
.sec-cream { background: var(--cream); }
.sec-head { text-align: left; margin-bottom: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sec-head .mark { color: var(--green); font-family: var(--maru); font-weight: 900; font-size: 20px; }
.sec-head h2 { font-size: 25px; }
.sec-head .more { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--green-deep); text-decoration: none; background: var(--green-pale); padding: 6px 16px; border-radius: 999px; }
.sec-head .more:hover { background: var(--green); color: #fff; }

/* 実写真（店舗掲載写真、使用承認済み 2026-08-18）
   楽天の写真はトリミング禁止（2026-08-19 CEO指示）。object-fit等での切り抜きをせず、
   原寸の縦横比のまま全体を表示し、レイアウト側を写真に合わせる */
.hero-photo img { width: 100%; height: auto; }
.card-img { width: 100%; height: auto; }

/* シーンから選ぶカード */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scene-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; }
.scene-card:hover { border-color: var(--green); }
.scene-card .ph { min-height: 110px; }
.scene-card .body { padding: 16px 16px 18px; }
.scene-card .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 999px; margin-bottom: 8px; }
.tag-green { background: var(--green-pale); color: var(--green-deep); }
.tag-aqua { background: var(--aqua-pale); color: var(--aqua-deep); }
.scene-card h3 { font-size: 17.5px; }
.scene-card p { font-size: 12.5px; line-height: 1.7; margin-top: 6px; }

/* 新着リスト */
.news-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px; }
.news-row { display: grid; grid-template-columns: 104px 108px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); text-decoration: none; align-items: baseline; }
.news-row:last-child { border-bottom: none; }
.news-row:hover h3 { color: var(--green-deep); }
.news-row time { font-size: 12.5px; color: var(--wood); font-feature-settings: 'tnum'; }
.news-row .cat { font-size: 11.5px; font-weight: 700; text-align: center; background: var(--aqua-pale); color: var(--aqua-deep); border-radius: 999px; padding: 2px 8px; }
.news-row h3 { font-size: 15.5px; font-family: var(--sans); font-weight: 700; }
.news-empty { padding: 20px 4px; font-size: 14px; color: var(--wood); }

/* お店の声の帯 */
.voice-band { background: var(--green-pale); padding: 56px 0; }
.voice-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.voice-band .ph { background: #fff; min-height: 230px; border-radius: var(--r); }
.voice-band h2 { font-size: 25px; color: var(--green-deep); }
.voice-band p { font-size: 14.5px; margin-top: 14px; }
.voice-note { margin-top: 20px; background: var(--white); border-radius: var(--r); padding: 18px 22px; font-size: 13.5px; }
.voice-note .sig { display: block; margin-top: 8px; font-family: var(--maru); font-weight: 700; color: var(--wood); }

/* 定番ギフト: 3枚同格の縦型カード（写真は原寸比で全幅表示） */
.items-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.item-card-t { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; }
.item-card-t:hover { border-color: var(--green); }
.item-card-t img { width: 100%; height: auto; }
.item-card-t .item-body { display: flex; flex-direction: column; flex: 1; }
.item-card-t .item-body p { flex: 1; }
.item-card-t .item-cta { align-self: flex-start; }
.item-body { padding: 16px 20px 18px; }
.item-body h3 { font-size: 17px; }
.item-body .price { font-weight: 700; color: var(--wood); margin-top: 4px; font-size: 15px; }
.item-body .price small { font-weight: 400; font-size: 11px; }
.item-body p { font-size: 13px; margin-top: 6px; }
.item-cta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 6px 18px; }

/* カテゴリグリッド */
.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cat-row { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 18px 22px; text-decoration: none; }
.cat-row:hover { border-color: var(--aqua); background: var(--aqua-pale); }
.cat-row h3 { font-size: 17px; }
.cat-row h3 span { color: var(--aqua); margin-right: 8px; font-family: var(--maru); }
.cat-row p { font-size: 12.5px; margin-top: 4px; }
.cat-row.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; align-items: baseline; gap: 12px; }

/* パンくず */
.crumb { padding: 14px 0 0; font-size: 12.5px; color: var(--wood); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--green-deep); text-decoration: underline; }
.crumb span.sep { margin: 0 8px; color: var(--line); }

/* カテゴリ一覧ページ */
.cat-head { padding: 30px 0 8px; }
.cat-head .cat-no { font-family: var(--maru); font-weight: 900; color: var(--aqua); font-size: 15px; }
.cat-head h1 { font-size: clamp(24px, 3.2vw, 31px); margin-top: 4px; }
.cat-head p { margin-top: 10px; font-size: 14.5px; max-width: 40em; }
.article-list { margin: 26px 0 56px; }

/* 記事ページ */
.article-head { padding: 28px 0 8px; }
.article-head .cat-tag { display: inline-block; background: var(--aqua-pale); color: var(--aqua-deep); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 14px; text-decoration: none; }
.article-head h1 { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.6; margin-top: 14px; max-width: 27em; }
.article-head .meta { margin-top: 12px; font-size: 12.5px; color: var(--wood); }
.article-head .meta time { font-feature-settings: 'tnum'; }
.eyecatch { margin: 24px 0 8px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.eyecatch .ph { min-height: 300px; }

article.post { max-width: 720px; margin: 0 auto; padding: 24px 20px 48px; }
article.post > p { margin: 0 0 1.6em; font-size: 16px; }
article.post .lede { font-size: 16.5px; }
article.post h2 { font-size: 23px; margin: 2.4em 0 0.9em; padding-bottom: 10px; border-bottom: 2px dashed var(--green); }
article.post h2::before { content: '＊ '; color: var(--green); font-weight: 900; }
article.post h3 { font-size: 17.5px; margin: 1.8em 0 0.7em; color: var(--green-deep); }
article.post ul, article.post ol { margin: 0 0 1.6em 1.4em; }
article.post li { margin-bottom: 0.4em; }

.item-card { display: grid; grid-template-columns: 168px 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; margin: 0 0 1.8em; background: var(--white); }
.item-card:hover { border-color: var(--green); }
.item-card .ph { min-height: 100%; }
.item-card .body { padding: 16px 20px; }
.item-card .shop { font-size: 11px; font-weight: 700; color: var(--wood); letter-spacing: 0.06em; }
.item-card h4 { font-family: var(--maru); font-size: 16.5px; margin-top: 2px; }
.item-card .price { font-weight: 700; color: var(--wood); font-size: 15px; margin-top: 2px; }
.item-card .price small { font-weight: 400; font-size: 11px; }
.item-card .cta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 6px 18px; }
.item-card:hover .cta { background: var(--green-deep); }

article.post .voice-note { background: var(--green-pale); margin: 0 0 1.8em; padding: 20px 24px; font-size: 14px; }
.inlink { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 20px; text-decoration: none; margin: 0 0 1.8em; background: var(--cream); }
.inlink:hover { border-color: var(--aqua); background: var(--aqua-pale); }
.inlink .lbl { font-size: 11px; font-weight: 700; color: var(--aqua-deep); letter-spacing: 0.08em; }
.inlink h4 { font-family: var(--sans); font-weight: 700; font-size: 14.5px; margin-top: 2px; }
.matome { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin-top: 0.5em; }
.matome h2 { border: none; padding: 0; margin: 0 0 0.6em; font-size: 19px; }
.matome h2::before { content: '＊ '; color: var(--green); font-weight: 900; }
.matome p { margin-bottom: 0; }

/* 関連記事 */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; }
.rel-card:hover { border-color: var(--green); }
.rel-card .ph { min-height: 110px; }
.rel-card .body { padding: 14px 16px 16px; }
.rel-card .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 999px; margin-bottom: 8px; background: var(--aqua-pale); color: var(--aqua-deep); }
.rel-card h3 { font-size: 15px; font-family: var(--sans); font-weight: 700; line-height: 1.6; }

/* フッター */
.site-footer { background: var(--cream); border-top: 3px solid var(--green); padding: 40px 0 44px; font-size: 13px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--maru); font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--green-deep); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green-deep); }
.foot-legal { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: #8d857a; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 820px) {
  .hero-grid, .voice-grid, .foot-grid, .rel-grid { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: 1fr 1fr; }
  .scene-grid, .cat-list { grid-template-columns: 1fr 1fr; }
  .cat-row.wide { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 90px 1fr; }
  .news-row .cat { display: none; }
  .item-card { grid-template-columns: 120px 1fr; }
}
@media (max-width: 520px) {
  .scene-grid, .items-grid, .cat-list { grid-template-columns: 1fr; }
  .item-card { grid-template-columns: 1fr; }
  .item-card .ph { min-height: 140px; }
}
