@charset "UTF-8";

/* ============================================
   Wedding Party Invitation — 2026 Renewal
   White × Champagne Gold / Glassmorphism
   ============================================ */

:root {
  --white: #fdfcfa;
  --ivory: #f7f3ec;
  --ink: #3a352e;
  --ink-soft: #6b6459;
  --gold: #b3945a;
  --gold-light: #d9c294;
  --gold-pale: #efe6d3;
  --serif-en: 'Cormorant Garamond', serif;
  --serif-ja: 'Noto Serif JP', serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Reset (minimal) ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
fieldset { border: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif-ja);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 2;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.sp { display: none; }

/* ---- Layout ---- */
.inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.inner.narrow { max-width: 720px; }

.section { padding-block: clamp(80px, 12vw, 150px); }

/* ---- Header / Nav (glass) ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 48px);
  color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}

.site-header.is-scrolled {
  padding-block: 10px;
  color: var(--ink);
  background: rgba(253, 252, 250, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(179, 148, 90, .18);
}

.site-header nav ul {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}

.site-header nav a {
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.site-header nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.site-header nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 20px !important;
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---- 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: url("../img/hero.jpg") center/cover no-repeat;
  animation: heroZoom 14s var(--ease) forwards;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(30, 26, 20, .45), rgba(30, 26, 20, .25) 45%, rgba(30, 26, 20, .6));
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-inner { position: relative; z-index: 1; padding-inline: 20px; }

.hero-eyebrow {
  font-family: var(--serif-en);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(40px, 7.5vw, 88px);
  line-height: 1.15;
  letter-spacing: .06em;
  margin-bottom: 28px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

.hero-date {
  font-family: var(--serif-en);
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .3em;
  margin-bottom: 48px;
}
.hero-date span { color: var(--gold-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--serif-ja);
  font-size: 15px;
  letter-spacing: .2em;
  padding: 16px 48px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn-gold {
  color: #fff;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  background-size: 200% auto;
  box-shadow: 0 8px 24px rgba(179, 148, 90, .35);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(179, 148, 90, .45);
}
.btn-wide { width: 100%; font-family: var(--serif-en); font-size: 18px; letter-spacing: .35em; }

/* ---- Scroll cue ---- */
.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  translate: -50% 0;
  z-index: 1;
  width: 1px; height: 64px;
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* ---- Section titles ---- */
.sec-title {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.sec-title .en {
  display: block;
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: .12em;
  line-height: 1.2;
}
.sec-title .ja {
  display: block;
  font-size: 13px;
  letter-spacing: .4em;
  color: var(--gold);
  margin-top: 12px;
}
.sec-title .ja::before {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--gold-light);
  margin: 0 auto 14px;
}
.sec-title.on-photo { color: #fff; }
.sec-title.on-photo .ja { color: var(--gold-light); }

/* ---- Message ---- */
.msg-sec { background: var(--white); }

.msg-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.msg-photo {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 24px 24px 0 var(--gold-pale);
}
.msg-photo img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.msg-photo:hover img { transform: scale(1.04); }

.msg-body p { margin-bottom: 2em; }
.msg-body p:last-child { margin-bottom: 0; }

/* ---- Save the Date (parallax + glass) ---- */
.date-sec {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(120px, 18vw, 220px);
}

.date-bg {
  position: absolute;
  inset: 0;
  background: url("../../wedding/img/table-gf2911143d_1920.png") center/cover no-repeat fixed;
}
.date-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 34, 24, .45);
}

.date-sec .inner { position: relative; z-index: 1; }

.glass-card {
  display: inline-block;
  padding: clamp(36px, 6vw, 64px) clamp(32px, 8vw, 96px);
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  color: #fff;
}

.date-main {
  font-family: var(--serif-en);
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.1;
}
.date-main .dot { color: var(--gold-light); }

.date-sub {
  font-family: var(--serif-en);
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: .28em;
  margin-top: 18px;
}
.date-sub .sep { margin-inline: 14px; color: var(--gold-light); }

/* ---- Access ---- */
.access-sec { background: var(--ivory); }

.access-card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gold-pale);
  border-radius: 8px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 64px);
  box-shadow: 0 16px 48px rgba(179, 148, 90, .12);
  position: relative;
}
.access-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-light);
  border-radius: 5px;
  pointer-events: none;
  opacity: .5;
}

.venue-name {
  font-family: var(--serif-en);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.venue-name::after {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

.venue-add { margin-bottom: 12px; }
.venue-note { font-size: 13px; color: var(--ink-soft); }

/* ---- RSVP ---- */
.form-sec { background: var(--white); }

.form-lead {
  text-align: center;
  margin: -24px 0 48px;
  color: var(--ink-soft);
}

.rsvp-form {
  background: rgba(247, 243, 236, .6);
  border: 1px solid var(--gold-pale);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 出欠 大型セレクタ */
.attend-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 20px 8px;
  border: 1px solid var(--gold-light);
  border-radius: 6px;
  background: #fff;
  font-size: 17px;
  letter-spacing: .15em;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.choice small {
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.choice input:checked + span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(179, 148, 90, .35);
}
.choice input:checked + span small { color: rgba(255, 255, 255, .85); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* テキスト入力 */
.field { margin-bottom: 28px; }
.field label {
  display: block;
  font-size: 14px;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--gold);
  border-radius: 3px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--gold-pale);
  border-radius: 6px;
  background: #fff;
  padding: 13px 16px;
  transition: border-color .3s, box-shadow .3s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 148, 90, .15);
}
textarea { resize: vertical; }
::placeholder { color: #b9b2a6; }

/* アレルギー チップ */
.allergy { margin-bottom: 28px; }
.allergy legend {
  font-size: 14px;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.submit-wrap { margin-top: 36px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 48px 20px 32px;
}
.site-footer small { font-size: 12px; letter-spacing: .2em; color: rgba(247, 243, 236, .6); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   Mobile
   ============================================ */
@media screen and (max-width: 768px) {
  .sp { display: inline; }

  .site-header { padding: 14px 20px; }
  .site-header nav a { font-size: 12px; letter-spacing: .14em; }
  .site-header nav ul { gap: 14px; }
  .nav-cta { padding: 4px 14px !important; }

  .hero-title { letter-spacing: .03em; }

  .msg-grid { grid-template-columns: 1fr; }

  .msg-photo { box-shadow: 12px 12px 0 var(--gold-pale); margin-right: 12px; }

  .msg-body { text-align: center; }

  /* iOS: fixed背景が効かないため通常スクロールに */
  .date-bg { background-attachment: scroll; }

  .glass-card { display: block; }
  .date-sub .sep { margin-inline: 8px; }

  .attend-choice { grid-template-columns: 1fr; }
}
