/* ============================================
   Sun Lounge Eos 平塚 — style.css
   ============================================ */

:root {
  --gold: #c6a15b;
  --gold-light: #e9d7ae;
  --gold-deep: #a8823d;
  --dark: #17140f;
  --dark-2: #241f17;
  --cream: #faf7f1;
  --white: #ffffff;
  --text: #3b352c;
  --text-light: #8c8474;
  --line-green: #06c755;
  --shadow: 0 10px 40px rgba(23, 20, 15, .12);
  --font-en: "Marcellus", serif;
  --font-serif: "Zen Old Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 2.2em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: #05b34c; }
.btn--ghost {
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--lg { padding: 1.1em 2.6em; font-size: 1.05rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(23, 20, 15, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header__inner {
  width: min(1200px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 1.25rem;
  letter-spacing: .06em;
}
.header__logo i { font-size: 1.3em; color: var(--gold); }
.header__logo strong { font-weight: 400; color: var(--white); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1em, 2.2vw, 2.2em);
}
.nav__link {
  color: #f2ede2;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  position: relative;
  padding: .4em 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link--line {
  background: var(--line-green);
  color: #fff;
  padding: .55em 1.3em;
  border-radius: 999px;
}
.nav__link--line::after { display: none; }
.nav__link--line:hover { background: #05b34c; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.header__burger span {
  display: block;
  width: 26px; height: 2px;
  margin-inline: auto;
  background: var(--gold-light);
  transition: transform .3s, opacity .3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.08);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,20,15,.55) 0%, rgba(23,20,15,.35) 45%, rgba(23,20,15,.75) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 120px 6vw 80px; }
.hero__eyebrow {
  font-family: var(--font-en);
  letter-spacing: .35em;
  font-size: clamp(.7rem, 1.6vw, .85rem);
  color: var(--gold-light);
  margin-bottom: 1.2em;
}
.hero__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: .08em;
  line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.hero__title em { font-style: normal; color: var(--gold-light); }
.hero__title-icon {
  display: block;
  font-size: .55em;
  color: var(--gold);
  margin-bottom: .2em;
  animation: sunSpin 24s linear infinite;
}
@keyframes sunSpin { to { transform: rotate(360deg); } }
.hero__lead {
  margin-top: 1.6em;
  font-family: var(--font-serif);
  font-size: clamp(.95rem, 2.4vw, 1.15rem);
  letter-spacing: .12em;
  line-height: 2.2;
}
.hero__cta {
  margin-top: 2.6em;
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold-light);
  font-size: 1.3rem;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Info bar ===== */
.infobar {
  background: var(--dark);
  color: #efe8d8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5em 3em;
  padding: 1em 5vw;
  font-size: .85rem;
  letter-spacing: .06em;
}
.infobar__item i { color: var(--gold); margin-right: .5em; }

/* ===== Sections common ===== */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section__en {
  font-family: var(--font-en);
  color: var(--gold);
  letter-spacing: .35em;
  font-size: .85rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .12em;
  margin-top: .3em;
  position: relative;
  display: inline-block;
  padding-bottom: .5em;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section__note {
  margin-top: 1.4em;
  font-size: .85rem;
  color: var(--text-light);
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about__catch {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: .1em;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 1em;
}
.about__text p + p { margin-top: 1em; }
.about__points {
  margin-top: 1.8em;
  display: grid;
  gap: .7em;
}
.about__points li {
  display: flex;
  align-items: center;
  gap: .8em;
  font-weight: 500;
}
.about__points i {
  width: 2.4em; height: 2.4em;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #f1e8d4;
  color: var(--gold-deep);
  font-size: .9rem;
  flex-shrink: 0;
}
.about__img img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ===== Service ===== */
.service { background: var(--white); }
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23,20,15,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.card:hover .card__img img { transform: scale(1.06); }
.card__img--soon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  color: var(--gold);
  font-size: 4rem;
}
.card__soon-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-en);
  font-size: .7rem;
  letter-spacing: .15em;
  padding: .4em 1em;
  border-radius: 999px;
}
.card__body { padding: 1.6em 1.6em 2em; flex: 1; }
.card__icon {
  width: 52px; height: 52px;
  margin-top: -46px;
  margin-bottom: .8em;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(198,161,91,.5);
  position: relative;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: .08em;
  margin-bottom: .6em;
}
.card__title span {
  display: block;
  font-family: var(--font-en);
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--gold-deep);
  margin-top: .2em;
}
.card__body p { font-size: .92rem; }

/* ===== Price ===== */
.price {
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(198,161,91,.16), transparent),
    var(--dark);
  color: #efe9dc;
}
.price .section__title { color: var(--gold-light); }
.price .section__note { color: #a89e8a; }

.price__tabs {
  display: flex;
  justify-content: center;
  gap: .6em;
  margin-bottom: 2.2em;
  flex-wrap: wrap;
}
.price__tab {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: #cfc6b2;
  background: transparent;
  border: 1px solid rgba(198,161,91,.45);
  border-radius: 999px;
  padding: .7em 2em;
  cursor: pointer;
  transition: background .3s, color .3s;
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.price__tab:hover { background: rgba(198,161,91,.15); }
.price__tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

.price__panel { max-width: 720px; margin-inline: auto; }
.price__panel[hidden] { display: none; }

.price__table-wrap { overflow-x: auto; }
.price__table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(198,161,91,.3);
  border-radius: 12px;
  overflow: hidden;
}
.price__table th, .price__table td {
  padding: 1em 1.4em;
  text-align: center;
  border-bottom: 1px solid rgba(198,161,91,.18);
  white-space: nowrap;
}
.price__table th {
  background: rgba(198,161,91,.18);
  color: var(--gold-light);
  font-family: var(--font-serif);
  letter-spacing: .12em;
  font-weight: 600;
}
.price__table td:first-child { text-align: left; }
.price__table td:first-child i { color: var(--gold); margin-right: .5em; }
.price__table td:nth-child(2) { font-size: 1.05rem; }
.price__table td:last-child { color: var(--gold-light); font-weight: 700; font-size: 1.05rem; }
.price__table tbody tr:last-child td { border-bottom: none; }
.price__table tbody tr { transition: background .25s; }
.price__table tbody tr:hover { background: rgba(198,161,91,.08); }

.price__extra {
  max-width: 720px;
  margin: 2em auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4em;
}
.price__box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(198,161,91,.3);
  border-radius: 12px;
  padding: 1.6em 1.8em;
}
.price__box h3 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  letter-spacing: .1em;
  font-size: 1.05rem;
  margin-bottom: .9em;
}
.price__box h3 i { margin-right: .5em; color: var(--gold); }
.price__box ul { display: grid; gap: .5em; }
.price__box li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  border-bottom: 1px dashed rgba(198,161,91,.25);
  padding-bottom: .4em;
  font-size: .92rem;
}
.price__box strong { color: var(--gold-light); font-size: 1.02rem; }
.price__box-note { margin-top: 1em; font-size: .8rem; color: #a89e8a; }

/* ===== Gallery ===== */
.gallery { background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery__item:hover img { transform: scale(1.07); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(10, 8, 5, .92);
  display: grid;
  place-items: center;
  padding: 4vmin;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 26px;
  background: none; border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== CTA ===== */
.cta {
  background:
    linear-gradient(rgba(23,20,15,.82), rgba(23,20,15,.82)),
    url("../img/IMG_8437.JPEG") center / cover fixed;
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
}
.cta__en {
  font-family: var(--font-en);
  color: var(--gold);
  letter-spacing: .35em;
  font-size: .85rem;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: .12em;
  margin: .4em 0 .8em;
}
.cta__text { font-size: .95rem; color: #ddd5c4; }
.cta__buttons {
  margin-top: 2.2em;
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

/* ===== Access ===== */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}
.access__list { display: grid; gap: 1.1em; }
.access__list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1em;
  border-bottom: 1px solid #e4dcc9;
  padding-bottom: 1em;
}
.access__list dt {
  font-weight: 700;
  color: var(--dark);
  font-size: .92rem;
}
.access__list dt i { color: var(--gold-deep); margin-right: .45em; width: 1.2em; }
.access__list dd { font-size: .95rem; }
.access__list a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.access__map {
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #cfc6b2;
  padding: 48px 0 32px;
  text-align: center;
}
.footer__logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: .08em;
  color: var(--gold-light);
}
.footer__logo strong { font-weight: 400; color: #fff; }
.footer__logo i { color: var(--gold); margin-right: .4em; }
.footer__sns {
  margin: 1.4em 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.footer__sns a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid rgba(198,161,91,.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.15rem;
  transition: background .3s, color .3s, transform .3s;
}
.footer__sns a:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}
.footer__copy { font-size: .75rem; letter-spacing: .1em; color: #877e6b; }

/* ===== Floating LINE button (mobile) ===== */
.float-line {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  background: var(--line-green);
  color: #fff;
  display: none;
  align-items: center;
  gap: .5em;
  padding: .9em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(6,199,85,.45);
}
.float-line i { font-size: 1.3em; }

/* ===== To top ===== */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 89;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(198,161,91,.6);
  background: rgba(23,20,15,.85);
  color: var(--gold-light);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateY(10px);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--dark); }

/* ===== Reveal animation =====
   JSが動いている時（html.js）だけ初期非表示にする */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero__title-icon, .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .service__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .about__grid, .access__grid { grid-template-columns: 1fr; }
  .about__img { order: -1; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .price__extra { grid-template-columns: 1fr; }
  .cta { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .header__burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(23, 20, 15, .97);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav__list {
    flex-direction: column;
    gap: 1.8em;
    text-align: center;
  }
  .nav__link { font-size: 1.1rem; }
  body.nav-locked { overflow: hidden; }

  .header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__burger.is-open span:nth-child(2) { opacity: 0; }
  .header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .float-line { display: inline-flex; }
  .to-top { bottom: 84px; }
  .access__list > div { grid-template-columns: 1fr; gap: .2em; }
  .access__map { min-height: 300px; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}
