/* astin emory 公式サイト 共通スタイル
 * 白ベース・墨色の文字・細い罫線・装飾最小。色はここだけで管理する。
 * 2026-09-06 ユーザー指示: ピンク系 Soft Air は「AIっぽい」ため、このブランドは無彩色ベースに変更 */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --alt: #f6f4f1;
  --text: #3d3a37;
  --strong: #1f1d1b;
  --btn: #1f1d1b;
  --label: #7d766f;
  --deep: #6f6a64;
  --pale: #f6f4f1;
  --sub-bg: #f6f4f1;
  --sub-text: #6f6a64;
  --line: #e4e0da;
  --shadow: none;
  --radius: 4px;
  --max: 1120px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Cormorant Garamond", "Zen Old Mincho", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.9; letter-spacing: .02em;
  padding-bottom: 72px;
}
@media (min-width: 768px) { body { font-size: 16px; padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
h1, h2, h3, h4 { color: var(--strong); font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.5; letter-spacing: .06em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding-left: 1.3em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.narrow { max-width: 760px; }

/* 告知バー */
.notice-bar {
  background: var(--pale); color: var(--strong); font-size: 13px; text-align: center; padding: 8px 16px; line-height: 1.6;
}
.notice-bar strong { font-weight: 500; color: var(--strong); }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 24px; letter-spacing: .2em; color: var(--strong); font-family: var(--latin); font-weight: 500; white-space: nowrap; line-height: 1.1; }
.logo small { display: block; font-size: 9px; letter-spacing: .34em; color: var(--label); line-height: 1; margin-top: 4px; font-family: var(--font); }
.nav { display: none; gap: 22px; font-size: 13px; }
.nav a { color: var(--text); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--deep); border-bottom: 1px solid var(--label); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--strong); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.icon-btn svg { width: 18px; height: 18px; stroke: var(--deep); fill: none; stroke-width: 1.6; }
.icon-btn .cart-count {
  min-width: 18px; height: 18px; border-radius: 999px; background: var(--strong); color: #fff; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.icon-btn .cart-count:empty { display: none; }
.menu-btn { display: inline-flex; }
.icon-btn.line-header span { display: none; }
@media (max-width: 1023px) {
  .logo { font-size: 20px; letter-spacing: .14em; }
  .logo small { font-size: 8px; letter-spacing: .2em; }
  .header-tools { gap: 6px; }
  .icon-btn { height: 36px; padding: 0 9px; }
  .icon-btn .cart-count { min-width: 16px; height: 16px; font-size: 10px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 14px; font-size: 12px; }
  .menu-btn { display: none; }
  .icon-btn.line-header { padding: 0 16px; background: var(--card); border-color: var(--strong); color: var(--strong); }
  .icon-btn.line-header svg { stroke: var(--strong); }
  .icon-btn.line-header span { display: inline; }
}
@media (min-width: 1240px) { .nav { gap: 22px; font-size: 13px; } }
.drawer {
  position: fixed; inset: 0; z-index: 60; background: rgba(31, 29, 27, .4); display: none;
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100%; background: var(--card);
  padding: 24px; overflow-y: auto;
}
.drawer-panel .close { float: right; }
.drawer-panel nav { clear: both; display: flex; flex-direction: column; margin-top: 20px; }
.drawer-panel nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--strong); }
.drawer-panel .drawer-cta { margin-top: 20px; display: grid; gap: 10px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
  border-radius: 2px; border: 1px solid transparent; font-size: 14px; letter-spacing: .08em; cursor: pointer; transition: opacity .2s;
  text-align: center; line-height: 1.3;
}
.btn-primary { background: var(--btn); color: #fff; border-color: var(--btn); }
.btn-outline { background: transparent; color: var(--strong); border-color: var(--strong); }
.btn-text { color: var(--strong); font-size: 14px; padding: 0 0 2px; min-height: 0; border: 0; border-bottom: 1px solid var(--strong); border-radius: 0; letter-spacing: .04em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* セクション */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-alt { background: var(--alt); }
.eyebrow { font-family: var(--latin); font-size: 13px; letter-spacing: .32em; color: var(--label); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 24px; margin-bottom: 16px; }
@media (min-width: 768px) { .section-title { font-size: 30px; } }
.section-lead { max-width: 640px; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }
.section-foot { margin-top: 32px; }

/* ヒーロー */
.hero { padding: 40px 0 56px; }
.hero .grid { display: grid; gap: 28px; }
.hero h1 { font-size: 30px; line-height: 1.55; margin-bottom: 18px; font-weight: 400; }
.hero .sub { font-size: 15px; margin-bottom: 28px; }
.hero .btn-group .btn { flex: 1 1 100%; }
.hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--pale); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding: 72px 0 96px; }
  .hero .grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: 44px; }
  .hero .sub { font-size: 17px; }
  .hero .btn-group .btn { flex: 0 0 auto; min-width: 200px; }
}

/* 共感ブロック */
.feature { display: grid; gap: 24px; align-items: center; margin-bottom: 56px; }
.feature:last-child { margin-bottom: 0; }
.feature .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--pale); }
.feature .img img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 20px; margin-bottom: 12px; }
.feature .note { font-size: 13px; color: var(--deep); }
@media (min-width: 768px) {
  .feature { grid-template-columns: 5fr 6fr; gap: 64px; margin-bottom: 96px; }
  .feature.rev .img { order: 2; }
  .feature h3 { font-size: 24px; }
}

/* カード共通 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: 1fr; }
.cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
.cards-6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) {
  .cards { gap: 24px; }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-6 { grid-template-columns: repeat(6, 1fr); }
}
.step-card .num { font-family: var(--latin); font-size: 14px; letter-spacing: .2em; color: var(--label); }
.step-card h3 { font-size: 17px; margin: 6px 0 8px; }
.step-card p { font-size: 14px; margin: 0; }

/* 商品カード */
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-card .thumb { aspect-ratio: 4/5; background: var(--pale); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 14px 16px; }
.product-card .type { font-size: 11px; color: var(--deep); letter-spacing: .08em; display: inline-block; margin-bottom: 6px; }
.product-card h3 { font-size: 15px; }
.product-card .size { font-size: 12px; color: var(--deep); }
.product-card .price { font-family: var(--latin); font-size: 21px; color: var(--strong); margin-top: 6px; line-height: 1.2; }
.product-card .price small { font-family: var(--font); font-size: 11px; color: var(--deep); margin-left: 4px; }
.badge-incl { display: inline-block; font-size: 11px; color: var(--deep); border: 1px solid var(--line); border-radius: 2px; padding: 1px 8px; margin-top: 6px; }
@media (min-width: 768px) { .product-card .body { padding: 18px; } .product-card h3 { font-size: 16px; } }

/* シーン入口 */
.scene-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--pale); }
.scene-card img { width: 100%; height: 100%; object-fit: cover; }
.scene-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(31, 29, 27, .6)); color: #fff;
}
.scene-card .label strong { display: block; font-weight: 500; font-size: 16px; }
.scene-card .label span { font-size: 12px; opacity: .9; }

/* 相談方法 */
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card .meta { font-size: 13px; color: var(--deep); margin: 12px 0; }
.info-band { background: var(--pale); border-radius: var(--radius); padding: 18px 24px; display: grid; gap: 8px; font-size: 14px; margin-top: 24px; }
.info-band strong { color: var(--strong); font-weight: 500; }
@media (min-width: 768px) { .info-band { grid-template-columns: repeat(3, 1fr); } }

/* FAQ アコーディオン */
.faq-item { background: transparent; border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; padding: 18px 40px 18px 4px; position: relative; cursor: pointer;
  color: var(--strong); font-size: 15px; line-height: 1.6;
}
.faq-q::before { content: "Q"; color: var(--label); font-family: var(--latin); font-size: 17px; margin-right: 12px; }
.faq-q::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--deep); border-bottom: 1px solid var(--deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: none; padding: 0 20px 20px 30px; font-size: 14px; }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* お客様の声 */
.voice-card { font-size: 14px; }
.voice-card .stars { color: var(--label); letter-spacing: .12em; font-size: 11px; margin-bottom: 8px; }
.voice-card h3 { font-size: 15px; margin-bottom: 8px; }
.voice-card .who { font-size: 12px; color: var(--deep); margin-top: 10px; }

/* お知らせ */
.news-list { list-style: none; padding: 0; }
.news-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-list time { color: var(--deep); font-size: 13px; }
.news-list .tag { font-size: 11px; color: var(--deep); border: 1px solid var(--line); padding: 0 6px; border-radius: 2px; margin-left: 8px; }

/* 安心アイコン */
.trust { text-align: center; }
.trust svg { width: 30px; height: 30px; stroke: var(--strong); fill: none; stroke-width: 1.2; margin: 0 auto 8px; }
.trust strong { display: block; font-weight: 500; font-size: 14px; color: var(--strong); }
.trust span { font-size: 11px; color: var(--deep); line-height: 1.5; display: block; }

/* フッター */
.site-footer { background: var(--alt); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 13px; }
.site-footer .cols { display: grid; gap: 28px; }
.site-footer h4 { font-family: var(--latin); font-size: 14px; letter-spacing: .24em; color: var(--label); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--deep); }
.site-footer .copy { margin-top: 12px; font-size: 11px; color: var(--label); }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: repeat(4, 1fr); } }

/* スマホ固定バー */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
}
.sticky-bar .btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ページ見出し */
.page-head { padding: 48px 0 24px; }
.page-head h1 { font-size: 26px; }
.breadcrumb { font-size: 12px; color: var(--deep); margin-bottom: 12px; }
.breadcrumb a { color: var(--deep); }
@media (min-width: 768px) { .page-head { padding: 72px 0 32px; } .page-head h1 { font-size: 34px; } }

/* 表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border: 1px solid var(--line); min-width: 480px; }
table.tbl th, table.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.tbl th { background: var(--pale); color: var(--strong); font-weight: 500; white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: 0; }

/* タイムライン（ご注文の流れ） */
.timeline { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .num { width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-family: var(--latin); display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 13px; letter-spacing: .1em; }
.timeline h3 { font-size: 18px; margin: 12px 0 8px; }
.timeline .note { font-size: 13px; color: var(--deep); }

/* 注意書き・帯 */
.notice { background: var(--pale); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; }
.notice.warn { background: var(--pale); color: var(--strong); }
.todo { color: var(--sub-text); font-size: 12px; }
.small { font-size: 13px; }
.muted { color: var(--deep); }

/* 商品一覧 */
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.filter-bar button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 2px; padding: 6px 16px; font-size: 13px; cursor: pointer; }
.filter-bar button.active { background: var(--strong); border-color: var(--strong); color: #fff; }

/* 商品詳細 */
.product { display: grid; gap: 28px; }
.gallery-main { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--pale); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { border: 1px solid transparent; padding: 0; background: none; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--strong); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 24px; }
.product-info .type { font-size: 12px; color: var(--deep); letter-spacing: .1em; display: inline-block; margin-bottom: 10px; }
.product-info .price { font-family: var(--latin); font-size: 36px; color: var(--strong); margin: 8px 0 4px; line-height: 1.2; }
.product-info .price small { font-family: var(--font); font-size: 13px; color: var(--deep); margin-left: 6px; }
.product-info .lead { font-size: 14px; margin: 12px 0 20px; }
.spec { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; }
.spec li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec li span:first-child { color: var(--deep); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--strong); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--deep); margin-top: 4px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--card); font-size: 15px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--strong); }
textarea { min-height: 110px; resize: vertical; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--deep); font-size: 18px; }
.qty input { width: 48px; text-align: center; border: 0; padding: 0; background: none; }
.product-cta { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 55fr 45fr; gap: 56px; align-items: start; }
  .product-info h1 { font-size: 28px; }
  .product-cta { grid-template-columns: 1fr 1fr; }
}

/* ギャラリーグリッド */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.works-grid button { border: 0; padding: 0; background: var(--pale); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; cursor: pointer; }
.works-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(31, 29, 27, .85); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 2px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; padding: 12px; }
.lightbox .lb-close { top: 8px; right: 12px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* カート */
.cart-row { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-row img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius); }
.cart-row .name { color: var(--strong); }
.cart-row .note { font-size: 12px; color: var(--deep); white-space: pre-wrap; }
.cart-row .row-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-row .remove { background: none; border: 0; color: var(--deep); font-size: 12px; cursor: pointer; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; font-size: 16px; color: var(--strong); }
.cart-total strong { font-family: var(--latin); font-size: 30px; font-weight: 500; }

/* 記事本文（規約系） */
.prose h2 { font-size: 18px; margin: 32px 0 10px; }
.prose h3 { font-size: 15px; margin: 20px 0 6px; }
.prose p, .prose li { font-size: 14px; }
.prose .updated { font-size: 12px; color: var(--deep); margin-top: 40px; }

/* スクロールでふわっと */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* トースト */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--strong); color: #fff; padding: 10px 20px; border-radius: 2px; font-size: 13px; z-index: 80; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }
@media (min-width: 768px) { .toast { bottom: 32px; } }
