@charset "utf-8";
html{
    font-size: 62.5%;
}

body{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    background: #FEFAF1;
    color: #242424;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

img {
    width: 100%;
}

h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.2em;
}

h2::after{
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 16px;
    margin-top: 1.2em;
}

#stage h2::after, #archive h2::after, #faq h2::after, #contact h2::after, #sns h2::after{
    background-image: url(../images/h-design.png);
}

#about h2::after{
    background-image: url(../images/h-about-design.png);
}

.text-red{
    color: #BF1508;
}

.link-text{
    text-decoration: underline;
    word-break: break-all;
}

section {
    margin: 7em 0;
}

.sp-wrapper {
    width: 94%;
    margin: 0 auto;
}

/* ヘッダー */
header {
    background-color: #F7F7F7;
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: rgba(0,0,0,0.25) 0px 3px 5px;
}

.header_inner {
    padding: 0 1.2em; /*左右の余白確保*/
    display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
    align-items: center;
    justify-content: space-between;
    height: inherit; /*親要素の高さを継承*/
    position: relative;
}

h1{
    width: 100%;
    max-width: 220px;
}
  



/* ハンバーガーメニュー */
  .header_nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%); 
    background-color: #fff; /*ハンバーガーメニュークリック時のナビゲーションメニュー背景色*/
    transition: ease .4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
  }

  .header_hamburger {
    width: 40px;
    height: 100%;
  }
  
  .hamburger {
    background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    z-index: 9999;
  }

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  
  .hamburger span:nth-child(3) {
    top: 0;
  }

/* ハンバーガーメニュークリック後のスタイル */
.header_nav.active {
    transform: translateX(0);
  }
  
  .hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    top: -10px;
    transform: rotate(-45deg);
  }

  .nav-items {
    padding-top: 250px;
    padding-bottom: 200px;
  }
  
  /* ナビのリンク */
  .nav-items_item a {
    color: black;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
  }
  
  .nav-items_item:last-child a {
    margin-bottom: 0;
  }



/* メイン部分 */
main {
    padding-top: 64px;
}

.mainvisual img{
    height: 270px;
    object-fit: cover;
}

/* アコーディオンメニュー */
.accordion {
    background-color: #ffffff;
}

.accordion:not([open]) {
    margin-bottom: 1em;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0.8em 1.2em;
    background-color: #8b8066;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion[open] summary::after {
    transform: rotate(225deg);
}

.accordion .accordion-details {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 2em 1em;
    transition: transform .5s, opacity .5s;
}

.accordion[open] .accordion-details {
    transform: none;
    opacity: 1;
    margin-bottom: 1em;
}

.visual {
    margin: 0 auto 1.4em;
    max-width: 420px;
}

.visual img{
    box-shadow: rgba(0,0,0,0.16) 0px 0px 12px;
}

.stage-detail h3{
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    font-weight: 600;
}

.stage-detail dt{
    background-color: #8B8066;
    color: #ffffff;
    font-weight: 600;
    width: 78px;
    text-align: center;
    margin-bottom: 0.4em;
}

.stage-detail dd{
    margin-bottom: 1em;
}

.entry {
    padding: 2em 0;
}

.period{
    color: #BF1508;
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 1.6em;
}

.entry-button{
    display: block;
    color: #BF1508;
    border: #BF1508 1px solid;
    font-weight: 600;
    text-align: center;
    padding: 1em 0;
    width: 90%;
    margin: 0 auto;
    transition: 0.5s;
}

.entry-button:hover{
    background: #BF1508;
    color: #ffffff;
}

#archive ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#archive li{
    width: 45%;
}

#archive ul::before{
    content:"";
    display: block;
    width:45%;
    order:1;
  }

#archive ul::after{
    content:"";
    display: block;
    width: 45.8%;
  }

#archive img{
    box-shadow: rgba(0,0,0,0.16) 0px 0px 12px;
}

#about {
    padding: 8em 1em;
    background-image: url(../images/about-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.about-lead {
    margin-bottom: 3em;
}

.merit, .partner{
    border: 1px solid #ffffff;
    padding: 2em 1rem;
    position: relative;
    margin-bottom: 2em;
}

.merit h3, .partner h3{
    font-size: 1.8rem;
    margin-bottom: 1.2em;
    font-weight: 600;
}

.merit p, .partner p{
    font-size: 1.3rem;
}

#faq dt{
    background: #8B8066;
    padding: 0.8em 1em;
    color: #ffffff;
    font-weight: 600;
}

#faq dd{
    background: #FCF5E6;
    padding: 1em;
    margin-bottom: 1em;
}

#sns ul{
    display: flex;
    justify-content: center;
    gap: 50px;
}

#sns li{
    width: 50px;
}

#contact p{
    text-align: center;
}

#contact a{
    color: #BF1508;
    text-decoration: underline;
    font-weight: 600;
}

footer{
    background: #8B8066;
    padding: 1.4em;
    text-align: center;
    color: #ffffff;
}

footer img{
    width: 40%;
    margin: 0.5em;
}

.sp-none{
    display: none;
}

/* レスポンシブ（PC） */
@media screen and (min-width:1025px) {
    .sp-none{
        display: block;
    }

    .pc-none{
        display: none;
    }

    .sp-wrapper{
        width: 96%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .mainvisual img{
        height: 720px;
        object-fit: cover;
    }

    section{
        margin: 200px 0;
    }

    .header_inner {
        padding: 0 3em; /*左右の余白確保*/
    }


    header nav ul{
        display: flex;
        gap: 2em;
    }

    header nav ul li a:hover{
        color: #BF1508;
        text-decoration: underline;
    }

    .accordion summary dl{
        display: flex;
        gap: 2em;
    }

    .accordion-details{
        display: flex;
        justify-content: space-between;
        padding: 4em
    }

    .visual{
        width: 30%;
        max-width: 600px;
    }

    .stage-detail{
        width: 60%;
    }

    .stage-detail .detail-flex{
        display: flex;
        gap: 1.5em;
        align-items: baseline;
    }

    .stage-detail dl{
        margin-bottom: 3em;
    }

    .stage-detail dt{
        width: 100px;
    }

    .entry-button{
        width: 60%;
    }

    #archive li{
        width: 22%;
    }

    /*
    #archive ul::before{
        width:22%;
      }
    
    #archive ul::after{
        width:22%;
      }
        */

    #about {
        padding: 200px 0;
    }

    footer img{
        width: 30%;
        max-width: 200px;
        margin: 0.5em;
    }
}