@charset "UTF-8";

/* ==========================================================
   1. reset（modern-normalize相当・必要分のみ）
   ========================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, p, ul, dl, dt, dd, figure { margin: 0; }

ul { padding: 0; list-style: none; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

input, textarea { font: inherit; color: inherit; }

/* ==========================================================
   2. 変数
   ========================================================== */
:root {
  --color-bg: #FAF6F0;
  --color-bg-alt: #F1EAE0;
  --color-text: #3A3630;
  --color-text-weak: #8C8378;
  --color-accent: #A67C52;
  --color-accent-dark: #8A6540;
  --color-green: #7A8B6F;
  --color-line: #E3DACC;
  --color-white: #FFFFFF;

  --font-en: "Marcellus", serif;
  --font-ja: "Zen Kaku Gothic New", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 60px;
}

@media (min-width: 1024px) {
  :root { --header-h: 72px; }
}

/* ==========================================================
   3. base
   ========================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
body.is-loaded { opacity: 1; }

@media (min-width: 1024px) {
  body { font-size: 16px; }
}

section { scroll-margin-top: 88px; }

/* ==========================================================
   4. components
   ========================================================== */

/* --- container --- */
.container {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 560px; }
.container--medium { max-width: 1000px; }
.container--wide { max-width: 1080px; }

@media (min-width: 768px) {
  .container { padding-inline: 24px; }
}

/* --- section-title --- */
.section-title {
  text-align: center;
  font-weight: 400;
  margin-bottom: 48px;
}
.section-title--left { text-align: left; }
.section-title__en {
  display: block;
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.section-title__ja {
  display: block;
  font-size: 12px;
  color: var(--color-text-weak);
  margin-top: 6px;
}
@media (min-width: 1024px) {
  .section-title { margin-bottom: 64px; }
  .section-title__en { font-size: 40px; }
  .section-title__ja { font-size: 14px; }
}

/* --- btn --- */
.btn {
  display: inline-block;
  padding: 14px 48px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: background-color 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--color-accent-dark); }
.btn:active { transform: scale(0.98); }

/* --- fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease) var(--stagger-delay, 0s),
    transform 0.8s var(--ease) var(--stagger-delay, 0s);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   5. sections
   ========================================================== */

/* --- header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px;
  z-index: 100;
  color: var(--color-white);
  transition: background-color 0.3s, color 0.3s;
}
@media (min-width: 1024px) {
  .header { padding-inline: 40px; }
}
.header.is-scrolled {
  background: rgba(250, 246, 240, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--color-text);
}

.header__logo {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.global-nav { display: none; }
@media (min-width: 1024px) {
  .global-nav { display: block; }
  .global-nav__list {
    display: flex;
    gap: 36px;
  }
  .global-nav__link {
    display: block;
    position: relative;
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.4;
    padding: 4px 0;
  }
  .global-nav__link small {
    display: block;
    font-family: var(--font-ja);
    font-size: 10px;
    opacity: 0.75;
  }
  .global-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .global-nav__link:hover::after { transform: scaleX(1); }
}

/* --- hamburger --- */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  z-index: 210;
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}
.hamburger__line,
.hamburger__line::before,
.hamburger__line::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.hamburger__line { position: relative; }
.hamburger__line::before,
.hamburger__line::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger__line::before { top: -8px; }
.hamburger__line::after { top: 8px; }

body.is-menu-open .hamburger { color: var(--color-text); }
body.is-menu-open .hamburger__line { background: transparent; }
body.is-menu-open .hamburger__line::before { transform: translateY(8px) rotate(45deg); }
body.is-menu-open .hamburger__line::after { transform: translateY(-8px) rotate(-45deg); }
body.is-menu-open { overflow: hidden; }

/* --- mobile-menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  opacity: 0;
  transform: translateX(20px);
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0s linear 0.4s;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.mobile-menu__list {
  display: grid;
  gap: 28px;
  text-align: center;
}
.mobile-menu__link {
  display: block;
  font-family: var(--font-en);
  font-size: 26px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: var(--menu-delay, 0s);
}
.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__link small {
  display: block;
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--color-text-weak);
  margin-top: 2px;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* --- hero --- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s var(--ease);
}
body.is-loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 54, 48, 0.25);
}
.hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--color-white);
  text-align: center;
  padding: 0 24px 104px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease) 0.4s, transform 1s var(--ease) 0.4s;
}
body.is-loaded .hero__copy {
  opacity: 1;
  transform: translateY(0);
}
.hero__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
}
.hero__sub {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-top: 14px;
  opacity: 0;
  transition: opacity 1s var(--ease) 0.6s;
}
body.is-loaded .hero__sub { opacity: 1; }

@media (min-width: 768px) {
  .hero__copy {
    text-align: left;
    padding: 0 64px 112px;
  }
  .hero__title { font-size: 28px; }
  .hero__sub { font-size: 14px; }
  .u-sp-only { display: none; }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--color-white);
}
.scroll-indicator__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: currentColor;
  animation: scroll-line 1.8s var(--ease) infinite;
}
@keyframes scroll-line {
  0%      { transform: scaleY(0); transform-origin: top; }
  49.9%   { transform: scaleY(1); transform-origin: top; }
  50%     { transform: scaleY(1); transform-origin: bottom; }
  100%    { transform: scaleY(0); transform-origin: bottom; }
}

/* --- about --- */
.about { padding-block: 72px; }
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about__photo img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.about__body .section-title { margin-bottom: 32px; }
.about__body p + p { margin-top: 24px; }

@media (min-width: 768px) {
  .about { padding-block: 120px; }
  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .about__photo { width: 45%; flex-shrink: 0; }
  .about__body { width: 55%; }
}

/* --- menu --- */
.menu {
  padding-block: 72px;
  background: var(--color-bg-alt);
}
.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .menu { padding-block: 120px; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .menu__grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  transition:
    opacity 0.8s var(--ease) var(--stagger-delay, 0s),
    transform 0.8s var(--ease) var(--stagger-delay, 0s),
    box-shadow 0.4s var(--ease);
}
.menu-card.is-revealed {
  /* 出現完了後にhover用のtransitionへ切替（staggerの遅延をhoverに残さない） */
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.menu-card.is-revealed:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(58, 54, 48, 0.08);
}
.menu-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.menu-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.menu-card:hover .menu-card__photo img { transform: scale(1.05); }
.menu-card__body { padding: 16px 20px 20px; }
.menu-card__name {
  font-size: 16px;
  font-weight: 500;
}
.menu-card__desc {
  font-size: 13px;
  color: var(--color-text-weak);
  line-height: 1.7;
  margin-top: 4px;
}
.menu-card__price {
  font-size: 15px;
  color: var(--color-accent);
  margin-top: 8px;
}

/* --- news --- */
.news { padding-block: 72px; }
@media (min-width: 768px) {
  .news { padding-block: 120px; }
}
.news__list { border-top: 1px solid var(--color-line); }
.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-line);
}
.news-item__date {
  font-size: 13px;
  color: var(--color-text-weak);
}
.news-item__tag {
  font-size: 11px;
  line-height: 1;
  color: var(--color-green);
  border: 1px solid var(--color-green);
  border-radius: 4px;
  padding: 4px 8px;
}
.news-item__title {
  font-size: 14px;
  width: 100%;
}
@media (min-width: 768px) {
  .news-item__title { width: auto; flex: 1; }
}

/* --- story --- */
.story { padding-block: 72px; }
@media (min-width: 768px) {
  .story { padding-block: 120px; }
}
.story-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.story-block + .story-block { margin-top: 64px; }
.story-block__photo img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.story-block__heading {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}
.story-block__num {
  font-family: var(--font-en);
  color: var(--color-accent);
  letter-spacing: 0.05em;
}
.story-block__body p + p { margin-top: 20px; }

@media (min-width: 768px) {
  .story-block {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .story-block--reverse { flex-direction: row-reverse; }
  .story-block + .story-block { margin-top: 96px; }
  .story-block__photo,
  .story-block__body { width: 50%; }
  .story-block__heading { font-size: 20px; }
}

/* --- access --- */
.access {
  padding-block: 72px;
  background: var(--color-bg-alt);
}
@media (min-width: 768px) {
  .access { padding-block: 120px; }
}
.access__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  .access__inner { flex-direction: row; gap: 64px; }
  .access__table { width: 50%; }
  .access__map { width: 50%; }
}

.access__row {
  display: flex;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--color-line);
}
.access__row:first-child { border-top: 1px solid var(--color-line); }
.access__row dt {
  width: 88px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--color-text-weak);
  padding-top: 2px;
}
.access__row dd { font-size: 14px; }

.access__sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-accent);
  transition: color 0.3s;
}
.access__sns:hover { color: var(--color-accent-dark); }

.map-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--color-text-weak);
  background: var(--color-bg);
}

/* --- contact --- */
.contact { padding-block: 72px; }
@media (min-width: 768px) {
  .contact { padding-block: 120px; }
}
.contact-form__field + .contact-form__field { margin-top: 24px; }
.contact-form__field label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.contact-form__required {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: 3px;
  padding: 3px 6px;
  margin-left: 6px;
  vertical-align: 1px;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.3s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.contact-form__field textarea { resize: vertical; }
.contact-form__submit {
  text-align: center;
  margin-top: 36px;
}
.contact-form__done {
  text-align: center;
  padding-block: 40px;
}

/* --- footer --- */
.footer {
  background: var(--color-text);
  color: #D8D2C8;
  text-align: center;
  padding: 56px 20px;
}
.footer__logo {
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0.05em;
}
.footer__sns {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.footer__sns a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transition: opacity 0.3s;
}
.footer__sns a:hover { opacity: 0.7; }
.footer__copy {
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-top: 16px;
  opacity: 0.7;
}

/* --- to-top --- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    background-color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover { background: var(--color-accent-dark); }

/* ==========================================================
   6. utilities
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  body,
  .fade-in,
  .hero__copy,
  .hero__sub,
  .mobile-menu__link {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__bg { transform: scale(1) !important; }
}
