@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@600;700;900&display=swap');

:root {
  --ink: #27231e;
  --brown: #653b27;
  --dark-brown: #3c261d;
  --cream: #f6f0e4;
  --paper: #fffdf8;
  --sand: #e5d5b8;
  --rust: #a3442e;
  --line: rgba(60, 38, 29, .18);
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.8; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; background: rgba(255, 253, 248, .95); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-name, .footer-brand { font-family: var(--serif); font-size: 2rem; font-weight: 900; letter-spacing: .12em; }
.brand-since { color: var(--brown); font-size: .65rem; font-weight: 700; letter-spacing: .18em; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
nav a:not(.nav-shop)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--rust); transition: right .2s ease; }
nav a:hover::after, nav a[aria-current="page"]::after { right: 0; }
.nav-shop { padding: 10px 16px; border: 1px solid var(--brown); }

.hero { overflow: hidden; min-height: 670px; display: grid; align-items: center; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; padding-block: 84px; }
.eyebrow, .section-label { margin: 0 0 14px; color: var(--rust); font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.35; }
.hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.3rem); letter-spacing: .04em; }
.hero h1 em { color: var(--rust); font-style: normal; }
.lead { max-width: 620px; margin: 30px 0 0; font-size: 1.07rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.button { display: inline-block; padding: 14px 22px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--dark-brown); }
.button.primary:hover { background: var(--rust); }
.button.light { color: var(--dark-brown); background: var(--paper); }
.text-link { color: var(--brown); font-weight: 700; }

.coffee-mark { position: relative; min-height: 420px; }
.coffee-mark::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 46% 54% / 44% 52% 48% 56%; background: var(--sand); transform: rotate(-8deg); }
.cup { position: absolute; left: 22%; top: 34%; width: 230px; height: 146px; border: 13px solid var(--dark-brown); border-top-width: 8px; border-radius: 12px 12px 90px 90px; background: var(--paper); transform: rotate(-4deg); }
.cup::after { content: ""; position: absolute; right: -75px; top: 20px; width: 72px; height: 72px; border: 13px solid var(--dark-brown); border-left: 0; border-radius: 0 50% 50% 0; }
.coffee { position: absolute; left: 7px; right: 7px; top: -1px; height: 22px; border-radius: 50%; background: var(--brown); }
.saucer { position: absolute; left: 14%; top: 69%; width: 320px; height: 34px; border: 10px solid var(--dark-brown); border-top: 0; border-radius: 0 0 50% 50%; transform: rotate(-4deg); }
.steam { position: absolute; width: 38px; height: 100px; border: 8px solid var(--rust); border-bottom-color: transparent; border-left-color: transparent; border-radius: 50%; }
.steam-one { left: 40%; top: 5%; transform: rotate(-12deg); }
.steam-two { left: 53%; top: 10%; transform: rotate(8deg) scale(.8); }
.bean { position: absolute; width: 38px; height: 62px; border-radius: 50%; background: var(--rust); transform: rotate(38deg); }
.bean::after { content: ""; position: absolute; left: 18px; top: 6px; width: 2px; height: 50px; background: var(--sand); transform: rotate(8deg); }
.bean-one { right: 7%; bottom: 12%; }
.bean-two { right: 19%; bottom: 1%; transform: rotate(72deg) scale(.75); }
.bean-three { left: 7%; top: 20%; transform: rotate(104deg) scale(.72); }

.section { padding-block: 110px; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 290px; padding: 38px; background: var(--paper); }
.feature-number { color: var(--rust); font-family: var(--serif); font-size: .85rem; }
.feature-grid h3 { margin: 44px 0 16px; font-size: 1.35rem; }
.feature-grid p { margin: 0; color: #5f584f; font-size: .94rem; }

.story { color: #f8f1e5; background: var(--dark-brown); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.story .section-label { color: #dc947a; }
.story-copy { padding-top: 18px; font-size: 1.05rem; }
.story-copy p { margin: 0 0 24px; }
.story .text-link { color: #f0c1a8; }

.visit { background: var(--cream); }
.visit-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 54px 58px; color: #fff; background: var(--rust); }
.visit-card .section-label { color: #f6d5c6; }
.visit-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); }
.visit-card p { margin-bottom: 0; }
.visit-actions { display: grid; gap: 18px; text-align: center; }
.phone { color: #fff; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; }

.page-hero { padding-block: 100px 90px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.4rem); }
.page-hero > .shell > p:last-child { max-width: 650px; margin: 24px 0 0; font-size: 1.05rem; }
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: stretch; }
.info-list { display: grid; }
.info-list > div { display: grid; grid-template-columns: 140px 1fr; padding: 25px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--brown); font-weight: 700; }
.info-list dd { margin: 0; }
.map-panel { display: grid; place-content: center; padding: 55px; text-align: center; background: var(--cream); border: 1px solid var(--line); }
.map-pin { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 24px; color: var(--paper); background: var(--rust); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-pin::first-letter { transform: rotate(45deg); }
.map-panel p { margin: 0 0 30px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { min-height: 390px; padding: 48px; border: 1px solid var(--line); }
.contact-card.featured { background: var(--cream); }
.contact-card h2 { font-size: 1.75rem; }
.contact-card .button { margin: 25px 0 18px; }
.contact-detail, .contact-phone { display: block; color: var(--brown); font-family: var(--serif); font-weight: 700; word-break: break-word; }
.contact-phone { margin-top: 44px; font-size: clamp(1.8rem, 4vw, 2.7rem); text-decoration: none; }
.small { color: #6e665c; font-size: .85rem; }
.online-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--line); }
.online-note h2 { font-size: 2rem; }

.site-footer { padding: 70px 0 25px; color: #e8dfd2; background: #211a16; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 48px; }
.footer-grid p { color: #bcb1a4; font-size: .86rem; }
.footer-grid a { color: inherit; }
.footer-links { display: flex; gap: 20px; align-items: start; font-size: .86rem; }
.copyright { margin-top: 48px; padding-top: 22px; color: #80766e; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }

@media (max-width: 820px) {
  .header-inner { min-height: auto; padding-block: 18px; align-items: flex-start; }
  .brand-since { display: none; }
  nav { max-width: 66%; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
  nav a { font-size: .76rem; }
  .nav-shop { padding: 5px 9px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 72px 20px; }
  .coffee-mark { min-height: 350px; transform: scale(.82); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .feature-grid h3 { margin-top: 24px; }
  .story-grid, .info-grid, .contact-grid, .online-note { grid-template-columns: 1fr; gap: 42px; }
  .visit-card { grid-template-columns: 1fr; padding: 42px 28px; }
  .visit-actions { justify-items: start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 28px), 1120px); }
  .header-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .brand { align-self: flex-start; flex-shrink: 0; }
  .brand-name { font-size: 1.5rem; }
  nav { width: 100%; max-width: none; justify-content: flex-start; gap: 8px 13px; }
  nav a:nth-child(3) { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 2.65rem; }
  .coffee-mark { margin: -30px -40px 0; transform: scale(.66); }
  .section { padding-block: 75px; }
  .feature-grid article, .contact-card { padding: 30px; }
  .info-list > div { grid-template-columns: 100px 1fr; gap: 14px; }
  .map-panel { padding: 42px 24px; }
  .page-hero { padding-block: 70px 64px; }
  .page-hero h1 { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-links { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
