/* トイフルブルワリー（toyfull.beer）。HTML は tools/build_toyfull.py が作る。 */
:root {
  --ivory: #faf6ef;
  --cream: #f2eadc;
  --ink: #2b2622;
  --muted: #6b625a;
  --amber: #b86e12;
  --amber-dark: #8f530b;
  --green: #3f6b4a;
  --line: #e2d8c8;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); }
a:hover { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.5; letter-spacing: .04em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }
.center { text-align: center; }

/* ヘッダー */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; letter-spacing: .12em; line-height: 1.1; }
.logo img { background: #fff; border-radius: 50%; padding: 3px; }
.logo small { display: block; font-size: .7em; letter-spacing: .3em; color: #d9c7a6; }
.menu { margin-left: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.menu a { color: #f3ead9; text-decoration: none; font-size: 14px; }
.menu a:hover, .menu a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.menu-mano a { background: var(--amber); color: #fff; padding: 6px 14px; border-radius: 999px; }
.menu-mano a:hover, .menu-mano a[aria-current] { background: var(--amber-dark); text-decoration: none; }
.menu-button { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
@media (max-width: 900px) {
  .menu-button { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--ink); padding: 8px 16px 20px; }
  .menu.open { display: block; }
  .menu ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .menu a { font-size: 16px; }
}

/* ボタン・見出し */
.button { display: inline-block; background: var(--amber); color: #fff; text-decoration: none; padding: 12px 26px; border-radius: 999px; font-weight: 700; border: 2px solid var(--amber); text-align: center; }
.button:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.button.ghost { background: transparent; color: var(--amber-dark); }
.button.ghost:hover { background: var(--amber); color: #fff; }
.button.ghost.light { color: #fff; border-color: #fff; }
.kicker { margin: 0 0 4px; color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: .25em; }
.kicker a { color: inherit; }
.heading { font-size: clamp(22px, 3vw, 30px); margin: 0 0 20px; }
.sub { font-size: 20px; margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.lead { font-size: 17px; color: var(--muted); }
.more { font-weight: 700; }
.more::after { content: " →"; }
.form-note { font-size: 14px; color: var(--muted); }

/* セクション */
.section { padding: 64px 0; }
.tint { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; width: 100%; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } .section { padding: 48px 0; } }

.hero { position: relative; color: #fff; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .15), rgba(20, 16, 12, .75)); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: 80px 0 64px; }
.hero h1 { font-size: clamp(30px, 6vw, 56px); margin: 0 0 8px; }
.hero h1 .en { display: block; font-size: .45em; letter-spacing: .3em; color: #f0d9b0; }
.hero .kicker { color: #f0d9b0; }
.hero-catch { font-size: 18px; margin: 0 0 24px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.page-head { background: var(--ink); color: #fff; padding: 56px 0 48px; background-size: cover; background-position: center; position: relative; }
.page-head.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, .6); }
.page-head .wrap { position: relative; }
.page-head h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.page-head .kicker { color: #f0d9b0; }
.page-head .lead { color: #efe6d6; margin: 8px 0 0; }

/* 併設の飲食店の案内枠 */
.mano-box { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: #fff; border: 2px solid var(--amber); border-radius: 12px; padding: 24px 28px; margin: 40px 0; }
.mano-box-text { flex: 1 1 420px; }
.mano-box h2, .mano-box h3 { margin: 0 0 8px; font-size: 22px; }
.mano-box p:last-child { margin-bottom: 0; }
.mano-box-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.reserve { padding-left: 1.4em; }
.reserve li { margin: 0 0 12px; }

.stats { display: flex; gap: 32px; margin: 24px 0; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--serif); font-size: 36px; color: var(--amber-dark); line-height: 1.2; }
.stats small { font-size: 14px; margin-left: 4px; }

/* ビール */
.bottle-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 24px 0 32px; }
.bottle-tile { background: var(--green); border-radius: 10px; padding: 24px 12px 16px; color: #fff; text-decoration: none; text-align: center; }
.bottle-tile img { height: 220px; width: auto; margin: 0 auto 12px; }
.bottle-tile span { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: .08em; }
.bottle-tile small { color: #dfe8df; }
.bottle-tile:hover { color: #fff; background: #355b3e; }
@media (max-width: 800px) { .bottle-tiles { grid-template-columns: repeat(2, 1fr); } .bottle-tile img { height: 170px; } }
.beers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.beer { background: #fff; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: 2fr 3fr; }
.beer img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.beer-body { padding: 18px 20px; }
.beer h3 { margin: 0; font-size: 22px; }
.beer-style { margin: 0; font-size: 12px; letter-spacing: .2em; color: var(--amber); font-weight: 700; }
.beer-sub { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.beer-body p { font-size: 15px; }
.beer-spec { display: flex; flex-wrap: wrap; gap: 6px; }
.beer-spec span { background: var(--cream); border-radius: 4px; padding: 0 8px; font-size: 13px; }
.beer-awards { margin: 8px 0 0; padding-left: 1.2em; font-size: 13px; color: var(--amber-dark); }
.beer-link { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 900px) { .beers { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .beer { grid-template-columns: 1fr; } .beer img { aspect-ratio: 4 / 3; } }
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-year { background: #fff; border-radius: 10px; padding: 20px 22px; }
.award-year h3 { margin: 0; font-size: 28px; color: var(--amber-dark); }
.award-year h4 { margin: 12px 0 4px; font-size: 15px; }
.award-year ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.award-year li { margin: 4px 0; }
.award-source { margin: 6px 0 0; font-size: 13px; }
.medal { display: inline-block; min-width: 3.4em; font-weight: 700; color: var(--green); }
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } }
.bottle-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.bottle-photo { background: var(--green); border-radius: 12px; padding: 32px; }
.bottle-photo img { max-height: 520px; width: auto; margin: 0 auto; }
.bottle-detail h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); }
.catch { font-weight: 700; font-size: 18px; }
.award-note { background: #fff; border-left: 4px solid var(--amber); padding: 8px 14px; }
.jgba { display: flex; gap: 16px; margin-top: 24px; }
.jgba img { width: 120px; }
@media (max-width: 700px) { .bottle-detail { grid-template-columns: 1fr; gap: 24px; } .bottle-photo img { max-height: 340px; } }

/* お知らせ */
.news-list { display: grid; gap: 20px; }
.news-card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: #fff; border-radius: 10px; padding: 16px; }
.news-card img { width: 160px; height: 200px; object-fit: cover; border-radius: 6px; }
.news-card h3 { margin: 4px 0; font-size: 18px; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--amber-dark); text-decoration: underline; }
.news-card p { margin: 0; font-size: 15px; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); margin: 0; }
.tag { background: var(--green); color: #fff; border-radius: 4px; padding: 0 8px; font-size: 12px; }
@media (max-width: 560px) { .news-card { grid-template-columns: 96px 1fr; gap: 12px; } .news-card img { width: 96px; height: 120px; } }
.article h1 { font-size: clamp(22px, 3.4vw, 30px); }
.article-image { max-height: 640px; width: auto; margin: 16px 0 24px; border-radius: 8px; }
.article h2 { font-size: 20px; margin: 32px 0 8px; }
.article-images { display: flex; gap: 16px; }
.article-images img { width: 200px; }

/* 表・カード・本文 */
.facts { display: grid; grid-template-columns: 9em 1fr; border-top: 1px solid var(--line); margin: 20px 0; }
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--muted); padding-right: 12px; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.card { background: #fff; border-radius: 10px; overflow: hidden; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card h3 { margin: 12px 16px 0; font-size: 17px; }
.card p { margin: 0 16px 16px; color: var(--muted); }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.signature { text-align: right; color: var(--muted); }
.signature strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 20px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.legal h1 { font-size: 24px; margin: 48px 0 12px; }
.legal h3 { font-size: 16px; margin: 20px 0 0; color: var(--muted); }
.legal h3 + p { margin-top: 0; }
.mission { text-align: center; }
.insta { margin-top: 28px; text-align: center; }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.access iframe { width: 100%; min-height: 320px; border: 0; border-radius: 8px; }
.address { font-weight: 700; font-size: 18px; }
@media (max-width: 800px) { .access { grid-template-columns: 1fr; } }
.shop-band { background: var(--ink); color: #f3ead9; }
.shop-band .heading { color: #fff; }

/* フッター */
.site-footer { background: var(--ink); color: #e9dfcf; padding: 48px 0 24px; font-size: 14px; }
.site-footer a { color: #f3ead9; }
.footer-inner { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 32px; }
.footer-name { font-family: var(--serif); font-size: 18px; color: #fff; margin-top: 0; }
.footer-note { color: #bfb3a2; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 6px; }
.copyright { text-align: center; color: #bfb3a2; margin: 32px 0 0; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 16px; } }

/* 卸・OEM */
.biz-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0 24px; }
.biz-cards.two { grid-template-columns: repeat(2, 1fr); }
.biz-card { background: #fff; border-radius: 10px; padding: 20px 22px; border-top: 4px solid var(--amber); }
.biz-card h3 { margin: 0 0 6px; font-size: 18px; }
.biz-card p { margin: 0 0 8px; }
.biz-card.link { color: var(--ink); text-decoration: none; display: block; }
.biz-card.link:hover h3 { color: var(--amber-dark); text-decoration: underline; }
.biz-card.link .more { color: var(--amber-dark); }
@media (max-width: 700px) { .biz-cards.two { grid-template-columns: 1fr; } }
.ask { padding-left: 1.4em; margin: 0 0 20px; }
.steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; background: #fff; border-radius: 10px; padding: 14px 18px 14px 60px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps h3 { margin: 0 0 2px; font-size: 16px; }
.steps p { margin: 0; }
.contact-box { background: #fff; border: 2px solid var(--amber); border-radius: 12px; padding: 22px 24px; margin: 28px 0; }
.contact-box h2 { margin: 0 0 8px; font-size: 20px; }
.contact-box p { margin: 0 0 12px; }
