@charset "UTF-8";

:root {
    --theme-color: #0069B7;
}

/* reset start */

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    letter-spacing: 0;
    font-family: "Noto Sans JP", sans-serif;
    -webkit-text-size-adjust: none;
    scrollbar-gutter: stable;

    @media screen and (min-width: 1080.01px) and (max-width: 1919.99px) {
        font-size: calc(10 / 1920 * 100 * 1vw);
    }

    /* あまりにも文字サイズが小さくなった場合 */
    @media screen and (min-width: 767.01px) and (max-width: 1080px) {
        font-size: calc(12 / 1920 * 100 * 1vw);
    }

    /* スマホ用（デザインサイズが375の場合） */
    @media screen and (max-width: 767px) {
        font-size: calc(10 / 375 * 100 * 1vw);
    }
}

body {
    font-size: 1.6rem;
    line-height: 1;
    overflow-x: clip;

    @media screen and (max-width: 767px) {
        font-size: 1.4rem;
    }
}

/* ------------------------------------------- */
/* 印刷用の設定 */
/* ------------------------------------------- */
@media print {
    html {
        font-size: calc(10 / 1920 * 100 * 14px);
    }

    body {
        -webkit-print-color-adjust: exact;
        position: relative;
        width: 1400px;
        zoom: 70%;
    }
}

@page {
    size: A4;
    margin: 10mm;
}

.inner {
    margin: 0 auto;
    max-width: calc(100% - 6rem);

    @media screen and (max-width: 767px) {
        max-width: calc(100% - 3rem);
    }
}

.w1440 {
    width: 144rem;
}

.w1200 {
    width: 120rem;
}

.w1080 {
    width: 108rem;
}

.w960 {
    width: 96rem;
}

picture {
    display: block;
}

img {
    display: block;
    width: 100%;
}

#wrapper {
    padding-top: 110px;

    @media screen and (max-width: 967px) {
        padding-top: 90px;
    }
}

/* reset end */


.block1 {}

.block2 {
    padding: 10rem 0;
    background-color: var(--theme-color);

    @media screen and (max-width: 767px) {
        padding: 6rem 0;
    }

    .illust-welcome {}

    .illust-mission {
        margin-top: 8rem;

        @media screen and (max-width: 767px) {
            margin-top: -0.3rem;
        }
    }

    .offices {
        margin-top: 3rem;

        .office {
            margin-top: 27rem;
            position: relative;
            background-color: #fff;
            padding: 6.5rem 6.5rem 0;

            @media screen and (max-width: 767px) {
                margin-top: 10rem;
                padding: 1.5rem 1.5rem 0;
            }

            & img:nth-child(3) {
                margin-top: 1rem;
                height: 17rem;
                width: auto;

                @media screen and (max-width: 767px) {
                    height: 5.5rem;
                }
            }

            .note-left {
                position: absolute;
                bottom: 23rem;
                left: -6rem;
                width: 46.7rem;

                @media screen and (max-width: 767px) {
                    bottom: 8rem;
                    left: -1rem;
                    width: 20rem;
                }
            }

            .note-right {
                position: absolute;
                bottom: 23rem;
                right: -6rem;
                width: 46.7rem;

                @media screen and (max-width: 767px) {
                    bottom: 8rem;
                    right: -1rem;
                    width: 20rem;
                }
            }

            .walking1 {
                width: 22rem;
                position: absolute;
                bottom: -24rem;
                left: 8rem;

                @media screen and (max-width: 767px) {
                    width: 8rem;
                    bottom: -9rem;
                    left: 1rem;
                }
            }

            .walking2 {
                width: 22rem;
                position: absolute;
                bottom: -24rem;
                left: 53rem;
                transform: scaleX(-1);

                @media screen and (max-width: 767px) {
                    width: 8rem;
                    bottom: -9rem;
                    left: 10rem;
                }
            }

            .walking3 {
                width: 22rem;
                position: absolute;
                bottom: -24rem;
                left: 52rem;

                @media screen and (max-width: 767px) {
                    width: 8rem;
                    bottom: -9rem;
                    left: 9rem;
                }
            }
        }

        .office:nth-child(odd) {

            & img:nth-child(2) {
                width: 50rem;
                position: absolute;
                left: -5rem;
                top: -16rem;

                @media screen and (max-width: 767px) {
                    width: 18rem;
                    left: -2rem;
                    top: -6rem;
                }
            }

            & img:nth-child(3) {
                margin-left: auto;
                margin-right: -2rem;

                @media screen and (max-width: 767px) {
                    margin-right: -1rem;
                }
            }
        }

        .office:nth-child(even) {
            & img:nth-child(2) {
                width: 50rem;
                position: absolute;
                right: -5rem;
                top: -16rem;

                @media screen and (max-width: 767px) {
                    width: 18rem;
                    right: -2rem;
                    top: -6rem;
                }
            }

            & img:nth-child(3) {
                margin-right: auto;
                margin-left: -2rem;

                @media screen and (max-width: 767px) {
                    margin-left: -1rem;
                }
            }
        }
    }

    #accordion {
        position: relative;
        margin-top: 8rem;
        min-height: 12rem;
        transition: margin-top 0.4s ease-in-out;

        @media screen and (max-width: 767px) {
            margin-top: 4rem;
            min-height: 8rem;
        }

        &.opened {
            margin-top: 14rem;

            @media screen and (max-width: 767px) {
                margin-top: 6rem;
            }

            .accordion-button::after {
                transform: rotate(180deg);
            }
        }

        .accordion-button {
            position: absolute;
            top: 6.5rem;
            z-index: 1;
            left: 50%;
            transform: translateX(-50%);
            border: none;
            cursor: pointer;
            margin: 0 auto;
            width: 60rem;
            height: 6.8rem;
            border-radius: 3.4rem;
            background-color: #fccf00;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Zen Maru Gothic';
            font-weight: 700;
            font-size: 2.6rem;
            text-align: center;
            letter-spacing: 0.1em;
            color: var(--theme-color);

            &::after {
                content: "";
                width: 0;
                height: 0;
                margin-left: 0.3em;
                border-style: solid;
                border-width: 0.7em 0.5em 0;
                border-color: currentColor transparent transparent;
                transition: transform 0.4s ease-in-out;
            }

            @media screen and (max-width: 767px) {
                top: 3rem;
                width: 24rem;
                height: 4rem;
                border-radius: 2rem;
                font-size: 1.5rem;
            }
        }


        .accordion-content {
            display: none;
            position: relative;
            padding: 16rem 5.5rem 0;
            background-color: #fffbde;
            border-radius: 2.3rem;

            @media screen and (max-width: 767px) {
                padding: 7rem 1.5rem 0;
                border-radius: 1.5rem;
            }

            .close-button {
                cursor: pointer;
                position: absolute;
                top: 3.2rem;
                right: 3.2rem;
                font-family: 'Zen Maru Gothic';
                font-weight: 700;
                font-size: 1.8rem;
                line-height: 2;
                letter-spacing: 0.1em;
                color: var(--theme-color);
                text-decoration: underline;
                text-underline-offset: 0.4em;

                @media screen and (max-width: 767px) {
                    display: none;
                    top: 1.5rem;
                    right: 1.5rem;
                    font-size: 1.4rem;
                }
            }

            .locations {
                margin-top: 4rem;
                display: flex;
                gap: 3.4rem;

                @media screen and (max-width: 767px) {
                    margin-top: 2.5rem;
                    gap: 2rem;
                    flex-direction: column;
                }

                .location {
                    & p {
                        width: 100%;
                        background-color: var(--theme-color);
                        padding: 1rem;
                        font-family: 'Zen Maru Gothic';
                        font-weight: 700;
                        font-size: 1.6rem;
                        line-height: 1.5;
                        text-align: center;
                        letter-spacing: 0.06em;
                        color: #FFFFFF;

                        @media screen and (max-width: 767px) {
                            padding: 0.7rem;
                            font-size: 1.3rem;
                        }
                    }
                }

            }

            .asking {
                width: 41.8rem;
                margin: 3rem auto 0;
                transform: translateX(22%);

                @media screen and (max-width: 767px) {
                    width: 20rem;
                    margin-top: 2rem;
                }
            }
        }
    }
}

.block3 {}