/*
Theme Name: Le Jardin des Sens
Theme URI: https://jardindessens.jp/
Author: Roman Web Studio
Description: ル・ジャルダン・デ・サンス公式サイト専用のワンページテーマ。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jardin-des-sens
*/

:root {
  --ink: #202020;
  --muted: #6d6a66;
  --paper: #f8f6f1;
  --white: #fff;
  --gold: #a68a59;
  --line: rgba(32, 32, 32, .13);
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .035em;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(20, 20, 20, .88);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img { width: min(310px, 34vw); }
.site-nav { display: flex; align-items: center; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: rgba(255,255,255,.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .09em;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #dcc697; }
.shop-link::before { content: "●"; color: #cf3c32; font-size: 8px; margin-right: 6px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.2s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.08); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.08) 55%, rgba(0,0,0,.36));
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10vh;
  width: min(760px, calc(100% - 40px));
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 25px rgba(0,0,0,.55);
}
.hero-copy img { width: min(600px, 86vw); margin: 0 auto 24px; }
.hero-copy p { margin: 0; font-family: Georgia, serif; font-size: 14px; letter-spacing: .22em; }

main { overflow: hidden; }
.section { padding: 105px 0; scroll-margin-top: var(--header-height); }
.section-soft { background: var(--paper); }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - 48px)); margin: 0 auto; }
.section-label {
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .14em;
  text-align: center;
}
.section-label::after { content: ""; display: block; width: 52px; height: 1px; margin: 22px auto 0; background: var(--gold); }
.lead { font-size: 16px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-family: Georgia, serif; letter-spacing: .16em; text-transform: uppercase; }
.notice {
  margin: 0 0 85px;
  padding: 40px clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  background: #fff;
}
.notice h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: 19px; font-weight: 400; letter-spacing: .08em; }
.notice p { margin: 0; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  transition: .2s ease;
}
.button:hover, .button:focus-visible { background: var(--gold); border-color: var(--gold); }
.button-outline { background: transparent; color: var(--ink); }

.news-eyebrow { text-align: center; }
.news-list {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.news-list-item { border-bottom: 1px solid var(--line); }
.news-list-link {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) 54px;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  min-height: 170px;
  padding: 20px 22px 20px 20px;
  transition: background-color .25s ease;
}
.news-list-item--no-image .news-list-link { grid-template-columns: minmax(0, 1fr) 54px; padding-left: clamp(24px, 4vw, 48px); }
.news-list-link:hover,
.news-list-link:focus-visible { background: #fdfcf9; }
.news-list-media { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e4dc; }
.news-list-image { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news-list-link:hover .news-list-image,
.news-list-link:focus-visible .news-list-image { transform: scale(1.04); }
.news-list-body { min-width: 0; }
.news-list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.news-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 27px;
  padding: 3px 13px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .1em;
}
.news-type-badge--event { background: var(--gold); color: var(--white); }
.news-date { color: var(--gold); font-family: Georgia, serif; font-size: 12px; letter-spacing: .12em; }
.news-list-body h3 { margin: 14px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 23px); font-weight: 400; line-height: 1.55; }
.news-list-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.news-list-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.news-list-link:hover .news-list-arrow,
.news-list-link:focus-visible .news-list-arrow { transform: translateX(3px); border-color: var(--gold); background: var(--gold); color: var(--white); }

.news-single-main { min-height: 75vh; padding: calc(var(--header-height) + 70px) 0 105px; background: var(--paper); }
.news-single { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: clamp(30px, 6vw, 72px); background: var(--white); }
.news-single-back { display: inline-block; margin-bottom: 38px; color: var(--muted); font-size: 13px; }
.news-single-back::before { content: "\2190"; margin-right: 9px; color: var(--gold); }
.news-single-header { margin-bottom: 42px; text-align: center; }
.news-single-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.news-single-header h1 { margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 5vw, 46px); font-weight: 400; line-height: 1.45; letter-spacing: .06em; }
.news-single-image { width: 100%; max-height: 620px; margin: 0 0 42px; object-fit: cover; }
.news-single-content { font-size: 16px; }
.news-single-content > :first-child { margin-top: 0; }
.news-single-content > :last-child { margin-bottom: 0; }
.news-single-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.news-single-content img { height: auto; }

.chef-grid, .feature-grid, .menu-grid {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.7fr);
  align-items: start;
  gap: clamp(38px, 7vw, 90px);
}
.chef-photo { width: 100%; max-height: 650px; object-fit: cover; object-position: center 22%; }
.chef-copy p { margin: 0; }
.chef-copy p + p { margin-top: 18px; }

.feature-grid { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); align-items: center; }
.feature-copy h2 { margin: 0 0 25px; font-family: Georgia, serif; font-size: 36px; font-weight: 400; letter-spacing: .1em; }
.feature-copy p { margin: 0; }
.concept-gallery, .food-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.concept-gallery button, .food-gallery button {
  position: relative;
  min-height: 180px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
}
.concept-gallery button:first-child { grid-row: span 2; }
.concept-gallery img, .food-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.concept-gallery button:hover img, .food-gallery button:hover img { transform: scale(1.045); }

.heritage {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background: #202020;
}
.heritage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(166,138,89,.18), transparent 55%); }
.heritage-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote-card { padding: clamp(30px, 5vw, 55px); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.quote-card h3 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 20px; font-weight: 400; letter-spacing: .08em; }
.quote-card p { margin: 0 0 25px; color: rgba(255,255,255,.78); }
.menu-grid { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.4fr); }
.price-list { margin: 0; border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row dt { font-weight: 700; }
.price-row dd { margin: 0; }
.food-gallery { grid-template-columns: repeat(3, 1fr); }
.food-gallery button { min-height: 150px; }

.info-card { margin-bottom: 28px; border: 1px solid var(--line); background: #fff; }
.info-row { display: grid; grid-template-columns: 260px 1fr; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt, .info-row dd { margin: 0; padding: 22px 26px; }
.info-row dt { font-weight: 700; background: rgba(166,138,89,.08); }
.info-row a { text-decoration: underline; text-underline-offset: 3px; }
.seasonal { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; margin-top: 54px; }
.seasonal img { width: 100%; }
.seasonal h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }

.reservation-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0 0 42px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reservation-list li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.phone { font-family: Georgia, serif; font-size: clamp(30px, 5vw, 52px); line-height: 1.2; letter-spacing: .04em; }
.phone-note { margin: 12px 0 0; color: var(--muted); }

.site-footer { padding: 50px 0; color: rgba(255,255,255,.7); background: #161616; text-align: center; font-family: Georgia, serif; font-size: 12px; letter-spacing: .08em; }
.site-footer p { margin: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 24px 24px;
  background: rgba(0,0,0,.92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; color: #fff; font-size: 42px; cursor: pointer; }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 18px 24px 26px;
    background: rgba(18,18,18,.98);
  }
  body.admin-bar .site-nav { top: calc(var(--header-height) + 46px); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 11px 4px; }
  .chef-grid, .feature-grid, .menu-grid { grid-template-columns: 1fr; }
  .news-list-link { grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) 46px; gap: 24px; }
  .chef-photo { width: min(440px, 100%); max-height: 560px; margin: 0 auto; }
  .heritage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  html { margin-top: 0 !important; }
  body.admin-bar #wpadminbar { display: none; }
  body.admin-bar .site-header { top: 0; }
  body.admin-bar .site-nav { top: var(--header-height); }
}

@media (max-width: 680px) {
  :root { --header-height: 66px; }
  .header-inner, .container, .narrow { width: min(100% - 30px, 1120px); }
  .brand img { width: min(245px, 69vw); }
  .hero { min-height: 76svh; }
  .hero-copy { bottom: 8vh; }
  .hero-copy p { font-size: 11px; letter-spacing: .14em; }
  .section { padding: 76px 0; }
  .section-label { margin-bottom: 36px; }
  .notice { margin-bottom: 65px; padding: 28px 20px; }
  .news-list-link {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 15px;
    min-height: 126px;
    padding: 14px 0;
  }
  .news-list-item--no-image .news-list-link { grid-template-columns: 1fr; padding: 20px 8px; }
  .news-list-media { aspect-ratio: 1 / 1; }
  .news-list-body h3 { margin-top: 9px; font-size: 16px; line-height: 1.55; }
  .news-list-body p, .news-list-arrow { display: none; }
  .news-list-meta { gap: 8px; }
  .news-type-badge { min-width: 70px; min-height: 24px; padding: 2px 9px; font-size: 10px; }
  .news-date { font-size: 10px; }
  .news-single { width: min(100% - 30px, 900px); padding: 26px 20px 38px; }
  .news-single-main { padding-top: calc(var(--header-height) + 34px); }
  .concept-gallery { grid-template-columns: 1fr 1fr; }
  .concept-gallery button { min-height: 130px; }
  .food-gallery { grid-template-columns: repeat(2, 1fr); }
  .food-gallery button { min-height: 115px; }
  .price-row { grid-template-columns: 105px 1fr; gap: 14px; }
  .info-row { grid-template-columns: 1fr; }
  .info-row dt, .info-row dd { padding: 16px 18px; }
  .info-row dt { border-bottom: 1px solid var(--line); }
  .seasonal { grid-template-columns: 1fr; }
  .reservation-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
