/* ==========================================================
   ブランドサイト共通スタイル（VITOMS / Qoovel / Blissmy）
   色はブランドごとに build.mjs が :root の変数を差し込む。
   JS不使用・Webフォント不使用（表示速度を優先）
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.inner { width: min(1080px, 100% - 32px); margin-inline: auto; }
.inner--narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: var(--bg); padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 10px;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: var(--logo-h, 36px); width: auto; }
.global-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px;
}
.global-nav a {
  color: var(--text); text-decoration: none; font-size: .875rem;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.global-nav a:hover { border-bottom-color: var(--accent); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; background: var(--hero-bg, var(--surface)); }
.hero__img { width: 100%; max-height: 640px; object-fit: cover; }
.hero__body { text-align: center; padding: 56px 0 24px; }
.hero__mark { width: 64px; margin: 0 auto 20px; }
.hero__catch {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
  font-weight: 600; line-height: 1.5; margin: 0 0 8px; letter-spacing: .08em;
}
.hero__kana { color: var(--muted); font-size: .875rem; letter-spacing: .2em; margin: 0 0 20px; }
.hero__lead { margin: 0 auto; max-width: 36em; }

/* ---------- 掲載・紹介の帯 ---------- */
.badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  margin: 28px 0 0; padding: 0; list-style: none;
}
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  border: 1px solid var(--accent); color: var(--accent-text);
  border-radius: 999px; padding: .35em 1.1em; font-size: .875rem; font-weight: 600;
  background: var(--surface);
}
.badge::before { content: "★"; font-size: .75em; }

/* ---------- セクション ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark a { color: var(--on-dark); }
.section__eyebrow {
  text-align: center; color: var(--accent-text); font-size: .8rem;
  letter-spacing: .3em; text-transform: uppercase; margin: 0 0 6px; font-weight: 600;
}
.section--dark .section__eyebrow { color: var(--accent-on-dark); }
.section__title {
  text-align: center; font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 600;
  margin: 0 0 40px; line-height: 1.5; letter-spacing: .06em;
}
.section__lead { text-align: center; max-width: 40em; margin: -20px auto 40px; color: var(--muted); }
.section--dark .section__lead { color: var(--on-dark-muted); }

.prose p { margin: 0 0 1.2em; }
.prose h2 {
  font-family: var(--font-display); font-size: 1.15rem; margin: 2.4em 0 .8em;
  padding-left: .8em; border-left: 3px solid var(--accent);
}
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .3em; }
.center { text-align: center; }

/* ---------- 商品カード ---------- */
.products {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.product__img {
  background: #fff; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.product__img img { width: 100%; height: 100%; object-fit: contain; }
.product__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product__tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600; color: var(--accent-text);
  border: 1px solid var(--accent); border-radius: 999px; padding: .1em .8em; margin-bottom: 10px;
}
.product__name { font-size: 1.1rem; line-height: 1.6; margin: 0 0 10px; font-weight: 700; }
.product__copy { font-size: .925rem; margin: 0 0 14px; }
.spec { margin: 0 0 18px; font-size: .825rem; color: var(--muted); }
.spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); }
.spec dt { font-weight: 600; color: var(--text); }
.spec dd { margin: 0; }
.product__buy { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: .55em 1.4em; border-radius: var(--btn-radius);
  font-size: .9rem; font-weight: 700; text-decoration: none; line-height: 1.4;
  border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-text);
  cursor: pointer; font-family: inherit; transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.section--dark .btn--ghost { color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .825rem; }
.btn--block { width: 100%; }
.btn .ext { font-size: .8em; opacity: .8; }

/* ---------- 味（Blissmy） ---------- */
.flavors { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.flavor { border-top: 2px solid var(--accent); padding-top: 16px; }
.flavor h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; }
.flavor h3 small { display: block; font-size: .75rem; color: var(--accent-on-dark); letter-spacing: .1em; font-weight: 600; }
.flavor p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- 正規販売店 ---------- */
.stores { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); max-width: 820px; margin: 0 auto; }
.store {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 84px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none; text-align: center;
}
.store:hover { border-color: var(--accent); }
.store strong { font-size: 1rem; }
.store span { font-size: .8rem; color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); max-width: 820px; margin: 24px auto 0; }

/* ---------- 会社概要 ---------- */
.company { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; font-size: .925rem; }
.company th, .company td { text-align: left; vertical-align: top; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.company th { width: 8.5em; font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
  .company th, .company td { display: block; width: auto; padding: 4px 0; border: 0; }
  .company th { padding-top: 14px; border-top: 1px solid var(--line); }
}

/* ---------- お問い合わせ ---------- */
.contact-cta { text-align: center; }
.contact-cta p { margin: 0 0 24px; }
.form { display: grid; gap: 22px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .925rem; }
.req, .opt { font-size: .7rem; font-weight: 700; margin-left: .6em; padding: .1em .55em; border-radius: 3px; vertical-align: 2px; }
.req { background: var(--btn-bg); color: var(--btn-text); }
.opt { background: var(--line); color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: .7em .8em;
  border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: #1d1b18;
}
.form textarea { min-height: 10em; resize: vertical; }
.form-help { font-size: .825rem; color: var(--muted); margin: 0 0 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- フッター ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 44px 0 32px; font-size: .85rem; }
.site-footer a { color: var(--footer-text); }
.footer-nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-meta { margin: 0; opacity: .8; }

/* ---------- 下層ページ ---------- */
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(1.4rem, 3.6vw, 1.9rem); margin: 0; letter-spacing: .06em; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.breadcrumb a { color: var(--muted); }

/* ---------- 商品が1つだけのとき（横長カード） ---------- */
.products--single { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
@media (min-width: 760px) {
  .products--single .product { flex-direction: row; }
  .products--single .product__img { flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .products--single .product__body { padding: 32px; }
}

/* ---------- スマホでは改行指定を外して読みやすく ---------- */
@media (max-width: 600px) {
  .hero__lead { text-align: left; }
  .hero__lead br { display: none; }
}
