/* ============================================================
   Pattern 2: Modern Minimal — モダン・ミニマル
   白 × 黒 × テラコッタ / 余白とタイポグラフィで魅せる
   ============================================================ */
:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-soft: #7a7a7a;
  --accent: #c96f4a;
  --line: #e6e2de;
  --font-en: "Montserrat", sans-serif;
  --font-jp: "Zen Kaku Gothic New", sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ---- ヒーロー ---- */
.hero {
  min-height: 100svh;
  padding: 96px 8vw 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__names {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(56px, 16vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__row {
  display: block;
}

.hero__row--amp {
  color: var(--accent);
  padding-left: 0.5em;
}

.hero__photo {
  width: min(58vw, 300px);
  align-self: flex-end;
  margin-top: -8vw;
  box-shadow: 0 30px 60px rgba(20, 20, 20, 0.18);
  z-index: -1;
}

/* ---- 流れる帯 ---- */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 14px 0;
  background: var(--bg);
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 20s linear infinite;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.25em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- セクション共通 ---- */
.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 8vw;
}

.section--wide {
  max-width: none;
}

.section--wide .section__title,
.section--wide .gallery__hint {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.section__title .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.section__title .jp {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
}

/* ---- ご挨拶 ---- */
.greeting__text {
  font-size: 15px;
  color: #333;
}

/* 結語（謹白）は行末に寄せるのが正式 */
.greeting__close {
  display: block;
  text-align: right;
  margin-top: 10px;
}

/* 名義人（差出人）と発送月 */
.greeting__sign {
  margin-top: 26px;
  font-size: 14px;
  text-align: right;
  color: var(--ink);
}

/* ---- カウントダウン ---- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
}

.countdown__cell {
  text-align: center;
  padding: 22px 0 16px;
  border-right: 1px solid var(--ink);
}

.countdown__cell:last-child {
  border-right: 0;
}

.countdown__cell span {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
}

.countdown__cell small {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- ふたりの紹介 ---- */
.profile {
  display: grid;
  gap: 44px;
}

.profile__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
}

.profile__item--rev {
  grid-template-columns: 1fr 120px;
}

.profile__item--rev .profile__photo {
  order: 2;
}

.profile__photo {
  overflow: hidden;
  border-radius: 4px;
}

.profile__photo img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.profile__item:hover .profile__photo img {
  transform: scale(1.06) rotate(-1.5deg);
}

.profile__role {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.profile__name {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.profile__bio {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ---- ギャラリー（横スクロール） ---- */
.gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 8vw 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery__item {
  flex: 0 0 min(68vw, 340px);
  aspect-ratio: 3 / 4; /* 縦横混在の写真をそろえる */
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: 4px;
}

.gallery__item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__hint {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---- 挙式・披露宴 ---- */
.info {
  display: grid;
  margin-bottom: 30px;
}

.info > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info > div:first-child {
  border-top: 1px solid var(--ink);
}

.info dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
}

.info dd {
  font-size: 15px;
}

.info small {
  color: var(--ink-soft);
  font-size: 12px;
}

/* 挙式ご参列のお願い */
.info__note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 18px 0 26px;
  line-height: 2;
}

.info__map {
  margin-bottom: 26px;
  filter: grayscale(1); /* 地図もモノトーンに */
}

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 15px 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--ink);
  color: #fff;
}

.btn--line {
  border-color: #06c755;
  color: #06c755;
}

.btn--line:hover {
  background: #06c755;
  color: #fff;
}

/* ---- 公式LINE ---- */
.line {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
}

.line__qr {
  border: 1px solid var(--line);
}

.line__text {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* ---- フッター ---- */
.footer {
  padding: 96px 8vw 120px;
  border-top: 1px solid var(--ink);
}

.footer__big {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(48px, 13vw, 120px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.footer__note {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* トップへ戻る（常時固定・控えめに） */
.top-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 80;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.top-link:hover,
.top-link:focus-visible {
  opacity: 1;
}

/* ---- モバイル ---- */
@media (max-width: 560px) {
  .profile__item,
  .profile__item--rev {
    grid-template-columns: 96px 1fr;
  }

  .profile__item--rev .profile__photo {
    order: 0;
  }

  .line {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .line__qr {
    width: 130px;
  }
}
