/* bmk wedding films — TOP（新デザイン） */

:root {
  --ink: #2A2A28;
  --sub: #6E6B66;
  --line: #E2DFDA;
  --ground: #FFFFFF;
  --ground-2: #F3F2EF;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --en: 'Jost', sans-serif;
  --ja: 'Zen Kaku Gothic New', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ja);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--sub); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.wrap--narrow { max-width: 880px; }

/* ---------- loader（初回のみ） ---------- */
.loader { display: none; }
.is-loading .loader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ground);
  align-items: center;
  justify-content: center;
  transition: opacity .9s ease, visibility .9s ease;
}
.is-loading body { overflow: hidden; }
.loader__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn .9s ease .2s forwards;
}
.loader__mark img { width: 120px; height: auto; }
.loader__mark span {
  font-family: var(--en);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .4em;
  padding-left: .4em;
  color: var(--sub);
}
.loader.is-out { opacity: 0; visibility: hidden; }

@keyframes fadeIn { to { opacity: 1; } }

/* ---------- header ---------- */
.head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease;
}
.head__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFFFFF; }
.head__logo img { width: 88px; height: auto; filter: brightness(0) invert(1); transition: filter .5s ease; }
.head__logo span { font-family: var(--en); font-weight: 300; font-size: 11px; letter-spacing: .3em; }
.head__nav { display: flex; gap: 36px; }
.head__nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .18em;
  padding: 12px 0;
  transition: color .5s ease, opacity .3s ease;
}
.head__nav a:hover { opacity: .65; }
.head.is-scrolled { background: rgba(255, 255, 255, .94); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.head.is-scrolled .head__logo,
.head.is-scrolled .head__nav a { color: var(--ink); }
.head.is-scrolled .head__logo img { filter: none; }

.js .head { opacity: 0; }
.is-ready .head { animation: fadeIn 1.2s ease 1.4s forwards; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #3C3A37;
}
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.js .hero__media { transform: scale(1.15); }
.is-ready .hero__media { animation: zoomOut 2.6s var(--ease) forwards; }
@keyframes zoomOut { from { transform: scale(1.15); } to { transform: scale(1); } }

.hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  color: #FFFFFF;
  text-align: center;
}
.hero__sub { margin: 0; font-family: var(--en); font-weight: 300; font-size: 12px; letter-spacing: .4em; padding-left: .4em; }
.hero__catch { margin: 0; font-weight: 400; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: .14em; line-height: 1.7; padding-left: .14em; }
.hero__area { margin: 0; font-size: 13px; letter-spacing: .24em; padding-left: .24em; }

.js .rise { opacity: 0; transform: translateY(20px); }
.is-ready .rise { animation: rise 1.3s var(--ease) calc(1s + var(--d, 0s)) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .3em;
  padding: 8px 0 0 .3em;
}
.hero__scroll:hover { color: #FFFFFF; }
.hero__scroll i { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -48px;
  width: 1px; height: 48px;
  background: #FFFFFF;
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip { to { top: 48px; } }

/* ---------- section ---------- */
.sec { padding: 140px 0; }
.sec--tight { padding-top: 40px; }
.sec__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 64px; }
.sec__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.sec__head--row > div { display: flex; flex-direction: column; gap: 12px; }
.sec__en { margin: 0; font-family: var(--en); font-weight: 300; font-size: 32px; letter-spacing: .04em; line-height: 1; }
.sec__ja { margin: 0; font-size: 13px; letter-spacing: .2em; color: var(--sub); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: center; }
.about__text .sec__head { margin-bottom: 36px; }
.about__lead { margin: 0 0 28px; font-size: 15px; line-height: 2.3; letter-spacing: .06em; }
.about__body { margin: 0; font-size: 13px; line-height: 2.1; letter-spacing: .04em; color: var(--sub); }
.about__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ground-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--low { margin-top: 64px; }

/* ---------- voice ---------- */
.voice__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.vcard { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink); }
.vcard:hover { color: var(--ink); }
.vcard__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ground-2); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.04); }
.vcard__title { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }
.vcard__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .2em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.more:hover { border-color: var(--sub); }

/* ---------- works ---------- */
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.work { aspect-ratio: 16 / 9; background: #4A4743; }
.work iframe { width: 100%; height: 100%; border: 0; }

/* ---------- faq ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 4px;
  font-size: 15px;
  letter-spacing: .04em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus { font-family: var(--en); font-weight: 300; font-size: 22px; line-height: 1; transition: transform .4s ease; }
.faq__list details[open] .faq__plus { transform: rotate(45deg); }
.faq__list p { margin: 0; padding: 0 4px 28px; font-size: 14px; line-height: 2; color: var(--sub); }

/* ---------- contact ---------- */
.contact { background: var(--ground-2); text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.contact__text { margin: 0; font-size: 14px; line-height: 2.1; letter-spacing: .06em; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 44px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .12em;
  transition: background .3s ease;
}
.cta:hover { color: #FFFFFF; background: #4A4844; }

/* ---------- footer ---------- */
.foot { padding-top: 48px; padding-bottom: 48px; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: 12px; color: var(--sub); }
.foot__name { font-family: var(--en); letter-spacing: .2em; color: var(--ink); }
.foot__links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot__links a { color: var(--sub); text-decoration: none; font-family: var(--en); letter-spacing: .08em; padding: 12px 0; }
.foot__copy { margin: 0; font-family: var(--en); }

/* ---------- スマホ固定DMボタン ---------- */
.dm-float { display: none; }

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .head { padding: 16px 20px; }
  .head.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
  .head__nav { display: none; }
  .head__logo img { width: 72px; }

  .sec { padding: 88px 0; }
  .sec--tight { padding-top: 24px; }
  .sec__head { margin-bottom: 40px; }
  .sec__en { font-size: 26px; }

  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about__photo--low { margin-top: 40px; }

  .voice__row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 16px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .voice__row::-webkit-scrollbar { display: none; }
  .vcard { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; gap: 14px; }
  .vcard__title { font-size: 14px; }

  .works__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .foot { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }

  .dm-float {
    display: flex;
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 40;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .1em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
  }
  .dm-float:hover { color: #FFFFFF; }
  .dm-float.is-show { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- 動きを減らす設定の人には演出なし ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none !important; }
  .js .head, .js .rise, .js .reveal, .js .hero__media {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero__scroll i::after { animation: none; }
}
