/* 珈琲と焼き菓子 ココノハ — design sample (Sapporo Web) */
:root {
  --cream: #fbf5ec;
  --paper: #fffaf2;
  --sand: #f1e5d2;
  --brown: #4d3426;
  --brown-soft: #7a5b49;
  --terra: #c4703f;
  --terra-dark: #a85a2e;
  --sage: #8fa68a;
  --sage-soft: #e3eadb;
  --line: #e6d8c3;
  --radius: 22px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3 { text-wrap: balance; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
  padding-bottom: 64px; -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ---- sample banner (fixed) ---- */
.sample-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 20px;
  padding: 10px 16px; background: #1d1d1f; color: #fff; font: 700 13px/1.5 "Zen Kaku Gothic New", "Hiragino Sans", "Meiryo", sans-serif;
  letter-spacing: .02em; text-align: center; border-top: 3px solid #ffd23f;
}
.sample-bar strong { background: #ffd23f; color: #1d1d1f; padding: 1px 8px; border-radius: 4px; margin-right: 4px; }
.sample-bar__link { color: #fff; text-underline-offset: 3px; white-space: nowrap; }
.capture .sample-bar { display: none; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,245,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__leaf { width: 30px; height: 30px; color: var(--sage); flex: none; }
.brand__name { font: 700 22px/1.1 var(--serif); letter-spacing: .08em; display: flex; flex-direction: column; }
.brand__name small { font: italic 500 13px/1.2 "Cormorant Garamond", var(--serif); letter-spacing: .06em; color: var(--brown-soft); margin-top: 3px; }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--terra); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; background: var(--terra); color: #fff;
  font: 700 15px/1.2 var(--sans); letter-spacing: .06em; text-decoration: none; border: 2px solid var(--terra);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-1px); }
.btn--small { padding: 10px 22px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: #fff; border-color: var(--brown); }
.btn--light { background: #fff; color: var(--brown); border-color: #fff; }
.btn--light:hover { background: var(--sand); border-color: var(--sand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--outline-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn__ico { font-size: 17px; }

/* ---- hero ---- */
.hero { padding: 44px 0 56px; background:
  radial-gradient(900px 420px at 8% 10%, #f6e8d3 0, transparent 70%), var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: italic 500 20px/1.2 "Cormorant Garamond", var(--serif); color: var(--terra); letter-spacing: .08em; margin: 0 0 14px; }
.eyebrow--light { color: #f6d9bf; }
.hero h1 { font: 700 clamp(34px, 4.2vw, 56px)/1.4 var(--serif); letter-spacing: .06em; margin: 0 0 22px; }
.hero__lead { font-size: 17px; color: var(--brown-soft); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__meta { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 30px; border-top: 1px dashed var(--line); font-weight: 700; font-size: 15px; }
.hero__meta span { display: inline-block; margin-right: 10px; padding: 0 10px; border-radius: 999px; background: var(--sage-soft); color: #4f6a4a; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero__visual { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 92% 50%; border-radius: 240px 240px var(--radius) var(--radius); box-shadow: 0 30px 60px -28px rgba(77,52,38,.5); }
.hero__badge { position: absolute; left: -22px; bottom: 54px; width: 112px; height: 112px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; text-align: center; font: 700 20px/1.3 var(--serif); letter-spacing: .1em; box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--terra); transform: rotate(-8deg); }

.strip { background: var(--brown); color: #f6e9d8; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip p { margin: 0; padding: 18px 20px; font-size: 13px; line-height: 1.6; border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.strip p:first-child { border-left: 0; }
.strip b { font: 700 16px/1.5 var(--serif); letter-spacing: .1em; color: #fff; }

/* ---- sections ---- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-title { font: 700 clamp(28px, 3.4vw, 38px)/1.5 var(--serif); letter-spacing: .08em; margin: 0 0 8px; }
.section-sub { color: var(--brown-soft); font-size: 15px; margin: 8px 0 0; }

/* concept */
.concept { background: var(--paper); }
.concept-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.concept__photos { position: relative; height: 540px; }
.concept__photo { position: absolute; object-fit: cover; box-shadow: 0 24px 50px -26px rgba(77,52,38,.5); }
.concept__photo--a { left: 0; top: 0; width: 78%; height: 62%; border-radius: var(--radius) 120px var(--radius) var(--radius); }
.concept__photo--b { right: 0; bottom: 0; width: 56%; height: 58%; border-radius: 999px 999px var(--radius) var(--radius); border: 8px solid var(--paper); }
.concept__text .section-title { margin-bottom: 20px; }
.concept__text p { color: #5f4637; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; background: var(--cream); border-radius: 16px; font-size: 14px; line-height: 1.7; }
.points__num { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #fff; font: italic 500 20px/1 "Cormorant Garamond", serif; }

/* menu */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.fcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -30px rgba(77,52,38,.6); border: 1px solid var(--line); }
.fcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fcard__body { padding: 20px 22px 24px; position: relative; }
.fcard h3 { font: 700 20px/1.5 var(--serif); margin: 8px 0 4px; letter-spacing: .06em; }
.fcard p { font-size: 14px; line-height: 1.8; color: var(--brown-soft); margin: 0; }
.fcard .price { font: 700 22px/1 var(--serif); color: var(--terra); margin-top: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 12px; border-radius: 999px; background: #f9e2d2; color: var(--terra-dark); letter-spacing: .06em; }
.menu-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px 24px; }
.menu-col__title { margin: 0 0 14px; font: 700 20px/1.4 var(--serif); letter-spacing: .08em; padding-bottom: 14px; border-bottom: 2px solid var(--sage); }
.menu-col__title span { display: block; font: italic 500 15px/1.3 "Cormorant Garamond", serif; color: var(--terra); letter-spacing: .1em; }
.menu-list { margin: 0; }
.menu-list > div { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.menu-list > div:last-child { border-bottom: 0; }
.menu-list dt { flex: 1; font-weight: 700; font-size: 15px; line-height: 1.5; }
.menu-list dt small { display: block; font-weight: 400; font-size: 12px; color: var(--brown-soft); letter-spacing: .04em; }
.menu-list dd { margin: 0; font: 700 17px/1.4 var(--serif); white-space: nowrap; }
.note { text-align: center; font-size: 13px; color: var(--brown-soft); margin: 26px 0 0; }

/* info */
.info { background: var(--sage-soft); }
.info-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: stretch; }
.info-card { background: #fff; border-radius: var(--radius); padding: 18px 34px; box-shadow: 0 18px 40px -32px rgba(60,80,55,.6); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.8; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 6.2em; color: var(--terra-dark); font-weight: 700; white-space: nowrap; }
.map { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 40px -32px rgba(60,80,55,.6); }
.map svg { width: 100%; height: auto; aspect-ratio: 560 / 420; display: block; }
.map figcaption { padding: 14px 22px; font-size: 13px; color: var(--brown-soft); }
.map-bg { fill: #f4efe3; } .map-road { fill: #fff; } .map-river { fill: #cfe0e4; }
.map-block { fill: #e8dcc6; } .map-park { fill: #cfdcc3; }
.map-pin__body { fill: var(--terra); } .map-pin__dot { fill: #fff; } .map-pin__shadow { fill: rgba(0,0,0,.15); }
.map-station__bg { fill: var(--brown); } .map-station__t { fill: #fff; font: 700 15px var(--sans); }
.map-label { fill: #8a7664; font: 500 14px var(--sans); }
.map-label--shop { fill: var(--brown); font-weight: 700; font-size: 15px; paint-order: stroke; stroke: #fff; stroke-width: 4px; }

/* gallery */
.handle { color: var(--terra-dark); letter-spacing: .08em; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid li { aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--sand); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grid li:hover img { transform: scale(1.05); }
.grid li:nth-child(3) img { object-position: 30% 50%; }
.grid li:nth-child(1) img { object-position: 35% 50%; }

/* reserve */
.reserve { background: var(--terra); color: #fff; text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.reserve::before, .reserve::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.reserve::before { width: 360px; height: 360px; left: -110px; top: -140px; }
.reserve::after { width: 280px; height: 280px; right: -80px; bottom: -120px; }
.reserve-inner { position: relative; }
.reserve h2 { font: 700 clamp(26px, 3.2vw, 36px)/1.5 var(--serif); letter-spacing: .08em; margin: 0 0 18px; }
.reserve p { color: #fdeee0; }
.reserve__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px 0 14px; }
.reserve__actions .btn { padding: 16px 32px; font-size: 17px; }
.reserve__note { font-size: 13px; margin: 0; }

/* footer */
.site-footer { background: var(--brown); color: #ead9c6; padding: 34px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.footer-brand { font: 700 20px/1.4 var(--serif); letter-spacing: .08em; color: #fff; margin-bottom: 4px !important; }
.footer-brand small { font: italic 500 14px "Cormorant Garamond", serif; color: #d9bfa4; margin-left: 6px; }
.copy { color: #bfa78f; }

/* ---- tablet / phone ---- */
@media (max-width: 960px) {
  .hero-inner, .concept-inner, .info-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 36px; }
  .hero__photo { aspect-ratio: 4 / 3.4; border-radius: 160px 160px var(--radius) var(--radius); }
  .hero__badge { left: 12px; bottom: 16px; width: 92px; height: 92px; font-size: 17px; }
  .concept-inner { gap: 40px; }
  .concept__photos { height: 440px; }
  .feature-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; margin-bottom: 44px; }
  .menu-lists { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip p:nth-child(3) { border-left: 0; }
  .nav { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 15px; padding-bottom: 78px; }
  .wrap { width: calc(100% - 32px); }
  .sample-bar { font-size: 11px; flex-direction: column; gap: 1px; padding: 7px 8px; }
  .sample-bar strong { padding: 0 6px; }
  .brand__name { font-size: 19px; }
  .header-inner { padding: 10px 0; }
  .hero { padding: 26px 0 40px; }
  .hero h1 { font-size: 31px; }
  .hero__lead { font-size: 15px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 8px 18px; font-size: 14px; }
  .hero__photo { aspect-ratio: 1 / 1; border-radius: 140px 140px 18px 18px; }
  .strip p { padding: 14px 12px; font-size: 12px; }
  .strip b { font-size: 14px; }
  .concept__photos { height: 360px; }
  .section-head { margin-bottom: 34px; }
  .menu-col { padding: 22px 20px 14px; }
  .info-card { padding: 8px 20px; }
  .info-table th, .info-table td { font-size: 14px; padding: 12px 0; }
  .grid { gap: 8px; }
  .grid li { border-radius: 12px; }
  .reserve { padding: 64px 0; }
  .reserve__actions .btn { width: 100%; padding: 15px 16px; font-size: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
