/* =========================================================
   Tanaka Roasting LP — style.css
   Design tokens: warm brown × ivory, serif typography
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #2b1810;
  background-color: #f7f1e6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

p {
  margin: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: #5c3a21;
  color: #f7f1e6;
  border-color: #5c3a21;
}

.btn-primary:hover {
  background-color: #2b1810;
  border-color: #2b1810;
  opacity: 1;
}

.btn-ghost {
  background-color: transparent;
  color: #f7f1e6;
  border-color: #f7f1e6;
}

.btn-ghost:hover {
  background-color: #f7f1e6;
  color: #2b1810;
  opacity: 1;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(92, 58, 33, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #2b1810;
}

.brand-ja {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #8b6f47;
}

.nav-pc {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.nav-cta {
  padding: 8px 18px;
  border: 1px solid #5c3a21;
  background-color: #5c3a21;
  color: #f7f1e6;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background-color: #2b1810;
  border-color: #2b1810;
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f7f1e6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1453614512568-c4024d13c247?w=1800&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(43, 24, 16, 0.65) 0%, rgba(92, 58, 33, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 100px;
}

.hero-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 2;
  margin-bottom: 48px;
  max-width: 560px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #f7f1e6, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%      { transform: scaleY(1.15); opacity: 0.4; }
}

/* ---------- Section common ---------- */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  color: #8b6f47;
  margin-bottom: 12px;
}

.section-ja {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.section-lead {
  font-size: 1rem;
  line-height: 2.1;
  color: #5c4434;
}

.section-head-light .section-en { color: #d8c8a8; }
.section-head-light .section-ja { color: #f7f1e6; }
.section-head-light .section-lead { color: rgba(247, 241, 230, 0.85); }

/* ---------- Concept ---------- */
.concept {
  padding: 120px 0;
  background-color: #f7f1e6;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.concept-card {
  text-align: center;
  padding: 40px 24px;
  background-color: #fdfaf2;
  border: 1px solid rgba(92, 58, 33, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(92, 58, 33, 0.12);
}

.concept-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2.6rem;
  color: #c8a978;
  margin-bottom: 16px;
}

.concept-title {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: #2b1810;
}

.concept-text {
  font-size: 0.95rem;
  line-height: 2;
  color: #5c4434;
  text-align: left;
}

/* ---------- Menu ---------- */
.menu {
  padding: 120px 0;
  background-color: #efe5d3;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-card {
  background-color: #fdfaf2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(92, 58, 33, 0.16);
}

.menu-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #d8c8a8;
}

.menu-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dotted rgba(92, 58, 33, 0.25);
  padding-bottom: 10px;
}

.menu-name {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #2b1810;
}

.menu-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: #5c3a21;
  white-space: nowrap;
}

.menu-text {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #5c4434;
}

/* ---------- Info ---------- */
.info {
  padding: 120px 0;
  background-color: #2b1810;
  color: #f7f1e6;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 241, 230, 0.15);
}

.info-row dt {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: #c8a978;
  padding-top: 4px;
}

.info-row dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.info-visual {
  text-align: center;
}

.info-photo {
  aspect-ratio: 4 / 5;
  background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=900&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.95);
}

.info-caption {
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.15em;
  color: #c8a978;
}

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0;
  background-color: #f7f1e6;
  text-align: center;
}

.contact-inner {
  max-width: 720px;
}

.contact-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.3em;
  color: #8b6f47;
  margin-bottom: 16px;
}

.contact-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.contact-text {
  font-size: 1rem;
  line-height: 2;
  color: #5c4434;
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #1c0f08;
  color: #d8c8a8;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* =========================================================
   Responsive — Tablet (max-width: 900px)
   ========================================================= */
@media (max-width: 900px) {
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* =========================================================
   Responsive — Mobile (max-width: 640px)
   ========================================================= */
@media (max-width: 640px) {
  .nav-pc {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .hero-inner {
    padding: 100px 24px 80px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 14px 24px;
  }

  .concept,
  .menu,
  .info,
  .contact {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
