@charset "UTF-8";
/* =========================
   Variables
========================= */
/* 横ガター：766px 超は clamp、765px 以下は必ず min 15px（4vw が小さくても下回らない） */
:root {
  --page-gutter: clamp(15px, 4vw, 48px);
}

@media (max-width: 765px) {
  :root {
    --page-gutter: min(48px, max(15px, 4vw));
  }
}
@media (max-width: 375px) {
  :root {
    --page-gutter: 15px;
  }
}
/* =========================
   Base
========================= */
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #414141;
  line-height: 1.7;
  background: #F5F3F0;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

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

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

main {
  position: relative;
  overflow: hidden;
}

/* =========================
   Background Video
========================= */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 765px) {
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.main-color {
  color: #85CF8F;
}

.green {
  color: #4FB05D;
}

.font-din {
  font-family: "Oswald", sans-serif;
}

/* =========================
   Header
========================= */
header {
  padding-top: 46px;
  padding-bottom: 20px;
  padding-left: max(15px, var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(15px, var(--page-gutter), env(safe-area-inset-right, 0px));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
}
@media (max-width: 765px) {
  header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
header h1 {
  width: 262px;
  height: auto;
}
header .header__logo {
  position: relative;
  z-index: 2;
}
@media (max-width: 765px) {
  header img {
    width: 100%;
    max-width: 140px;
  }
}

/* =========================
   Footer
========================= */
footer {
  background-image: url(/muse/anniversery/assets/img/footer.webp);
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 32px 0px;
  font-size: 12px;
  z-index: 1;
  position: relative;
  overflow: hidden;
}
@media (max-width: 765px) {
  footer {
    padding: 32px 0px 80px;
  }
}
footer .footer__inner {
  max-width: 1200px;
  width: calc(100vw - 50px);
  margin: auto;
}
footer .footer__logo img {
  width: 250px;
}
@media (max-width: 765px) {
  footer .footer__logo img {
    width: 120px;
  }
}

/* 画面全体に広がる背景動画 */
.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  /* 再生開始まで非表示（iOS の再生アイコンが一瞬見えるのを抑止） */
  opacity: 0;
}
.bg-video.bg-video--playing {
  opacity: 1;
}
.bg-video::-webkit-media-controls {
  display: none !important;
}
.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
}
.bg-video::-webkit-media-controls-panel {
  display: none !important;
}
.bg-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}
.bg-video::-webkit-media-controls-play-button {
  display: none !important;
}

/* スクロール時の回転?拡大 */
.bg-video.scrolled {
  transform: translate(-60%, -50%) rotate(-40deg) scale(1.5);
}

/* 前面コンテンツ */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: max(15px, var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(15px, var(--page-gutter), env(safe-area-inset-right, 0px));
}

/* =========================
   Loading
========================= */
body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #f5f3f0;
  opacity: 1;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__count {
  margin: 0;
  color: #a78f45;
  font-family: "paganini", serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
}

.content.history {
  align-items: flex-start;
  text-align: left;
}
.content.history .history-ttl {
  align-self: flex-start;
  margin-left: 0;
  margin-bottom: 48px;
}

.history-timeline {
  position: relative;
  width: 100%;
  padding-left: 0;
}
.history-timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 0;
  left: 188px;
  width: 1px;
  background: #b39a46;
}

.history-item {
  display: grid;
  grid-template-columns: 216px 1fr;
  column-gap: 36px;
  margin-bottom: 160px;
  width: 100%;
}
.history-item:last-child {
  margin-bottom: 0;
}
.history-item__meta {
  position: relative;
  padding-top: 2px;
}
.history-item__year {
  margin: 0;
  color: #b39a46;
  font-size: 62px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-family: "yu-mincho-pr6n", sans-serif;
}
.history-item__dot {
  position: absolute;
  top: 10px;
  right: 21px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #b39a46;
}
.history-item__title {
  margin: 0 0 8px;
  font-family: "yu-mincho-pr6n", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.history-item__title--04 {
  margin: 0 0 30px;
}
.history-item__title--05 {
  font-size: 32px;
  margin: 0 0 38px;
}
.history-item__txt {
  max-width: 610px;
  font-size: 18px;
  font-family: "yu-mincho-pr6n", sans-serif;
  line-height: 2.5;
}
.history-item__ab {
  font-size: 32px;
  color: #A78F45;
}
.history-item__ab--number {
  font-size: 48px;
}
.history-item__sub {
  margin: 0 0 30px;
  font-family: "yu-mincho-pr6n", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.history-item__images {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.history-item__image--large {
  width: 610px;
  max-width: 100%;
}
.history-item__image--poster {
  width: 190px;
  aspect-ratio: 3/4;
}

@media (max-width: 768px) {
  .content.history {
    align-items: center;
    text-align: center;
  }
  .content.history .history-ttl {
    align-self: center;
    margin: 0 auto 36px;
  }
  .history-timeline {
    max-width: 720px;
    margin: 0 auto;
  }
  .history-timeline::before {
    display: none;
  }
  .history-item {
    display: block;
    margin: 0 0 72px;
    text-align: center;
  }
  .history-item:last-child {
    margin-bottom: 0;
  }
  .history-item__meta {
    padding-top: 0;
    margin-bottom: 24px;
  }
  .history-item__year {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .history-item__dot {
    display: none;
  }
  .history-item__body {
    text-align: center;
  }
  .history-item__title {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 12px;
    text-align: center;
  }
  .history-item__title--04 {
    margin: 0 0 20px;
  }
  .history-item__title--05 {
    font-size: 22px;
    margin: 0 0 26px;
  }
  .history-item__sub {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 26px;
    text-align: center;
  }
  .history-item__txt {
    max-width: 100%;
    text-align: left;
    line-height: 2;
    font-size: 16px;
  }
  .history-item__images {
    display: block;
    width: 100%;
    margin: 0;
  }
  .history-item__image--large {
    width: 100%;
    max-width: 100%;
  }
  .history-item__ab {
    font-size: 22px;
  }
  .history-item__ab--number {
    font-size: 32px;
  }
}
