@charset "UTF-8";
/*書き換え禁止*/
* ,*::before,*::after{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.iks_logo_left, .iks_logo_right {display: none !important;}
#header_bot {display: none !important;}
/*書き換え禁止*/

/*ここから書いてね*/

main{
  background-color: #e7e9f2;
  font-family: "Kaisei Tokumin";
  margin-bottom:0;
}
img {
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
/*ページトップボタン画像変更*/
#pagetop.is-show img {
  content: url('https://ikkyosai.com/visitor/topics/img/local/totop.svg');
}
#pagetop img {
      scale: 1.2;
}
.piece{
  background-color:#e7e9f2 ;
}
p{
  color: #365364;
}
.hamburger-fade__wrapper {
  background-color: #84b7b5; /*ハンバーガーメニューの背景色を変えられるよ*/
}
img.piece_pc {
  content: url('https://ikkyosai.com/visitor/topics/img/local/Footer.svg');
}
img.piece_sp {
  content: url('https://ikkyosai.com/visitor/topics/img/local/Footer.svg');
}
.piece_sp {
    scale: 2;
    margin-bottom: 14px;
    overflow: hidden;
    width: 81vw;
}

.footer_wrapper{
  background-color: #84b7b5;
}
.shine {
  position: absolute;
width: 8.2%;
    left: 37.4%;
    top: 28%;
}
.ring-wrap {
  position: absolute;
width: 24%;
    left: 27.4%;
    top: 28%;
}

.FVring {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
/* リング上を流れる光の粒 */
.ring-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;

  background:
    radial-gradient(
      circle at 15% 25%,
      #fff 0 1.5px,
      transparent 3px
    ),
    radial-gradient(
      circle at 85% 40%,
      #fff 0 2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 35% 65%,
      #fff 0 1px,
      transparent 3px
    ),
    radial-gradient(
      circle at 65% 80%,
      #fff 0 2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 50% 50%,
      #fff 0 1.5px,
      transparent 3px
    ),
    linear-gradient(
      to top,
      transparent 30%,
      rgba(255, 255, 255, 0.15) 42%,
      rgba(255, 255, 255, 0.85) 50%,
      rgba(255, 255, 255, 0.15) 58%,
      transparent 70%
    );

  background-size: 100% 250%;
  background-repeat: repeat-y;

  /* 光をリングの形に切り抜く */
  -webkit-mask:
    url("https://ikkyosai.com/visitor/topics/img/local/FVring.svg")
    center / 100% 100% no-repeat;
  mask:
    url("https://ikkyosai.com/visitor/topics/img/local/FVring.svg")
    center / 100% 100% no-repeat;

background-repeat: no-repeat;
animation: ringGlint 3s linear 5s 1 both;
}

@keyframes ringGlint {
  0% {
    opacity: 0;
    background-position: 0 -100%;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    background-position: 0 200%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring-glint {
    animation: none;
  }
}
.spark {
  position: absolute;
  width: 19%;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0;

  background:
    radial-gradient(
      circle,
      #fff 0 10%,
      transparent 16%
    ),
    linear-gradient(
      to right,
      transparent 5%,
      #fff 45% 55%,
      transparent 95%
    ) center / 100% 13% no-repeat,
    linear-gradient(
      to bottom,
      transparent 5%,
      #fff 45% 55%,
      transparent 95%
    ) center / 13% 100% no-repeat;

  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 1))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));

  animation: sparkle 2.2s ease-in-out 1 forwards;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    scale: 0;
    rotate: 0deg;
  }

  20% {
    opacity: 1;
    scale: 1.8;
    rotate: 20deg;
  }

  40% {
    opacity: 0.55;
    scale: 1.1;
    rotate: 40deg;
  }

  60% {
    opacity: 1;
    scale: 1.6;
    rotate: 60deg;
  }

  80% {
    opacity: 1;
    scale: 1.2;
    rotate: 75deg;
  }

  100% {
    opacity: 0;
    scale: 0.3;
    rotate: 90deg;
  }
}
/* リング上の位置(%)と、上→下に並べた遅延 */
.s1 { left: 50%; top: 2%;  animation-delay: 5.5s; }
.s2 { left: 85%; top: 25%; animation-delay: 5.7s; width: 10%; }
.s3 { left: 12%; top: 38%; animation-delay: 5.9s; }
.s4 { left: 92%; top: 62%; animation-delay: 6.1s; width: 9%; }
.s5 { left: 20%; top: 82%; animation-delay: 6.3s; width: 11%; }
.s6 { left: 50%; top: 98%; animation-delay: 6.5s; }

@keyframes ringFadeIn {
  from { opacity: 0; scale: 0.9; }
  to   { opacity: 1; scale: 1; }
}

.ring-wrap {
  opacity: 0;
  transform-origin: center;
  animation: ringFadeIn 0.8s ease-out 4.5s 1 forwards;
}

.oomidashi{
  margin-left: 20px;
  font-size: 20px;
  color: #365364;
  position: relative;
}
#performance.oomidashi{
  scroll-margin-top: 30px;
}
#history.box3{
  scroll-margin-top: 30px;
}

.oomidashi2{
  display: flex;
  margin-left: 20px;
  font-size: 20px;
  color: #365364;
}
.oo_sentence{
  width: 80%;
  font-size: 12px;
  color:#365364;
  margin-left: 12%;
  margin-top: 10px; 
  margin-bottom: 20px;
}
.komidashi{
  font-size: 14px;
  color: #365364;
  margin-left: -5px;
  margin-bottom: 2px;
}
.ko_sentence{
    width: 75%;
    margin-left: 12.3%;
    font-size: 12px;
    color: #365364;
    margin-bottom: 10px;
}

.illust{
width: 75%;
    position: relative;
    margin-left: 24%;
    top: -110px;
    animation: fadeUp 1.5s ease-out forwards;
    animation-delay: 2.0s;
    opacity: 0;
    animation-fill-mode: both;
}
.symbol {
  position: relative;
  width: 2px;
  height: 20px;
  background-color: #eac700;
  margin-left: 6%;
}


/* 横棒 */
.symbol::before {
  content: "";
  position: absolute;
  width: 10.2px;
  height: 2px;
  background-color: #eac700;
  left: -4.3px;
  top: 9.2px;
}

/* 上下左右の四角 */
.symbol::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #eac700;

  box-shadow:
   /* 上 */
    0 -3.4px 0 #eac700,

    /* 下 */
    0 21.5px 0 #eac700,

    /* 左 */
    -8px 9.2px 0 #eac700,

    /* 右 */
    7.5px 9.2px 0 #eac700
}
.moon {
  position: relative;
  z-index: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: -4.7px 0px 0 0 #bbbbbb;
}

.moon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: -4.7px 0px 0 0 #eac700; 
  margin-left: -1.5px;
  z-index: -1;
}
.box{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
}
.box1{    
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
}
.box2{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 14%;
    margin-top: 15px;
}
.box3{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 50px;
}
.a{
  display: block;
}
.history-link {
  position: relative;
  display: inline-grid;
  margin-left: 12.2%;
  padding-right: 30px;
  color: #365364;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.ashirai {
  grid-area: 1 / 1;
  display: block;
  width: 210px;
  height: auto;
  transform: translateY(1px);
  transition: filter 0.3s ease;
}


.history-link-text {
  grid-area: 1 / 1;
  position: relative;
  align-self: start;
  margin-top: 5px;
  white-space: nowrap;
  z-index: 1;
  transition: text-shadow 0.3s ease;
}


.arrow {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: -7px;
  transform: translateY(-50%);
  width: 20px;
  height: 1.5px;
  background: #365364;
  transition: transform 0.3s ease;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -1.1px;
top: -2.5px;
    width: 8px;
    height: 1.5px;
  background: #365364;
  transform: rotate(45deg);
}

/* 全体のhover */
.history-link:hover {
  transform: scale(1.02);
}

/* 文字のhover */
.history-link:hover .history-link-text {
  text-shadow: 2px 2px 2px #bbbbbb;
}

/* 矢印のhover */
.history-link:hover .arrow {
  transform: translateY(-50%) translateX(6px);
}
@property --c1 { syntax: "<color>"; inherits: false; initial-value: #e7e9f2; }
@property --c2 { syntax: "<color>"; inherits: false; initial-value: #e7e9f2; }
@property --c3 { syntax: "<color>"; inherits: false; initial-value: #e7e9f2; }

.linkbox {
  display: flex;
  position: absolute;
  width: 56%;
  margin-left: 22%;
  font-size: 12px;
  border: 1px solid #365364;
  text-decoration: none;
  color: #365364;
  padding: 5px;
  justify-content: center;
  background: linear-gradient(to right, var(--c1) 0%, var(--c2) 80%, var(--c3) 100%);
  transition: color 0.3s ease, transform 0.2s ease,
              --c1 0.3s ease, --c2 0.3s ease, --c3 0.3s ease;
}

.linkbox::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: -8px;
  left: -2px;
  background-color: #e7e9f2;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.linkbox::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 0.7px;
  left: -11px;
  top: 7px;
  background-color: #365364;
  transform: rotate(135deg);
}

.linkbox:hover {
  --c1: #d8eef3;
  --c2: color-mix(in srgb, #d8eef3 50%, #84b7b5 50%);
  --c3: #84b7b5;
}
.link{
   color:#074f7b; 
   text-decoration:underline;
}
.link:hover{
  opacity: 0.7;
}
.kuninyan{
    display: flex;
    width: 130px;
    height: 50px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    left: 69%;
}
.kuninyan_bun{
    display: flex;
    width: 77px;
    text-align: center;
    font-size: 7px;
    margin-top: 6px;
    color: #365364;
}
.kuni{
  width: 40px;
  
}
.date{
  width: 90%;
  margin-left: 5%;
  margin-top: -85px;
    animation: fadeUp 1.5s ease-out forwards;
    animation-delay: 3.2s;
  opacity: 0;
  animation-fill-mode: both;
}

.history{
  font-size: 20px;
  color: #9c804e;
}

.diamond-line {
    position: relative;
    width: 30px;
    height: 1.3px;
    background-color: #9c804e;
    margin-left: 14%;
}

.diamond-line::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #9c804e;
    transform: translateY(-50%) rotate(45deg);
}
.diamond-line2{
    position: relative;
    width: 30px;
    height: 1.3px;
    background-color: #9c804e;
}

.diamond-line2::before {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #9c804e;
    transform: translateY(-50%) rotate(45deg);
}
.moji{
  color:#9c804e;
  font-size: 14px;
  margin: 5px;
}
.kannai{
    width: 90%;
    margin-left: 6%;
    margin-top: 30px;
    display: block;
    
}
.out-map{
    margin: 0px auto;
    width: 300px;
    display: block;
    margin-top: 20px;
}
.map-bun{
    margin-left: 12.3%;
    font-size: 12px;
    width: 75%;
    margin-top: 10px;    
}

.E-performance{
  position: relative;
}

.botton0{
  position: absolute;
  background: #365364;
  color: white ;
  text-align: center;
  place-content: center;
  cursor: pointer;
    box-shadow: #cccccc 1px 1px 3px;  
}
.botton0:hover,
.botton0.is-hover  {
   background: linear-gradient(
  to right,
  #eac700 0%,
  #e9c306 13%,
  #e6a82f 100%
);
    transform: scale(1.05) translateY(-3px);
    transition: 0.2s;
      box-shadow: #00000080 2px 2px 3px;
}
.botton1{
    width: 14%;
    height: 27.7%;
    font-size: 28px;
    top: 37%;
    left: 22%;
    border-radius: 50%;
padding-bottom: 4px;
}
.botton2{
width: 8%;
    height: 15.84%;
    border-radius: 50%;
    font-size: 16px;
    bottom: 32%;
    right: 48%;
    padding-bottom: 2px;
}
.botton3{
width: 8%;
    height: 15.84%;
    border-radius: 50%;
    font-size: 16px;
    bottom: 41%;
    right: 40%;
    padding-bottom: 2px;
}
.botton4{
width: 8%;
    height: 15.84%;
    border-radius: 50%;
    font-size: 16px;
    bottom: 23%;
    right: 40%;
    padding-bottom: 2px;
    padding-right: 1px;
}
.botton5{
width: 8%;
    height: 15.84%;
    border-radius: 50%;
    font-size: 16px;
    bottom: 33%;
    right: 32%;
    padding-bottom: 2px;
}
.botton6{
    width: 8%;
    height: 15.84%;
    border-radius: 50%;
    font-size: 16px;
    bottom: 49%;
    right: 30%;
    padding-bottom: 1px;
    padding-right: 1px;

}
.botton7{
    width: 14%;
    height: 27.7%;
    font-size: 28px;
    bottom: 20%;
    right: 8%;
    border-radius: 50%;
}
.S-botton0{
  position: relative;
  cursor: pointer;
}
.S-botton0::before{
  content: "";
  position: absolute;
  background: #365364;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  top: 20%;
  left: -4vw;
  text-align: center;
  line-height: 14px;
  font-size: 13px;
  font-weight: 300;
	cursor: pointer; 
  transition: 0.2s;    
  place-content: center;
      font-size-adjust: cap-height 0.7;
    line-height: 1;
    box-shadow: 1px 1px 5px #cccccc;
  }

.S-botton0:hover::before,
.S-botton0.is-hover::before {
  background: linear-gradient(to right, #eac700 0%, #e9c306 13%, #e6a82f 100%);
  transform: scale(1.03);

}

.S-botton1::before{content: "1"; padding-bottom: 1px;}
.S-botton2::before{content: "2"; padding-bottom: 1px;}
.S-botton3::before{content: "3";}
.S-botton4::before{content: "4"; padding-bottom: 1px; padding-right: 0.7px;}
.S-botton5::before{content: "5";}
.S-botton6::before{content: "6";}
.S-botton7::before{content: "7"; padding-left: 0.7px;}

.signboard{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 200px;
  margin: 62px auto 0px;
  font-weight: 700;
  line-height: 1.6;
}
.signboard::after{
  content: "※選択すると詳細が表示されます。";
  position: absolute;
  top: -20%;
  left: 53%;
  color: #074f7b;
  transform: translate(-50%, -50%);
  width: 208px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}
.signboard a{
  position: relative;
  z-index: 90;
  padding-left: 10px;
  color: #365364;
  white-space: nowrap;
  font-size: 16px;
    transition: color 0.2s;  
    font-weight: 500;
    text-shadow: 1px 1px 5px #CCCCCC;
}
.signboard a:hover,
.signboard a.is-hover{
  color: #e6a82f;        
  transform: scale(1.03);    
}
.kakko{
  position: absolute;
  inset: 0;
  
  height: 190px;
}
.kakko::before{
  content: "";
  position: absolute;
  left: -23%;
  top: -10px;
  bottom: 0px;
  width: 30px;       
  box-sizing: border-box;
  border-left: 3px solid #064f7b;
  border-top: 3px solid #365364;
  border-bottom: 3px solid #365364;

}
.kakko::after{
  content: "";
  position: absolute;
  right: -27%;
  top: -10px;
  bottom: 0px;
  width: 30px;               /* 上下の横線の長さ */
  box-sizing: border-box;
  border-right:3px solid #365364 ;
  border-top: 3px solid #365364;
  border-bottom: 3px solid #365364;
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;

  opacity: 1;
  transition: none !important;
  animation: none !important;
}
.modal-window {
    display: none;
    position: fixed;
    background-color: #e7e9f2;
    border-radius: 10px;
    z-index: 200;
    color: #3e3a39;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.modal-midashi,.modal-midashi2{
     font-size: 18px; 
     color: #365364;
    padding-bottom: 10px;
  line-height: 1.3;

}

.modal-midashi_rain{
       font-size: 17px; 
     color: #365364;
    padding-bottom: 10px;
    line-height: 1.3;
  }
.modal-line{
      margin-top: -14px;
}
.dantai{
  font-size: 14px;
  color: #365364;
  width: 220px;
}
.designA {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 35px;
    min-width: 300px;
    max-width: 470px;
}
.button-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #365364;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
}
.button-close:hover{
  opacity: 0.7;
}

.M-img {
    width: 180px;
    height: 130px;
    object-fit: cover;
    object-position: center;
    border: solid 1px #3e3a39;
}
.modal-line {
    background: #365364;
    width: 60%;
    height: 1px;
}
.designB {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    min-width: 310px;
    max-width: 470px;
}
.P-above {
    display: flex;
    place-content: center;
    gap: 10px;
    font-weight: 700;
}
.P-img {
    width: 83px;
    height: 83px;
    object-fit: cover;
    object-position: center;
    border: solid 1px #3e3a39;
}
.P-title,.P-title2,.P-title3,.P-title4,.P-title5,.P-title6,.P-title7,.P-title8{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
    text-align: center;
}
.P-title,.P-title2,.P-title3,.P-title4,.P-title5,.P-title6,.P-title8{
  width: 230px;
}
.P-title7{
  width: 210px;
}
.P-title::before,.P-title2::before,.P-title3::before,.P-title4::before,.P-title5::before,.P-title6::before,.P-title7::before,.P-title8::before{
    content: "";
    position: absolute;
    border: solid 0.8px #365364;
    width: 90%; 
}
.P-title::before {top: 29%;}
.P-title2::before {top: 41%;}
.P-title3::before {top: 48%;}
.P-title4::before {top: 37%;}
.P-title5::before {top: 48%;}
.P-title6::before {top: 39%;}
.P-title7::before {top: 40%;}
.P-title8::before {top: 64%;}



.P-below {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: justify;
    width: 100%;
    margin: 0 auto;
    font-weight: 300;
}
.P-text {
    font-size: 12px;
}
.P-tab1 {
    margin: 25px auto 10px;
    width: 90px;
    background: #365364;
    border-radius: 5px;
    color: #ffffff;
    box-shadow: inset 0 0 4px #00000080;
    padding: 1px 10px;
    line-height: 17px;
    text-align: center;
}
.P-tab2 {
    margin: 25px auto 10px;
    width: 90px;
    border-radius: 5px;
    border: solid 1px #365364;
    color: #365364;
    padding: 1px 10px;
    line-height: 17px;
    font-weight: 700;
    text-align: center;
}
.P-info {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
padding-left: 19px;
    color: #365364;
    gap: 25px;
}
.P-date, .P-time {
    position: relative;
}
.P-date::before {
    content: "";
    background-image: url(https://ikkyosai.com/visitor/topics/img/local/minidate.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: -20px;
    top: 55%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
      background-size: contain;
    background-position: center;
}
.P-time::before {
    content: "";
    background-image: url(https://ikkyosai.com/visitor/topics/img/local/minitime2.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: -20px;
    top: 57%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
      background-size: contain;
    background-position: center;
}
.carousel {
    margin: 50px 5%;
    margin-bottom: 70px;
    position: relative;
}
/* 共通：位置とサイズ */
.gakubuchi-shadow,
.gakubuchi-frame {
  position: absolute;
    width: 254px;
    height: 196px;
    bottom: -11px;
  left: 0;
  right: 0;
  margin: auto;
  box-sizing: border-box;
  pointer-events: none; /* 矢印やドットのクリックを邪魔しない */
}

/* 奥：シャドウだけ */
.gakubuchi-shadow {
  box-shadow: 10px 10px 8px #bbbbbb;
  background: #fff; /* 影を出すために必要（写真が小さい場合の下地にもなる） */
  z-index: 0;
}

/* 手前：枠線だけ */
.gakubuchi-frame {
  border: 12px solid #9c804e;
  z-index: 2;
}

.C-area {
  position: relative;
  z-index: 1;
  width: 230px;   /* 額縁の内寸に合わせる */
  margin: 0 auto; /* 中央寄せ（額縁と同じ位置） */
}


.C-img {
  width: 233px;
  margin: auto;
  height: auto;
  display: block;
}

/* ===== Slick 必須スタイル ===== */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 0;
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
.slick-initialized .slick-slide {
  display: block;
  cursor: pointer;
}
.slick-slide img {
  display: block;
  position: relative;
}

/* ===== 矢印 ===== */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 25px;
    height: 25px;
    padding: 0;
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 50%;
    background: rgba(54, 83, 100, 0.8);;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slick-prev { left:-50px;   padding-right: 2px; }
.slick-next { right: -50px;  padding-left: 2px;}
.slick-prev:hover,
.slick-next:hover {
  background: rgba(54, 83, 100, 1);;
}

/* ===== ドット ===== */
.slick-dots {
  position: absolute;
  bottom: -50px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  z-index: 10;
}
.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button {
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.slick-dots li button:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbb;
}
.slick-dots li.slick-active button:before {
  background: #365364;
}
.ring{
    width: 80px;
    position: absolute;
    right: 15px;
    margin-top: 15px;
}
/*タブ*/
.TT_tab{
    width: 90%;
    margin-left: 5%;
    height: 30px;
    margin-top: 20px;
}
.tabwrap{
  display: flex;
}
.tab-button:first-child {
    border-left: 1.5px solid #365364;
}
.tab-button {
    cursor: pointer;
    width: calc(100% / 2);
    height: 50px;
    background-color: #e7e9f2;
    font-family: "Kaisei Tokumin";
    border: none;
    font-size: 18px;
    color: #365364;
    border-top: 1.5px solid #365364;
    border-bottom: 1.5px solid #365364;
    border-right: 1.5px solid #365364;
}
.tab-button:first-child.active {
    background: #7cb5d3;
    color: white;
    border-bottom: none;
}
.Saturday{
  color:#7cb5d3;
}

.tab-button.active .Saturday {
    color: white;
}
.tab-button.active .Monday {
    color: white;
}
.tab-button.active{
  background: #d1987a;
  color: white;
      border-bottom: none;
}
.Monday{
  color: #d1987a;
}
.tab-content{
  display: none;
}
.tab-content.active {
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    width: 90%;
    border: 1.5px solid #365364;
    border-top: none;
    margin: auto;
}
.flex-H,.flex-H2 {
    display: grid;
    grid-template-columns: 40px 25px 20px 235px;
    margin-top: 50px;
}

.flex-left {
    display: grid;
    grid-template-rows: repeat(7, 96px);
    color: #6f8060;
}
.flex-left2 {
    display: grid;
    grid-template-rows: repeat(7, 96px);
    color: #6f8060;
}
.flex-center1{
    display: grid;
    grid-template-rows: repeat(7, 96px);
    color: #6f8060;
}
.flex-center1-2{
    display: grid;
    grid-template-rows: repeat(6, 96px);
    color: #6f8060;
}
.time-line{
    width: 16px;
    height: 1px;
    border: 1px solid #6f8060;
    margin-top:9px;
}
.flex-center2,.flex-center2-2{
    display: grid;
    grid-template-rows: repeat(84, 8px);
    width: 1px;
    border: 1px solid #074f7b;
}
.flex-center2{height: 683px;}
.flex-center2-2{height:586px;}
.time-circle{
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:#074f7b;
  right: 5px;
  top: 1px;
}
.time-circle::before{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
    left: 2.7px;
    top: 2.7px;

}
.flex-right {
    display: grid;
    grid-template-rows: repeat(84, 8px);
    margin-bottom: 25px;
    position: relative;
    width: 80%;
}
.flex-right2 {
    display: grid;
    grid-template-rows: repeat(74, 8px);
    margin-bottom: 25px;
    position: relative;
    width: 80%;
}
.T-performance1,.T-performance2 {
    position: relative;
    background: #ffffff;
    color: #074f7b;
    width: 220px;
    margin: 2px 8px;
    font-size: 14px;
    text-align: center;
    align-content: center;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.T-performance1-2{
    position: relative;
    background: #cccccc;
    color: #074f7b;
    width: 220px;
    margin: 2px 8px;
    font-size: 14px;
    text-align: center;
    align-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;

}

.triangle1,.triangle2 {
    position: absolute;
    width: 15px;
    height: 15px;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    right: -0.5px;
    bottom: -0.5px;
}
.triangle1-2{
    position: absolute;
    width: 20px;
    height: 20px;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    right: -0.3px;
    bottom: 0;

}
.triangle1,.triangle1-2{background-color: #7cb5d3;}
.triangle2{background-color: #d1987a;}
.T-performance1:hover .triangle1{
    background-color: white; 
}
.T-performance1-2:hover .triangle1-2 {
    background-color: #cccccc; 
}
.T-performance1::before,.T-performance2::before,.T-performance1-2::before {
    content: attr(data-start);
    position: absolute;
    top: -17px;
    left: 6px;
    font-size: 12px;
    color: #3e3a39;
}
.T-performance1::after,.T-performance2::after,.T-performance1-2::after  {
    content: attr(data-end);
    position: absolute;
    bottom: -17px;
    right: 6px;
    font-size: 12px;
    color: #3e3a39;
}
.content:nth-of-type(1) .T-performance1:hover {
    background: #7cb5d3;
}
.T-performance1:hover,.T-performance2:hover {
    color: white;
    transform: translateY(-3px);
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.T-performance1-2:hover{
    color: white;
    transform: translateY(-3px);

}
.T-performance1:hover,.T-performance1-2:hover{background: #7cb5d3;}
.T-performance2:hover{background:#d1987a;}

.T-performance2:hover .triangle2 {
    background-color: white; 
}

.content:nth-of-type(1) .T-performance2:hover {
    background: #7cb5d3;
}
.pv-bun-box{
    position: absolute;
    opacity: 0.05;
    background: #ffd800;
    filter: blur(5px);
    width: 74%;
    height: 20px;
    align-items: center;
    left: 13%;
        margin-top: 43px;
}
.pv-bun{
  position: relative;
  font-size: 16px;
  color: #365364;
  text-align: center;
      margin-top: 40px;
}
.pv-box {
  position: relative;
  width: 85%;
  margin: auto;
  padding: 30px 0;

  /* 動画を中央揃え */
  display: flex;
  justify-content: center;
  align-items: center;
}
.PVnami{
    position: absolute;
    content: "";
    width: 100%;
    right: 0;
    margin-top: 75px;

}
.fv-wrap {
    position: relative;
    width: 100%;
    scale: 0.7;
    top: 10px;
}
.fv2,.fv3{
      position: relative;
      scale: 0.7;
}
.fv1 {
  display: block;
  position: relative;              /* 画像下の余白を消す */
  width: 100%;
  height: auto;
      left: -17%;
}

.fv2{
    right: -10px;
    top: -44px;
}
.fv3{
    right: 47px;
    bottom: 85px;
}



.FVnami{
    position: absolute;
    width: 100%;
    top: -86px;
    left: 0;
    z-index: 0;
    animation: namiFloat 4s ease-in-out 2 forwards;
    animation-delay: 1s;
}

@keyframes namiFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0px, -5px);
  }
  50% {
    transform: translate(0px, 5px);
  }
  75% {
    transform: translate(0px, -5px);
  }
}


/* YouTube動画 */
.pv-box iframe {
  position: relative;
  z-index: 2;

  width: 90%;
  height: auto;
  aspect-ratio: 16 / 9;

  border: none;
}

/* 背景のぼかし */
.pv-box::before {
  content: "";
  position: absolute;
  top: 7.5%;
  left: 0;
  width: 100%;
  height: 85%;
  background: white;
  filter: blur(9px);
  z-index: 0;
}

/* 外枠 */
.pv-box::after {
  content: "";
  position: absolute;
  top: 7.5%;
  left: 0;
  width: 100%;
  height: 85%;
  border: 1px solid #84b7b5;
  opacity: 0.5;
  
  z-index: 1;
  box-sizing: border-box;
}
.coming-soon{
  font-size: 16px;
  position: relative;
}

.check{
  position: relative;
  color: #365364;
  font-size: 16px;
  text-align: center;
  animation: checkFloat 2s ease-in-out infinite;
}

@keyframes checkFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }

}
.tyuui{
    margin-left: 12.3%;
    margin-top: 10px;
    color: #074f7b;
    width: 80%;
}
.history-line{
  position: relative;
  width: 0;
  height: 300px;
  margin: auto ;
}
.history-line::before{
   content: "";
  position: absolute;
    height: 100%;
  background: linear-gradient(180deg, #365364 0%, #7fa3a0 100%);
  z-index: 10;
  width: 4px;
  top: 0;
  left: -2px;
}
.history-line::after{
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    border-right: 3px solid #7fa3a0;
    border-bottom: 3px solid #7fa3a0;
    transform: rotate(45deg);
    bottom: 0px;
    right: -7px;
}
.branch1,.branch2,.branch3,.branch4{
  position: absolute;
  width: 100px;
  height: 2px;
}
.branch1{background:  #365364; top: 5%;}
.branch2{background:  #52777a;top: 30%; right: 20%;}
.branch3{background:  #52777a;top: 55%;}
.branch4{background:  #7fa3a0;top: 80%; right: 20%;}
.branch1-img,.branch2-img,.branch3-img,.branch4-img{
    position: relative;
    width: 80px;
    box-shadow: 3px 3px 4px #bbbbbb;
}
.branch1-img{bottom: 55px;left: 100px;}
.branch2-img{bottom: 53px;left: -79px;}
.branch3-img{bottom: 58px;left: 100px;}
.branch4-img{bottom: 51px;left: -79px;}

.branch1::before,.branch2::before,.branch3::before,.branch4::before{
  position:absolute;
  font-size :12px;
  color: #9c804e;
  padding: 1px;
}
.branch1::before{
  content: "1926～";
  bottom: 3px;
  left: 4px;
}
.branch2::before{
  content: "1951～";
  bottom: 3px;
  left: 4px;
      left: 53px;

}
.branch3::before{
  content: "1980～";
  bottom: 3px;
  left: 4px;
}
.branch4::before{
  content: "～2026";
  bottom: 3px;
  left: 4px;
    left: 53px;

}

.branch1::after,.branch2::after,.branch3::after,.branch4::after{
position: absolute;
    font-size: 11px;
    color: #365364;
}
.branch1::after{left: 3px; width: 163px; padding: 4px; content: "1926年 国立駅舎開業　　 1935年 大学通りに桜が植樹 1950年 駅前の円形公園が整備";}
.branch2::after{left: -84px; width: 185px; padding: 4px; content: "1952年 国立が文教地区に指定　　 1964年 駅前を走る聖火ランナー 1967年 国立市が市制を施行";}
.branch3::after{left: 3px;  width: 184px;  padding: 4px; content: "1987年 国鉄からJR東日本への移行  1993年 中央線の高架化決定　　2006年 国立駅解体前";}
.branch4::after{left: -84px; width: 150px; padding: 4px; content: "2020年 旧国立駅舎再建 2026年 国立駅開業100周年" ;}
.kaigyou{
  display: block;
}
.kaigyou-reverse{
  display: none;
}
/* 共通のフェードアップ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態は非表示、アニメ後は表示のまま */
.fv-wrap,
.fv2,
.fv3 {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
    animation-duration: 1.5s;
}

/* 順番にずらす */
.fv-wrap { animation-delay: 0.8s; }  /* 1番目 */
.fv2     { animation-delay: 2.0s; }  /* 2番目 */
.fv3     { animation-delay: 3.2s; }  /* 3番目 */
@keyframes glowBloom {
  0% {
    opacity: 0;
    scale: 0;
    filter: blur(4px)
      drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    opacity: 1;
    scale: 1.2;
    filter: blur(0)
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.7))
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.35));
  }

  100% {
    opacity: 1;
    scale: 1;
    filter: blur(0)
      drop-shadow(0 0 0 rgba(255, 255, 255, 0))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

.shine {
  transform-origin: center;
  opacity: 0;
  animation: glowBloom 3s ease-out 4.5s 1 forwards;
}

/* スクロール時のフェードアップ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 画面内に入ったら表示 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 内容は見出しより少し遅れて表示 */
.fade-up.fade-delay {
  transition-delay: 0.2s;
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* タイムテーブル本体を少し遅れて表示 */
.fade-up.fade-delay-2 {
  transition-delay: 0.4s;
}
/* FVアニメーションの初回表示を修正 */
.fv-wrap,
.fv2,
.fv3 {
  opacity: 0;
  animation-fill-mode: both;
}
/* YouTube動画専用フェードイン */
.pv-fade {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 1.4s ease,
    filter 1.4s ease;
}

.pv-fade.is-visible {
  opacity: 1;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .pv-fade {
    opacity: 1;
    filter: none;
    transition: none;
  }
}
/*PC版*/
@media screen and (min-width:1024px){

.hamburger-fade {display: none;}
main {padding-top: 65px;}
  /*書き換え禁止*/
button:hover {
  cursor: default;
}
.box{
  margin-top: 100px;
}
.box1{   
    margin-top: 100px;
}
.box2{
    margin-left: 20%;
    margin-top: 30px;
}
.box3{
  margin-bottom: 70px;
}
.botton1{
    width: 80px;
    height: 80px;
    font-size: 45px;
    left: 32%;
    top: 43%;
    padding-bottom: 5px;
}
.botton2{
    width: 50px;
    height: 50px;
    font-size: 28px;
        right: 34.5%;
        bottom: 30%;
        padding-bottom: 4px;
        padding-left: 1px;
}
.botton3{
    width: 50px;
    height: 50px;
    font-size: 28px;
        right: 26%;
        bottom: 40%;
        padding-bottom: 3px;
}
.botton4{
      width: 50px;
    height: 50px;
        font-size: 28px;
        bottom: 23%;
        right: 26%;
        padding-bottom: 4px;
        padding-right: 1px;
}

.botton5 {
    width: 50px;
    height: 50px;
    font-size: 28px;
        bottom: 32%;
        right: 17.5%;
        padding-left: 1px;
        padding-bottom: 2px;
}
.botton6 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
        bottom: 47%;
        right: 16%;
        padding-right: 2px;
        padding-bottom: 3px;
}

.botton7 {
        width: 80px;
        height: 80px;
        font-size: 45px;
        bottom: 20%;
        right: -12%;
}
.a{
  display: flex;
  flex-direction: row;
}
.E-performance{
  width: 46%;
}

.signboard {
    margin: 72px auto 0px;
    width: 210px;
}
.signboard a { 
  font-size: 24px;
  margin-bottom: 2px;
}

.signboard::after{
        top: -17%;
        left: 77%;
        width: 304px;
        font-size: 19px;
}
.kakko{
  height: 270px;
}
.kakko::before{
        left: -29%;
        top: -9px;
        bottom: -23px;
        width: 35px;
}
.kakko::after{
        right: -77%;
        top: -9px;
        bottom: -23px;
        width: 35px;
}
.S-botton0::before{
    width: 30px;
    height: 30px;
    left: -2.5vw;
    margin-bottom: 1px;
    top:15%;
    font-size-adjust: cap-height 1.1;
}
.S-botton1::before{padding-bottom: 2px;}
.S-botton3::before{padding-bottom: 1px; padding-left: 0.5px;}
.S-botton6::before{padding-bottom: 1px;}
.symbol {
  position: relative;
  width: 4px;
  height: 40px;
  background-color: #eac700;
  margin-left: 10%;
}

/* 横棒 */
.symbol::before {
  width: 20.4px;
  height: 4px;
  left: -8.6px;
  top: 18.4px;
}

/* 上下左右の四角 */
.symbol::after {
  width: 4px;
  height: 4px;
  box-shadow:
   /* 上 */
    0 -6.8px 0 #eac700,

    /* 下 */
    0 43px 0 #eac700,

    /* 左 */
    -16px 18.4px 0 #eac700,

    /* 右 */
    15px 18.4px 0 #eac700
}

  /* 横幅の基準をそろえる */
  .carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* 額縁と影 */
  .carousel .gakubuchi-shadow,
  .carousel .gakubuchi-frame {
    width: 36.9%;
    height: 324px;
    bottom: -18px;
  }

  .carousel .gakubuchi-frame {
    border-width: 18px;
  }

  /* 額縁の内寸：左右・上下の枠18pxを引く */
  .carousel .C-area {
    width: calc(36.9% - 36px);
    height: 288px;
  }

  .carousel .C-img {
    width: 100%;
    height: 288px;
    object-fit: cover;
  }

  /* 矢印 */
  .carousel .slick-prev,
  .carousel .slick-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .carousel .slick-prev {
    left: -78px;
  }

  .carousel .slick-next {
    right: -78px;
  }

  /* ドット */
  .carousel .slick-dots {
    bottom: -55px;
  }


.oomidashi{
  margin-left: 30px;
  font-size: 28px;
}
.oomidashi2{
  margin-left: 30px;
  font-size: 28px;
}
.history{
  font-size: 28px;
}
.komidashi{
  font-size: 24px;
  margin-left: -5px;
  margin-bottom: 5px;
}
.moon {
  width: 30px;
  height: 30px;
  box-shadow: -9.4px 0px 0 0 #bbbbbb;
}
.moon::before {
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;;
  box-shadow: -9.4px 0px 0 0 #eac700; 
  margin-left: -3px;
}
.out-map {
  width: 50%;
  margin-bottom: 100px;
  margin-top: 40px;
}
.map-bun{
  font-size: 20px;
  margin-left: 12.5%;
  margin-top: 10px;
  line-height: 1.6;
}
.diamond-line {
  width: 50px;
  height: 2px; 
  margin-left: 14%;
}
.diamond-line::before {
  left: -12px;
  top: 50%;
  width: 14px;
  height: 14px;
}
.diamond-line2{
  width: 50px;
  height: 2px;
}

.diamond-line2::before {
  right: -12px;
  top: 50%;
  width: 14px;
  height: 14px;
}
.moji{
  font-size: 22px;
  margin: 10px;
}
.ko_sentence{
  width: 60%;
  margin-left: 19%;
  font-size: 19px;
  margin-top: 10px;
  line-height: 1.6;
}
.oo_sentence{
  width: 80%;
  font-size: 20px;
  margin-left: 13%;
  margin-top: 10px; 
  margin-bottom: 20px;
  line-height: 1.6;
}
.linkbox{
        width: 34%;
        margin-left: 33%;
  font-size: 20px;
  border: 1.5px solid #365364;
  padding: 5px;
}
.linkbox::after {
    width: 48px;
    height: 1px;
    left:-17px;
    top: 7px;
}
.history-link{
  font-size: 19px;
        margin-left: 18.9%;
  font-weight: 500;
}
.history-link-text{
  margin-top: 7px;
}
.history-link:hover .arrow {
  transform: translateY(-50%) translateX(10px);
}
.ashirai{
        width: 329px;
}
.arrow{
        top: 16px;
        right: -15px;
        width: 35px;
        height: 2px;
}
.arrow::after{
    right: -2px;
    top: -4px;
    width: 12px;
    height: 2px;
}
.kannai{
    width: 100%;
    margin-left: 14%;
    margin-top: 30px;
}
.kuninyan{
  width: 80px;
  height: 100px;
  margin-left: 90px;
}
.kuni{
  width: 81px;
}
.kuninyan_bun{
        width: 162px;
        font-size: 15px;
}
.date{
        position: relative;
        width: 42%;
        margin-left: 8%;
        bottom: 80.5px;
}

.illust{
  width: 45%;
  margin-left: 52%;
  top: 25px;
}
.designB{
          min-width: 650px;
        max-width: 750px;
        top: 50%;
}
.P-above {
     gap: 20px;
}
    .P-img {
        width: 100px;
        height: 100px;
    }
.P-title7{
      width: 230px;
}
.P-title::before,.P-title2::before,.P-title3::before,.P-title4::before { 
        width: 100%;
        border:1px solid #365364;
}
.P-title::before {top: 37%;}
.P-title2::before {top: 36%;}
.P-title3::before {top: 37%;}
.P-title5::before {top: 38%;}
.P-title6::before {top: 37%;}
.P-title7::before {top: 36%;}
.P-title8::before {top: 36%;}
.P-title h2 {
        font-size: 20px;
        width: 240px;
}
.P-info {
        font-size: 14px;
}
.P-text {
        width: 46%;
        text-align: center;
        font-size: 15px;
}
.P-tab1, .P-tab2 {
        display: inline-block;
        margin: 15px auto 10px;
        padding: 3px 12px;
}    
.P-desc {
        text-align: justify;
}  
.modal-midashi{
  font-size: 21px;
}
.modal-midashi_rain{
  font-size: 19px;
}

.P-below{
          display: flex;
        justify-content: space-around;
        align-items: flex-start;
        flex-direction: row;
        margin: 0 auto;
        margin-top: 10px;
        font-weight: 300;
}

  .fv-wrap {
    position: absolute;
    width: 60%;               
        top: 30px;
        left: -40px;
    opacity: 1;  
  }
  .fv1 {
    position: static;     
    display: block;
    width: 100%;
    height: auto;
    opacity: 1; 
  }
.fv2{
  width: 60%;
  position: absolute;
  opacity: 0;
  top: 190px;
  left: 87px;
}
.fv3{
  width: 56%;
  position: relative;
  opacity: 0;
  bottom: -250px;
  left: -35px;
  scale: 0.7;
}
.TTborder{
  border: 1px solid #365364;
        width: 90%;
        margin-left: 5%;
}
    .content-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        margin: 0 auto;
    }
    .tab-content{
      opacity: 1 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        flex: 1;
        padding-bottom: 20px;
        padding-top: 0px;
        margin-top: 0px;
    }
    .tab-content:first-child{
        padding-left: 189px;
    }
    .tab-content:nth-child(2) {
        padding-right: 190px;
    }
    
    .tab-content.active{
      flex-direction: row;
      border: 0px solid #365364;        
      opacity: 1 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        flex: 1;
        padding-bottom: 20px;
        padding-top: 0px;
        margin-top: 0px;
    }
.tab-button{
  border-top: none;
  border-right: none;
  border-left: none;
  font-size: 28px;
  cursor: none;
}
.tab-button:first-child {
    border-left: none;
    font-size: 28px;
        margin-left: 134px;
    border-bottom: none;
}
.tab-button:nth-child(2){
    margin-right: 126px;
        border-bottom: none;
}
.tab-button:first-child.active {
    background: none;
    color: #365364;

}
.tab-button.active .Saturday {
    color: #7cb5d3;
}
.tab-button.active .Monday {
    color: #d1987a;
}
.tab-button.active{
  background: none;
  color: #365364;
}
.flex-H{
  grid-template-columns: 50px 25px 20px 290px;
}
/* PC版：23日のタイムテーブルだけ左右反転 */
.flex-H2 {
  display: grid;
  grid-template-columns: 450px 20px 20px 20px;
  column-gap: 0;
}

/* イベント */
.flex-H2 .flex-right2 {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

/* 青い縦線 */
.flex-H2 .flex-center2-2 {
  grid-column: 2;
  grid-row: 1;
}

/* 時刻横の短い線 */
.flex-H2 .flex-center1-2 {
  grid-column: 3;
  grid-row: 1;
}

/* 10,11,12... */
.flex-H2 .flex-left2 {
  grid-column: 4;
  grid-row: 1;
}
.flex-left,.flex-left2{
        line-height: 1; 
}

.TT_tab{
      width: 80%;
    margin-left: 10%;
}
.T-performance1,.T-performance1-2,.T-performance2 {
  width: 320px;
  font-size: 15px;
}
.T-performance1::before,.T-performance1-2::before,.T-performance2::before{
      top: -19px;
    font-size: 13px;
}
.T-performance1::after,.T-performance1-2::after,.T-performance2::after{
      bottom: -20px;
    right: 4px;
    font-size: 13px;
}
.pv-bun-box {
        width: 32%;
        left: 34%;
        height: 30px;
}
.pv-bun{
  font-size:24px ;
}
.check{
  font-size: 24px;
}



  .pv-box {
    position: relative;
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;

    display: flex;
    justify-content: center;
    align-items: center;
  padding: 40px;
  box-sizing: border-box;
}
.pv-box::before,.pv-box::after{
      height: 90%;
      top: 5%;
      left: 17%;
      width: 66%;
}



  /* YouTube動画 */
  .pv-box iframe {
    position: relative;
    z-index: 2;

    display: block;
    width: 90%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
  }

.tyuui{
  font-size: 18px;
}
.ring {
        width: 126px;
        left: 39.5%;
        margin-top: 27px;

}
.history-line{
  width: 70%;
  height: 0;
  border: 2.5px solid;
      border-image: linear-gradient(90deg, #365364 0%, #7fa3a0 100%) 1;
        margin: 200px auto 250px;
}
.history-line::after{
    height: 20px;
    width: 20px;
    transform: rotate(-45deg);
    border-right: 4px solid #7fa3a0;
    border-bottom: 4px solid #7fa3a0;
    bottom: -9.5px;
    right: 0;

}
.branch1,.branch2,.branch3,.branch4{
  width: 3px;
  height: 180px;
}
.branch1{
  top: -180px;
  bottom: 0;
  left: 5%;
}
.branch2{
      left: 30%;
}
.branch3{
top: -180px;
  bottom: 0px;
  left: 55%;
}
.branch4{
  left: 80%;
}
.branch1-img,.branch3-img{
      width: 120px;
    top: 80px;
    left: 10px;
}
.branch2-img,.branch4-img{
      width: 120px;
        top: 14px;
    left: 10px;
}
.branch1::before,.branch3::before{
    width: 72px;
    font-size: 20px;
    bottom: -27px;
    left: -23px;
}
.branch2::before,.branch4::before{
    width: 72px;
    font-size: 20px;
        top: -30px;
    left: -23px;
}

.branch1::after,.branch3::after{
    font-size: 16px;
    left: 9px;
    top: 0px;
}
.branch1::after{width: 230px;}.branch3::after{width: 270px;}
.branch2::after,.branch4::after{
    font-size: 16px;
    left: 9px;
    top: 100px;
}
.branch2::after{width: 273px;}.branch4::after{width: 218px;}
  .youtube-video {
    display: block;
    width: 40vw !important;
    height: calc(40vw * 9 / 16) !important;
    margin: 0 auto;
    border: 0;
  }

.PVnami{
      transform:scale(1,0.8);
      margin-top: -92px;
}
.FVnami{
  top: -520px;
}
.shine {
        position: absolute;
        width: 9%;
        left: 54%;
        top: 27%;
}

.ring-wrap {
        width: 24%;
        left: 44.5%;
        top: 28%;  
}
.shine img {
  display: block;
  width: 100%;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.3s forwards;
}

.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://ikkyosai.com/juken/57test/img/shine.svg") center / contain no-repeat;
  animation: shine 1s ease-out 0.5s 1 both;
  transform-origin: center;
}
.kaigyou{
  display: none;
}
.kaigyou-reverse{
  display: block;
}
    .piece_pc {
        margin-bottom: 8px;
}
.coming-soon{
  font-size: 20px;
}
.dantai{
  font-size: 16px;
  width: auto;
}
#performance.oomidashi{
  scroll-margin-top: 80px;
}
.P-title,.P-title2,.P-title3,.P-title4,.P-title5,.P-title6,.P-title8{
  width: 350px;
}
}