/*######################################################################
共通設定
######################################################################*/

:root {
    /* メインコンテンツの最大幅 */
    --width__main-content: min(100%, 1000px);
    /* メインフォントカラー */
    --color__p: #462817;
    /* メインフォント */
    --font__main: var(--font__shippori-mincho);
    /* フォント種類 */
    --font__noto-sans-jp: "Noto Sans JP", sans-serif;
    --font__noto-serif-jp: "Noto Serif JP", serif;
    --font__shippori-mincho: "Shippori Mincho", serif;
    /* 追加フォント */
    /* --font__x: ; */
}

/* コンテンツ全体の調整 */
body {
    width: min(100%, 1440px);
    margin-inline: auto;
    color: var(--color__p);
    font-size: clamp(0.75rem, 0.464rem + 0.595vw, 1rem);
    
    /* font */
    font-family: var(--font__main);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    &.page {
        margin: 0 auto;
    }
}

h1,
p {
    margin: 0;
}


/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

/* SPでのみ表示 */
.sp {
    display: none;
}

/* SPでのみ折り返し */
.br__sp {
    display: none;
}

/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* 即時フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

/* スクロールフェードイン */
.scroll-in {
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 1.5s ease, transform 1.5s ease; /* スムーズなアニメーション */
}

/* フェードインの方向指定 */
.scroll-in--left {
    transform: translate(-30px, 0);
}

.scroll-in--right {
    transform: translate(30px, 0);
}

.scroll-in--bottom {
    transform: translate(0, 30px);
}

/* 表示時のスタイル */
.scroll-in.scroll-in--visible {
    opacity: 1;
    transform: translate(0, 0);
}

/*######################################################################
コンテンツ

    clamp: 記述なし = 320-768 768-1440
######################################################################*/

/*------------------------------------------------------------
header
------------------------------------------------------------*/

.site-header {
    background-color: #ffffff;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: auto;
    width: 75%;
    padding: 1em 0;
}

.name {
    width: 43%;
}

.btn--header {
    width: 35%;
}

/*------------------------------------------------------------
fv
------------------------------------------------------------*/

.fv {
    margin: calc( -1 * clamp(1.5rem, -0.071rem + 3.274vw, 2.875rem)) 0 calc( -1 * clamp(1.25rem, 0.107rem + 2.381vw, 2.25rem)) 0;
    position: relative;
    z-index: -1;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    position: relative;
}

.cta__btn {
    position: absolute;
    top: 47%;
    left: 0;
    right: 0;
    margin: auto;
    width: 42%;
}

/*------------------------------------------------------------
voice
------------------------------------------------------------*/

.voice {
    position: relative;
    z-index: 1;
    margin-bottom: -4%;
}

/*------------------------------------------------------------
reason
------------------------------------------------------------*/

.reason {
    position: relative;
    z-index: 0;
}

/*------------------------------------------------------------
menu
------------------------------------------------------------*/

.menu {
    position: relative;
    font-size: clamp(1.875rem, 0.018rem + 3.869vw, 3.5rem);
}

.menu__content--outer {
    position: absolute;
    top: 12.5%;
    left: 0;
    right: 0;
    width: 75%;
    height: 78%;
    margin-inline: auto;
}

.menu__content {
    position: relative;
    width: 100%;
    height: 100%;
}

.menu__content--inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
}

.menu__content__price {
    position: relative;
    width: 100%;
    height: 100%;
}


.menu__price {
    /* font-size: 3.5em; */
    color: #ffffff;
    position: absolute;
    
    &::before {
        content: "￥";
        font-size: 0.9em;
    }

    &::after {
        content: "(税込)～";
        font-size: 0.5em;
        margin-left: 0.25em;
    }
}

.menu__price--1 {
    top: 0;
}

.menu__price--2 {
    top: 15.9%;
}

.menu__price--3 {
    top: 31.8%;
}

.menu__price--4 {
    top: 47.6%;
}

.menu__price--5 {
    top: 73%;
}

.menu__price--6 {
    top: 87.7%;
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.info__list {
    font-size: clamp(1rem, -0.143rem + 2.381vw, 2rem);
    color: #333333;
    border-collapse: collapse;
    width: 70%;
    margin: 4% auto 6%;

    th, td {
        border-top: 1px solid #333333;
        border-bottom: 1px solid #333333;
        padding: 0.75em 0.25em;
    }

    th {
        font-weight: 400;
        text-align: left;
        vertical-align: top;
        position: relative;

        &::after {
            content: "";
            display: block;
            width: 0.1em;
            height: 70%;
            position: absolute;
            top: 50%;
            right: 0;
            translate: 0 -50%;
            background-color: #333333;
        }
    }

    td {
        padding-left: 2em;
        width: 20em;
    }
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    background-color: #6d5655;
    color: #ffffff;
    padding: 1.5em 0;
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;

        li {
            padding: 0.125rem 0;
            position: relative;

            &:not(:last-child) {
                margin-right: 1.125em;
                padding-right: 1.125em;

                &::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: 0;
                    translate: 0 -50%;
                    width: 1px;
                    height: 65%;
                    background-color: #ffffff;
                }
            }
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;

        &:hover {
            filter: brightness(0.8);
        }
    }
}

.copyright {
    text-align: center;
    margin-top: 1.25em;
}

/*######################################################################
responsive
######################################################################*/

@media (max-width: 767px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }

    /*--------------- header ---------------*/
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .header__inner {
        width: 90%;
    }

    .name {
        width: 65%;
    }

    .btn--header { 
        width: 31%;
    }

    /*--------------- content ---------------*/
    body:not(.home) {
        
        #content {
            margin-top: 20%;
        }
    }

    /*--------------- fv ---------------*/
    .fv {
        margin: 0;
    }

    /*--------------- cta ---------------*/
    .cta__btn {
        top: 48%;
        width: 80%;
    }

    /*--------------- voice ---------------*/
    .voice {
        margin-bottom: -8%;
    }
    
    /*--------------- menu ---------------*/
    .menu {
        font-size: clamp(1.063rem, -0.054rem + 5.58vw, 2.625rem);
    }

    .menu__content--outer {
        top: 11.5%;
        width: 92%;
    }

    .menu__content--inner {
        width: 33%;
    }
    
    .menu__price--1 {
        top: 0.4%;
    }
    
    .menu__price--2 {
        top: 16.8%;
    }
    
    .menu__price--3 {
        top: 33.3%;
    }
    
    .menu__price--4 {
        top: 52%;
    }
    
    .menu__price--5 {
        top: 75%;
    }
    
    .menu__price--6 {
        top: 90.5%;
    }

    /*--------------- info ---------------*/
    .info__list {
        font-size: clamp(0.625rem, 0rem + 3.125vw, 1.5rem);
        width: 90%;
        margin: 7% auto;
        
        td {
            padding-left: 1em;
        }
    }
}
