/* B.V.D. 150th MUSEUM（旧 React 版の Tailwind 指定を移植。ブレークポイント sm=640px / md=768px） */
:root {
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'Yu Gothic UI', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  --red: #ec0c0c;
  --red-hover: #d00a0a;
  --label-red: #e60012;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { background: #000; color: #fff; font-family: var(--font-jp); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }

@media (min-width: 768px) {
  .u-sp { display: none; }
}

/* layout */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.page__main { flex: 1; }
.is-home .page__main { overflow-x: hidden; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; max-width: 1080px; height: 4rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) {
  .site-header__inner { height: 3rem; padding: 0 2rem; }
}

.site-footer { padding: 3rem 0; background: #000; }
.site-footer__inner { max-width: 1080px; margin: 0 auto; padding: 0 1rem; }
.site-footer__logo { width: 110px; margin-bottom: 1rem; }
.site-footer p { font-size: .75rem; line-height: 1.333; }
@media (min-width: 768px) {
  .site-footer { padding: 4rem 0; }
  .site-footer__inner { padding: 0 2rem; }
}

/* museum top */
.hero { position: relative; aspect-ratio: 393 / 535; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slides::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
.hero__logo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1rem; }
.hero__logo img { width: 54vw; max-height: 55%; object-fit: contain; }
@media (min-width: 768px) {
  .hero { aspect-ratio: auto; height: min(836px, calc(100svh - 5rem)); }
  .hero__logo img { width: min(378px, 40vw); }
}

.intro { max-width: 540px; margin: 0 auto; padding: 3rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.intro__title { width: 80%; max-width: 469px; margin: 0 auto 1.5rem; }
.intro__title img, .intro__magazine img { width: 100%; }
.intro__magazine { max-width: 341px; margin: 0 auto; }
.intro__text { margin-top: 2rem; font-size: .875rem; line-height: 1.625; text-align: center; }
@media (min-width: 768px) {
  .intro { padding: 4rem 1rem; }
  .intro__text { margin-top: 1rem; }
}

/* museum 下層共通 */
.museum-head { padding-top: 4rem; }
.museum-head img { width: min(36%, 213px); margin: 0 auto; }
.museum-title { padding: 2rem 0; text-align: center; }
.museum-title--compact { padding: 1.5rem 0; }
.museum-title h1 { font-size: 1.5rem; font-weight: 500; line-height: 1.333; }
@media (min-width: 768px) {
  .museum-title { padding: 3rem 0; }
  .museum-title--compact { padding: 2.5rem 0; }
  .museum-title h1 { font-size: 26px; }
}

/* museum1 / 3 / 4 の記事 */
.article { max-width: 572px; margin: 0 auto; padding: 0 1rem 4rem; }
.article__item + .article__item { margin-top: 3rem; }
.article__figure { max-width: 540px; margin: 0 auto; }
.article__figure--narrow { max-width: 393px; }
.article__figure img { width: 100%; }
.article__case { margin: 1rem 0; font-size: 1.5rem; font-weight: 700; line-height: 1.8; }
.article__label { margin: 100px 0 2rem; background: var(--label-red); font-size: 1.5rem; font-weight: 700; line-height: 1.8; text-align: center; }
.article__item:first-child .article__label { margin-top: 0; }
.article__heading { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 700; line-height: 1.8; }
.article__text { margin-top: 1.5rem; font-size: .875rem; line-height: 1.8; }
.article--hall .article__heading, .article--hall .article__text { padding: 0 1rem; }
.article__item--image-only { padding-bottom: 1.5rem; }
@media (min-width: 640px) {
  .article__case, .article__heading, .article__text { padding: 0 1rem; }
}
@media (min-width: 768px) {
  .article--hall .article__item + .article__item { margin-top: 4rem; }
  .article__heading, .article__text { margin-top: 2rem; }
  .article__item--image-only { padding-bottom: 2rem; }
}

/* museum2 のギャラリー */
.gallery { max-width: 572px; margin: 0 auto; padding: 0 1rem 2rem; }
.gallery__section + .gallery__section { margin-top: 2.5rem; }
.gallery__section > * + * { margin-top: 1.5rem; }
.gallery__section--bordered { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.gallery h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.333; }
.gallery p { font-size: .875rem; line-height: 1.8; }
.gallery__figure { max-width: 393px; margin-left: auto; margin-right: auto; }
.gallery__figure--wide { max-width: 494px; }
.gallery__figure img, .gallery__thumb img { width: 100%; object-fit: contain; }
.gallery__row { display: flex; align-items: flex-start; gap: 1rem; }
.gallery__thumb { flex-shrink: 0; width: min(175px, 42%); }
.gallery__thumb--small { width: min(90px, 23%); }
.gallery__row-text { flex: 1; min-width: 0; }
.gallery p.gallery__row-text--small { font-size: .75rem; }
.gallery__row--stack { flex-direction: column; gap: 1.5rem; }
.gallery__row--stack .gallery__thumb { width: 100%; max-width: 222px; margin: 0 auto; }
.gallery__notes > * + * { margin-top: 1rem; }
@media (min-width: 640px) {
  .gallery__row { gap: 2rem; }
  .gallery__thumb { width: 175px; }
  .gallery__thumb--small { width: 156px; }
}
@media (min-width: 768px) {
  .gallery { padding-bottom: 3rem; }
  .gallery__section + .gallery__section { margin-top: 3.5rem; }
  .gallery__section > * + * { margin-top: 2rem; }
  .gallery p.gallery__row-text--small { font-size: .875rem; }
  .gallery__row--stack { flex-direction: row; gap: 2rem; }
  .gallery__row--stack .gallery__thumb { margin: 0; }
  .gallery__row--stack .gallery__row-text { padding-top: .25rem; }
}

/* MUSEUM 1〜4 ナビ */
.museums { padding: 3rem 0; }
.museums__inner { max-width: 572px; margin: 0 auto; padding: 0 1rem; }
.museums__logo { width: 80%; max-width: 352px; margin: 0 auto 4rem; }
.museums__logo img { width: 100%; }
.museums__item + .museums__item { margin-top: 3rem; }
.museums__head { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; min-width: 0; margin-bottom: 1.5rem; }
.museums__name { display: flex; flex: 1; align-items: center; gap: .75rem; min-width: 0; }
.museums__num { flex-shrink: 0; color: var(--red); font-size: 64px; font-weight: 700; line-height: 1; }
.museums__label { display: grid; min-width: 0; }
.museums__label-sub { margin-bottom: 5px; font-size: .875rem; font-weight: 700; line-height: 1; }
.museums__label-main { color: var(--red); font-size: 28px; font-weight: 700; line-height: 1; }
.museums__btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: .5rem; width: min(146px, 50%); margin-bottom: .5rem; padding: .625rem 1rem; border-radius: 9999px; background: var(--red); font-size: 12px; font-weight: 500; line-height: 1; transition: background-color .15s; }
.museums__btn:hover { background: var(--red-hover); }
.museums__btn-arrow { opacity: .95; }
.museums__desc { margin-bottom: 1rem; font-size: .875rem; line-height: 1.625; }
.museums__image { position: relative; max-width: 540px; margin: 0 auto; }
.museums__image > img { width: 100%; }
.museums__extra { margin-top: 1.5rem; }
@media (min-width: 768px) {
  .museums { padding: 5rem 0; }
  .museums__item + .museums__item { margin-top: 4rem; }
  .museums__head { margin-bottom: 2rem; }
  .museums__name { gap: 1rem; }
  .museums__label-main { font-size: 36px; }
  .museums__extra { margin-top: 2rem; }
}

.cta-wrap { display: flex; justify-content: center; }
.cta-wrap--spaced { margin-top: 1.5rem; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-width: 280px; height: 54px; padding: 0 1.5rem; background: var(--red); font-size: 15px; transition: background-color .15s; }
.cta:hover { background: var(--red-hover); }
.bnr-block { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.bnr { display: block; transition: opacity .15s; }
.bnr:hover { opacity: .9; }
.bnr img { width: 100%; }
@media (min-width: 768px) {
  .cta-wrap--spaced { margin-top: 2rem; }
  .cta { min-width: 323px; }
  .bnr-block { margin-top: 2rem; padding-top: 2rem; }
}
