/* ===== NATURAL LIFESTYLE / koa ベーシックLP ===== */
/* 配色・書体・余白はここ（:root）だけで変更できます */
:root {
  --c-bg: #FAF8F2;
  --c-main: #4F6958;
  --c-accent: #8AA98D;
  --c-sub: #EEE9DE;
  --c-text: #3E493F;
  --c-on-main: #FAF8F2;

  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --radius: 28px;
  --gutter: 20px;
  --max: 1160px;
  --section-y: clamp(72px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.95;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.2em; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 500; line-height: 1.5; margin: 0; letter-spacing: .04em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--c-main); color: var(--c-on-main); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.label { font-family: var(--f-serif); font-size: .8rem; letter-spacing: .2em; color: var(--c-main); margin-bottom: 1.2em; }
.eyebrow { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.2em; color: var(--c-main); }

/* 写真共通：差し替えても崩れにくい設定 */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--c-sub); }
.photo img, .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* Button */
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 999px; text-decoration: none;
  background: var(--c-main); color: var(--c-on-main); border: 2px solid var(--c-main);
  font-size: .95rem; letter-spacing: .08em; line-height: 1.4; min-height: 48px;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(79,105,88,.22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--c-main); }
.btn--ghost:hover { background: var(--c-main); color: var(--c-on-main); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand__name { font-family: var(--f-serif); font-size: 1.3rem; letter-spacing: .12em; }
.menu-btn { width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 60; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-text); transition: transform .3s ease, top .3s ease; }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 28px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.gnav {
  position: fixed; inset: 0; background: var(--c-bg); z-index: 55;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.gnav.is-open { opacity: 1; visibility: visible; }
.gnav ul { text-align: center; }
.gnav li + li { margin-top: 1.2em; }
.gnav a { font-family: var(--f-serif); font-size: 1.4rem; letter-spacing: .15em; text-decoration: none; }
.gnav__cta { color: var(--c-main); border-bottom: 2px solid var(--c-accent); }

/* HERO：写真を全面に、文字は左下の余白に */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; }
.hero__photo { position: absolute; inset: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(250,248,242,.92) 0%, rgba(250,248,242,.55) 40%, rgba(250,248,242,0) 70%); }
.hero__body { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 120px var(--gutter) 56px; }
.hero h1 { font-size: clamp(2rem, 8vw, 4rem); line-height: 1.45; margin-bottom: .6em; }
.hero__lead { max-width: 28em; margin-bottom: 1.8em; }

/* Sections */
.concept, .menu, .experience, .reservation { padding-block: var(--section-y); }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom: 1em; }

/* CONCEPT：非対称 */
.concept__grid { display: grid; gap: 40px; }
.concept__text { max-width: 30em; }
.concept__photo { aspect-ratio: 4 / 5; width: 78%; margin-left: auto; border-radius: 200px 200px var(--radius) var(--radius); }

/* MENU：ジグザグ */
.menu { background: var(--c-sub); border-radius: var(--radius) var(--radius) 0 0; }
.menu__head { max-width: 34em; margin-bottom: 56px; }
.menu-item { display: grid; gap: 22px; margin-bottom: 64px; }
.menu-item .photo { aspect-ratio: 4 / 3; }
.menu-item h3 { font-size: 1.4rem; margin: .2em 0 .6em; }
.menu-item__no { font-family: var(--f-serif); color: var(--c-accent); font-size: 2.2rem; line-height: 1; }
.menu-item__meta { font-size: .85rem; color: var(--c-main); margin: 0; }

/* EXPERIENCE */
.experience__grid { display: grid; gap: 40px; }
.experience__photos { position: relative; padding-bottom: 48px; }
.experience__main { aspect-ratio: 16 / 10; border-radius: var(--radius) 160px var(--radius) var(--radius); }
.experience__sub { position: absolute; right: -4px; bottom: 0; width: 36%; aspect-ratio: 1; border: 6px solid var(--c-bg); border-radius: 50%; }
.points { margin-top: 1.6em; }
.points li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.points li::before { content: ""; position: absolute; left: 0; top: .85em; width: .7em; height: .7em; border-radius: 50%; background: var(--c-accent); }

/* RESERVATION */
.reservation { background: var(--c-sub); border-radius: 80px 80px 0 0; text-align: center; }
.reservation__inner { max-width: 640px; }
.reservation__links { display: flex; flex-direction: column; gap: 14px; align-items: stretch; margin-top: 2em; }

/* Footer */
.footer { background: var(--c-main); color: var(--c-on-main); padding: 56px 0 40px; text-align: center; font-size: .9rem; }
.footer__brand { font-family: var(--f-serif); font-size: 1.5rem; letter-spacing: .15em; margin-bottom: .6em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin: 1.2em 0; }
.footer__links a { padding: 6px 0; display: inline-block; }
.footer__copy { font-size: .75rem; opacity: .8; margin: 0; }

/* Reveal：JSが有効なときだけ非表示→表示。JS無効でも内容は見える */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet 768+ */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .concept__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
  .concept__photo { width: 100%; transform: translateY(40px); }
  .menu-item { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; }
  .menu-item--rev .photo { order: 2; }
  .menu-item:nth-of-type(even) { margin-left: 6%; }
  .experience__grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; }
  .reservation__links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* Desktop 1024+：ナビを横並びに */
@media (min-width: 1024px) {
  .header { height: 72px; padding-inline: 40px; }
  .menu-btn { display: none; }
  .gnav { position: static; inset: auto; background: none; opacity: 1; visibility: visible; display: block; }
  .gnav ul { display: flex; gap: 32px; align-items: center; }
  .gnav li + li { margin-top: 0; }
  .gnav a { font-size: .95rem; letter-spacing: .12em; }
  .gnav__cta { border: 0; background: var(--c-main); color: var(--c-on-main); padding: 10px 22px; border-radius: 999px; }
  .hero__body { padding-bottom: 96px; }
}

/* 動きを減らす設定：アニメーション停止、内容は全て表示 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
