@charset "utf-8";
/* CSS Document */
footer {
    padding: 5.8rem 3.4rem 3.6rem;
    @media screen and (max-width: 480px) {
        padding: 6.2rem 3.4rem 2rem;
    }
    .inner {
        max-width: 99.6rem;
        margin: 0 auto 4.4rem;
        display: flex;
        justify-content: space-between;
        @media screen and (max-width: 480px) {
            display: block;
            margin: 0 auto 2.2rem;
        }
        .logo {
            width: 29.6rem;
            @media screen and (max-width: 480px) {
                width: 24.6rem;
                margin: auto auto 2.4rem;
            }
        }

        .address {
            line-height: 1.625;
            font-size: 1.6rem;
            padding-top: 1.8rem;
            font-feature-settings: "palt";
            @media screen and (max-width: 480px) {
                font-size: 1.4rem;
            }
            dl {
                dt,
                dd {
                    display: inline-block;
                }
                dt {
                    span {
                        display: inline-block;
                        width: 4em;
                        text-align-last: justify;
                    }
                }
                @media screen and (max-width: 480px) {
                    display: flex;
                    dt,
                    dd {
                        display: block;
                    }
                    dt {
                        width: 5em;
                        flex-shrink: 0;
                    }
                }
            }
        }
    }
    p.copyright {
        text-align: center;
        font-size: 1.2rem;
        letter-spacing: 0.04em;
        padding-left: 0.04em;
    }
}
/* ボタン */

.button_wrap {
    a {
        background-color: #fff;
        color: var(--color_top_pink);
        position: relative;
        width: 25.6rem;
        height: 6.4rem;
        margin: auto;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        font-weight: 500;
        padding: 0 3.8rem;
        box-sizing: border-box;
        text-decoration: none;
        transition: all ease-out 0.2s;

        &:hover {
            opacity: 0.8;
        }

        &::after {
            content: "";
            display: block;
            width: 0.667em;
            aspect-ratio: 1/1;
            border-top: 2px solid var(--color_top_pink);
            border-left: 2px solid var(--color_top_pink);
            transform: rotate(135deg);
            position: absolute;
            right: 1.7em;
        }
        @media screen and (max-width: 480px) {
            width: 19.4rem;
            height: 4.8rem;
            font-size: 1.4rem;
            padding: 0 3rem;
            &::after {
                border-width: 1px;
                right: 1.4em;
            }
        }
        &.blown {
            background-color: var(--color_top_blown);
            color: #fff;
            &::after {
                border-color: #fff;
            }
        }
    }
}
body.top {
    #contents_wrap {
        /* メイン部分 */
        section.main_area {
            padding: 9.8rem 0 6.8rem;
            @media screen and (max-width: 480px) {
                padding: 5.3rem 0 4.2rem;
            }
            .main_img {
                max-width: 32.8rem;
                margin: 0 auto 8.6rem;
                @media screen and (max-width: 480px) {
                    max-width: 18rem;
                    margin-bottom: 5.8rem;
                }
            }
            h1 {
                font-size: 3rem;
                line-height: 1.87;
                letter-spacing: 0.08em;
                padding-left: 0.08em;
                text-align: center;
                font-weight: 700;
                margin-bottom: 10.8rem;
                @media screen and (max-width: 480px) {
                    font-size: 2.4rem;
                    margin-bottom: 6.2rem;
                }
            }

            .slider_box_wrap {
                margin: 0 auto 12.4rem;
                max-width: 1128px;
                padding: 0 1.7rem;
                @media screen and (max-width: 480px) {
                    padding: 0;
                    margin-bottom: 7.8rem;
                }
                .slider_box {
                    display: flex;
                    justify-content: center;
                    .slider-item {
                        justify-content: center;
                        margin: 4px;
                    }
                    @media screen and (max-width: 480px) {
                        display: block;
                    }
                }
            }

            h2 {
                width: 33.8rem;
                margin: 0 auto 8rem;
                @media screen and (max-width: 480px) {
                    width: 28.2rem;
                    margin-bottom: 5rem;
                }
            }

            p.copy {
                font-size: 2rem;
                line-height: 1.8;
                text-align: center;
                padding: 0 3.4rem;
                @media screen and (max-width: 480px) {
                    font-size: 1.8rem;
                    text-align: justify;
                    font-feature-settings: "palt";
                }
            }
        }
    }
    /* タイトル */
    h2.title_img {
        text-align: center;
        height: 2.4rem;
        @media screen and (max-width: 480px) {
            height: 1.8rem;
        }
        img {
            height: 100%;
            width: auto;
        }
    }

    /* メッセージ */
    .message_wrap {
        background-color: var(--color_top_blown);
        border-radius: 9.4rem 9.4rem 0 0;
        padding: 7.8rem 3.2rem 17rem;
        position: relative;
        z-index: 20;
        @media screen and (max-width: 480px) {
            padding: 5.4rem 3.2rem 9.4rem;
            border-radius: 5rem 5rem 0 0;
        }
        h2 {
            margin-bottom: 3.4rem;
            @media screen and (max-width: 480px) {
                margin-bottom: 3.6rem;
            }
        }

        .copy_wrap {
            display: flex;
            gap: 5rem;
            color: #fff;
            max-width: 81.4rem;
            margin: auto;
            @media screen and (max-width: 480px) {
                gap: 3.8rem;
            }
            h3 {
                writing-mode: vertical-rl;
                font-size: 3rem;
                font-weight: 700;
                letter-spacing: 0.2em;
                padding-top: 0.2em;
                span {
                    letter-spacing: 0.1em;
                }
            }
            p {
                font-size: 1.8rem;
                line-height: 1.78;
                letter-spacing: 0.06em;
                font-feature-settings: "palt";
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                }
            }
        }
        .logo-yamada {
            margin: 4.4rem auto 6.2rem;
            width: 28.2rem;
            @media screen and (max-width: 480px) {
                margin: 3.2rem auto;
                width: 23.5rem;
            }
        }
        .project_wrap {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 3.6rem 3.6rem 3.6rem 10.8rem;
            background-color: #fff;
            max-width: 88.8rem;
            box-sizing: border-box;
            position: relative;
            margin: auto;
            @media screen and (max-width: 480px) {
                display: block;
                padding: 2.8rem 2.4rem 2.2rem;
            }
            h4 {
                position: absolute;
                writing-mode: vertical-rl;
                color: var(--color_top_blown);
                font-size: 1.8rem;
                letter-spacing: 0.04em;
                left: 4.4rem;
                top: 3.6rem;
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                    writing-mode: horizontal-tb;
                    position: static;
                    margin-bottom: 1.7rem;
                }
            }
            .item {
                width: 48%;
                max-width: 35.6rem;
                font-size: 1.8rem;
                line-height: 1.44;
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                    width: 100%;
                    max-width: 100%;
                }
                h5 {
                    &::before {
                        content: "■";
                        color: var(--color_top_blown);
                    }
                }
                &:nth-child(-n + 3) {
                    border-bottom: 1px solid var(--color_top_blown);
                    padding-bottom: 0.75em;
                    margin-bottom: 0.75em;
                }
                @media screen and (max-width: 480px) {
                    &:nth-child(-n + 4) {
                        border-bottom: 1px solid var(--color_top_blown);
                        padding-bottom: 0.75em;
                        margin-bottom: 0.75em;
                    }
                }
            }
        }
    }
    /* プロダクト */
    .products_wrap {
        margin-top: -9.4rem;
        background: #d8cbb3;
        background: linear-gradient(180deg, #d8cbb3 29.2rem, #d8cbb3 29.2rem, #fff 20%, #fff 100%);
        padding: 7.8rem 1.7rem 7.2rem;
        border-radius: 9.4rem 9.4rem 0 0;
        position: relative;
        z-index: 25;
        @media screen and (max-width: 480px) {
            padding: 6.4rem 1.7rem 5rem;
            border-radius: 5rem 5rem 0 0;
            margin-top: -5rem;
        }

        h2 {
            margin-bottom: 3.4rem;
            @media screen and (max-width: 480px) {
                margin-bottom: 3.6rem;
            }
        }

        h3 {
            text-align: center;
            font-size: 2.4rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            padding-left: 0.8em;
            margin-bottom: 3.4rem;
            line-height: 1.66;
            @media screen and (max-width: 480px) {
                font-size: 1.8rem;
                margin-bottom: 2.4rem;
            }
        }

        ul.product_list {
            display: flex;
            justify-content: center;
            gap: 2.6rem;
            margin-bottom: 6.8rem;
            @media screen and (max-width: 480px) {
                gap: 0.8rem;
                margin-bottom: 4.6rem;
            }
            li {
                height: 21.6rem;
                img {
                    height: 100%;
                    width: auto;
                }
                @media screen and (max-width: 480px) {
                    height: 12rem;
                }
            }
        }
    }
    /* アンバサダー */
    .ambassador_wrap {
        background-color: var(--color_top_pink);
        border-radius: 9.4rem;
        padding: 6.2rem 0;
        color: #fff;
        @media screen and (max-width: 480px) {
            border-radius: 5rem;
            padding: 6.4rem 0;
        }
        .inner {
            padding: 1.5rem 0 3.6rem;
            position: relative;
            width: 71.4rem;
            margin: auto;
            @media screen and (max-width: 480px) {
                padding: 0 0 6.4rem;
                width: 100%;
            }
            .img_wrap {
                position: absolute;
                width: 12.4rem;
                @media screen and (max-width: 480px) {
                    width: 8.6rem;
                }
                &.img-01 {
                    left: 0;
                    top: 0;
                    @media screen and (max-width: 480px) {
                        top: 12.9rem;
                        left: auto;
                        right: 3.4rem;
                        transform: scale(-1, 1);
                    }
                }
                &.img-02 {
                    right: 0;
                    top: 0;
                    @media screen and (max-width: 480px) {
                        right: 3rem;
                        bottom: 2.8rem;
                        top: auto;
                    }
                }
                &.img-03 {
                    left: 0;
                    bottom: 0;
                    @media screen and (max-width: 480px) {
                        top: 11rem;
                        left: 0.3rem;
                        bottom: auto;
                    }
                }
                &.img-04 {
                    right: 0;
                    bottom: 0;
                    @media screen and (max-width: 480px) {
                        right: auto;
                        left: 2.9rem;
                        bottom: 2.8rem;
                    }
                }
            }

            h2 {
                margin-bottom: 5.2rem;
                @media screen and (max-width: 480px) {
                    margin-bottom: 5rem;
                }
            }
            h3 {
                font-weight: 600;
                text-align: center;
                span {
                    display: inline-block;
                    letter-spacing: 0.06em;
                    padding-left: 0.06em;
                    font-size: 2.8rem;
                    margin-bottom: 1.4rem;
                    position: relative;
                    @media screen and (max-width: 480px) {
                        font-size: 2rem;
                    }
                    &::before,
                    &::after {
                        content: "";
                        display: inline-block;
                        width: 4.6rem;
                        height: 3.7rem;
                        position: absolute;
                        background-image: url(../img/icon-project.svg);
                        background-repeat: no-repeat;
                        background-size: contain;
                        @media screen and (max-width: 480px) {
                            width: 4rem;
                            height: 3.2rem;
                        }
                    }
                    &::before {
                        left: 0;
                        transform: translate(-120%, -50%);
                    }
                    &::after {
                        right: 0;
                        transform: scale(-1, 1) translate(-110%, -50%);
                    }
                }
                em {
                    display: inline-block;
                    letter-spacing: 0.12em;
                    padding-left: 0.12em;
                    font-size: 4.8rem;
                    font-style: normal;
                    line-height: 1.37;
                    margin-bottom: 2rem;
                    @media screen and (max-width: 480px) {
                        font-size: 3.8rem;
                    }
                }
            }
            p {
                font-size: 1.8rem;
                line-height: 1.78;
                text-align: center;
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                    line-height: 2;
                }
            }
        }
    }
}

body.products {
    #contents_wrap {
        /* タイトル */
        h2.img-text-title {
            text-align: center;
            .img-text {
                height: 3rem;
                @media screen and (max-width: 480px) {
                    height: 2rem;
                }
                img {
                    height: 100%;
                    width: auto;
                }
            }
            span {
                display: inline-block;
                font-size: 1.5rem;
                letter-spacing: 0.05em;
                padding-left: 0.05em;
                margin-top: 1.3rem;
                @media screen and (max-width: 480px) {
                    font-size: 1rem;
                    margin-top: 1rem;
                }
            }
        }
        .products_wrap {
            border-bottom: 1px solid var(--color_top_blown);
            padding: 5.6rem 0 9rem;
            margin-bottom: 9rem;
            @media screen and (max-width: 480px) {
                padding: 1.8rem 0 4rem;
                margin-bottom: 4rem;
            }
            .main_img {
                max-width: 1140px;
                margin: 0 auto 12rem;
                @media screen and (max-width: 480px) {
                    margin: 0 auto 3.6rem;
                }
            }
            p {
                font-size: 2rem;
                letter-spacing: 0.06em;
                line-height: 1.8;
                font-weight: 300;
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                }
            }
            h3 {
                font-size: 3rem;
                line-height: 1.7;
                font-weight: 500;
                letter-spacing: 0.1em;
                margin-bottom: 2.2rem;
                @media screen and (max-width: 480px) {
                    font-size: 2rem;
                    margin-bottom: 1.6rem;
                }
            }
            h2 {
                margin-bottom: 4.4rem;
                @media screen and (max-width: 480px) {
                    margin-bottom: 3rem;
                }
                & + h3 {
                    text-align: center;
                    padding-left: 0.1em;
                    & + p {
                        max-width: 76.2rem;
                        margin: 0 auto 10rem;
                        @media screen and (max-width: 480px) {
                            width: 32rem;
                            margin: 0 auto 2.8rem;
                        }
                    }
                }
            }

            .chart_wrap {
                display: flex;
                max-width: 113.4rem;
                margin: auto;
                gap: 6rem;
                @media screen and (max-width: 480px) {
                    display: block;
                }
                .chart {
                    width: 53rem;
                    padding-top: 5.2rem;
                    flex-shrink: 0;
                    @media screen and (max-width: 480px) {
                        width: 35.6rem;
                        margin: 0 auto 5.2rem;
                        padding-top: 0;
                    }
                }
                .text_wrap {
                    dl {
                        margin: 3rem auto 0;
                        font-size: 2.1rem;
                        letter-spacing: 0.04em;
                        @media screen and (max-width: 480px) {
                            max-width: 32rem;
                            letter-spacing: 0;
                            font-size: 1.4rem;
                        }
                        dt {
                            color: var(--color_top_blown);
                            @media screen and (max-width: 480px) {
                            }
                        }
                        dd {
                            line-height: 1.6;

                            font-weight: 300;
                            padding: 0.5em 0;
                            margin-bottom: 0.8em;
                            border-bottom: 2px dotted var(--color_top_blown);
                            &:last-child {
                                border-bottom: none;
                            }
                        }
                    }
                    @media screen and (max-width: 480px) {
                        h3 {
                            text-align: center;
                        }
                        p {
                            max-width: 32rem;
                            margin: 0 auto;
                            letter-spacing: 0.02em;
                        }
                    }
                }
            }
        }

        .lineup_wrap {
            h2 {
                margin-bottom: 9rem;
                @media screen and (max-width: 480px) {
                    margin-bottom: 4rem;
                }
            }

            .item_wrap {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                max-width: 98.3rem;
                margin: auto;
                @media screen and (max-width: 480px) {
                    display: block;
                }
                .item {
                    width: 42.6rem;
                    margin-bottom: 14.8rem;
                    @media screen and (max-width: 480px) {
                        width: 100%;
                        margin-bottom: 4.8rem;
                        &:last-of-type {
                            margin-bottom: 0;
                        }
                    }
                    .img_wrap {
                        margin-bottom: 3.6rem;
                        @media screen and (max-width: 480px) {
                            width: 35.6rem;
                            margin: auto auto 3rem;
                        }
                    }

                    hgroup {
                        border-left: 2rem solid var(--color_top_blown);
                        padding: 0 0 0 2rem;
                        position: relative;
                        margin-bottom: 3.2rem;

                        @media screen and (max-width: 480px) {
                            border-left-width: 1.7rem;
                            padding: 0 0 0 1.7rem;
                        }
                        h3 {
                            span {
                                display: block;
                                letter-spacing: 0.06em;
                            }
                            .name {
                                font-size: 3rem;
                                letter-spacing: 0.02em;
                                line-height: 1.4;
                            }
                            .yomi {
                                font-size: 1.68rem;
                                font-weight: 400;
                                margin: 0.6rem 0 1.2rem;
                                @media screen and (max-width: 480px) {
                                    font-size: 1.4rem;
                                }
                            }
                            .sub {
                                font-size: 2.16rem;
                                @media screen and (max-width: 480px) {
                                    font-size: 1.8rem;
                                }
                            }
                        }
                        .price {
                            position: absolute;
                            bottom: 0;
                            right: 2rem;
                            font-size: 1.4rem;
                            font-feature-settings: "palt";
                            @media screen and (max-width: 480px) {
                                font-size: 1.2rem;
                                right: 3.4rem;
                            }
                            span.kingaku {
                                font-size: 2.6rem;
                                font-weight: 500;
                                letter-spacing: 0.05em;
                                padding-right: 0.15em;
                                @media screen and (max-width: 480px) {
                                    font-size: 2.2rem;
                                }
                            }
                        }
                    }

                    .inner {
                        max-width: 38.6rem;
                        margin: auto;
                        @media screen and (max-width: 480px) {
                            max-width: 32.2rem;
                        }
                        h4 {
                            position: relative;
                            margin-bottom: 1rem;
                            span {
                                display: inline-block;
                                background-color: #fff;
                                font-size: 1.9rem;
                                font-weight: 400;
                                letter-spacing: 0.04em;
                                padding-right: 0.2em;
                                position: relative;
                                z-index: 35;
                                @media screen and (max-width: 480px) {
                                    font-size: 1.6rem;
                                }
                            }
                            &::after {
                                content: "";
                                display: block;
                                height: 1px;
                                width: 100%;
                                background-color: #000;
                                position: absolute;
                                top: 50%;
                                left: 0;

                                z-index: 30;
                            }
                        }
                        p.osusume {
                            font-size: 1.9rem;
                            letter-spacing: 0.04em;
                            line-height: 1.6;
                            margin-bottom: 2rem;
                            @media screen and (max-width: 480px) {
                                font-size: 1.6rem;
                            }
                        }
                        p.honbun {
                            font-size: 1.6rem;
                            line-height: 1.75;
                            font-weight: 300;
                            margin-bottom: 2.4rem;
                            @media screen and (max-width: 480px) {
                                font-size: 1.4rem;
                            }
                        }

                        ul {
                            display: flex;
                            justify-content: space-between;
                            flex-wrap: wrap;
                            margin-bottom: 4.4rem;
                            @media screen and (max-width: 480px) {
                                margin-bottom: 3rem;
                            }
                            li {
                                width: 48.5%;
                                max-width: 18.7rem;
                                margin-bottom: 1.2rem;
                                @media screen and (max-width: 480px) {
                                    margin-bottom: 1rem;
                                }
                            }
                        }
                    }
                    &.altomotto {
                        hgroup {
                            padding: 0 0 0.3rem 2rem;
                            @media screen and (max-width: 480px) {
                                padding: 0 0 0 1.7rem;
                            }
                            h3 {
                                .name {
                                    font-size: 3.2rem;
                                    letter-spacing: 0.02em;
                                    @media screen and (max-width: 480px) {
                                        font-size: 3rem;
                                    }
                                }
                            }
                        }
                        .inner {
                            p.osusume {
                                min-height: 3.2em;
                            }
                        }
                    }
                    &.gomarate {
                        hgroup {
                            .price {
                                position: absolute;
                                bottom: 50%;
                                transform: translateY(50%);
                            }
                        }
                    }
                }
            }
        }
    }
}
