/*
Theme Name: Snack ChoiTas Refined
Theme URI: https://choi-tas.com/
Author: ChoiTas
Description: スナックちょいたす専用の洗練されたWordPressテーマです。
Version: 3.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: snack-choitas
*/

:root {
  --ink: #2d241f;
  --muted: #74665d;
  --paper: #fff9ef;
  --paper-2: #f7efe2;
  --green: #5f826c;
  --green-soft: #e8f0e7;
  --coral: #c97965;
  --gold: #caa65a;
  --line: rgba(45, 36, 31, 0.15);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(69, 48, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(45, 36, 31, 0.1);
  background: rgba(255, 249, 239, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-weight: 900;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(202, 166, 90, 0.18) 0 120px, transparent 121px),
    linear-gradient(135deg, #fffaf1 0%, #f4eadb 100%);
}

.hero::after {
  position: absolute;
  inset: auto -10% -18% 45%;
  height: 52%;
  content: "";
  background: var(--green-soft);
  border-radius: 50% 50% 0 0;
  opacity: 0.7;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
  width: min(1140px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 60px 0 96px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 96px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: #5d4b43;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--green);
}

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(45, 36, 31, 0.12);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: 18px;
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.opening-note {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: min(1140px, calc(100% - 32px));
  transform: translateX(-50%);
}

.opening-note span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.opening-note p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 42px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.32;
}

.price-title {
  max-width: 720px;
}

.section-copy {
  max-width: 790px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.concept-section,
.first-section {
  background: var(--paper);
}

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

.feature-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(69, 48, 38, 0.08);
}

.pictogram {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.pictogram svg,
.menu-row svg,
.map-placeholder svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.price-section {
  background:
    linear-gradient(90deg, rgba(95, 130, 108, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(95, 130, 108, 0.08) 1px, transparent 1px),
    var(--paper-2);
  background-size: 34px 34px;
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
}

.menu-board {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.menu-row:last-child {
  border-bottom: 0;
}

.menu-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-row strong {
  color: var(--ink);
  font-size: 20px;
  white-space: nowrap;
}

.main-price strong {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--coral);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}

.price-duration {
  color: var(--ink);
  font-size: 0.42em;
  font-weight: 900;
}

.price-amount {
  color: var(--coral);
}

.price-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.price-stack small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reason-item {
  padding: 22px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-weight: 800;
}

.reason-item span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
}

.access-section {
  background: var(--white);
}

.access-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.82fr);
  gap: 38px;
  align-items: center;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.info-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  color: var(--green);
  font-weight: 900;
}

.info-row dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.map-placeholder {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 20%, rgba(202, 166, 90, 0.18) 0 90px, transparent 91px),
    var(--green-soft);
  color: var(--green);
  text-align: center;
}

.map-placeholder span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--white);
}

.map-placeholder p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.news-section {
  background: var(--paper-2);
}

.news-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
}

.news-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.news-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: rgba(255, 249, 239, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-title {
  margin: 0;
  color: var(--paper);
  font-weight: 900;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero-shell,
  .section-head,
  .price-layout,
  .access-band,
  .news-wrap {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding: 56px 0 130px;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .opening-note {
    bottom: 24px;
  }

  .concept-grid,
  .reason-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .menu-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .price-stack {
    justify-items: start;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
