/* 珈琲舎 灯 スタイルシート */

/* ==========================================================================
   Reset / box-sizing
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* ==========================================================================
   Root variables
   ========================================================================== */
:root {
  /* color */
  --color-bg: #F5F1EC;
  --color-bg-alt: #EFE8DD;
  --color-text: #2B2420;
  --color-text-sub: #6B6259;
  --color-accent: #B5673A;
  --color-border: #DDD5C8;

  /* font */
  --font-heading: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --font-body: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;

  /* layout */
  --container-width: 1100px;
  --section-padding-y: 120px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.5;
}

a {
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Layout utility
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

main section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

main section[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 767px) {
  main section[id] {
    scroll-margin-top: 64px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

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

.logo a {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.05em;
}

.global-nav ul {
  display: flex;
  gap: 32px;
}

.global-nav a {
  font-size: 14px;
  letter-spacing: 0.03em;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background-color: var(--color-text);
}

.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
}

.menu-toggle span::before {
  top: -8px;
}

.menu-toggle span::after {
  top: 8px;
}

@media (max-width: 767px) {
  .site-header-inner {
    height: 64px;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .global-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav li:last-child {
    border-bottom: none;
  }

  .global-nav a {
    display: block;
    padding: 14px 0;
  }

  .site-header.is-open .global-nav {
    max-height: 400px;
    opacity: 1;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--color-text);
  padding: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.35);
}

.hero-text {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #FFFFFF;
}

.hero-text h1 {
  font-size: 40px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 16px;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .hero {
    height: 85vh;
    min-height: 480px;
  }

  .hero-text h1 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 14px;
  }
}

/* ==========================================================================
   Concept
   ========================================================================== */
.concept h2 {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 16px;
}

.concept h3 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 64px;
}

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

.concept-text p {
  margin-bottom: 24px;
}

.concept-text p:last-child {
  margin-bottom: 0;
}

.concept-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 65%;
  background-color: var(--color-border);
}

@media (max-width: 767px) {
  .concept h3 {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .concept-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .concept-image {
    order: -1;
    aspect-ratio: 4 / 3;
    object-position: center 40%;
  }
}

/* ==========================================================================
   Feature
   ========================================================================== */
.feature {
  background-color: var(--color-bg-alt);
}

.feature h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 80px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.feature-item {
  text-align: center;
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

@media (max-width: 767px) {
  .feature h2 {
    margin-bottom: 48px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ==========================================================================
   Menu
   ========================================================================== */
.menu h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 80px;
}

.menu-category:not(:last-child) {
  margin-bottom: 80px;
}

.menu-category h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dotted var(--color-border);
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 16px;
}

.menu-item-price {
  font-size: 15px;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

@media (max-width: 767px) {
  .menu h2 {
    margin-bottom: 48px;
  }

  .menu-category:not(:last-child) {
    margin-bottom: 56px;
  }

  .menu-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 64px;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-list img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-border);
}

@media (max-width: 767px) {
  .gallery h2 {
    margin-bottom: 40px;
  }

  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ==========================================================================
   Shop Information
   ========================================================================== */
.shop-information h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 64px;
}

.shop-information-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.shop-information-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.shop-information-list > div:first-child {
  padding-top: 0;
}

.shop-information-list > div:last-child {
  border-bottom: none;
}

.shop-information-list dt {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--color-text-sub);
}

.shop-information-list dd {
  font-size: 15px;
  line-height: 1.9;
}

.shop-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.shop-information-note {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.shop-information-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: var(--color-border);
}

@media (max-width: 767px) {
  .shop-information h2 {
    margin-bottom: 40px;
  }

  .shop-information-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .shop-information-image {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  .shop-information-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
}

/* ==========================================================================
   Access
   ========================================================================== */
.access h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 64px;
}

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

.access-text p {
  margin-bottom: 16px;
}

.access-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.access-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.access-map-road {
  position: absolute;
  background-color: var(--color-border);
}

.access-map-road--h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.access-map-road--v {
  top: 0;
  bottom: 0;
  left: 35%;
  width: 1px;
}

.access-map-pin {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 10px;
  height: 10px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.access-map-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0.4;
  transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .access h2 {
    margin-bottom: 40px;
  }

  .access-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access-map {
    order: -1;
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.contact {
  background-color: var(--color-bg-alt);
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.contact-intro h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-copy {
  font-size: 16px;
}

.contact-form-note {
  padding: 12px 16px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  font-size: 13px;
  color: var(--color-text-sub);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-row label {
  font-size: 13px;
  color: var(--color-text-sub);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 15px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-row textarea {
  resize: vertical;
}

.contact-form button[type="submit"] {
  padding: 14px 40px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  opacity: 0.85;
}

.contact-form-message {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-accent);
}

.sns-list {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.sns-list a {
  font-size: 13px;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .contact-body {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .contact-form button[type="submit"] {
    width: 100%;
    padding: 16px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 64px 0 32px;
  background-color: var(--color-text);
  color: var(--color-bg);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 32px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  font-size: 13px;
}

.site-footer .sns-list {
  margin-bottom: 32px;
}

.site-footer .sns-list a {
  opacity: 0.85;
}

.copyright {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.disclaimer {
  max-width: 560px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.7;
  opacity: 0.6;
}
