@charset "UTF-8";

*{
    font-family:  "Noto Sans JP",sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2vw;
    color: #333;
    line-height: 2vw;
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}

/* 背景 */
.lpBack1{
    width: 100vw;
    position: absolute;
    top: 0;
    z-index: -100;
}
.lpBack2{
    width: 100vw;
    position: absolute;
    z-index: 20;
}
body{
    background-color: #bb5561;
    font-optical-sizing: auto;
    overflow-x: hidden;
}

/* ナビゲーション */
.header{
display: flex;
justify-content: end;
gap: 5vw;
}
.navArea{
    border-bottom: solid #c9bc9c 0.5vh;
}
#nav {
    height: 4vw;
    padding-right: 5vw;
    list-style: none;
    display:flex;
    justify-content: center;
    align-items: center;
    column-gap: 2vw;

}
#nav li {
    margin-top: 3vh;
    text-align: center;
}
#nav li a {
    text-decoration: none;
    color: #fff;
    font-size: 1vw;
    font-weight: bold;
    transition: all 0.3s ease 0s;
	cursor: pointer;
}
#nav li a:hover{
    color: #ded85c;
}

/* ファーストビジュアル */
.fvCont{
    margin-left: auto;
    margin-right: auto;
}
h1,h2,h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-weight: 800;
}
h1{
    width: 100%;
    margin-top: 2vw;
    margin-bottom: 3vw;
    font-size: 4.5vw;

    color: #fff;
    text-align: center;
}
h4{
    width: 60%;
    margin-top: 3vw;
    margin-bottom: 1vw;
    text-align: center;
    font-size: 3vw;
    font-weight: 600;
    color:#cc5d1d;
}
.fv{
    width: 86%;
    display: flex;
    justify-content: space-around;
    align-content: center;
    column-gap: 0.5vw;
}
.date{
    width: 25vw;
    margin-top: 5vh;
    margin-left: 10vw;
    padding: 1vw;
    background-color:rgba(252, 252, 239, 0.8);
    border-radius: 2vw;
}
.teigi{
    height: auto;
    padding: 2vw;
    background-color: #fff091;
    border-radius: 2vw;
    line-height: 5vh;
}
h3{
    margin-top: 1vw;
    margin-bottom: 2vw;
    font-size: 2vw;
    color: #275032;
    text-align: center;
}
.white{
    color: #fff;
    margin-bottom: 0;
    margin-top: 5vw;
}
.chart{
    width: 90vw;
    margin: 0 auto 10vh auto;
}
.start{
    width: 36vw;
    height: auto;
    margin-left: 5vw;
    padding: 2vw;
    background-color: #ded85c;
    border-radius: 3vw;
    line-height: 2vw;
    text-align: center;
}
h2{
    margin-bottom: 3vw;
    font-size: 3vw;
    color: #cc5d1d;
}
.start img,
.answerText img{
    display: inline;
    width: 2vw;
}
#start{
    display: block;
    height: 15vh;
    margin: 1vh 0 1vw 10vw;
}
.arrow-down{
    height: 20vh;
    margin-top: 1vh;
    margin-left: 5vw;
}
.arrow-side{
    width: 5vw;
    margin-left: 1vw;
    margin-right: 1vw;
}
.separate{
    width: 80vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 70vw 10vw;
    column-gap: 0;
}
.area1{
	grid-column: 1 / 2;
}
.area2{
    width: 10vw;
    margin-top: 1vh;
    background: url(../img/long-arrow.webp);
    background-repeat: no-repeat;
    background-size: contain;
	grid-column: 2 / 3;
}
.questionArea{
    margin-left: 5vw;
    display: flex;
    list-style: none;
    align-items:center ;
}
.question{
    width: 25vw;
    padding: 1vw;
    background-color: #ded85c;
    border-radius: 1vw;
    line-height: 3vh;
    text-align: center;
}
#disNone{
    display: none;
}
#yesNo{
    display: none;
}
.go-oshibito,
.go-comJoy{
    display: flex;
}
.arrow{
    width: 45vw;
    margin-left: 5vw;
    margin-bottom: 1vw;
    display: flex;
    justify-content: space-between;
}
.answer{
    display: flex;
    align-items: center;
}
.answerText{
    width: 50vw;
    height: auto;
    padding: 3vw;
    background-color: #fff091;
    border-radius: 3vw;
    line-height: 5vh;
    text-align: center;
}
.answerImg{
    width: 15vw;
    height: 15vw;
}
.answer h3{
    margin-bottom: 0;
}

/* イベント参加手順 */
.steps,
.step,
.stepEnd{
    list-style: none;
}
.steps p,
.stepEnd p{
    padding: 0.5vw;
    color: #fff;
}
.step,
.stepEnd{
    width: 61vw;
    margin-left: 5vw;
    padding: 1vw;
    background-color: #fbfdf3;
    border-radius: 2vw;
    display: flex;
    justify-content:space-around;
    align-items: center;
}
.step img{
    display: block;
    max-width: 15vw;
}
.step p{
    color: #333;
}
.text-img p{
    font-size: 0.8vw;
    text-align: center;
}
.text-img img{
    margin: 0 auto;
}
.step-arrow{
    display: flex;
    margin-top: 1vw;
    margin-bottom: 1vw;
    margin-left: 5vw;
    gap: 5vw;
    align-items: center;
}
.down-arrow{
    width: 10vw;
    height: 100%;
}
.bl{
    color: #fff;
}
.indent{
    padding-left: 4vw;
}
.comeJoyCont{
    width: 80vw;
    height: auto;
    margin-left: 5vw;
    padding: 2vw 2vw 2vw 1vw ;
    background-color: #fff091;
    border-radius: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5vw;
}
.comeJoyCont img{
    display: block;
    max-width: 17vw;
}
.comeJoy img{
    display: inline;
    width: 2vw;
}
.comeJoy h2{
    font-size: 2vw;
    text-align: center;
    line-height: 1vw;
}
.comeJoy>p{
    color: #333;
}
.end{
    display: flex;
    align-items: center;
    gap: 1vw;
}
.deg{
    width: 10vh;
    transform: rotate(-90deg);
}
.tonaruba{
    width: 15vw;
}

/* ライブラリーメニュー */
.lbMenu{
    width: 100%;
    background-image: url(../img/lbMenue-back.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.lbMenu>h3 {
    margin: 0;
    width: 100vw;
    padding-bottom: 2vw;
    padding-top: 2vw;
    border-bottom:0.5vw solid #c9bc9c;
    border-top:0.5vw solid #c9bc9c;
    font-size: 3vw;
    font-weight: 800;
    color: #c9bc9c;
    text-align: center;
}
.gridCont{
    width: 85vw;
    margin: 5vw auto;
    display: grid;
    grid-template-rows: 32vw 38vw;
	grid-template-columns: 41vw 41vw;
    column-gap: 3vw;
    row-gap: 2vw;
}
.gridCont li{
    background-color: rgba(252, 252, 252, 0.9);
    padding: 1vw 2vw 1vw 1vw;
    border-radius: 3vw;
}
.gridCont li>p{
    padding: 0.5vw;
}
.lbmenu{
    display: flex;
}
.lbmenu .lbmenu-image{
    width: 45%; /*画像サイズ指定*/
    margin: 0;
    padding: 1vw;
    overflow: hidden;
    position: relative;
}
.lbmenu .lbmenu-text{
    margin: 0 0 0 1vw;
}
.lbmenu>p{
    width: 55%;
}
#itemA {
	grid-row: 1 / 2;
	grid-column: 1 / 2;
}
#itemB {
	grid-row: 1 / 2;
	grid-column: 2 / 3;
}
#itemC {
	grid-row: 2 / 3;
	grid-column: 1 / 2;
}
#itemD {
	grid-row: 2 / 3;
	grid-column: 2 / 3;
}
.center{
text-align: center;
}
#tonarubaLogo{
    width: 50vw;
}

/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    bottom: 5vw;
    right: 2vw;
    font-size: 1.5vw;
    font-weight: 800;
    line-height: 1;
    z-index: 99;
}
#page-top a {
    text-decoration: none;
    background: #822a34;
    color: #f2edee;
    width: 4.5vw;
    height: 4.5vw;
    padding-top: 1.1vw ;
    padding-bottom: 1.5vw;
    text-align: center;
    display: block;
    border-radius: 50%;
    opacity: 0.9;
    transition: all .3s ease;
}
#page-top a:hover {
    text-decoration: none;
    background: #ded85c;
    color: #822a34;
}
/***トップへ戻るボタンここまで***/

.footer{
    width: 100vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    background: linear-gradient(rgba(130, 42, 52,0),rgba(130, 42, 52,1));
    color: #fff;
    text-align: center;
}
.footerTonaruba{
    width: 25vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer figure{
    margin: 0 auto;
}


@media screen and (max-width:480px) {

    *{
        font-size: 3vw;
        color: #333;
        line-height: 2vh;
        margin: 0;
        padding: 0;
    }
    h1{
        width: 95vw;
        margin-top: 3vh;
        margin-bottom: 4vh;
        margin-left: 5vw;
        padding-right: 1vw;
        text-align:right;
    }
    h2{
        font-size: 4.5vw;
    }
    h3{
        margin-top: 1vh;
        margin-bottom: 1vh;
        font-size: 3vw;
        line-height: 3.8vw;
    }
    .white{
        color: #fff;
        margin-bottom: 0;
        margin-top: 5vw;
    }
        .navArea {
        position: relative;
        border: none;
    }
    .menu-icon {
        width: 6vw;
        position: fixed; /* ← fixedにして常に左上固定 */
        top: 2vw;
        left: 2vw;
        cursor: pointer;
        z-index: 100;
        display: inline-block;
    }
    .menu-icon span {
        display: block;
        height: 1vw;
        margin: 0.5vw 0;
        background: #275032;
        border-radius: 0.5vw;
        transition: 0.4s;
    }
    /* ハンバーガーがXに変形 */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: translateY(1.5vw) rotate(45deg);
    }
    #menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: translateY(-1.5vw) rotate(-45deg);
    }
    /* オーバーレイ背景 */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        pointer-events: none;
        transition: 0.4s;
        z-index: 1;
    }
    #menu-toggle:checked ~ .overlay {
        opacity: 1;
        pointer-events: auto;
    }
    /* メニュー本体（左から出す） */
    .menu {
        position: fixed;
        top: 0;
        left: -80vw; /* ← 初期位置を左へ */
        width: 80vw;
        height: 100%;
        background: rgba(252,252,252,0.8);
        background-image: url(../img/menu_back.png);
        box-shadow: 0.2vw 0 0.1nh rgba(0,0,0,0.2);
        transition: left 0.4s ease;
        z-index: 25;
    }
    .disNoneS{
    display: none;
    }
    #menu-toggle:checked ~ .menu {
        left: 0; /* ← 開いたときは左0へ */
    }
    #nav {
        height: 100vh;
        display: block;
        padding: 10vw 10vw;
    }
    #nav li {
        text-align: center;
        margin: 5vh 0;
    }
    #nav li a {
        text-decoration: none;
        color: #275032;
        font-size: 4vw;
        font-weight: bold;
        transition: all 0.3s ease 0s;
        cursor: pointer;
    }
    #nav li a:hover{
        color: #ded85c;
    }
    #nav li a:checked ~ .menu {
        left: -80vw;
    }
    /* ナビゲーションここまで */

    .fv{
        width: 80vw;
        display: block;
        margin: 0 auto;
    }
    .date{
        width: 40vw;
        margin-top: 0;
        margin-left: 10vw;
        padding: 1vw;
        background-color:rgba(252, 252, 239, 0.8);
        border-radius: 2vw;
    }
    .teigi{
        width: 100%;
        height: auto;
        padding: 2vw 5vw;
        background-color: #fff091;
        border-radius: 2vw;
        line-height: 0.5vh;
    }
    .teigi br{
        display: none;
    }
    .chart{
        width: 100vw;
        margin: 1vh auto 2vh auto;
    }
    #start,
    .arrow-down,
    .down-arrow{
        width: 10vw;;
        height: 15vw;
        margin-left: 5vw;
    }
    .start{
        width: 80vw;
        margin-left: 10vw;
    }
    #start{
        height: 10vw;
        margin-left: 15vw;
    }
    .questionArea{
        height: 3vh;
    }
    .question{
        width: 100%;
        margin-top: 0.5vh;
        padding: 1vw 1vw;
        background-color: #ded85c;
        font-size: 2.7vw;
        border-radius: 1vw;
        line-height: 1.5vh;
        text-align: center;
    }
    #disNone{
        display: inline;
    }
    #arrow-side1{
        display: none;
    }
    #arrow-side2{
        width: 10vw;
    }
    
    .go-oshibito{
        width: 60vw;
        display: block;
    }
    #go-comJoy{
        width: 20vw;
    }
    .separate{
        width: 100vw;
        grid-template-columns: 90vw 5vw 5vw;
    }
    .area1{
        grid-column: 1 / 2;
    }
    .area2{
        width: 5vw;
        margin-top: 1vh;
        background: none;
        grid-column: 2 / 3;
        box-sizing:content-box;
        border-right: solid 5px #ded85c;
        position: relative;
    }
    .area3{
        width: 5vw;
        margin-top: 1vh;
        background: none;
        grid-column: 3 / 4;
        box-sizing:content-box;
        border-left: solid 5px #ded85c;
    }
    .area2::after{
        position:absolute;
        right: -3.5vw;
        bottom: 0;
        display: block;
        content: "";
        width: 6vw;
        height: 6vw;
        border-right: 2vw solid #ded85c;
        border-top: 2vw solid #ded85c;
        border-radius: 1vw;
        transform: rotate(135deg);
    }
    .arrow{
        width: 100%;
        height: 15vw;
        margin-left: 5vw;
        margin-bottom: 1vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* gap: 5vw; */
    }

    #yesNo{
        display: block;
        width: 15vw;
    }
    .answer{
        width: 90VW;
        justify-content: center;
    }
    .answerImg{
        max-width: 20vw;
        max-height: 20vw;
    }
    .step,
    .stepEnd{
        width: 100%;
        margin-left: 2.5vw;
        padding: 1vh 0.5vw;
        border-radius: 3vw;
        display: block;
    }
    .step-arrow{
        gap: 1vw;
    }
    #gap5{
        gap: 15vw;
    }
    .step-text{
        margin-top: 1vh;
    }
    .step img{
        display: block;
        max-width: 25vw;
        margin: 0 auto;
    }
    .step p,
    .step-arrow li,
    .comeJoy p{
        margin-top: 1vh;
        margin-left: 4vw;
    }
    .indent{
        padding-left: 10vw;
    }
    #entry{
    text-align: center;
    }
    .text-img p{
    margin-left: 0;
    font-size: 3vw;
    text-align: center;
    }
    .comeJoyCont{
        width: 95vw;
        margin-top: 5vw;
        margin-left: 2.5vw;
        display: block;
    }
    .comeJoyCont img{
        display: block;
        margin: 0 auto;
        max-width: 25vw;
    }
    .comeJoy h2{
        margin-top: 2vh;
        font-size: 3vw;
    }
    .comeJoy img{
    display: inline;
    width: 2vw;
    }
    #blLast{
        width: 90%;
    }
    .end{
        display: block;
        align-items: center;
        gap: 1vw;
    }
    .deg{
        display: none;
    }
    .end{
        width: 95%;
    }
    .tonaruba{
        width: 30vw;
        margin: 5vh auto;
    }
    .gridCont{
        width: 100vw;
        margin: 0 auto;
        display: block;
    }
    .lbMenu>h3 {
        font-size: 5vw;
    }
    .lbmenu{
        display: flex;
    }
    .lbmenu .lbmenu-image{
        width: 50%; /*画像サイズ指定*/
        margin: 0;
        padding: 1vw 2vw;
        overflow: hidden;
        position: relative;
    }
    .lbmenu .menu-text{
        margin: 0 0 0 1vw;
    }
    .lbmenu>p{
        font-size: 2.8vw;
        width: 50%;
        line-height: 2.5vh;
    }
    .item{
        width: 85%;
        margin-top: 3vh;
        margin-left: auto;
        margin-right: auto;
        border-radius: 30vw;
    }
    #itemD{
        margin-bottom: 3vh;
    }
    #tonarubaLogo{
        width: 70vw;
    }
    .center{
        font-size:2.5vw ;
    }

    /***追従するトップへ戻るボタン***/
    #page-top {
        position: fixed;
        bottom: 15vw;
        right: 3vw;
        font-size: 2vw;
        font-weight: 800;
        line-height: 1;
        z-index: 99;
    }
    #page-top a {
        text-decoration: none;
        background: #822a34;
        color: #f2edee;
        width: 10vw;
        height: 10vw;
        padding-top: 3vw ;
        padding-bottom: 3vw;
        text-align: center;
        display: block;
        border-radius: 50%;
        opacity: 0.9;
        transition: all .3s ease;
    }
    #page-top a:hover {
        text-decoration: none;
        background: #ded85c;
        color: #822a34;
    }
    /***トップへ戻るボタンここまで***/

    .footerTonaruba{
        width: 80vw;
        margin: 2vh auto;
    }
    .footerTonaruba img{
        height: 10vh;
    }

}