@charset "utf-8";

:root {
    --sizeLL: 30vw;
    --sizeL: 15vw;
    --sizeM: 10vw;
    --sizeS: 2vw;
}

html {
    overflow-x: hidden;
}

body {
    color: #fff;
    background:
        url(../images_Halloween/H_treeHouseIllust.png) no-repeat calc(100% + 30vw) calc(100% - 0px),
        linear-gradient(to bottom, #0A0A0A 30%, #3D3D3D 100%);
    background-size: 100vw auto, auto;
    line-height: 1.5;
}


.innerWrap {
    width: 85%;
    margin: 0 auto var(--sizeL);
}

/* ボーダーライン */
.line {
    background-image: url(../images_Halloween/line.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    padding-bottom: var(--sizeM);
}

/* font共通 */
.Kaisei {
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
}

.Eater {
    font-family: "Eater", serif;
    font-weight: 400;
    font-style: normal;
}


/* header------------- */
.PCnav_content {
    display: none;
}

/* ハンバーガーメニューの設定　ここから *************** */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 33.59px;
    border-radius: 3px;
    background-color: #ffffff;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 10px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 10px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 40%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: rgba(192, 192, 192, 0.8);
    transition: .5s;
    padding: 60px 10px 0 10px;
}

.nav_content .nav_list li {
    margin-bottom: 20px;
    font-size: clamp(18px, 4vw, 30px);
    line-height: 1em;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    left: 60%;
    /* メニューを画面に入れる */
}

/* オーバーレイ背景（外側クリック用） */
.nav_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 半透明の黒背景 */
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    z-index: 98;
    /* メニューの下、コンテンツの上 */
}

/* チェックが入ったら背景を表示してクリック可能にする */
#drawer_input:checked~.nav_overlay {
    opacity: 1;
    pointer-events: auto;
}

/* *************** navの設定 ここまで */
/* *************** ハンバーガーメニューの設定　ここまで */


header {
    background-image: url(../images_Halloween/header.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

h1 {
    text-align: center;
}

h1 img {
    width: 85%;
    margin: 151vw 0 var(--sizeM) 0;
    filter: drop-shadow(0 0 1px #FFF);

}

header p {
    text-align: center;
    font-size: clamp(16px, 4vw, 40px);
}

.h1textTop {
    margin-bottom: 10px;
}

.topFlex {
    display: flex;
    flex-direction: column;
}

/* main--------- */
/* 空飛ぶキナコのアニメーション（降りる→上がるver） */
.flying-kinako {
    position: fixed;
    top: -200px;
    right: 0%;
    left: auto;
    transform: none;
    z-index: 50;
    pointer-events: none;
    animation: fallAndRise 15s ease-in-out 2s infinite;
}

.flying-kinako img {
    width: clamp(80px, 15vw, 150px);
    height: auto;
}

@keyframes fallAndRise {

    /* 降りる：2回転しながらスムーズに */
    0% {
        top: -200px;
        opacity: 0;
        transform: translateX(-50%) rotate(0deg);
    }

    5% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    50% {
        top: 100vh;
        opacity: 0;
        transform: translateX(-50%) rotate(720deg);
    }

    /* 上がる：回転しないでふわふわさせる */
    55% {
        top: 100vh;
        opacity: 0;
        transform: translateX(-50%) rotate(0deg);
    }

    60% {
        opacity: 1;
    }

    70% {
        transform: translateX(-30px) rotate(0deg);
    }

    80% {
        transform: translateX(30px) rotate(0deg);
    }

    90% {
        transform: translateX(-20px) rotate(0deg);
    }

    95% {
        opacity: 1;
    }

    100% {
        top: -200px;
        opacity: 0;
        transform: translateX(-50%) rotate(0deg);
    }
}


main {
    margin-bottom: var(--sizeM);
    text-align: center;
}

.bannerSP img {
    width: 90%;
    margin-bottom: 6vw;
    margin: 0 auto;
}

.bannerPC img {
    display: none;
}

/* pick==================== */

/* センターで上下にふわふわ動くキナコ（SPでは非表示） */
.floating-icon {
    display: none;
}


.pickGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sizeS);
    margin-bottom: var(--sizeM);
    padding-top: var(--sizeS);
}

.detail1 {
    grid-row: 1/2;
    grid-column: 2/3;
    align-self: center;

}

.detail2 {
    grid-row: 2/3;
    grid-column: 1/2;
    align-self: center;

}

h2 {
    font-size: clamp(28px, 2.44vw, 50px);
    text-align: center;
}

.h2sub {
    font-size: clamp(16px, 1.36vw, 28px);
    text-align: center;
    padding-top: var(--sizeS);
}



.pick img {
    height: auto;
    width: 37vw;
}

.itemDetail h3 {
    text-align: center;
    margin-bottom: var(--sizeS);
}

.itemDetail p {
    font-size: clamp(12px, 1vw, 20px);
}

.price {
    text-align: right;
    padding-top: var(--sizeS);
}

/* map================== */
.map {
    text-align: left;
    width: 80vw;
}

.mapInner p {
    text-align: left;
}

.map h3 {
    margin-top: var(--sizeM);
    font-size: clamp(16px, 1.36vw, 28px);
}

.map iframe {
    margin-top: var(--sizeS);
    width: 80vw;
    height: 80vw;
}

/* goods=================== */
.goods h2 {
    margin-bottom: var(--sizeM);
}

.goods a[href="goodslist.html"] {
    color: #0A0A0A;
    display: block;
    background-color: #FF6A00;
    border-radius: 20px;
    width: 35vw;
    padding: var(--sizeS) 0;
    text-align: center;
    margin: 0 0 0 auto;
    font-size: clamp(12px, 1.36vw, 28px);

}

.goods img {
    width: 90%;
    height: auto;
    margin-bottom: var(--sizeS);
}

.banner {
    margin-top: var(--sizeL);
}


/* footer----------------------- */



footer {
    height: 140vw;
    position: relative;
    background-image: url(../images_Halloween/whitebadLine.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    width: 100%;
}

footer .top {
    text-align: center;
    padding-top: 20vw;
}

.footerTitle {
    /* font-size: clamp(22px, 1.88vw, 40px); */
    font-size: clamp(14px, 6vw, 26px);

}

.iconFlex {
    display: flex;
    gap: var(--sizeS);
}

.iconFlex img {
    width: clamp(14px, 6vw, 26px);
}

.footerText {
    position: absolute;
    bottom: 20vw;
    margin-left: -5vw;
}

.copySP {
    font-size: clamp(10px, 3vw, 16px);
}

.copyPC {
    display: none;
}






/* レスポンシヴ対応　769px以上ver ここから ============================ */
@media (width >=768px) {

    /* body */
    body {
               background-size: 59vw;
        background-position: calc(45% + 30vw) calc(96% - -2vw);
    }
    /* header */
    header {
        background-image: url(../images_Halloween/header_pc.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center -3vw;

        position: relative;
        background-image: url(../images_Halloween/header_pc.webp),
            url(../images_Halloween/bg_kabocha3.png),
            url(../images_Halloween/bg_moon.png);
        background-size: contain, 8%, 10%;
        background-repeat: no-repeat;
        background-position-x: center, 14%, 94%;
        background-position-y: -3vw, 82%, 97%;
        overflow: hidden;

    }

    /* ハンバーガー隠す */
    .nav {
        display: none;
    }

    /* PC用Nav表示 */
    .PCnav_content {
        display: flex;
        justify-content: space-between;
        /* 左右端に配置 */
        align-items: center;
        /* 縦中央 */
        width: 100%;
    }


    .logo {
        display: flex;
        /* 子を横並びに */
        width: auto;
        /* 親幅を内容に合わせる */
        align-items: center;
        /* 高さ中央 */
    }

    .logo img {
        display: block;
        /* 中央寄せを防ぐ */
        width: auto;
        height: 3.5vw;
        /* 縦横比維持 */
        padding-left: 3.5vw;
    }

    .nav_pc {
        width: 100%;
        background-image:
            linear-gradient(to bottom, #0A0A0A 30%, #3D3D3D 100%);
        background-repeat: no-repeat;
        background-size: auto;
        height: 3.5vw;

    }

    .nav_list {
        display: flex;
        margin-left: auto;
        margin-top: auto;
        margin-bottom: 1vw;

    }

    .PCnav_content li {
        font-size: clamp(16px, 1.4vw, 30px);
        padding: 0 3.5vw;
    }

    /* -------------ナビここまで */

    .topFlex {
        display: block;
    }

    h1 img {
        width: 85%;
        margin: 60vw 0 var(--sizeM) 0;
    }

    /* main */
    main {
        position: relative;
        background-image:
            url(../images_Halloween/bg_ame2.png),
            url(../images_Halloween/bg_ame3.png),
            url(../images_Halloween/bg_ame4.png),
            url(../images_Halloween/bg_cake2.png),
            url(../images_Halloween/bg_kabocha4.png),
            url(../images_Halloween/bg_obake.png),
            url(../images_Halloween/bg_kabocha2.png);
        background-size: 5%, 7%, 12%, 7%, 7%, 17%,10%;
        background-position-x: 53%, 90%, 6%, 11%, 1%, 90%,10%;
        background-position-y: 93%, 76%, 78%, 38%, 42%, 46%,0%;
        background-repeat: no-repeat;
    }
.banner {
    margin: var(--sizeM) 0;
}

    .bannerPC {
        width: 90%;
        margin-bottom: 6vw;
        margin: 0 auto;
    }


    .bannerPC img {
        display: block;
        /* ←これを追加！ */
        width: 100%;
        margin: 0 auto;
    }

    .bannerSP img {
        display: none;
    }

    /* pickup========== */

    /* soratobu */
    .floating-icon {
        display: block;
        position: absolute;
        left: 52.55%;
        top: 55%;
        transform: translate(-50%, -50%);
        z-index: 4;
        animation: floatUpDown 4s ease-in-out infinite;
    }

    .floating-icon img {
        width: clamp(72px, 12px, 192px);
        height: auto;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }

    .pick {
        position: relative;
    }

    .pick img {
        width: var(--sizeLL);
    }

    @keyframes floatUpDown {

        0%,
        100% {
            transform: translate(-50%, -50%) translateY(0);
        }

        50% {
            transform: translate(-50%, -50%) translateY(-120px);
        }
    }

    /* --------------------soratobu */
.h2sub {
    font-size: clamp(16px, 2vw, 28px);
}
    h2 {
        font-size: clamp(28px, 10vw, 50px);
    }

    .itemDetail h3 {
        font-size: clamp(16px, 2vw, 28px);
    }

    .itemDetail p {
        font-size: clamp(16px, 1.8vw, 28px);
    }

    .pickGrid {
        gap: 5vw;
    }

    .detail1 {
        grid-row: 2/3;
        grid-column: 1/2;
    }

    .pickGrid .detail2 {
        grid-row: 2/3;
        grid-column: 2/3;
        align-items: center;
    }




    /* map============= */
    .mapInner {
        display: grid;
        grid-template-columns: 55% 45%;
        justify-content: center;
    }

    .tokyo {
        grid-column: 2/3;
        grid-row: 1/2;
        align-self: center;
    }

    .kyoto {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        align-self: center;
    }

    .nagano {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        align-self: center;
    }

    .map h3 {
        margin-top: var(--sizeS);
        font-size: clamp(16px, 1.6vw, 28px);
    }

    .map p {
        font-size: clamp(16px, 1.5vw, 28px);

    }

    .map iframe {
        margin-top: var(--sizeS);
        width: 35vw;
        height: 20vw;

    }

    /* goods=========== */
    .goods a {
        width: 30%
    }
    .goods h2{
        margin-bottom: var(--sizeS);
    }

    /* footer */

    footer {
        height: 86vw;
        background-size: 80% auto;
        /* ← 背景画像を80%に縮小 */
        background-position: top center;
        /* ← 常に中央配置 */
        background-repeat: repeat-x;
        background-size: 47% auto;

    }

    footer .top {
        padding-top: 15vw;
    }

    footer .top a {
        font-size: 25px;
    }

    .copySP {
        display: none;
    }

    .iconFlex {
        margin-left: 5vw;
    }

    .iconFlex img {
        width: 3vw;
    }

    .footerTitle {
        font-size: clamp(22px, 4.5vw, 50px);
        margin-left: 5vw;
    }

    .copyPC {
        display: block;
        line-height: 1.5;
        margin-top: 58vw;
    }

    .footerText {
        bottom: 37vw;
    }

    .nav_list_end {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 40vw;
        margin: auto;
    }

    .navRight {
        border-right: solid 1px #fff;
    }

    .nav_list_end li a {
        font-size: clamp(14px, 1.2vw, 24px);
        font-weight: lighter;
        padding: 0 2vw;
        border-left: solid 1px #fff;
    }

    .copyPC p {
        text-align: center;
    }
}