@charset "UTF-8";

:root {
    --primary-color: #fdd000;
    --accent-red: #e30113;
    --accent-blue: #2a7db7;
    --accent-brown: #6b2800;
    --accent-yellow: #f8e690;
    --font-family: "Noto Sans JP", "Hiragino Kaku Gothic StdN", "ヒラギノ角ゴ StdN", "Helvetica Neue", Arial, "Hiragino Sans", Meiryo, sans-serif;
    --font-secondary: "Hiragino Kaku Gothic StdN", "ヒラギノ角ゴ StdN", "Helvetica Neue", Arial, "Hiragino Sans", Meiryo, sans-serif;
}

/* Reset box-model
   ========================================================================== */
* {
    box-sizing: border-box;
}

/* ローディング画面 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.loader img {
    width: 150px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}


::before,
::after {
    box-sizing: inherit;
}

/* Document
   ========================================================================== */
html {
    font-size: 62.5%;
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-tap-highlight-color: transparent;
    /* 3*/
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

/* Vertical rhythm
   ========================================================================== */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* Headings
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
}

/* Lists (enumeration)
   ========================================================================== */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists (definition)
   ========================================================================== */
dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

/* Grouping content
   ========================================================================== */
hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
    border: 0;
    border-top: 1px solid;
    margin: 0;
    clear: both;
    color: inherit;
}

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

address {
    font-style: inherit;
}

/* Text-level semantics
   ========================================================================== */
a {
    background-color: transparent;
    text-decoration: none;
    color: var(--accent-blue);
    transition: all .2s ease;
}

a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
    color: #000;

    @media (max-width: 480px) {
        pointer-events: all;
        color: var(--accent-blue);
        text-decoration: underline;
    }
}

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: inherit;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */
img {
    border-style: none;
    vertical-align: bottom;
    max-width: 100%;
}

embed,
object,
iframe {
    border: 0;
    vertical-align: bottom;
}

/* Interactive
   ========================================================================== */
details {
    display: block;
}

summary {
    display: list-item;
}

/* Table
   ========================================================================== */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: 1.6rem;
    color: #333;
    background-color: var(--primary-color);
    /* ベースのイエロー */
    line-height: 1.6;
    overflow-x: hidden;
}

body>header {
    position: sticky;
    top: 0;
    display: none;
    align-items: center;
    height: 8rem;
    padding: 0 80px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;

    @media screen and (min-width: 1000px) {
        display: flex;
    }

    h1 {
        max-width: 220px;

        img {
            width: 100%;
        }
    }
}

/* 共通 */
.wrapper {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background: url(../img/pc_bg.webp) no-repeat center bottom/contain;

    @media screen and (min-width: 1350px) {
        justify-content: space-between;
        background-attachment: fixed;
    }
}

main {
    width: 100%;
    max-width: 640px;
    /* メインコンテンツの最大幅 */
    background-color: var(--accent-yellow);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(81, 19, 0, 0.5);
    position: relative;
    z-index: 10;

    @media screen and (min-width: 1350px) {
        margin: 0 auto;
    }

    header {
        text-align: center;
        padding: 15px 20px;
        background-color: #fff;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        @media screen and (min-width: 1000px) {
            display: none;
        }

        .inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        h1 {
            max-width: 200px;

            img {
                width: 100%;
            }
        }

        /* ハンバーガーメニューは外に出しました */
    }
}

/* ハンバーガーメニュー共通 */
.hamburger {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 101;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    .hamburger-line {
        display: block;
        width: 24px;
        height: 3px;
        background-color: #631c18;
        /* 茶色 */
        border-radius: 3px;
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }

    &.is-active {
        .hamburger-line {
            background-color: #fff;
        }

        .hamburger-line:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-line:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }
    }
}

section {
    .inner {
        margin: 0 auto;
        width: 80%;

        @media screen and (min-width: 1350px) {
            width: 92%;
        }
    }

    &#cp {
        position: relative;
        padding: 4rem 0 0;
        text-align: center;
        background: url(../img/cp_bg.webp) no-repeat top/contain var(--primary-color);

        h2 {
            margin-bottom: 1rem;
        }

        .inner {
            position: relative;
            padding-bottom: 20rem;

            @media screen and (min-width: 1350px) {
                padding-bottom: 10rem;
            }

            .notice {
                position: absolute;
                margin: auto;
                text-align: center;
                left: 0;
                bottom: 3rem;
                width: 100%;

                p {
                    display: block;
                    margin-bottom: 5rem;
                    text-align: center;
                }

                img {
                    max-width: 46rem;
                    width: 100%;
                }
            }
        }


        .btn {
            padding: 4rem 0;
            background: #fff;

            p {
                display: block;
                margin: 0 auto;
                width: 80%;

                a {
                    display: inline-block;

                    &:hover {
                        opacity: .7;
                    }
                }

                span {
                    display: block;
                    margin-top: 1.5rem;
                }
            }

        }
    }

    &#og {
        text-align: center;
        background: url(../img/og_bg.webp) no-repeat top/contain var(--primary-color);
        padding: 4rem 0;

        h2 {
            margin: 0 auto 2rem;
            width: 88%;
        }

        .og-spoon-split {
            position: relative;
            display: inline-block;
            width: 100%;
            margin: 0 auto 0;

            @media screen and (min-width: 1350px) {
                width: 88%;
            }

            img {
                display: block;
                width: 100%;
                margin: 0 auto;
            }

            .img-left {
                clip-path: inset(0 50% 0 0);
                opacity: 0;
                transform: translateX(-40px);
                transition: opacity 1.2s ease, transform 1.2s ease;
            }

            .img-right {
                position: absolute;
                top: 0;
                left: 0;
                clip-path: inset(0 0 0 50%);
                opacity: 0;
                transform: translateX(40px);
                transition: opacity 1.2s ease, transform 1.2s ease;
                transition-delay: 0.5s;
                /* 左右でフェードインの間隔を空ける */
            }

            &.is-visible {

                .img-left,
                .img-right {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }

        dl {
            margin-bottom: 2rem;

            dt {
                margin-bottom: 3rem;
            }
        }
    }

    &#type {
        padding: 4rem 0 2rem;
        text-align: center;
        background: url(../img/type_bg.webp) no-repeat top/cover;

        h2 {
            margin-bottom: 2rem;

            @media screen and (min-width: 1350px) {
                margin-bottom: 3rem;
            }

            img {
                max-width: 14rem;

                @media screen and (min-width: 1350px) {
                    max-width: 18rem;
                }
            }
        }

        p {
            margin-bottom: 4rem;
        }

        figure {
            margin: 0 auto 3rem;
            width: 100%;

            @media screen and (min-width: 1350px) {
                margin-bottom: 5rem;
                width: 88%;
            }
        }
    }

    &#tsubame {
        padding: 6rem 0 10rem;
        color: #221815;
        text-align: center;
        background: url(../img/deco.png) no-repeat bottom/contain var(--primary-color);

        @media screen and (min-width: 1350px) {
            padding-bottom: 16rem;
        }

        .inner {
            width: 88%;
        }

        h2 {
            margin-bottom: 3rem;
        }

        p {
            margin-bottom: 4rem;

            @media screen and (min-width: 1350px) {
                margin-bottom: 6rem;
            }
        }

        ul {
            li {
                margin-bottom: 2rem;

                @media screen and (min-width: 1350px) {
                    margin-bottom: 3rem;
                }

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }

    &#flow {
        text-align: center;

        .inner {
            padding-bottom: 6rem;
            width: 90%;

            @media screen and (min-width: 1350px) {
                width: 86%;
            }
        }

        h2 {
            margin-bottom: 4rem;

            img {
                width: 70%;
            }
        }

        .step {
            margin-bottom: 6rem;
            padding: 6rem 2rem;
            background-color: #fff;
            border-radius: 2rem;

            @media screen and (min-width: 1350px) {
                padding: 6rem 4rem;
            }

            >ul {
                >li {
                    margin-bottom: 4rem;

                    &:last-child {
                        margin-bottom: 0;
                    }

                    ul {
                        text-align: left;

                        li {
                            margin-bottom: 1rem;
                            line-height: 1.4;

                            &:last-child {
                                margin-bottom: 0;
                            }
                        }
                    }
                }
            }

            .receipt {
                margin: 4rem 0 6rem;
            }

            .spoon {
                margin-bottom: 5rem;
            }
        }

        .closing {
            h3 {
                margin-bottom: 4rem;
            }

            p {
                display: block;
                margin-bottom: 4rem;
                text-align: left;
                line-height: 1.6;
            }

            ul {
                text-align: left;

                li {
                    margin-bottom: 1rem;
                    line-height: 1.4;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }
        }

        .btn {
            padding: 6rem 0 10rem;
            background: url(../img/deco.png) no-repeat bottom/contain #fff;

            @media screen and (min-width: 1350px) {
                padding: 6rem 0 14rem;
            }

            p {
                display: block;
                margin: 0 auto;
                width: 80%;

                a {
                    display: inline-block;

                    &:hover {
                        opacity: .7;
                    }
                }

                span {
                    display: block;
                    margin-top: 1.5rem;
                }
            }
        }
    }

    &#qa {
        padding-bottom: 5rem;

        h2 {
            font-family: var(--font-secondary);
            text-align: center;
            color: var(--accent-brown);
            font-size: 5rem;
            font-weight: 900;

            @media screen and (min-width: 1350px) {
                font-size: 8rem;
            }
        }

        .inner {
            width: 90%;

            @media screen and (min-width: 1350px) {
                width: 86%;
            }
        }

        p {
            display: block;
            margin-bottom: 4rem;
            text-align: center;
            color: var(--accent-brown);
            font-size: 2rem;
            font-weight: 900;
            line-height: 1.2;

            @media screen and (min-width: 1350px) {
                font-size: 4rem;
            }
        }

        dl {
            color: var(--accent-brown);

            dt {
                position: relative;
                padding: 2rem 4rem 2rem 4.5rem;
                background-color: #fff;
                border-radius: 1rem;
                cursor: pointer;
                font-size: 1.6rem;
                font-weight: bold;
                display: flex;
                align-items: flex-start;
                gap: 1rem;
                margin-top: 3rem;
                line-height: 1.4;

                >span {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    left: -.8rem;
                    top: -.8rem;
                    color: var(--accent-brown);
                    font-size: 1.4rem;
                    width: 4rem;
                    height: 4rem;
                    background: #fff;
                    border: .2rem solid var(--accent-brown);
                    border-radius: 50%;

                    span {
                        margin-bottom: .3rem;
                        margin-left: .05rem;
                        font-size: 2rem;
                    }
                }

                &::before,
                &::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                    background-color: var(--accent-brown);
                    transition: all 0.3s ease;
                }

                &::before {
                    right: 1.5rem;
                    width: 14px;
                    height: 2px;
                }

                &::after {
                    right: 2.1rem;
                    width: 2px;
                    height: 14px;
                }

                &.open {
                    border-bottom: none;

                    &::after {
                        transform: rotate(90deg);
                        opacity: 0;
                    }
                }
            }

            dd {
                max-height: 0;
                overflow: hidden;
                padding: 0 1.5rem;
                border-top: none;
                border-radius: 0 0 5px 5px;
                font-size: 1.5rem;
                font-weight: 700;
                line-height: 1.6;
                opacity: 0;
                transition: all 0.3s ease-in-out;
                visibility: hidden;

                span {
                    color: var(--accent-red);
                    font-weight: bold;
                    margin-right: 1rem;
                    font-size: 1.8rem;
                }

                &.open {
                    padding: 1.5rem;
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
}

footer {
    padding: 2rem;
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    background: #6b2800;

    @media screen and (min-width: 1350px) {
        padding: 3rem 0 2rem;
    }
}

.pageTop {
    position: fixed;
    bottom: 0;
    right: 15px;
    z-index: 90;
    width: 6rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    @media screen and (min-width: 1350px) {
        width: 8rem;
        bottom: 10px;
        right: 40px;
    }

    &.is-show {
        opacity: 1;
        visibility: visible;
    }

    a {
        display: block;
        width: 100%;

        &:hover {
            opacity: 0.8;
        }

        img {
            width: 100%;
            display: block;
        }
    }
}

.sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background: url(../img/og_bg.webp) no-repeat top/contain var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;

    &.is-active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    h2 {
        margin-bottom: 5rem;
        z-index: 1;

        img {
            max-width: 25rem;
        }
    }

    ul {
        z-index: 1;
        width: 80%;
        max-width: 30rem;

        li {
            margin-bottom: 2rem;

            a {
                display: block;
                padding: 1.5rem 2rem;
                font-size: 2rem;
                font-weight: bold;
                border-radius: 4rem;
                text-align: center;
                color: #fff;
                background-color: var(--accent-brown);
            }
        }
    }

    @media screen and (min-width: 1350px) {
        display: none;
    }
}

.side-menu {
    display: none;
    /* デフォルト（スマホ等）は非表示 */

    @media screen and (min-width: 1000px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        height: 100vh;
        z-index: 5;
        font-size: 10px;

        &--left {
            left: 0;
        }

        &--right {
            right: 0;
        }
    }

    @media screen and (min-width: 1000px) and (max-width: 1349px) {
        width: calc((100% - 640px) / 2);
        font-size: calc((100vw - 640px) / 71);
    }

    @media screen and (min-width: 1350px) {
        width: calc((100% - 640px) / 2);
        /* サイドメニューの幅を自動計算 */
    }

    h2 {
        margin-bottom: 2em;

        img {
            max-width: 35em;
        }
    }

    &.side-menu--left ul {
        margin: 0 auto;
        width: 20em;

        li {
            margin-bottom: 1.5em;
            width: 100%;

            &:last-child {
                margin-bottom: 0;
            }

            a {
                display: block;
                padding: .5em 2em;
                text-align: center;
                color: #fff;
                background-color: var(--accent-brown);
                border-radius: 3em;
                font-size: 1.6em;

                &:hover {
                    background-color: #8e3e16;
                }
            }
        }
    }

    .info {
        position: relative;
        margin-top: 5em;
        padding: 4em 2em 3em;
        color: #fff;
        width: 30em;
        background-color: var(--accent-red);
        border-radius: 2em;

        p {
            position: relative;
            margin-bottom: 2em;
            z-index: 1;
        }

        figure {
            position: absolute;
            width: 32em;
            top: -13em;
            right: -5em;
        }

        ul {
            li {
                margin-bottom: .8em;

                &:last-child {
                    margin-bottom: 0;
                }

                a {
                    display: block;

                    &:hover {
                        filter: brightness(1.15);
                    }
                }
            }
        }
    }

}

.side-menu--left {
    left: 0;
}

.side-menu--right {
    right: 0;
}

/* フェードインアニメーション共通 */
.js-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;

    &.is-visible {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;

        &.delay-1 {
            transition-delay: 0.5s;
        }

        &.delay-2 {
            transition-delay: 1.0s;
        }
    }
}