/* MAGAMI Leather — 店頭POP(白地・上下の二重罫線・字間の広いゴシック・筆記体)に合わせたデザイン */
:root {
  --ink: #111;
  --ink-soft: #4a4a4a;
  --line: #d9d9d9;
  --paper: #fff;
  --tint: #f5f5f3;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --latin: "Jost", "Zen Kaku Gothic New", sans-serif;
  --script: "Mrs Saint Delafield", cursive;
  --rule: linear-gradient(var(--ink) 0 5px, transparent 5px 9px, var(--ink) 9px 10px);
  --rule-up: linear-gradient(var(--ink) 0 1px, transparent 1px 5px, var(--ink) 5px 10px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 2; letter-spacing: .06em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: .16em; line-height: 1.6; margin: 0; }
.en { letter-spacing: .04em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.eyebrow { font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: .14em; margin: 0 0 14px; }
.script { font-family: var(--script); font-size: 64px; line-height: 1; letter-spacing: 0; margin: 0; transform: rotate(-12deg); }

/* 確認用ビルドでだけ、未確定の箇所を黄色で示す */
mark.todo { background: none; color: inherit; }
.review mark.todo { background: #fff3a8; outline: 1px dashed #c9a400; padding: 0 .2em; }

/* ヘッダー(POPの上辺と同じ二重罫線) */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.site-header::before { content: ""; display: block; height: 10px; background: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; border-bottom: 1px solid var(--line); max-width: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; letter-spacing: .14em; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lang { display: flex; gap: 2px; font-family: var(--latin); font-size: 12px; }
.lang a { padding: 2px 9px; border: 1px solid var(--ink); }
.lang a.on { background: var(--ink); color: #fff; }
.menu-check, .menu-btn { display: none; }

/* トップ: メインビジュアル(POP 1枚目) */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; background: linear-gradient(90deg, rgba(255,255,255,.62), rgba(255,255,255,.35) 60%, transparent); pointer-events: none; }
.hero-img { width: 100%; height: min(86vh, 56vw); object-fit: cover; }
.hero-copy { position: absolute; z-index: 1; top: 8%; left: 5%; max-width: min(500px, 42vw); text-shadow: 0 0 18px rgba(255,255,255,.65); }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 22px; }
.hero h1.en { font-family: var(--latin); font-weight: 600; letter-spacing: .02em; line-height: 1.25; }
.hero .lead { font-size: 14px; font-weight: 700; letter-spacing: .16em; line-height: 2.2; margin: 0; }
.hero-script { position: absolute; right: 4%; bottom: 7%; color: #fff; font-size: clamp(54px, 7vw, 104px); text-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* ブランドの説明(POP案の漆喰の質感) */
.statement { background: #eef0f0 url("/assets/photos/plaster.jpg") center/cover; padding: 96px 0; text-align: center; }
.statement-logo { width: 260px; margin: 0 auto 36px; }
.statement h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 24px; }
.statement p { font-weight: 500; line-height: 2.3; margin: 0; }

/* 強さ・経年変化(POP 3枚目の写真と縦組み風の文) */
.feature { padding: 104px 0; }
.feature + .feature { padding-top: 0; }
.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.reverse .photos { order: 2; }
.photos.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photos.two img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photos.two img:nth-child(2) { margin-top: 64px; }
.feature-text { text-align: center; }
.feature-text h2 { font-size: clamp(19px, 2vw, 24px); letter-spacing: .22em; line-height: 2.1; margin-bottom: 22px; }
.feature-text h2.en { letter-spacing: .04em; line-height: 1.6; }
.feature-text p { color: var(--ink-soft); text-align: left; margin: 0 auto; max-width: 30em; }

/* 共通セクション */
.section { padding: 88px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head::before, .page-head .wrap::before { content: ""; display: block; width: 72px; height: 10px; margin: 0 auto 26px; background: var(--rule); }
.sec-head h2 { font-size: 24px; }
.page-head { padding: 72px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(22px, 2.6vw, 30px); }

/* 商品カード */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { text-decoration: none; display: block; }
.card-img { display: block; overflow: hidden; background: var(--tint); }
.card-img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card strong { display: block; margin-top: 14px; font-size: 15px; letter-spacing: .12em; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--latin); font-size: 14px; color: var(--ink-soft); }
.dots { display: flex; gap: 5px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }

/* ボタン */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 15px 44px; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .2em; border: 1px solid var(--ink); cursor: pointer; transition: .2s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.disabled { background: #e6e6e6; border-color: #e6e6e6; color: #777; cursor: default; }

/* Instagram */
.insta { padding: 80px 0 96px; text-align: center; background: var(--tint); }
.insta .script { font-size: 72px; margin-bottom: 26px; }
.insta p { margin: 0 0 26px; }

/* 商品ページ */
.breadcrumb { font-family: var(--latin); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; }
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.main-img { background: var(--tint); }
.main-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.thumb:hover { border-color: var(--ink); }
.thumb img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.info h1 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 6px; }
.price { font-family: var(--latin); font-size: 22px; margin: 0 0 18px; }
.price small { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.info .lead { margin: 0 0 24px; }
.colors .label { font-size: 13px; margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; padding: 5px 13px 5px 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.chip.on { border-color: var(--ink); }
.chip i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.ask { font-size: 13px; margin: 10px 0 0; }
dl.spec { display: grid; grid-template-columns: 8em 1fr; margin: 32px 0 0; font-size: 14px; border-top: 1px solid var(--ink); }
dl.spec dt, dl.spec dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
dl.spec dt { font-weight: 700; }
dl.spec.notes { margin-top: 20px; }
dl.spec.legal { grid-template-columns: 13em 1fr; }
.care { font-size: 13px; color: var(--ink-soft); margin-top: 20px; }
.back { margin-top: 48px; font-size: 13px; }

/* 文章ページ・フォーム */
.article h2 { font-size: 17px; margin: 40px 0 8px; }
.contact-form { display: grid; gap: 20px; margin-top: 32px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.contact-form em { font-style: normal; font-size: 11px; font-weight: 500; color: #fff; background: var(--ink); padding: 0 6px; margin-left: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #bbb; border-radius: 0; background: #fff; width: 100%; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin: 0; }
.form-status { min-height: 1.5em; margin: 0; }

/* フッター(POPの下辺と同じ二重罫線) */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand { grid-row: span 2; }
.foot-brand img { width: 120px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; font-size: 13.5px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links.small { font-size: 12px; color: var(--ink-soft); }
.copy { text-align: center; font-family: var(--latin); font-size: 11.5px; letter-spacing: .14em; margin: 0; padding: 14px 0 18px; }
.copy::after { content: ""; display: block; height: 10px; margin-top: 14px; background: var(--rule-up); }

@media (max-width: 860px) {
  body { font-size: 14.5px; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 46px; }
  .menu-btn { display: block; width: 28px; height: 20px; position: relative; cursor: pointer; }
  .menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); }
  .menu-btn span { top: 9px; } .menu-btn::before { top: 0; } .menu-btn::after { bottom: 0; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav .lang { margin-top: 16px; }
  .menu-check:checked ~ .nav { display: flex; }
  .hero-img { height: 72vw; }
  .hero::after { display: none; }
  .hero-copy { position: static; padding: 36px 20px 8px; max-width: none; text-shadow: none; }
  .hero .lead { letter-spacing: .1em; }
  .hero h1 { font-size: 26px; letter-spacing: .1em; }
  .statement h2 { font-size: 18px; letter-spacing: .08em; }
  .hero-script { top: calc(72vw - 90px); bottom: auto; font-size: 56px; }
  .statement { padding: 72px 0; }
  .statement-logo { width: 190px; }
  .statement p { text-align: left; }
  .feature { padding: 72px 0; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .feature.reverse .photos { order: 0; }
  .photos.two img:nth-child(2) { margin-top: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .section { padding: 64px 0; }
  dl.spec, dl.spec.legal { grid-template-columns: 7em 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .foot-brand { grid-row: auto; margin-bottom: 28px; }
  .foot-links { justify-content: flex-start; }
}
.nw { white-space: nowrap; letter-spacing: .04em; }
.feature-text p.center { text-align: center; }
.feature-text p.eyebrow { text-align: center; }
/* 送料表 */
.ship-table { width: 100%; border-collapse: collapse; margin: 28px 0 8px; font-size: 14px; border-top: 1px solid var(--ink); }
.ship-table th, .ship-table td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.8; }
.ship-table thead th { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.ship-table tbody th { white-space: nowrap; font-weight: 700; }
.ship-table thead th:last-child { text-align: right; }
.ship-table td:last-child { font-family: var(--latin); font-size: 15px; white-space: nowrap; text-align: right; padding-right: 0; }
@media (max-width: 860px) { .ship-table { font-size: 13px; } .ship-table tbody th { white-space: normal; } }
.ship-lead { font-size: 16px; line-height: 2.1; padding: 18px 22px; background: var(--tint); }
.ship-h { font-size: 18px; margin: 48px 0 10px; padding-top: 18px; border-top: 1px solid var(--ink); }
.ship-note { font-size: 13px; color: var(--ink-soft); padding-left: 1.2em; }
p.ship-note { padding-left: 0; }
.buy-variants { display: flex; flex-wrap: wrap; gap: 10px; }
/* カート・ご購入手続き */
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--latin); font-size: 11px; letter-spacing: 0; }
.cart-count[hidden] { display: none; }
.add-form { margin: 4px 0 8px; }
.sizes { margin-bottom: 18px; }
.sizes .label { font-size: 13px; margin: 0 0 6px; }
.radio { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; font-size: 14px; cursor: pointer; }
.add-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty { font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.qty select, .cart-ctrl select { font: inherit; padding: 9px 10px; border: 1px solid #bbb; border-radius: 0; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 22px; font-size: 14px; z-index: 50; transition: transform .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #fff; margin-left: 10px; }
.cart-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-img img { width: 84px; height: 84px; object-fit: cover; }
.cart-info { display: grid; gap: 2px; font-size: 14px; }
.cart-opt { color: var(--ink-soft); font-size: 13px; }
.cart-price { font-family: var(--latin); }
.cart-ctrl { display: grid; gap: 6px; justify-items: end; font-size: 13px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; color: var(--ink-soft); }
.cart-sum { text-align: right; }
.cart-total { display: flex; justify-content: flex-end; gap: 24px; align-items: baseline; margin: 0 0 8px; }
.cart-total b { font-family: var(--latin); font-size: 22px; }
.cart-note { font-size: 13px; color: var(--ink-soft); margin: 0 0 22px; }
.cart-error, .checkout-msg { color: #b3261e; font-size: 13px; }
.checkout-wrap { max-width: 1040px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.co-h { font-size: 15px; letter-spacing: .14em; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.checkout-main .co-h:first-child, .checkout-side .co-h { margin-top: 0; }
.checkout-side { position: sticky; top: 110px; background: var(--tint); padding: 24px; }
dl.sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 16px; font-size: 14px; }
dl.sum dd { margin: 0; text-align: right; font-family: var(--latin); }
dl.sum .sum-t { font-weight: 700; font-size: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
#pay { width: 100%; }
#pay:disabled { opacity: .45; cursor: default; }
.co-note { font-size: 12px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.8; }
.checkout-fail, .thanks-lead { font-size: 15px; }
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-img img { width: 64px; height: 64px; }
  .cart-ctrl { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 16px; align-items: center; }
}
.co-field { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: #30313d; }
.co-field input { font: inherit; padding: 11px 12px; border: 1px solid #e6e6e6; border-radius: 0; box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 3px 6px rgba(0,0,0,.02); background: #fff; }
.co-field input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 1px #111; }
.ship-summary { padding: 14px 16px; border: 1px solid #e6e6e6; background: #fff; font-size: 14px; }
.ship-summary p { margin: 0 0 6px; }
.co-terms { font-size: 12px; line-height: 1.9; color: var(--ink-soft); margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-terms b { color: var(--ink); font-weight: 700; }
