
/***********************************************************************
既存CSSのリセット
*/

.main-block.block-spot-detail.page-main {
    all: unset;
}

.yosakoinet-common .block-spot-detail .original-contents a, .yosakoinet-common .block-event-detail .original-contents a
{
    color: #231815;
}
.yosakoinet-common .block-spot-detail .spot-outline, .yosakoinet-common .block-spot-detail .spot-data, .yosakoinet-common .block-spot-detail .block-parallel, .yosakoinet-common .block-spot-detail .original-contents, .yosakoinet-common .block-spot-detail .original-contents-delim
,.yosakoinet-common .original-contents
{
    text-align: center;
}


.yosakoinet-common .block-spot-detail .original-contents h1, .yosakoinet-common .block-spot-detail .original-contents h2, .yosakoinet-common .block-event-detail .original-contents h1, .yosakoinet-common .block-event-detail .original-contents h2
{
    all: unset;
    color: #ed7969;
    font-size: 1.8em;
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 3rem auto;
}

.block-title
{
    display: none;
}
.yosakoinet-common .block-spot-detail .original-contents, .yosakoinet-common .block-event-detail .original-contents
{
    background-image: none;
    background-color: #fff;
}

.yosakoinet-common .original-contents a[href$=".pdf"]:after, .yosakoinet-common .files a[href$=".pdf"]:after
{
    display: none;
}

/***********************************************************************
ページ
*/

.set-ticket
{
    color: #231815;
    font-size: 18px;
    font-family: "Zen Maru Gothic", serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.8;
}

section>h2
{
    color: #ed7969;
    font-size: 1.8em;
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 150px auto 100px;
}
h2::before,
h2::after {
    content: "";
    flex-grow: 1;
    height: 4px; 
    background: radial-gradient(circle, #E57373 30%, transparent 30%);
    background-size: 10px 4px; 
    margin: 0 20px; 
}


/***********************************************************************
TOP
*/
.top
{
    position: relative;
}
.top>img
{
    box-sizing: border-box;
    padding-left: 2%;
    width: 50%;
}
.top ul
{
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 1em auto;
    padding: 0;
    width: 100%;
}
.top li
{
    display: block;
    text-align: right;
    width: calc(50% - 1em);
}
.top li > img:first-of-type
{
    width: 100%;
}
.top li:first-of-type > img:last-of-type
{
    width: 40%;
}
.top li:last-of-type > img:last-of-type
{
    width: 24%;
}

/***********************************************************************
nav
*/
.pc-nav
{
    width: 100%;
    margin: 50px auto;
}
.pc-nav>ul
{
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
}
.pc-nav>ul li
{
    width: 15%;
    padding: 1% 0;
    background-color: #fffedb;
    border: 3px solid #fff106;
    filter: drop-shadow(3px 5px 0px #fabe00);
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}
.pc-nav>ul li:hover
{
    filter: drop-shadow(0px 0px 0px #00000000);
}
.pc-nav>ul li a
{
    text-decoration: none;
    color: #231815;
    display: inline-flex;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
}

/***********************************************************************
text/pdfボタン
*/
.text
{
    margin: 50px auto;
}
.text>p
{
    max-width: 828px;
    line-height: 2;
    margin: 0 auto 30px;
}
.text>p>span
{
    color: #f90;
    font-size: 1.5em;
    font-weight: bold;
}
.text>div
{
    max-width: 400px;
    margin: 0 auto;
    background-color: #6eb92c;
    padding: 1%;
    box-sizing: border-box;
    border: 3px solid #6eb92c;
    border-radius: 40px;
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.16));
    cursor: pointer;
    position: relative;
}
.text>div:hover
{
    filter: none;
}
.text>div a
{
    text-decoration: none;
    color: #fff !important;
}
.text> a.old_pdf
{
    display: inline-block;
    font-size: 0.9em;
    margin-top: 1em;
}

/***********************************************************************
施設の紹介
*/

#discription img
{
    width: 100%;
    object-fit: contain;
}
.hp-btn-con
{
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    width: 100%;
}
.hp-btn
{  
    margin: 15px auto;
    min-width: 300px;
    text-align: left;
    width: 40%;
}
.hp-btn span
{
    color: #d00;
    display: block;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.3;
    margin: 1em 0 0 0;
    padding: 0;
}
.hp-btn>a
{
    border-radius: 5px;
    display: inline-flex;
    filter: drop-shadow(2px 3px 3px rgba(0,0,0,0.16));
    width: 100%;
    height: 50px;
    text-decoration: none;
    color: #231815;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.hp-btn.yanase a {
    background: #fde8c6;
    border: 2px solid #ff9999;
  }
.hp-btn.makino a{
    background: #edf1b0;
    border: 2px solid #999900;
}
      
  

/***********************************************************************
料金等
*/
#fee
{
}
#fee ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}
#fee li
{
    display: inline-block;
    font-size: 2em;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    padding: 0;
}
#fee li:nth-of-type(1) { color: #f90; }
#fee li:nth-of-type(2) strong { font-size: 2em; margin-left: 20px;}
#fee li:nth-of-type(3) {}
#fee li:nth-of-type(4) { display: block; font-size: 1rem; margin-top: 1rem; }
#fee > div
{
    margin: 1em auto 0;
    max-width: 800px;
    text-align: left;
}
#fee .otoku
{
    display: flex;
    margin: 3rem auto 0;
}
#fee .otoku > div
{
    width: 50%;
}
#fee .otoku img
{
    margin: auto;
    width: 50%;
}
#fee .notice
{
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    margin-left: 1rem;
}
#fee .notice h4
{
    font-size: 1.5em;
    margin: 0 0 10px 0;
    padding: 0;
}
#fee .notice span
{
    color: #83ae27;
}
#fee .notice span.red
{
    color: #f00;
}
#fee .notice img.qr
{
    float: right;
    width: 100px;
}
#fee .notice > div:after
{
    clear: both;
}





.ticket-detail
{
    background-color: #F1F1F1;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 3rem auto 0;
    max-width: 800px;
    padding: 20px;
}
.ticket-detail dt,
.ticket-detail dd
{
    margin: 0;
    padding: 0;
    text-align: left;
}
.ticket-detail dt
{
    width: 20%;
}
.ticket-detail dd
{
    width: 80%;
}




/***********************************************************************
特典の紹介
*/
#benefits
{
    margin: 3rem auto 0;
    text-align: justify;
}
#benefits p,
#benefits ul
{
    list-style: none;
    padding: 0;
    max-width: 800px;
}
#benefits p,
#benefits ul
{

    margin:  auto;
}


/* コンテナ（ボタン + コンテンツ） */
.benefits-shop {
    width: 90%;
    border: 3px solid transparent;
    border-radius: 15px;
    border: 3px solid #b6dc95;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    max-height: 70px; 
    cursor: pointer;
    filter: drop-shadow(3px 5px 0px #6eb92c);
    margin: 30px auto;
    
}

/* 開いたときの最大高さ */
.benefits-shop.active {
    max-height: 2500px; 
}

/* ボタン部分 */
.toggle-btn {
    width: 100%;
    height: 70px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    color: #000;
    font-weight: 900;
    display: block;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out;
    position: relative;
    z-index: -1;
    line-height: 1.5;
}

/* プラスマーク */
.toggle-btn::after {
    content: "+";
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ボタンがアクティブ（展開時）のスタイル */
.benefits-shop.active .toggle-btn::after {
    content: "−";
}

/* 展開されるコンテンツ */
.content {
    padding: 2.5% 5%;
    background-color: #fff;
    box-sizing: border-box;
    cursor:default;
}

/* 特典リスト */
.facility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

/* カードデザイン */
.card {
    background-color: #FFF3C3;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
    font-size: 85%;
    filter:drop-shadow(0px 3px 6px rgba(0,0,0,0.16));
    position: relative;
}

.card h3
{
    font-size: 0.9rem;
    position: relative;
    text-align: center !important;
}
.card>h3 a:hover
{
    text-decoration: none;
}

/* .card>a
{
    text-decoration: none;
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    color: #00000000 !important;
    border-radius: 10px;
    top: 0;
    left: 0;
} */
.card p
{
    align-items: center;
    background-color: #f90;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    height: 135px;
    justify-content: center;
    padding: 10px;
    width: 100%;
}
.card table
{
    background: #fff;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 80%;
    margin-top: 20px;
}
.card table th
{
    width: 30%;
    border: 1px solid #ddd;
    padding: 5% 2%;
    box-sizing: border-box;
}
.card table td
{
    width: 70%;
    border: 1px solid #ddd;
    padding: 5%;
    box-sizing: border-box;
    text-align: left;
}

/***********************************************************************
注意事項
*/

.notice-list
{
    text-align: left;
    line-height: 2;
    list-style: none;
    margin: auto;
    max-width: 800px;
    padding: 0;
}
.notice-list>li
{
    position: relative;
    padding-left: 15px;
}
.notice-list>li::before
{
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #231815;
    border-radius: 50%;
    top: 15px;
    left: 0;
}
.red li
{
    color: #ff3700;
}




/***********************************************************************
モデルコース
*/

#model img
{
    width: 100%;
    object-fit: contain;
}





/***********************************************************************
お問い合わせ
*/

#otoiawase > div
{
    margin: auto;
    max-width: 800px;
}
#otoiawase > div strong
{
    font-size: 2em;
}




/***********************************************************************
注意事項
*/

.banner
{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    max-width: 800px;
    margin: 100px auto;
}
.banner>div
{
    border: 1px solid #707070;
    padding: 0;

}
.banner>div img
{
    width: 100%;
    object-fit: contain;
}
.banner>div a
{
    display: inline-flex;
    width: 100%;
    height: 100%;
}
.banner>div:hover
{
    filter: opacity(0.6)
}

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

    .pc
    {
        display: block;
    }
    .sp
    {
        display: none;
    }
    
}
@media screen and (max-width:768px) {
    
    .top>img
    {
        box-sizing: border-box;
        padding-left: 0;
        width: 100%;
    }
    .top ul
    {
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        list-style: none;
        margin: 1em auto;
        padding: 0;
        width: 100%;
    }
    .top li
    {
        display: block;
        text-align: right;
        width: calc(50% - 5px);
    }
    .top li > img:first-of-type
    {
        width: 100%;
    }
    .top li:first-of-type > img:last-of-type
    {
        width: 80%;
    }
    .top li:last-of-type > img:last-of-type
    {
        width: 60%;
    }

    .set-ticket
    {
        font-size: 14px;
    }
    section>h2
    {

        width: 100%;
        margin: 100px auto 50px;
    }

    h2::before,
    h2::after {
        content: "";
        flex-grow: 1;
        height: 4px; 
        background: radial-gradient(circle, #E57373 30%, transparent 30%);
        background-size: 10px 4px; 
        margin: 0 10px; 
    }

    .text
    {
        margin-top: 1rem;
    }
    .text>p
    {
        line-height: 1.5;
        text-align: left;
    }
    .text>p br
    {
        display: none;
    }
    
    
    
    
    /*nav*/
    .pc-nav
    {
        position: fixed;
        bottom: 0;
        left: 0;
        margin: 0;
        background-color: #6eb92c;
        z-index: 10 !important;
    }
    .pc-nav>ul
    {
        margin: 0;
    }
    .pc-nav>ul li
    {
        background: none;
        border: none;
        filter: none;
        color: #fff;
    }
    .pc-nav>ul li a
    {
        color: #fff !important;
        font-size: 50%;
        line-height: 1 !important;
        padding: 45px 0 10px;
        box-sizing: border-box;
        position: relative;
        line-height: 1 !important;
    }
    .pc-nav>ul li a::before
    {
        content: "";
        width: 50%;
        height: 50%;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        position: absolute;
    }
    .pc-nav>ul li:nth-child(1) a::before
    {
        background-image: url(1741163280288.png);
    }
    .pc-nav>ul li:nth-child(2) a::before
    {
        background-image: url(1741163333643.png);
    }
    .pc-nav>ul li:nth-child(3) a::before
    {
        background-image: url(1741163348275.png);
    }
    .pc-nav>ul li:nth-child(4) a::before
    {
        background-image: url(1741163361212.png);
    }
    .pc-nav>ul li:nth-child(5) a::before
    {
        background-image: url(1741163374727.png);
    }
    .pc-nav>ul li:nth-child(6) a::before
    {
        background-image: url(ic_otoiawase.png);
    }

    .pc-nav {
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        opacity: 1;
        visibility: visible;
    }

    .pc-nav.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }


    /*top*/
    .pc
    {
        display: none;
    }
    .sp
    {
        display: block;
    }
    .title
    {
        width: 70%;
    }


    /*施設*/
    .hp-btn-con
    {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    
    /*料金*/
    #fee .otoku
    {
        flex-wrap: wrap;
    }
    #fee .otoku img
    {
        width: 100%;
    }
    
    

    /*特典*/
    .ticket-detail
    {
        font-size: 0.9em;
    }
    .swiper {
        position: relative;
        padding-bottom: 40px;
        width: 100%;
        overflow: hidden;
    }
    .swiper-pagination {
        bottom: 0;
    }
    .swiper-button-next,
    .swiper-button-prev {
        color: #333;
    }
    #benefits .toggle-btn::after
    {
        content: none;
    }
    #benefits .toggle-btn
    {
        display: block;
    }
    .benefits-shop
    {
        max-height: 1000px;
    }
    .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }
    .swiper-slide {
        width: 100% !important;
    }
    .card
    {
        margin: 10px;
    }
    .card p
    {
        height: 115px;
    }



    /*注意事項*/
    .notice-list
    {
        padding-left: 0;
    }

    /*モデルコース*/
    .corse_one,
    .corse_two {
        width: 100%;
        border: 3px solid transparent;
        border-radius: 15px;
        border: 3px solid #b6dc95;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        max-height: 50px; 
        cursor: pointer;
        filter: drop-shadow(3px 5px 0px #6eb92c);
        margin: 30px auto;
        box-sizing: border-box;
        
    }
    .toggle-btn
    {
/*        height: 100px;*/
    display: flex;
        padding: 0 5px;
        box-sizing: border-box;
    }
    .corse_one .toggle-btn,
    .corse_two .toggle-btn
    {
        height: 46px;
    }
    /* 開いたときの最大高さ */
    .corse_one.active,
    .corse_two.active {
        max-height: 3500px; 
    }

    /* ボタンがアクティブ（展開時）のスタイル */
    .corse_one.active .toggle-btn::after,
    .corse_two.active .toggle-btn::after {
        content: "−";
    }

    /*バナー*/
    .banner
    {
        grid-template-columns: repeat(1, 1fr);
    }



}