/* Mochi & Co. — 共通スタイル
   ターゲット：30〜60代の女性。読みやすさ優先（大きめの文字・高いコントラスト・大きなボタン） */

:root {
  --bg: #F1E8DA;          /* 地：ベージュ（ほんの少し白寄り） */
  --surface: #F8F2E9;
  --soft: #E6D8C4;
  --line: #D9C8B2;
  --ink: #4A3428;          /* 文字：深いブラウン */
  --muted: #6F5A4B;
  --accent: #7A5236;      /* ボタン・飾り：あたたかいブラウン */
  --accent-strong: #5E3D27;
  --accent-soft: #E4D2BC;
  --brown-band: #5B4031;  /* 帯・もちの紹介・フッターの背景 */
  --band-text: #F3EADC;   /* 茶色の帯の上の文字 */
  --navy: #4E5B3C;        /* アクセント：深いオリーブグリーン（メニューの枠・送料無料・割引ラベルだけ）※名前は旧ネイビーのまま */
  --navy-strong: #3C4730;
  --navy-text: #F3ECE2;   /* ネイビーの上の文字 */
  --ok: #4E5B3C;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(80, 55, 30, .07);
  --font-body: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;   /* 品のある明朝体を基本に */
  --font-ui: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif; /* ボタンなど、押す所だけゴシック */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .06em;
  word-break: auto-phrase;   /* 日本語を文節で改行（対応ブラウザのみ） */
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 232, 218, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; }
.nav a:hover { color: var(--accent); }
.nav .btn { padding: 10px 20px; font-size: 16px; color: #fff; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--navy); border-radius: 10px;
  font: inherit; font-size: 15px; padding: 6px 14px; color: var(--navy);
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px; width: 100%; text-align: center; font-size: 18px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 12px 16px 16px; width: calc(100% - 32px); }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  border: none; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 18px;
  padding: 16px 32px; min-height: 56px;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--accent-strong); }
.btn:active { transform: scale(.98); }
.btn[disabled] { background: #C8BBAA; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: rgba(78, 91, 60, .08); }
.btn-block { width: 100%; }

/* ---------- 表紙（もち：動画のコマを切り替え） ---------- */
.hero { position: relative; background: #F4E6D8; }
.hero-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  max-height: calc(100vh - 114px); min-height: 520px; overflow: hidden;
  background: #F4E6D8 url(../images/hero/poster.webp) 72% 50% / cover no-repeat;
}
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 72% 50%;
}
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.hero-copy .inner { width: min(1120px, 100% - 64px); margin-inline: auto; }
.hero-copy .text { max-width: 42%; pointer-events: auto; }
.hero-eyebrow { font-family: var(--font-en); font-size: 22px; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: .06em; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: #4F463F; max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-outline { background: rgba(255, 255, 255, .6); }

@media (max-width: 820px) {
  .hero { background: var(--bg); }
  .hero-media {
    aspect-ratio: 640 / 678; max-height: none; min-height: 0;
    background-image: url(../images/hero/poster-sp.webp); background-position: center;
  }
  .hero-media video { object-position: center; }
  .hero-copy { position: static; display: block; padding: 28px 0 44px; text-align: center; }
  .hero-copy .inner { width: calc(100% - 32px); }
  .hero-copy .text { max-width: none; }
  .hero-lead { margin-inline: auto; font-size: 18px; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- 安心ポイント ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust li { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 17px; }
.trust .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-strong); flex: none; }
@media (max-width: 820px) {
  .trust ul { grid-template-columns: 1fr; padding: 14px 0; }
  .trust li { justify-content: flex-start; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .en { font-family: var(--font-en); font-size: 20px; letter-spacing: .14em; color: var(--accent); display: block; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); }
.section-head p { color: var(--muted); margin-top: 12px; }
@media (max-width: 820px) { .section { padding: 56px 0; } }

/* ---------- 商品一覧（Amazon・アパレル風の枠） ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(80, 55, 30, .12); }
.card-img { aspect-ratio: 1; background: var(--soft); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.card-body { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { font-size: 16px; font-weight: 700; line-height: 1.55; }
.card-price { font-size: 22px; font-weight: 700; margin-top: auto; }
.card-price small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.card-ship { font-size: 14px; color: var(--ok); font-weight: 700; }
.dots { display: flex; gap: 6px; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.dot.gold { background: linear-gradient(135deg, #F6DB9A, #C9963F); }
.dot.silver { background: linear-gradient(135deg, #F4F4F2, #A9ACAF); }
.dot.rose { background: linear-gradient(135deg, #F7D3C0, #C6866B); }
.card.soon { opacity: .7; box-shadow: none; }
.card.soon .card-img { display: grid; place-items: center; color: var(--muted); font-family: var(--font-en); font-size: 22px; letter-spacing: .1em; }
@media (max-width: 700px) {
  .card-body { padding: 10px 10px 14px; }
  .card-name { font-size: 15px; }
  .card-price { font-size: 19px; }
}

/* ---------- 1・2・3 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); }
.step-num { font-family: var(--font-en); font-size: 56px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 24px; margin: 12px 0; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ご注文の流れ ---------- */
.flow { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.flow li:last-child { border-bottom: none; }
.flow .n { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.flow h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; }
.flow p { margin: 4px 0 0; color: var(--muted); }

/* ---------- もちの紹介 ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; max-width: 920px; margin: 0 auto; }
.about img { width: 100%; height: auto; max-width: 340px; margin: 0 auto; border-radius: 20px; }
.about h3 { font-size: 26px; margin-bottom: 16px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 20px; text-align: center; } .about img { max-width: 260px; } }

/* ---------- よくある質問 ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px;
}
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 24px 20px; color: var(--muted); }

/* ---------- お問い合わせ ---------- */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .req { color: #B5483F; font-size: 14px; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 18px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.field textarea { min-height: 160px; resize: vertical; }

/* ---------- フッター ---------- */
.site-footer { background: var(--brown-band); color: var(--band-text); padding: 48px 0 32px; font-size: 15px; }
.site-footer a { color: var(--band-text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 16px 0 24px; }
.site-footer .copy { color: #A99D92; font-size: 13px; }
.footer-brand { font-family: var(--font-en); font-size: 28px; letter-spacing: .06em; }

/* ---------- 下層ページ（法務ページなど） ---------- */
.page { padding: 48px 0 80px; }
.page h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 24px; }
.legal-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.legal-table th { width: 32%; background: var(--soft); font-weight: 700; }
@media (max-width: 700px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: none; padding-bottom: 6px; }
}
.draft-note { background: #FFF6DA; border: 1px solid #EBD38A; border-radius: 10px; padding: 12px 16px; font-size: 15px; margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin: 32px 0 12px; }
.prose ul { padding-left: 1.4em; }

/* 日本語の改行：単語の途中で切れないように（js/linebreak.js と併用。対応ブラウザではCSSだけでも効く） */
body { word-break: auto-phrase; overflow-wrap: anywhere; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
html.bx body { word-break: keep-all; overflow-wrap: anywhere; }
.nb { display: inline-block; }

/* 画像の左上の割引表示（白黒の小さなラベル） */
.off { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: stretch; border: 1px solid var(--navy); background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.off b { background: var(--navy); color: #fff; padding: 5px 6px; }
.off { padding-right: 6px; gap: 5px; align-items: center; }
@media (min-width: 701px) { .off { font-size: 15px; top: 14px; left: 14px; } .off b { padding: 6px 8px; } }

/* ---------- 品のある文字（明朝体中心） ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: .08em; }
.btn, button, input, select, textarea, .swatch label, .off, .menu-btn { font-family: var(--font-ui); letter-spacing: .04em; }
/* 値段：欧文の上品な数字（Cormorant Garamond） */
.price-now, .price-was { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.price-now { font-family: var(--font-en); font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.price-was { font-family: var(--font-en); font-weight: 500; color: #9C8A76; letter-spacing: .01em; text-decoration-thickness: 1px; }
.price-sub { color: var(--navy); font-weight: 600; letter-spacing: .08em; }
.eyebrow { display: block; color: var(--accent); font-size: 14px; letter-spacing: .3em; font-weight: 600; margin-bottom: 10px; }
/* 円マーク：欧文書体の¥は横線が途切れて見えるので、明朝体の¥を使う */
.yen { font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif; font-weight: 600; font-size: .86em; margin-right: .06em; }
.price-was .yen { font-weight: 500; }

/* スマホとパソコンで改行・句読点を切りかえる（.pc＝パソコンだけ表示／.sp＝スマホだけ改行） */
@media (max-width: 820px) { .pc { display: none; } }
@media (min-width: 821px) { br.sp { display: none; } .hero-lead { max-width: none; } }

/* 表紙の動画：iPhone の再生ボタン（▶）を出さない */
#heroVideo::-webkit-media-controls,
#heroVideo::-webkit-media-controls-start-playback-button,
#heroVideo::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }
#heroVideo { pointer-events: none; }
/* 中央ぞろえの行末の「。」は右半分が空白なので、その分を詰めて真ん中に見せる */
.kuten { margin-right: -.5em; }

/* お問い合わせの送信後ページ */
.sent { max-width: 640px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px; }
.sent-sub { font-size: 15px; color: var(--muted); }
.sent-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
/* 句（点や丸で区切ったまとまり）は、なるべく途中で改行しない。1行より長い句だけ、中で改行される */
html.bx .cl { display: inline-block; }

/* パソコン：表紙の動画を少し内側に入れて、もちの耳が上の帯にかからないようにする */
@media (min-width: 821px) {
  .hero { background: var(--bg); padding: 20px 20px 0; }
  .hero-media { border-radius: 20px; max-height: calc(100vh - 136px); background-position: 72% 0%; }
  .hero-media video { object-position: 72% 0%; }   /* 動画の上の方（もちの耳）を切らない */
}

/* 表紙の動画：再生している間だけ表示（止まっている間は後ろの静止画が見える＝▶ボタンが出ない） */
#heroVideo { opacity: 0; transition: opacity .4s ease; }
#heroVideo.is-playing { opacity: 1; }

/* お問い合わせフォーム */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0; padding: 12px 14px; border-radius: 10px; background: #F6E3DA; color: #8A3B1E; font-size: 15px; }
.form-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
