@charset "UTF-8";

html,body,ul,li,p {
    margin: 0;
    padding: 0;
}
html{
    width: 1920px;
    height: 1080px;
    overflow: hidden;
}
img{
    display: block;
}
iframe{
    border: none;
    margin: 0;
    padding: 0;
}
#iframe2 body{
    overflow: hidden;
	position: relative;
    width: 1550px;
    height: 1080px;
}
.information{
    position: relative;
    width: 370px;
    height: 1080px;
}
ul,li{
    list-style: none;
}
/*コンテンツエリア*/
.contents{
    margin: 0;
    padding: 0;
}
.contents.popup_btn{
    width: 1550px;
    height: 1080px;
}
/*QRコード
.qr{
    position: absolute;
    top: 738px;
    left: 1241px;
}
.qrcode{
    position: absolute;
    top: 69px;
    left: 103px;
}
*/

/*吹き出し*/
.speech_bubble{
    list-style: none;
}
.speech_bubble li{
    position: absolute;
    z-index: 10;
}
.speech_bubble img{
    width: 100%;
    opacity: 1;
}
.section{
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.show {
    opacity: 1;
}

#bubble1 {
    top: 56px;
    left: 1260px;
}
#bubble2 {
    top: 51px;
    left: 35px;
}
#bubble3 {
    top: 298px;
    left: 244px;
}
#bubble4 {
    top: 467px;
    left: 932px;
}
#bubble5 {
    top: 746px;
    left: 390px;
}
#bubble6 {
    top: 271px;
    left: 15px;
}
#bubble7 {
    top: 303px;
    left: 562px;
}
#bubble8 {
    top: 839px;
    left: 902px;
}
#bubble9 {
    top: 554px;
    left: 1285px;
}

/*矢印アニメーション*/
@keyframes jackInTheBox {
    from {
      opacity: 0;
      transform: scale(0.1) rotate(30deg);
      transform-origin: center bottom;
    }
    0.4% {
      transform: rotate(-10deg);
    }
    2% {
        transform: rotate(5deg);
      }
    3.2% {
        opacity: 1;
        transform: scale(1);
    }
    15% {
        opacity: 1;
        transform: scale(1);
    }
    18.2% {
        opacity: 0;
    }
    to {
      opacity: 0;
    }
}

.arrow1 {
    position: absolute;
    top: 100px;
    left: 336px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 0s;
*/
    }
.arrow2 {
    position: absolute;
    top: 65px;
    left: 258px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 5s;
*/
    }
.arrow3 {
    position: absolute;
    top: 83px;
    left: 0px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 25s;
*/
    }
.arrow4 {
    position: absolute;
    top: 63px;
    left: -4px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 15s;
*/
    }
.arrow5 {
    position: absolute;
    top: 97px;
    left: 190px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 20s;
*/
    }
.arrow6 {
    position: absolute;
    top: 139px;
    left: 158px;
    z-index: 20;
    opacity:1;/*
    animation: jackInTheBox 30s infinite;
    animation-delay: 10s;
    */
}

/*POPUPボタン*/
.popup_btn {
    top: 0;
    left: 0;
    z-index: 1;
}
.modal-open {
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    transition: .2s;
}

/* ふわふわアニメーション 縦 */
@keyframes fuwafuwa1 {
    0% { transform: translateY(0%); }
    100% { transform: translateY(2.5%); }
}


/* ぶるぶる震えるアニメーション */
@keyframes buruburu {
    0%, 80% { transform: rotate(0deg); }
    83% { transform: rotate(-1deg); }
    86% { transform: rotate(0deg); }
    89% { transform: rotate(1deg); }
    92% { transform: rotate(0deg); }
    95% { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}


/* 親要素にふわふわアニメーション */

#modal-open-fujimifactory {
    position: absolute;
    top: 146px;
    left: 1056px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 2.2s ease-in-out infinite alternate;
    animation-delay: 0s;
}
#modal-open-farmhouse{
    position: absolute;
    top: 686px;
    left: 700px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 1.3s ease-in-out infinite alternate;
    animation-delay: 1s;
    .gennzaithi{
        position: absolute;
        top: -100px;
        left: -16px;
    }
}
#modal-open-tomatonoki{
    position: absolute;
    top: 530px;
    left: 1048px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 1.7s ease-in-out infinite alternate;
    animation-delay:4s;
}
#modal-open-miraifarm{
    position: absolute;
    top: 409px;
    left: 34px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 3.2s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}
#modal-open-tomatoonsitu{
    position: absolute;
    top: 115px;
    left: 79px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 2.2s ease-in-out infinite alternate;
    animation-delay: 2.7s;
}
#modal-open-quizrally{
    position: absolute;
    top: 234px;
    left: 665px;
    display: inline-block; /* アニメーションが適用しやすいように */
    animation: fuwafuwa1 1.2s ease-in-out infinite alternate;
    animation-delay: 3.2s;
}
#modal-open-bezicheck{
    position: absolute;
    top: 762px;
    left: 1233px;
}
/* 子要素（.modal-inner）にランダムなアニメーション遅延を適用 */
#modal-open-fujimifactory .modal-inner {
    /*animation: buruburu 9.5s ease-in-out infinite alternate;*/
    animation: buruburu 4s ease-in-out infinite alternate;
}
#modal-open-farmhouse .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
}
#modal-open-tomatonoki .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
    
}
#modal-open-miraifarm .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
}
#modal-open-tomatoonsitu .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
}
#modal-open-quizrally .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
}
#bezicheckmodal-open-bezicheck .modal-inner {
    animation: buruburu 4s ease-in-out infinite alternate;
}

/* モーダル本体 */
.modal-checkbox{
   display: none; 
}


.modal-close {
    position: absolute;
    bottom: 70px;
    right: 78px;
    cursor: pointer;
}

/* ふわふわアニメーション 縦 */
@keyframes fuwafuwa2 {
    0% { transform: translateY(0%); }
    100% { transform: translateY(2.5%); }
}
#fujimifactory_illustration{
    position: absolute;
    top: -137px;
    right: 84px;
    animation: fuwafuwa2 2.2s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

#farmhouse_illustration{
    position: absolute;
    top: -170px;
    right: 50px;
    animation: fuwafuwa2 3.2s ease-in-out infinite alternate;
    animation-delay: 0s;
}

/*ファームハウス2重ポップアップ*/
    /*レストラン*/
    #modal-open-restaurant{
        position: absolute;
        top: 146px;
        left: 182px;
        animation: fuwafuwa2 2.2s ease-in-out infinite alternate;
        animation-delay: 1s;
    }
    #restaurant_illustration{
        position: absolute;
        top: -61px;
        right: 96px;
        animation: fuwafuwa2 1.5s ease-in-out infinite alternate;
        animation-delay: 1.5s;
    }
    /*ショップ*/
    #modal-open-shop{
        position: absolute;
        top: 321px;
        left: 595px;
        animation: fuwafuwa2 3.2s ease-in-out infinite alternate;
        animation-delay: 3s;
    }
    #shop_illustration{
        position: absolute;
        bottom: 135px;
        right: -111px;
        animation: fuwafuwa2 2.6s ease-in-out infinite alternate;
        animation-delay: 2s;
    }
    /*体験教室*/
    #modal-open-trialclass{
        position: absolute;
        top: 300px;
        right: 102px;
        animation: fuwafuwa2 3.2s ease-in-out infinite alternate;
        animation-delay: 0.5s;
    }
    #trialclass_illustration{
        position: absolute;
        top: 49px;
        right: 44px;
        animation: fuwafuwa2 2.2s ease-in-out infinite alternate;
        animation-delay: 1.5s;
    }
/*トマトの木*/
#tomatonoki_illustration1{
    position: absolute;
    top: -22px;
    right: 52px;
    animation: fuwafuwa2 2.7s ease-in-out infinite alternate;
    animation-delay: 1.5s;
}
#tomatonoki_illustration2{
    position: absolute;
    bottom: 65px;
    left: -116px;
    animation: fuwafuwa2 1.5s ease-in-out infinite alternate;
    animation-delay: 2.5s;
}

/*みらいファーム*/
#miraifarm_illustration1{
    position: absolute;
    top: -63px;
    left: 47px;
    animation: fuwafuwa2 3.8s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}
#miraifarm_illustration2{
    position: absolute;
    top: -45px;
    right: -34px;
    animation: fuwafuwa2 1.9s ease-in-out infinite alternate;
    animation-delay: 2s;
}

/*トマト温室*/
#tomatoonsitu_illustration1{
    position: absolute;
    top: 0px;
    right: 73px;
    animation: fuwafuwa2 3.9s ease-in-out infinite alternate;
    animation-delay: 1s;
}
#tomatoonsitu_illustration2{
    position: absolute;
    bottom: 85px;
    left: 49px;
    animation: fuwafuwa2 2.2s ease-in-out infinite alternate;
    animation-delay: 2.5s;
}
#tomatoonsitu_illustration3{
    position: absolute;
    bottom: 250px;
    right: 80px;
}
/*クイズラリー*/
#quizrally_illustration{
    position: absolute;
    bottom:60px;
    left: 40px;
    animation: fuwafuwa2 4.2s ease-in-out infinite alternate;
    animation-delay: 3.5s;
}
/*ベジチェック*/
#bezicheck_illustration3{
    position: absolute;
    bottom: 133px;/*閉じるボタンの下面～ベジチェックボタンの上面*/
    right: 186px;/*閉じるボタンの左面～ベジチェックボタンの左面*/
}

/*カレンダー*/
#calendar_background{
    position: relative;
    top: -120px;
    right:-90px;
    z-index: 10;
    padding: 10px;
}
#calendar_illustration{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 130px;
    z-index: 20;
    object-fit: contain;
}
#calendar_close{
    position: absolute;
    top: 8px;
    right: -8px;
    z-index: 30;
}
.shadow{
    filter: drop-shadow(10px 10px 4px #00000088);
}

/*インフォメーション*/
.information {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    background-image:url("../images/information/background.png") ;
}
.information > label{
    position: absolute;
    opacity: 1;
    transition:.3s all;
    z-index: 100;
}
.btn01{ 
    position: fixed;
    bottom: 19px;
    right: 135px;
    }
.btn02{ 
    position: fixed;
    bottom: 19px;
    right: 80px;
    }
.btn03{
    position: fixed;
    bottom: 19px;
    right: 25px;
}
.nav_btn{
    opacity: 0;
}
.information label:has(:checked){
    .nav_btn{
        opacity: 1;
        z-index: 50;
        width: 44px;
        height: 44px;
        line-height: 44px;
        background-color:#4F8A43;
        border-radius: 50%;
        box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
    }
}
@keyframes tenmetu {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
.tenmetu_img{
    position: absolute;
    top: 80px;
    left: 50%;
    opacity: 1;
    transform: translateX(-50%);
    animation: tenmetu 1s ease-in-out infinite alternate;
}

.information input {
    display: none; /*見た目に表示されないようにする*/
}

/* 初期状態では全て非表示 */
.screen_1, .screen_2, .screen_3 {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden; /* 非表示だがDOMには存在 */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* チェックされたラベルに対応する画面を表示 */
#info1:has(input:checked) + .screen_1 {
    opacity: 1;
    visibility: visible;
}

#info2:has(input:checked) + .screen_2 {
    opacity: 1;
    visibility: visible;
}

#info3:has(input:checked) + .screen_3 {
    opacity: 1;
    visibility: visible;
}


/*INFORMATION➀
.screen_1{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}*/
.taiken{
    position: absolute;
    top: 28px;
    display: flex;
}
#contents01{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 6px;
    box-sizing: border-box;
}
#contents01 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.yasaisyukaku{
    position: absolute;
    top: 522px;
}
#contents02{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}
#contents02 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*INFORMATION➁
.screen_2{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}*/
.event{
    position: absolute;
    top: 28px;
}
#contents03{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

/*INFORMATION➂
.screen_3{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}*/
.yearly{
    position: relative;
    top: 28px;
    z-index: 100;
}
/*
#contents_05{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 303px;
    padding: 8px;
    box-sizing: border-box;
}
*/
.clickable-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    border: none;
    z-index: 50;
}
#modal-open-calendar{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 318px;
    padding: 8px;
    box-sizing: border-box;
    margin: 30px 0px;
    height: 220px;
}
#modal-open-calendar img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

.month{
    position: absolute;
    top: 324px;
}
#contents_month{
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.line{
    position: absolute;
    top: 611px;
    left: -28px;
}
.Wi-Fi{
    position: absolute;
    top: 840px;
}
/*
.information div{
    display: none;
}

.information label:has(:checked) + div {
    display: block; /* 選択されたタブに対応するコンテンツを表示
} 
*/