@charset "utf-8";
/* =============================================================

  General CSS

============================================================= */

/* -------------------------------

  Common
  
------------------------------- */

html {
  font-family: sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 3rem;
}

html, body {
  min-height: 100vh;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

body#top { padding-top: 0; }

main {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

main > section {
  box-sizing: content-box;
  max-width: calc(1140px + 1rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

ul.top-navi {
  margin: 0;
  padding: 2rem;
  background-color: #000000;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  font-size: 0.9375em;
}

ul.top-navi > li > a {
  display: inline-block;
  text-decoration: none;
  color: #FFFFFF;
  padding: 0 1.2rem;
}

ul.top-navi > li {
  position: relative;
}

ul.top-navi > li::before {
  content: '｜';
  position: absolute;
  top: 0;
  left: -0.5rem;
  color: #ffffff80;
}
ul.top-navi > li:last-child::after {
  content: '｜';
  position: absolute;
  top: 0;
  right: -0.5rem;
  color: #ffffff80; 
}

section > h2.title-border {
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  text-align: center;
  font-size: clamp(1.125rem, 0.8996rem + 0.8427vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 4rem;
}

section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

section > h2.title-border::before,
section > h2.title-border::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: 2px;
  background-color: currentColor;
  transform: translateY(calc(-0.5cap + 1px));
  margin-left: 0.2em;
  margin-right: 0.2em;
}

p { line-height: 1.5; }

.copy-right {
  font-size: 0.75rem;
  vertical-align: middle;
}
.copy-right::before {
  content: '\00a9';
  font-fmaily: sans-serif;
  padding-right: 0.1rem;
  font-size: 1.5em;
  vertical-align: middle;
}

button.nav-toggle,
button.external-btn,
[role="tablist"] > button {
  font-family: inherit;
  overflow: visible;
  text-transform: none;
  text-align: center;
  font-size: clamp(0.875rem, 0.7999rem + 0.2809vw, 1rem);
  line-height: 1;
  font-weight: 700;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  white-space: nowrap;
}

a:hover {
  opacity: .7;
}

#pageTop {
  position: fixed;
  bottom: 2rem;
  right: clamp(1.25rem, -2.32rem + 13.6vw, 14rem);
  font-size: 14px;
  line-height: 1;
  z-index: 8;
}
#pageTop a {
  display: block;
  background: #DD004B;
  border: solid 0.5px #ffffff80;
  text-decoration: none;
  color: #fff;
  width: clamp(3rem, 2.2708rem + 2.7778vw, 4.25rem);
  height: clamp(3rem, 2.2708rem + 2.7778vw, 4.25rem);
  aspect-ratio: 1;
  text-align: center;
  border-radius: 50%;
  background-image: url('/50th/assets/img/arrow-up.svg');
  background-size: 54%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 0s ease 1s;
}
#pageTop a:hover {
  text-decoration: none;
  opacity: .5;
}
#pageTop a.show {
  transition-delay: 0s;
  opacity: 1;
  visibility: visible;
}

#pageTop.fixed {
  position: absolute;
  top: -6rem;
  bottom: auto;
  width: auto;
  height: auto;
}

:focus:not(:fous-visible) {
  outline: none;
}

sup {
  font-size: 0.6em;
}

@font-face {
  font-family: "Futura";
  src: url("/50th/assets/font/futura.woff") format('woff'),
       url("/50th/assets/font/futura.ttf") format("truetype");
}

/* -------------------------------

  Header
  
------------------------------- */
body > header {
  width: 100%;
  background-color: #DD004B;
  height: 4rem;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: clamp(1.25rem, -2.3629rem + 7.5269vw, 3rem);
  padding-right: clamp(1.25rem, -2.3629rem + 7.5269vw, 3rem);
}

@media screen and (max-width: 468px) {
  body > header {
    position: fixed;
    top: 0;
    z-index: 10;
  }
}

body#top > header {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
}

body > header .top-logo {
  transition: all 300ms linear;
}

body.menu-open > header .top-logo {
  position: fixed;
  top: 0.8rem;
  left: clamp(1.25rem, -2.3629rem + 7.5269vw, 3rem);
  z-index: 6;
}

body > header .top-logo a:hover {
  opacity: 1;
}

body > header .top-logo img {
  width: clamp(8.5rem, 6.8958rem + 6.1111vw, 11.25rem);
  height: auto;
  position: relative;
  z-index: 6;
  padding-top: 1px;
}

body#top > header .top-logo img {
  display: none;
}

body#top.menu-open > header .top-logo img {
  display: block;
  position: fixed;
}

body > header a {
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}

body > header a.official-site-link {
  display: block;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.6875rem, 0.5052rem + 0.6944vw, 1rem);
  opacity: .8;
  text-align: right;
  line-height: 1;
}

body > header a.official-site-link::before {
  display: inline-block;
  content: '';
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: #FFFFFF;
}

body > header a.official-site-link:hover {
  opacity: 0.5
}

nav[aria-label="グローバル　メニュー"] {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  background-color: #DD004B;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 80px 1.25rem 1rem 1.25rem;
  z-index: 5;
  overflow-y: auto;
  transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
}

nav[aria-label="グローバル　メニュー"] > ul {
  max-width: 1140px;
  margin: clamp(0rem, -2.9167rem + 11.1111vw, 5rem) auto 2rem;
}

nav[aria-label="グローバル　メニュー"] > ul > li {
  border-bottom: solid 1px #FFFFFF;
}

nav[aria-label="グローバル　メニュー"] > ul > li > a {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 1em;
  row-gap: 0.5em;
  padding-top: 1em;
  padding-bottom: 1em;
  font-size: clamp(1.5rem, 1.0917rem + 1.5556vw, 2.2rem);
}

nav[aria-label="グローバル　メニュー"] > ul > li > a > span:last-child {
  font-weight: 300;
  font-size: 0.6em;
  font-weight: 700;
  opacity: .8;
}

@media screen and (max-width: 768px) {
  nav[aria-label="グローバル　メニュー"] > ul > li > a > span:last-child {
    width: 100%;
    font-weight: 300;
  }
}

body.menu-open nav[aria-label="グローバル　メニュー"] {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

/* burger menu */
body > header .nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 38px;
  width: 48px;
  border-radius: 0.3rem;
  background-color: #DD004B;
  padding: 10px 8px;
  z-index: 6;
  transition: height 100ms ease-in;
}

body.menu-open .nav-toggle {
  height: 52px;
  background-color: transparent;
}

body > header .nav-toggle .bar {
  height: 2px;
  width: 100%;
  border-radius: 1.2px;
  background-color: #FFFFFF;
  transition: all 100ms ease-in-out;
}

body > header .nav-toggle:hover {
  cursor: pointer;
}

body > header .x:nth-of-type(1) {
  transition: all 100ms ease-in-out;
  transform: rotate(45deg);
  transform-origin: top left;
  width: 45.255px;
}

body > header .x:nth-of-type(2) {
  transition: all 100ms ease-in-out;
  transform-origin: center;
  background-color: transparent;
}

body > header .x:nth-of-type(3) {
  transition: all 100ms ease-in-out;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  width: 45.255px;
}

body > header .nav-wrapper {
  position: fixed;
  top: 0.8125rem;
  right: clamp(1.25rem, -2.3629rem + 7.5269vw, 3rem);
  z-index: 8;
}

@media screen and (max-width: 678px) {
  top: 1.25rem;
}

/* -------------------------------

  Breadcrumb List
  
------------------------------- */

nav[aria-label="サイト内ナビゲーション"] {
  padding: 1.1875rem clamp(1rem, 0.0196rem + 4.183vw, 3rem);
  font-size: clamp(0.75rem, 0.6749rem + 0.2809vw, 0.875rem);
}

nav[aria-label="サイト内ナビゲーション"] a {
  color: #DD004B;
  text-decoration: none;
}

nav[aria-label="サイト内ナビゲーション"] > ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

nav[aria-label="サイト内ナビゲーション"] > ol > li {
  line-height: 1.5;
  padding-right: 0.6em;
}

nav[aria-label="サイト内ナビゲーション"] > ol > li::after {
  content: '／';
  padding-left: 0.6em;
}

nav[aria-label="サイト内ナビゲーション"] > ol > li:last-child::after {
  content: '';
  display: none;
}


/* -------------------------------

  Heading
  
------------------------------- */

h1[data-title-ja] {
  position: relative;
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  font-size: clamp(2.25rem, 1.3483rem + 3.3708vw, 3.75rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: clamp(3rem, -0.2813rem + 12.5vw, 8.625rem);
}

h1[data-title-ja]::after {
  content: attr(data-title-ja);
  position: absolute;
  bottom: calc(-1em + -0.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1.375rem, 0.9993rem + 1.4045vw, 2rem);
  word-break: keep-all;
  white-space: nowrap;
}

p.lead {
  font-size: clamp(0.875rem, 0.7247rem + 0.5618vw, 1.125rem);
  text-align: center;
  font-weight: 700;
}

/* -------------------------------

  Footer
  
------------------------------- */

body > footer {
  color: #FFFFFF;
  background-color: #333333;
  position: sticky;
  top: 100vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

body > footer .owner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: clamp(1.375rem, 1.2292rem + 0.5556vw, 1.625rem);
}

body > footer .owner p {
  position: relative;
  font-size: clamp(1rem, 0.7813rem + 0.8333vw, 1.375rem);
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  border-bottom: solid 1px currentColor;
  line-height: 1;
  padding-bottom: 0.2em;
  margin-bottom: 1.3em;
}

body > footer .owner p::after {
  content: attr(data-title-en);
  position: absolute;
  bottom: -1.5em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.636em;
  white-space: nowrap;
}

body > footer .owner img[src$="footer-logo.svg"] {
  width: clamp(21.25rem, 18.4063rem + 10.8333vw, 26.125rem);
  height: auto;
}


/* -------------------------------

  Top
  
------------------------------- */

.top-lead {
  background-color: #E60040;
  color: #FFFFFF;
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  text-align: center;
  padding-top: clamp(1.375rem, -0.1563rem + 5.8333vw, 4rem);
  padding-bottom: clamp(2.625rem, 1.8229rem + 3.0556vw, 4rem);
  padding-left: 1em;
  padding-right: 1em;
}

.top-lead > p { 
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.top-lead > p:first-child {
/*font-size: clamp(1.375rem, 1.3021rem + 0.2778vw, 1.5rem);*/
font-size: clamp(1.125rem, 0.6875rem + 1.6667vw, 1.875rem);
  margin-bottom: clamp(1.5rem, 1.2813rem + 0.8333vw, 1.875rem);
}

.top-lead > p:last-child {
  font-size: clamp(1rem, 0.8542rem + 0.5556vw, 1.25rem);
}

.top-lead + main {
  padding-top: 0;
}

.top-lead + main section {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1140px;
}

.top-lead + main section > h1 {
  position: relative;
  text-align: center;
  font-size: clamp(1.5rem, 0.1875rem + 5vw, 3.75rem);
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  margin-bottom: clamp(3rem, 1.8333rem + 4.4444vw, 5rem);
  line-height: 1.2;
  z-index: 1;
}
.top-lead + main section > h1 > span {
  position: absolute;
  bottom: -1.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1.125rem, 0.9063rem + 0.8333vw, 1.5rem);
  font-weight: 300;
  white-space: nowrap;
}
.top-lead + main .bg-wrapper {
  background-image: url("/50th/assets/img/top-bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  width: 100%;
}

@media screen and (min-width: 1421px) {
  .top-lead + main .bg-wrapper {
    background-size: auto 1000px;
  }
}

@media screen and (max-width: 1120px) {
  .top-lead + main .bg-wrapper {
    background-size: auto 800px;
  }
}

#news ol {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

#news li {
  display: flex;
  align-items: flex-start;
  gap: 1rem 1.75rem;
  font-size: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: solid 1px #C7C7C7;
}

@media screen and (max-width: 468px) {
  #news li {
    flex-direction: column;
  }
}

#news li > time {
  white-space: nowrap;
  width: fit-content;
  line-height: 1.7;
}

#news li > p {
  word-break: break-all;
  line-height: 1.7;
}

#news li > p > a {
  color: #000000;
  text-decoration: none;
}

section#concert > h1 > span {
  bottom: -1.6em;
}


section#concert > h1 + div {
  margin-bottom: 4rem;
}

section#concert > h1 + div > div {
  flex-basis: clamp(28rem, 22.9074rem + 17.4107vw, 35.3125rem);
}

section#concert > h1 + div img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  section#concert > .card-container {
    flex-direction: column;
    margin-bottom: 0;
    gap: 0;
  }
  
  section#concert > .card-container > div {
    flex-basis: auto;
    margin-bottom: 3rem;
  }
  
  section#concert > .card-container p {
    width: 100%;
  }
}

section#goods > h1 > span {
  bottom: -1.6em;
}

section#goods .grid-item > .hidden-link {
  display: inline-block;
  width: 100%;
  height: 65px;
  position: absolute;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
}


/* -------------------------------

  History
  
------------------------------- */

h1[data-title-ja="東京シティ・フィル50年のあゆみ"] {
  margin-bottom: 4rem;
}

h1[data-title-ja="東京シティ・フィル50年のあゆみ"] + p {
  margin-bottom: 3rem;
}

nav[aria-label="ページ内ナビゲーション"] {
  margin-bottom: 4rem;
}

nav[aria-label="ページ内ナビゲーション"].history-nav {
  position: sticky;
  top: 0.4rem;
  z-index: 4;
}

@media screen and (max-width: 1536px) {
  nav[aria-label="ページ内ナビゲーション"].history-nav {
    max-width: calc(100% - 1vw);
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1336px) {
  nav[aria-label="ページ内ナビゲーション"].history-nav {
    max-width: calc(100% - 3rem * 2 - 5vw);
  }
  
  nav[aria-label="ページ内ナビゲーション"] > ol > li::after {
    content: '';
    width: 2px;
    height: 1.2rem;
    background-color: #FFFFFF;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(1px);
    z-index: 2;
    pointer-events: none;
  }
  nav[aria-label="ページ内ナビゲーション"] > ol > li:last-child::after {
    content: none;
  }
  
}

nav[aria-label="ページ内ナビゲーション"] > ol {
  text-align: center;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

nav[aria-label="ページ内ナビゲーション"] > ol > li {
  flex-basis: 180px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.16);
  position: relative;
}

@media screen and (max-width: 1136px) {
  nav[aria-label="ページ内ナビゲーション"].history-nav {
    top: 0.8rem;
  }
  
  nav[aria-label="ページ内ナビゲーション"] > ol > li a {
    line-height: 2.375rem;
  }
}

nav[aria-label="ページ内ナビゲーション"] a {
  display: inline-block;
  width: 100%;
  display: inline-block;
  color: #FFFFFF;
  background-color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.75rem, 0.5997rem + 0.5618vw, 1rem);
  line-height: calc((1.125rem * 2) + 1em);
  white-space: nowrap;
  text-align: center;
}

@media screen and (max-width: 468px) {
  body { padding-top: 4rem; }

  nav[aria-label="ページ内ナビゲーション"].history-nav {
    max-width: 100vw;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    top: 4rem
  }
  
  nav[aria-label="ページ内ナビゲーション"] > ol > li {
    flex-basis: calc(50% - 0.4em);
  }
  
  nav[aria-label="ページ内ナビゲーション"] > ol > li + li::before {
    content: none;
  }
  
  nav[aria-label="ページ内ナビゲーション"] a { line-height: 3; }
}



nav[aria-label="ページ内ナビゲーション"] a:hover {
  background-color: #DD004B;
  transition: 500ms background-color;
  opacity: inherit;
}

main#history {
  padding-left: max(1.25rem, (50% - 570px));
  padding-right: max(1.25rem, (50% - 570px));
}

.history-area {
  position: relative;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .history-area #load-path {
    stroke-width: 1rem;
  }
}

.history-area section {
  padding: 0;
  margin-bottom: 8.75rem;
}

.history-area section > h2 {
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  line-height: 1.4;
  font-size: clamp(1.375rem, 1.0104rem + 1.3889vw, 2rem);
  margin-bottom: clamp(3rem, 1.8333rem + 4.4444vw, 5rem);
}

.history-area section > h2 > span {
  font-size: clamp(1.25rem, 0.8125rem + 1.6667vw, 2rem);
  text-shadow:
    0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF, 0 0 3px #FFFFFF;
}

.history-area section .balloon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.875rem;
  color: #FFFFFF;
  width: min-content;
  background: #dd004b;
  border-radius: 4px;
}

.history-area section .balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border: 6px solid transparent;
  border-top: 10px solid #dd004b;
}

.history-area section .balloon > span {
  font-family: "Futura", sans-serif;
  display: inline-block;
  font-size: clamp(1.75rem, 1.4583rem + 1.1111vw, 2.25rem);
  margin-left: 0.4em;
  margin-right: 0.4em;
  padding: 0;
  letter-spacing: 0.05em;
  line-height: 1;
  padding-top: 0.3em;
  padding-bottom: 0.05em;
}

.history-area section > h2 > img {
  width: clamp(17.375rem, 11.9063rem + 20.8333vw, 26.75rem);
}

.history-area .img-caption {
  position: absolute;
  bottom: -1rem;
}

.history-area article.col-left .img-caption {
  left: 0;
}

.history-area article.col-right .img-caption {
  right: 0;
}

.history-area section > article {
  display: flex;
  gap: clamp(1rem, -0.1642rem + 4.9673vw, 3.375rem);
  padding-left: 1rem;
  padding-right: 1rem;
}

.history-area section > article.col-wide img {
  width: 100%;
  max-width: 924px;
}

.history-area section > article + article {
  margin-top: 6.25rem;
}

@media screen and (max-width: 768px) {
  .history-area section > article {
    flex-wrap: wrap;
  }
}

.history-area section > article.col-right picture::before,
.history-area section > article.col-left picture::before {
  display: block;
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  background-color: #DD004B;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.history-area section > article div.sample-bg picture::before {
  width: calc(50vw - 2rem - (clamp(1rem, -0.1642rem + 4.9673vw, 3.375rem) / 2) - (var(--scrollbar-width, 15px) / 2))
}
@media screen and (max-width: 768px) {
  .history-area section > article div.sample-bg picture::before {
    width: calc((100vw - var(--scrollbar-width, 15px) - 100%) / 2 + 100% - 2rem);
  }
}
.history-area section > article.col-left picture::before {
  background-color: #E3E3E3;
  left: unset;
  right: 2rem;
}

.history-area section > article.col-left {
  flex-direction: row-reverse;
}

.history-area section > article.col-right div:last-child {
  margin-left: auto;
}

.history-area section > article.col-left div:last-child {
  margin-right: auto;
}

.history-area section > article.col-wide div:last-child {
  margin-left: auto;
  margin-right: auto;
}

.history-area section > article picture + small {
  display: inline-block;
  padding-left: 0.5rem;
  padding-top: 0.3rem;
  white-space: nowrap;
}

.history-area section > article.col-right picture + small {
  color: #FFFFFF;
  text-align: right;
  padding-top: 0.3rem;
  padding-left: 2.5rem;
  padding-right: 0.5rem;
  white-space: nowrap;
}

.history-area section > article > div:first-child {
  display: flex;
  flex-direction: column;
  flex-basis: 50%;
  line-height: 1.5;
}

.history-area section > article > div + div {
  flex-basis: 50%;
}

.history-area section > article.col-wide {
  flex-direction: column;
}

.history-area section > article.col-wide div:last-child {
  width: 90%;
}

@media screen and (max-width: 768px) {
  .history-area section > article > div:first-child {
    flex-basis: 100%;
  }
  
  .history-area section > article > div + div {
    flex-basis: 100%;
  }
  
  .history-area section > article picture {
    margin-left: auto;
    margin-right: auto;
  }
  
  .history-area section > article picture + scenter {
    display: flex;
    justify-content: center
  }
  
  .history-area section > article.col-wide div:last-child {
    width: 100%;
  }
}

.history-area section > article h3 {
  line-height: 1.5;
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","MS PMincho";
  font-size: clamp(1.125rem, 0.9063rem + 0.8333vw, 1.5rem);
}

.history-area section > article p {
  font-size: 1rem;
  padding-top: 1em;
  padding-bottom: 0.5em;
  line-height: 2;
}

.history-area section > article h3,
.history-area section > article p {
text-shadow:0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF,0 0 3px #FFFFFF;
}

.history-area section > article img {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 418px;
  object-fit: cover;
}

.history-area section > article picture {
  position: relative;
  display: block;
  width: fit-content;
  margin-bottom: calc((1rem - 0.75rem) / 2);
}

.history-area section > article.col-left picture {
  margin-left: auto;
}

.history-area section > article.col-wide.col-left picture {
  margin-left: 0;
}

.history-area .wrapper {
  position: absolute;
  display: block;
  width: 100%;
  overflow: hidden;
  max-height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  top: 74px;
  z-index: -3;
}

.history-area .wrapper #track {
  position: relative;
  width: clamp(7.5rem, 5.3125rem + 8.3333vw, 11.25rem);
  z-index: 2;
}

.history-area .wrapper svg.motion-layer {
  width: 100%;
  height: auto;
  z-index: 1;
}

.history-area section > article#currentYear h2 > img {
  width: 200px;
  display: block;
  margin: 0 auto;
}

/* -------------------------------

  Message
  
------------------------------- */

h1[data-title-ja$="メッセージ"] {
  margin-bottom: 4rem;
}

h1[data-title-ja="フォトギャラリー"] {
  margin-bottom: 5rem;
}

[role="tablist"] {
  display: flex;
  justify-content: center;
  gap: 0.4em;
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

[role="tablist"] > button[role="tab"] {
  padding: 1rem;
  background-color: #000000;
  color: #FFFFFF;
  flex-basis: auto;
}

[role="tablist"] > button[role="tab"][aria-selected="true"] {
  background-color: #DD004B;
}

[role="tablist"] > button[role="tab"][aria-selected="false"] {
  cursor: pointer;
  transition: background-color .5s;
}

[role="tablist"] > button[role="tab"][aria-selected="false"]:hover {
  background-color: #DD004B;
}

section._bg-lightgray {
  background-color: #EBEBEB;
  padding-left: max(1.25rem, (50% - 570px));
  padding-right: max(1.25rem, (50% - 570px));
}

section._bg-pink {
  background-color: #DD004B;
  padding-left: max(1.25rem, (50% - 570px));
  padding-right: max(1.255rem, (50% - 570px));
}

section._bg-beige {
  background-color: #F7F5EA;
  padding-left: max(1.25rem, (50% - 570px));
  padding-right: max(1.25rem, (50% - 570px));
}

section._bg-pink h2.title-border {
  color: #FFFFFF;
}

.top-message {
  display: flex;
  align-items: flex-start;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.top-message img {
  max-width: 310px;
}

.top-message figcaption {
  font-size: 1.125rem;
}

.members-message {
  display: grid;
  align-items: start;
  gap: clamp(1.25rem, 0.7031rem + 2.0833vw, 2.1875rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media screen and (max-width: 468px) {
  .members-message {
    grid-template-columns: 1fr 1fr;
  }
}

.members-message figcaption {
  font-size: clamp(0.875rem, 0.7999rem + 0.2809vw, 1rem);
  color: #FFFFFF;
}

.company-message {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(1rem, 0.125rem + 3.3333vw, 2.5rem);
  justify-content: center;
}

.company-message > button[role="button"] {
  background-color: #FFFFFF;
  border-radius: 1rem;
  padding: 2.625rem 1.5rem;
  text-align: left;
  box-shadow: 6px 6px 6px -4px #d9d9d9;
}

.company-message > button[role="button"]:hover {
  opacity: .7;
  box-shadow: 10px 10px 10px -6px #a6a6a6;
}

.company-message > button[role="button"] img {
  display: inline-block;
  margin-bottom: 0.675rem;
}

.company-message > button[role="button"] h3 {
  margin-bottom: 1.75rem;
}

.company-message > button[role="button"] p {
  font-weight: normal;
}

.fan-message {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(1rem, 0.125rem + 3.3333vw, 2.5rem);
}

@media screen and (max-width: 768px) {
  .company-message,
  .fan-message {
    grid-template-columns: 1fr;
  }
  
  .company-message > button[role="button"] p {
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 100px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

.fan-message > button[role="button"],
.fan-message > .message-content {
  display: flex;
  flex-direction: column;
  background-color: #FFF2F9;
  border-radius: 1rem;
  padding: 2.625rem 1.25rem;
  text-align: left;
}

.fan-message > button[role="button"] h3,
.fan-message > .message-content h3 {
  color: #B92D9E;
  margin-bottom: 1.5rem;
}

.fan-message > button[role="button"] p,
.fan-message > .message-content p {
  font-weight: normal;
}

/* -------------------------------

  PhotoGallery
  
------------------------------- */
.tile {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  margin-bottom: 6rem;
}

@media screen and (max-width: 768px) {
  .tile {
     grid-template-columns: 1fr 1fr;
  }
}

.tile img {
  display: block;
  width: 100%;
  height: auto;
  background-color: #e3e3e3;
}

.tile img[src*="thumb"] {
  aspect-ratio: 1;
  object-fit: cover;
  transition: 1s all ease-out;
}

.tile > * > a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.tile > * > a:hover img {
  transform: scale(1.05);
}


/* -------------------------------

  Print CSS
  
------------------------------- */

@media print {
  body {
      -webkit-print-color-adjust: exact; //safari、Chrome用
      color-adjust: exact;
  }

  a[href]:after {
    content:"[" attr(href) "]";
    font-size:93%;
    color: #999;
  }
  
  tr, td, th, img, svg {break-inside: avoid;}
  thead {display:table-header-group}
  .no-print {visibility:hidden; display:none}
  
  section._bg-lightgray,
  section._bg-pink,
  section._bg-beige
  {
    background-color: #FFFFFF;
    color: #000000;
  }
}