@charset "utf-8";

/* パンくずリスト */
#sec_faq .block-topic-path--list {
    display: flex;
    font-size: 1.2rem;
}
#sec_faq .block-topic-path--list a{
    text-decoration: underline;
    margin-right: 8px;
}

#sec_faq ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


#sec_faq h1 {
    padding: 40px 0 0 0;
    margin: 0 0 20px 0;
}

#sec_faq h2 {
    font-size: 2.0rem;
}


#sec_faq ul.page-navi{
    padding-left: 0;
    display: grid;
    gap: 10px 5px;
    grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
    box-sizing: border-box;
}

#sec_faq .page-navi li{
    list-style: none;
    list-style-position: inherit;
}

#sec_faq .page-navi li a{
    border-radius: 70px;
    padding: 10px 18px;
    border: #000 1px solid;
    color: #000;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    height: 100%;
}

#sec_faq .page-navi li a:hover {
    border: #EBC52F 1px solid;
    background-color: #EBC52F;
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s
}

#sec_faq .sec {
    margin-top: 30px;
    /* padding: 10px 0px 0px 0px; */
    border-radius: 6px;
    background: #ffffff;
}

#sec_faq .toggle{
    padding: 10px 10px;
    margin: 0 0 1px 0;
    background: #D7DBDA;
    display: flex;
    justify-content:space-between;
    cursor: pointer;
}

#sec_faq .toggle dl{
    display: flex;
    margin: 0;
    width: calc(100% - 30px);
}
#sec_faq .toggle dl dt,
#sec_faq .toggle dl dd{
    font-size: 1.4rem;
}
#sec_faq .toggle dl dt{
    width: 30px;
}

#sec_faq .toggle dl dd{
    width: calc(100% - 30px);
    margin-left: 20px;
}

#sec_faq .toggle-icon {
    height: 16px;
    width: 16px;
    display: block;
    position: relative;
    z-index: 1;
}

#sec_faq .toggle-icon:before,
#sec_faq .toggle-icon:after {
    position: absolute;
    content: "";
    display: block;
    transition: all 0.4s;
    background-color: #202121;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    z-index: 10;
}

#sec_faq .toggle-icon:before {
    transform: rotate(90deg);
}

#sec_faq .toggle-icon.open:before {
    transform: rotate(0deg);
}

#sec_faq .faq-answer {
    font-size: 1.4rem;
    display: none;
}

#sec_faq .faq-answer dl{
    display: flex;
}
#sec_faq .faq-answer dt{
    width: 50px;
    padding: 10px;
    box-sizing: border-box;

}
#sec_faq .faq-answer dd{
    width: calc(100% - 50px);
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

#sec_faq #sec_stage img {
    margin-top: 20px;
    max-width: 450px;
}
 

/* リンク */
#sec_faq .link-color{
    color: #ebc52f;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s;
}

#sec_faq .link-color:hover {
    opacity: 0.7;
}

/* #sec_faq a:visited {
    color: #00BA8F;
} */


/* モーダルウィンドウ */
#sec_faq .overlay {
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

#sec_faq .modal-wrap {
    height: 100vh;
    overflow-y: scroll;

    /*スクロールバー非表示（IE・Edge）*/
    -ms-overflow-style: none;
    /*スクロールバー非表示（Firefox）*/
    scrollbar-width: none;
}

#sec_faq .modal-wrap::-webkit-scrollbar{
    display:none;
  }


  #sec_faq #modal_noshi_detail {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 10px 40px 40px 40px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    position: relative;
}

#sec_faq #modal_noshi_detail .notice {
    margin: 20px 0;
    padding: 10px;
    border: #ff0000 1px solid;
}

#sec_faq .modal-navi {
    margin: 40px 0;
}


#sec_faq .modal-navi{
    padding-left: 0;
    display: grid;
    gap: 10px 5px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    box-sizing: border-box;
}


#sec_faq .modal-navi li{
    border-radius: 70px;
    padding: 10px 18px;
    border: #000 1px solid;
    color: #000;
    background: #ffffff;
    display: block;
    text-align: center;
    height: 100%;
    font-size: 14px;
    cursor: pointer;
}

#sec_faq .modal-navi li:hover {
    background-color: #ebc52f;
    border: #ebc52f 1px solid;
    color: #ffffff;
}

/* 閉じるボタン */
#sec_faq #modal_noshi_detail .mfp-close.top {
    width: 54px;
}
#sec_faq .mfp-close-btn-in .mfp-close {
    color: #333333;
}
#sec_faq .mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    filter: alpha(opacity=65);
    padding: 0 0 18px 10px;
    color: rgb(110, 96, 96);
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
    cursor: pointer;
}

#sec_faq #modal_noshi_detail .mfp-close.bottom {
    width: 200px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    font-size: 16px;
    position: relative;
}



/* レスポンシブ */
@media screen and (max-width:428px) {
    .fs-l-main {
        padding: 8px 4%;
    }

    #sec_faq h1 {
        font-size: 2.1rem;
    }

    #sec_faq ul.page-navi{
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    #sec_faq .faq-answer dd{
        width: calc(100% - 50px);
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
    }

    #sec_faq #sec_stage picture {
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
    }
    #sec_faq #sec_stage img {
        display: block;
        width: 100%;
        height: auto;
    }

    #sec_faq .modal-wrap {
        margin: 0 10px;
    }

    #sec_faq #modal_noshi_detail {
        padding: 10px 20px 40px 20px;
    }
}


/*=========================================
 伊藤園様修正箇所(フリーページにあったcss) 
 ==========================================*/
  h1 {
    text-align: center;
    font-size: 2.8rem;
  }

  /* #sec_faq h2 {
    font-size: 24px;
  } */

  /* 目次修正 */
  #sec_faq .page-navi li a {
    padding: 5px;
  }

  /* @media only screen and (min-width: 768px) {
    #sec_faq ul.page-navi {
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
  } */

  .pc_on {
    display: inline;
  }

  .sp_on {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .pc_on {
      display: none;
    }

    .sp_on {
      display: block;
    }
  }
