/**************** COMMON ****************/
#page-top a {
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    display: block;
}
#page-top a:hover {
    text-decoration: none;
    opacity:0.7;
}
@media only screen and (max-width:767px){ #page-top a,#page-top a img {width:30px; position: fixed; bottom: 100px; right: 10px;z-index: 10000;} }
@media only screen and (min-width:768px){ #page-top a,#page-top a img {width:60px;position: fixed; bottom: 50px; right: 50px;z-index: 10000;} }

/* 画像のスタイル */
#page-top a img {
    width: 75px; /* 幅を固定 */
    height: auto; /* 高さを自動調整 */
}

/* スマホ表示（767px 以下） */
@media only screen and (max-width: 767px) {
    #page-top {
        bottom: 100px; /* 下から100px */
        right: 10px;  /* 右から10px */
    }
    #page-top a img {
        width: 50px; /* 画像の幅を50pxに */
    }
}

/* タブレット・デスクトップ表示（768px 以上） */
@media only screen and (min-width: 768px) {
    #page-top a img {
        width: 75px; /* 幅を75pxに */
    }
}

/* 上からフェードイン */
.slide-top {
    opacity: 0;
    transform: translate(0, -20px);
    transition: all 0.5s ease-out;
 }

/* 下からフェードイン */
.slide-bottom {
    opacity: 0;
    transform: translate(0, 20px);
    transition: all 0.5s ease-out;
 }

 /* 左からフェードイン */
.slide-left {
    opacity: 0;
    transform: translate(-20px, 0);
    transition: all 0.5s ease-out;
 }

/* 右からフェードイン */
.slide-right {
    opacity: 0;
    transform: translate(20px, 0);
    transition: all 0.5s ease-out;
 }
.slide-right02 {
    opacity: 0;
    transform: translate(20px, 0);
    transition: all 0.5s ease-out;
 }
.slide-right03 {
    opacity: 0;
    transform: translate(20px, 0);
    transition: all 1.5s ease-out;
 }
.slide-right04 {
    opacity: 0;
    transform: translate(20px, 0);
    transition: all 2s ease-out;
 }


/*-----------TOPのの動き-------------*/

/*以下フェードイン表示の指定*/
.fadein {
    opacity: 0;
    animation: fadein 6s ease forwards;
}
@keyframes fadein {
    100% {  opacity: 1;}
}
 
/*以下遅延の指定*/
.txt01 {animation-delay: 0.2s;}
.txt02 {animation-delay: 0.5s;}
.txt03 {animation-delay: 0.8s;}
.txt04 {animation-delay: 1.1s;}
.txt05 {animation-delay: 1.5s;}
.txt06 {animation-delay: 2.1s;}


/*-----------TOP動画-------------*/

/**************** STORY TAB ****************/

/**************** STORY TAB ****************/

/* ラジオボタンは非表示にする */
input[type="radio"] {
  display: none;
}

/* タブのエリア */
.tab_area {
  font-size: 0;
  display: flex;
  flex-wrap: wrap-reverse;
  margin: 0 0 20px 0;
  justify-content: flex-start;
}

@media only screen and (max-width:751px){
.tab_area {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    margin: 1rem;
    }
}

/* 各ラベルのスタイル */
.tab_area label {
  text-align: center;
  line-height: 1;
  color: #e1d3b2;
  font-size: 30px;
  font-family: "yu-mincho-pr6n", sans-serif;
  font-weight: 600;
  font-style: normal;

  cursor: pointer;
  padding: 0.5rem 0.8rem;
  margin: 1rem 0.5rem;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタンが押されたときの背景色 */
.tab_area label:active {
  background-color: #ff5733; /* 押下時の背景色 */
  color: #fff; /* 押下時の文字色 */
  border-color: #ff5733; /* 押下時の枠線色 */
}

/* パネルエリア（デフォルトは非表示） */
.tab_panel {
  width: 100%;
  padding: 0;
  display: none;
  box-sizing: border-box;
}

.tab_panel p {
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
}

/* 選択されたタブに色をつける */
#tab1:checked ~ .tab_area .tab1_label,
#tab2:checked ~ .tab_area .tab2_label,
#tab3:checked ~ .tab_area .tab3_label,
#tab4:checked ~ .tab_area .tab4_label,
#tab5:checked ~ .tab_area .tab5_label,
#tab6:checked ~ .tab_area .tab6_label,
#tab7:checked ~ .tab_area .tab7_label,
#tab8:checked ~ .tab_area .tab8_label,
#tab9:checked ~ .tab_area .tab9_label,
#tab10:checked ~ .tab_area .tab10_label,
#tab11:checked ~ .tab_area .tab11_label,
#tab12:checked ~ .tab_area .tab12_label,
#tab13:checked ~ .tab_area .tab13_label,
#tab14:checked ~ .tab_area .tab14_label,
#tab15:checked ~ .tab_area .tab15_label,
#tab16:checked ~ .tab_area .tab16_label,
#tab17:checked ~ .tab_area .tab17_label,
#tab18:checked ~ .tab_area .tab18_label,
#tab19:checked ~ .tab_area .tab19_label,
#tab20:checked ~ .tab_area .tab20_label {
  color: #fff;
  background-color: #a17200; /* 背景色を変更 */
  border-color: #a17200; /* 枠線の色を変更 */
  padding: 0.5rem 0.8rem;
}

/* 各ラベルのホバー時のスタイル */
.tab_area label:hover {
  color: #fff;
  background-color: #a17200a6; /* ホバー時に背景色を変更 */
  border-color: #a17200a6; /* 枠線の色を変更 */
  padding: 0.5rem 0.8rem;
}

/* パネル表示（タブ選択時に関連パネルが表示される） */
#tab1:checked ~ .panel_area #panel1 { display: block; }
#tab2:checked ~ .panel_area #panel2 { display: block; }
#tab3:checked ~ .panel_area #panel3 { display: block; }
#tab4:checked ~ .panel_area #panel4 { display: block; }
#tab5:checked ~ .panel_area #panel5 { display: block; }
#tab6:checked ~ .panel_area #panel6 { display: block; }
#tab7:checked ~ .panel_area #panel7 { display: block; }
#tab8:checked ~ .panel_area #panel8 { display: block; }
#tab9:checked ~ .panel_area #panel9 { display: block; }
#tab10:checked ~ .panel_area #panel10 { display: block; }
#tab11:checked ~ .panel_area #panel11 { display: block; }
#tab12:checked ~ .panel_area #panel12 { display: block; }
#tab13:checked ~ .panel_area #panel13 { display: block; }
#tab14:checked ~ .panel_area #panel14 { display: block; }
#tab15:checked ~ .panel_area #panel15 { display: block; }
#tab16:checked ~ .panel_area #panel16 { display: block; }
#tab17:checked ~ .panel_area #panel17 { display: block; }
#tab18:checked ~ .panel_area #panel18 { display: block; }
#tab19:checked ~ .panel_area #panel19 { display: block; }
#tab20:checked ~ .panel_area #panel20 { display: block; }

.slick-track{
    margin:0;
}
.box{
    box-sizing:border-box;
    padding:0;
    background:#000;
    position:relative;
}
.box img{
    width:100%;
    height:auto;
    display:block;
    margin:0 auto;
}

button.slick-next{
    display:block;
}
.slick-initialized .slick-slide {
    margin: 0;
}

/**************** PC ****************/

/* PC用 */

/**************** PC ****************/

@media only screen and (min-width:751px){

.tab_area label{
    display:inline-block;
    text-align: center;
    font-size: 50px;
    color: #e1d3b2;
    font-family: "yu-mincho-pr6n", sans-serif;
    font-weight: 600;
    font-style: normal;

}
    .panel_area {
        padding-top: 1em;
        margin-bottom: 2em;
    }   

}




/**************** MOBILE ****************/

/* モニター幅750px以下 */

/**************** MOBILE ****************/

@media only screen and (min-width: 768px) and (max-width: 1024px) {
.tab_area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

/* 各ラベルのスタイル */
.tab_area label {
  display: flex;
  align-items: center;
  line-height: 0.5;
  color: #e1d3b2;
  font-size: 35px;
    font-family: "yu-mincho-pr6n", sans-serif;
    font-weight: 600;
    font-style: normal;

  cursor: pointer;
  padding: 0.5rem 0.8rem;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
}
