/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --clr-black:  #0d0b09;
  --clr-white:  #faf8f4;
  --clr-cream:  #f3ede3;
  --clr-gold:   #a07840;
  --clr-gold-lt:#c9a06a;
  --clr-text:   #2d2820;
  --clr-muted:  #6b5e4f;

  --font-serif-jp: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --font-serif-en: 'Georgia', 'Times New Roman', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  --transition: 0.65s var(--ease-out);
  --radius: 2px;

  --space-xs: clamp(20px, 3vw, 40px);
  --space-sm: clamp(40px, 6vw, 80px);
  --space-md: clamp(80px, 10vw, 140px);
  --space-lg: clamp(120px, 14vw, 200px);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-serif-jp);
  background: var(--clr-white);
  color: var(--clr-text);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

/* Utility */
.sp-only { display: none; }

.pc-only {
  display: block;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out) var(--delay, 0s),
              transform 0.8s var(--ease-out) var(--delay, 0s);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   SECTION HEADER (shared)
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-sm);
  padding: 0 20px;
}

.label-en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  letter-spacing: 0.35em;
  color: var(--clr-gold);
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(13, 11, 9, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 40px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-nav {
  display: none; /* 常に非表示 */
}

.header-logo img {
  height: 35px;  /* ← お好みで調整 */
  width: auto;
  display: block;
}

.logo-jp {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.2em;
}

.logo-en {
  font-family: var(--font-serif-en);
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.25em;
}


/* header-right（新規追加） */
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-contact {
  border: 1px solid rgba(255,255,255,0.35) !important;
  padding: 8px 10px;
  color: #fff !important;
  transition: background 0.25s, border-color 0.25s !important;
}
.nav-contact:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6) !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #fff;
  transition: transform 0.35s, opacity 0.35s;
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--clr-black);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: #fff; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--clr-black);
}

.hero picture,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-zoom 14s var(--ease-out) forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero-content {
  position: absolute;
  left: clamp(30px, 8%, 120px);
  bottom: clamp(80px, 12%, 140px);
  z-index: 2;
  color: #fff;
  max-width: 600px;
}

.hero-kicker {
  display: block;
  font-family: var(--font-serif-en);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  letter-spacing: 0.4em;
  color: var(--clr-gold-lt);
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.4s forwards;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.65s forwards;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 2;
  letter-spacing:0.1rem;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.85s forwards;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.38);
  padding: 14px 36px;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  transition: background 0.3s, border-color 0.3s;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 1.1s forwards;
}
.hero-button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
}
.hero-button svg {
  transition: transform 0.3s;
}
.hero-button:hover svg { transform: translateY(4px); }

/* Scroll line */
.scroll-line {
  position: absolute;
  bottom: 0;
  left: clamp(30px, 8%, 120px);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: pulse-line 2.5s ease-in-out infinite 2s;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6) translateY(20px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* ============================================
   INTRO
   ============================================ */
.intro {
  padding: var(--space-md) 0;
  background: var(--clr-white);
}

.intro-inner {
  width: min(800px, 88%);
  margin: 0 auto;
  text-align: center;
}

.intro-inner .label-en {
  margin-bottom: 20px;
}

.intro-inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.intro-body {
  display: flex;
  gap: clamp(24px, 6%, 60px);
  justify-content: center;
  text-align: left;
}

.intro-body p {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 2.2;
  color: var(--clr-muted);
  flex: 1;
  max-width: 320px;
}

.intro-image {
  width: min(1100px, 90%);
  margin: 45px auto 0;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out); 
}


.intro-image:hover img {
  transform: scale(1.03); 
}

/* ============================================
   FOUR SEASONS
   ============================================ */
.seasons {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--clr-cream);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1440px, 92%);
  margin: 0 auto;
}

.season-card {
  display: flex;
  flex-direction: column;
}

.season-image {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.season-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.season-card:hover .season-image img {
  transform: scale(1.04);
}

.season-text {
  padding: 20px 0 0;
}
.season-text h3 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.season-text h3 em {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--clr-gold);
  margin-right: 8px;
}
.season-text p {
  font-size: 0.82rem;
  color: var(--clr-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   STORY
   ============================================ */
.story {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--clr-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8%, 100px);
  align-items: center;
  width: min(1300px, 90%);
  margin: 0 auto;
}

.story-image {
  position: relative;
}
.story-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.story-image-label {
  position: absolute;
  bottom: -16px;
  right: -20px;
  background: var(--clr-black);
  color: var(--clr-gold-lt);
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  padding: 10px 18px;
}

.story-content .label-en { text-align: left; }

.story-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.story-content p {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 2.2;
  color: var(--clr-muted);
  margin-bottom: 20px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.story-tags span {
  font-size: 0.72rem;
  border: 1px solid var(--clr-gold);
  color: var(--clr-gold);
  padding: 5px 14px;
  letter-spacing: 0.1em;
}

/* ============================================
   JAPANESE WEDDING
   ============================================ */
.japanese-wedding {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--clr-cream);
}

.jw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: min(1300px, 92%);
  margin: var(--space-sm) auto 0;
}

.jw-block--image {
  overflow: hidden;
}
.jw-block--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
  transition: transform 0.9s var(--ease-out);
}
.jw-block--image:hover img {
  transform: scale(1.03);
}

.jw-block--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8%, 80px);
  background: var(--clr-white);
}

.jw-block--text .label-en { text-align: left; }

.jw-block--text h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.jw-block--text p {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 2.2;
  color: var(--clr-muted);
  margin-bottom: 16px;
}

/* Row 2: swap bg */
.jw-grid .jw-block--text:nth-child(3) {
  background: #faf8f4;
}

/* ============================================
   DRESS WEDDING
   ============================================ */
.dress-wedding {
  background: var(--clr-black);
  padding-bottom: var(--space-md);
}

/* 1段目：全幅画像 */
.dress-hero {
  position: relative;
  padding: 60px 40px 0;
  width: 100%;
  overflow: hidden;
  max-height: 90vh;
}
.dress-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 90vh;
  display: block;
  transition: transform 0.9s var(--ease-out);
}
.dress-hero:hover img { transform: scale(1.02); }

.dress-hero-label {
  position: absolute;
  bottom: 32px;
  left: clamp(30px, 6%, 80px);
  font-family: var(--font-serif-en);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
}

/* 2段目：テキスト＋画像 */
.dress-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6%, 80px);
  width: min(1300px, 90%);
  margin: clamp(60px, 8vw, 100px) auto 0;
}

.dress-lower-text .label-en { text-align: left; color: var(--clr-gold-lt); }

.dress-lower-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  margin: 20px 0 28px;
  letter-spacing: 0.06em;
}

.dress-lower-text p {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 2.2;
  color: rgba(255,255,255,0.62);
  margin-bottom: 16px;
}

.dress-lower-sub {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.dress-lower-sub .label-en { color: var(--clr-gold-lt); }
.dress-lower-sub h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  margin: 16px 0 20px;
  letter-spacing: 0.05em;
}

.dress-lower-image {
  overflow: hidden;
}
.dress-lower-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.dress-lower-image:hover img { transform: scale(1.03); }

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--clr-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
  width: min(1400px, 94%);
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.8s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item--tall img {
  min-height: 540px;
}

/* ============================================
   PLANS
   ============================================ */
.plans {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--clr-cream);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  width: min(1300px, 92%);
  margin: 0 auto;
}

.plan-card {
  background: var(--clr-white);
  padding: clamp(32px, 5%, 52px) clamp(24px, 4%, 40px);
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}
.plan-card:hover {
  border-color: var(--clr-gold);
  background: #fff;
}

.plan-number {
  font-family: var(--font-serif-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--clr-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
}

.plan-card h3 {
  font-family: var(--font-serif-en);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.plan-card p {
  font-size: 0.82rem;
  line-height: 2;
  color: var(--clr-muted);
}

/* ============================================
   WINTER WEDDING
   ============================================ */
.winter-wedding {
  position: relative;
  height: clamp(500px, 80vh, 900px);
  overflow: hidden;
}

.winter-wedding picture,
.winter-wedding img {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background-color: #222;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.winter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 100%
  );
}

.winter-content {
  position: absolute;
  left: clamp(30px, 10%, 120px);
  bottom: clamp(60px, 10%, 100px);
  z-index: 2;
  color: #fff;
}

.winter-content .label-en { color: var(--clr-gold-lt); }

.winter-content h2 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 16px 0 20px;
}

.winter-content p {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: rgba(255,255,255,0.78);
  line-height: 2;
  margin: 0 0 30px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  padding: var(--space-lg) 20px;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.62);
}

.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.contact-inner .label-en { color: var(--clr-gold-lt); }

.contact-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.6;
  margin: 20px 0 24px;
  letter-spacing: 0.05em;
}

.contact-inner p {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 2;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.42);
  padding: 16px 52px;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: #fff;
  transition: background 0.3s, border-color 0.3s;
}
.contact-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-black);
  color: rgba(255,255,255,0.45);
  padding: 48px 40px;
  text-align: center;
}

.footer-name {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-copy small {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {

  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  .season-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jw-grid {
    grid-template-columns: 1fr;
  }
  /* Reorder: image / text / image / text vertically */
  .jw-block--text { min-height: unset; }
  .jw-block--image img { min-height: 340px; }

  .dress-lower {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dress-lower-text .label-en,
  .dress-lower-sub .label-en { text-align: center; }

}

/* ============================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================ */
@media (max-width: 640px) {

  .sp-only { display: inline; }  
	
	.pc-only {
    display: none;
  }

  .header-logo img {
    height: 25px; /* ← 小さくする */
  }
	
  .site-header { padding: 20px 24px; }
  .site-header.scrolled { padding: 14px 24px; }

  .hero h1 { font-size: 2rem; line-height: 1.55; }
  .hero-content { left: 24px; right: 24px; bottom: 80px; }
	
  .hero picture,
  .hero-image {
    object-position: 85% 50%;
  }
	
	
  .intro-body {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .intro-body p {
    max-width: 100%;
  }
	
  .intro-image {
    width: 100%;
    margin: 35px 0 0;
  }

  .season-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .season-image { aspect-ratio: 3/2; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-image-label { right: 0; bottom: -12px; }

  .jw-block--image img { min-height: 260px; }
  .jw-block--text { padding: 32px 24px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    grid-auto-rows: 280px;
  }
  .gallery-item--tall {
    grid-row: span 2; /* span 1 → span 2 に戻す */
  }
  .gallery-item--tall img {
    min-height: 560px; /* 280px × 2 */
  }
	.winter-wedding picture,
.winter-wedding img {
  object-fit: cover;
  object-position: 85%;
}

/* 1段目：全幅画像 */
.dress-hero {
  position: relative;
  padding: 40px 20px;
  width: 100%;
}
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer { padding: 40px 24px; }

}
