@charset "UTF-8";

@font-face {
    font-family: "A-OTF-UDShinGoNTPro-Medium";
    src: url("../font/A-OTF-UDShinGoNTPro-Medium.otf") format("opentype");
    font-display: swap;
}

html {
    font-size: 10px;
    margin: 0;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", hiragino-kaku-gothic-pron, sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: 0.03em;
    color: #000;
}

.wrapper {
    max-width: 750px;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: center;
    z-index: 9999;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;

    .header-logo {
        img {
            max-width: 100%;
            height: auto;
        }
    }

    #form-area {
        font-size: 3rem;
        font-weight: bold;
        color: #fff;
        padding: 35px 10px;
        background-color: #EF6D22;
        border-radius: 80px;

        a {
            display: flex;
            gap: .5rem;
            align-items: center;
            justify-content: center;
        }

        img {
            display: block;
            width: 36px;
            height: 36px;
        }
    }
}

main {
    margin: 150px 0 0 0;
}

h2 {
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 5.6rem;
    font-weight: bold;
    line-height: 1;

    span {
        font-family: "Barlow", sans-serif;
        font-size: 2.4rem;
        font-weight: normal;
        color: #2D8109;
    }
}

.fv {
    position: relative;
    overflow: hidden;

    .award-series {
        position: absolute;
        top: 20px;
        right: 0;
        display: inline-block;
        z-index: 99;


        img {
            width: 30%;
            height: auto;
        }

        img:nth-of-type(2) {
            width: 35%;
        }
    }

    .slide {
        position: relative;
        width: 100%;
        height: 1200px;
        overflow: hidden;
        margin: 0 auto;
        clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
    }

    /* スライドのサイズ調整 */
    .splide__slide img {
        height: auto;
        width: 100%;
    }

    /* ズーム */
    .splide__slide img {
        transform: scale(1.2);
        transition: 8s ease-out;
    }

    .splide__slide.is-active img {
        transform: scale(1);
        transition-delay: 0s;
    }

    .catchcopy {
        position: absolute;
        bottom: 12%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: auto;
    }

    p {
        position: absolute;
        bottom: 5%;
        right: 2%;
        font-size: 1.4rem;
        text-align: right;
    }
}

.about {

    .logo {
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 60px;
        align-items: end;

        img:nth-of-type(1) {
            width: 400px;
            height: auto;
        }

        img:nth-of-type(2) {
            width: 250px;
            height: 100%;
        }
    }

    .slide {
        position: relative;

        p {
            font-size: 3.8rem;
            font-weight: bold;
            color: #fff;
            text-shadow: #122143 0 3px 6px;
            margin: 0;
            padding: 0;
            width: 90%;
            height: auto;
            position: absolute;
            top: 5%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99;
        }
    }

    .splide {
        margin: 0 40px;

        img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
    }

    /* ズーム */
    .splide__slide img {
        transition: 8s ease-out;
    }

    .splide__slide.is-active img {
        transform: scale(1.1);
        transition-delay: 0s;
    }

    p {
        text-align: center;
        margin: 60px 20px;

        span {
            display: block;
            padding: 40px;
        }

    }

    .fw-bold {
        font-size: 3.6rem;
        font-weight: bold;
    }
}

.works {
    padding-bottom: 50px;
    background-color: #F4F2EB;
    clip-path: polygon(50% 0, 100% 5%, 100% 100%, 0 100%, 0 5%);
    position: relative;

    .lamp {
        position: absolute;
        top: 100px;
        right: 60px;
    }

    h2 {
        padding-top: 250px;
    }

    .case {
        margin: 100px 40px;

        img {
            display: block;
            margin: 20px auto;
            width: 100%;
            height: auto;
        }
    }

    .splide__slide img {
        width: 100%;
        height: auto;
    }

    /* ページネーション設定  */
    .splide__pagination {
        bottom: -1.5em;
        left: 0;
        padding: 0 1em;
        position: absolute;
        right: 0;
        z-index: 1;
    }

    .splide__pagination__page {
        background: #fff;
        border: 0;
        border-radius: 50%;
        display: inline-block;
        height: 30px;
        margin: 7px;
        padding: 0;
        opacity: 1;
        position: relative;
        transition: transform .2s linear;
        width: 30px;

        &.is-active {
            background: #EF6D22;
        }
    }

    /* スライドの矢印設定 */
    .prev,
    .next {
        position: relative;
    }

    /* 矢印のクリック範囲など */
    .button {
        background-color: #fff;
        height: 80px;
        transition: .2s;
        width: 80px;
        opacity: 1;
        padding: 0;
        position: absolute;
        top: unset;
        bottom: -15%;
        z-index: 1;
        justify-content: unset;

        &:hover::before {
            background-color: #EF6D22;
        }
    }

    /* 矢印共通のスタイル */
    .button::before {
        background-color: #000;
        content: "";
        height: 50px;
        width: 30px;
    }

    /* 前の矢印 */
    .prev::before {
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
    }

    /* 次の矢印 */
    .next::before {
        clip-path: polygon(0 0, 0 100%, 100% 50%);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    h3 {
        text-align: center;
        font-size: 3.6rem;
        font-weight: bold;
        margin: 80px 0 40px 0;

        span {
            display: block;
            font-size: 2.8rem;
        }
    }

    .boxarea {
        display: inline-block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2.4rem;
        border: 1px solid #000;
        padding: 0 10px;
    }

    p {
        margin: 40px 0;

        span {
            background: radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), rgb(234, 231, 99, .7) 7px, transparent 7px),
                radial-gradient(circle at 7px calc(100% - 7px), #EAD563 7px, transparent 7px),
                linear-gradient(to bottom, #F4F2EB calc(100% - 14px), transparent calc(100% - 14px)),
                linear-gradient(to right, transparent 7px, #EAD563 7px, #EAD563 calc(100% - 7px), transparent calc(100% - 7px));
            display: inline;
            box-decoration-break: clone;
            -webkit-box-decoration-break: clone;
        }
    }
}

.menu {
    margin: 150px 40px;

    h2 {
        padding-bottom: 60px;
    }

    .menu-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
        gap: 1rem;

        img {
            margin: 10px;
            width: 45%;
        }
    }
}

.process {
    background-color: #F4F2EB;
    padding-bottom: 100px;

    h2 {
        padding-top: 150px;
    }

    div {
        margin: 60px 40px;
        text-align: center;

        img {
            width: 100%;
            height: auto;
        }
    }

}

.contact {
    margin: 0 40px 60px 40px;

    h2 {
        padding: 150px 0 50px;
    }

    .caution {
        font-size: 2.4rem;
        font-weight: bold;
        color: #FF0000;
        margin: 50px 40px;
    }

    form {

        dl {
            margin: 0 40px 20px;
        }

        dl>div {
            margin: 20px 0;
            position: relative;
            z-index: 2;
        }

        dt {
            background-color: unset;
            color: #000;
            padding: 0;
        }

        dd {
            padding: 0;
        }

        .red {
            color: #FF0000;
            font-size: 2.4rem;
            vertical-align: top;
            padding-left: 10px;
        }

        .white {
            color: #000;
            margin: 15px 5px;

            dd {
                margin-left: 20px;
            }

            input[type="text"] {
                width: 30%;
                margin-left: 20px;
            }
        }

        input {
            background-color: #F4F2EB;
            padding: 18px;
            color: #000;
            border: 1px solid #707070;

            &::placeholder {
                color: #9D9898;
            }

            &:focus {
                outline: none;
                border: 3px solid #EF6D22;
            }
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"] {
            width: 100%;
        }

        input#post-code {
            width: 150px;
            height: auto;
        }

        input[type="checkbox"] {
            width: 40px;
            height: 40px;
            margin: 0 20px 0 40px;
            background-color: #fff;
            border: 2px solid #000;
            cursor: pointer;
            vertical-align: -10px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;

            &:checked {
                background-color: #EF6D22;
                position: relative;

                &::before {
                    position: absolute;
                    top: 3px;
                    left: 12px;
                    transform: rotate(50deg);
                    width: 12px;
                    height: 25px;
                    border-right: 5px solid #fff;
                    border-bottom: 5px solid #fff;
                    content: '';
                }
            }
        }

        select {
            background-color: #F4F2EB;
            width: 100%;
            padding: 20px 40px 20px 20px;
            min-width: max-content;
            border: 1px solid #000;

            option {
                padding: 0 16px;
                cursor: pointer;
            }
        }

        select,
        ::picker(select) {
            appearance: base-select;
        }

        ::picker(select) {
            background-color: #F4F2EB;
            position: absolute;
            left: 0;
        }

        option::before {
            display: none;
        }

        textarea {
            width: 100%;
            height: 300px;
            background-color: #F4F2EB;
            border: 1px solid #000;
            padding: 18px;

            &:focus {
                outline: none;
                border: 3px solid #EF6D22;
            }
        }

        .policy {
            margin: 0 40px 20px;

            h2 {
                font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", hiragino-kaku-gothic-pron, sans-serif;
                text-align: left;
                padding: 10px 0 10px;
                font-size: 3.2rem;
                font-weight: bold;
            }

            div {
                width: 100%;
                max-height: 600px;
                font-size: 2.4rem;
                background-color: #F4F2EB;
                border: 1px solid #707070;
                padding: 25px 20px;
                overflow-x: auto;
                overflow-y: scroll;

                h3 {
                    font-weight: bold;
                    display: block;
                }

                p {
                    margin-bottom: 20px;
                }

                ul {
                    margin: 20px 0;
                }
            }

        }

        .personal-check {
            margin: 50px;
            font-size: 3.6rem;
            font-weight: bold;
            color: #000;
            text-align: center;

            label {
                position: relative;
                cursor: pointer;
            }

            input[type="checkbox"] {
                width: 60px;
                height: 60px;

                &::before {
                    top: 6px;
                    left: 18px;
                }

                &:checked {
                    &::before {
                        width: 18px;
                        height: 40px;
                    }
                }
            }
        }

        input[type="button"] {
            display: block;
            font-weight: bold;
            font-size: 4.4rem;
            letter-spacing: 2px;
            text-align: center;
            color: #fff;
            background-color: #9D9898;
            margin: 60px auto 0;
            padding: 30px 20px;
            border: none;
            border-radius: 80px;
            cursor: pointer;
            width: 80%;
            position: relative;
            z-index: 1;
        }
    }

    .error {
        color: red;
        font-weight: bold;
        margin-top: 4px;
    }
}

footer {
    padding: 80px 0 0;
    background-color: #F4F2EB;
    text-align: center;

    h1 {
        font-family: "A-OTF-UDShinGoNTPro-Medium", sans-serif;

        img {
            display: block;
            margin: 0 auto;
            width: 400px;
            height: auto;
        }

        span {
            &:nth-of-type(1) {
                display: block;
                font-size: 6rem;
                padding-top: 20px;
                line-height: 1;
            }

            &:nth-of-type(2) {
                font-size: 3rem;
            }

            &:nth-of-type(3) {
                font-size: 4rem;
            }
        }
    }

    .information {
        font-weight: bold;
        margin-bottom: 30px;
        overflow: hidden;

        span {
            text-decoration: none;

            &:nth-of-type(1) {
                display: block;
            }
        }

        .link-none {
            pointer-events: none;
        }

        div {
            position: relative;
            left: 25%;
        }

        p {
            margin: 0 auto;
            text-align: left;
            font-size: 2.8rem;

            .box01 {
                display: inline;
                border: 1px solid #000;
                line-height: 2.5;
                padding: 10px 11px;
                margin-right: 20px;
            }

            .box02 {
                display: inline;
                border: 1px solid #000;
                line-height: 2.5;
                padding: 10px 25px;
                margin-right: 20px;
            }
        }
    }

    img {
        display: block;
        padding: 0 80px;
        width: 100%;
        height: auto;
    }

    small {
        display: block;
        font-size: 1.6rem;
        padding: 40px 0;
    }

}

.grecaptcha-badge { visibility: hidden; }

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
thanksページ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.thanks-text,
.error-text {
    margin: 300px 20px 100px 20px;

    h4 {
        font-size: 4rem;
        font-weight: 800;
        color: #EF6D22;
        margin: 80px auto 20px;
        text-align: center;
    }

    p {
        font-size: 2.8rem;
        font-weight: normal;
        padding: 20px 0;
    }

    a {
        display: inline-block;
        font-size: 3.6rem;
        font-weight: bold;
        color: #EF6D22;
        border-bottom: 1px solid #EF6D22;
        padding-top: 60px;
        position: relative;
        left: 50%;
        transform: translate(-50%);
    }
}

.error-text {
    p {
        text-align: center;
        padding: 0;
    }
}

/* --------------------------------------------------------------------------
responsive
-------------------------------------------------------------------------- */

@media screen and (max-width: 480px) {
    body {
        font-size: 1.6rem;
    }

    header {
        gap: 1rem;
        padding: 5px;

        h1.header-logo {
            width: 85%;
            height: auto;
        }

        #form-area {
            font-size: 1.5rem;
            font-weight: normal;
            padding: 12px 3px;
            width: 100%;
            height: auto;
            justify-content: center;

            img {
                width: 18px;
                height: 18px;
            }
        }
    }

    .wrapper {
        max-width: fit-content;
        margin: 0 auto;
    }

    main {
        margin: 65px 0 0 0;
    }

    h2 {
        font-size: 2.8rem;
        line-height: .8;

        span {
            font-size: 1.2rem;
        }
    }

    .fv {
        .award-series {
            top: 11px;
            right: -247px;

            img {
                width: 15%;
            }

            img:nth-of-type(2) {
                width: 18%;
            }
        }

        .slide {
            height: 600px;
            overflow: hidden;
            margin: 0 auto;
            clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
        }

        .catchcopy {
            bottom: 13%;
        }

        p {
            bottom: 6%;
            right: 3%;
            font-size: .7rem;
        }
    }

    .about {
        .logo {
            gap: 1rem;
            padding: 30px 20px 30px;

            img:nth-of-type(1) {
                width: 400px;
                height: auto;
            }

            img:nth-of-type(2) {
                width: 250px;
                height: 100%;
            }
        }

        .slide {
            position: relative;

            p {
                font-size: 1.8rem;
                font-weight: normal;
                width: 85%;
            }
        }

        .splide {
            margin: 0 20px;
        }

        p {
            margin: 10px 10px;

            span {
                padding: 20px;
            }
        }

        .fw-bold {
            font-size: 1.8rem;
            line-height: 1.4;
            font-weight: bold;
        }
    }

    .works {
        padding-bottom: 25px;
        clip-path: polygon(50% 0, 100% 5%, 100% 100%, 0 100%, 0 5%);

        .lamp {
            width: 50px;
            height: auto;
            top: 50px;
            right: 40px;
        }

        h2 {
            padding-top: 125px;
        }

        .case {
            margin: 50px 20px;

            img {
                margin: 10px auto;
            }
        }

        /* ページネーション設定  */
        .splide__pagination {
            bottom: -2em;
        }

        .splide__pagination__page {
            height: 15px;
            width: 15px;
        }

        /* 矢印のクリック範囲など */
        .button {
            height: 40px;
            width: 40px;
            bottom: -16%;
        }

        /* 矢印共通のスタイル */
        .button::before {
            height: 25px;
            width: 15px;
        }

        /* 前の矢印 */
        .prev::before {
            left: 10px;
        }

        /* 次の矢印 */
        .next::before {
            right: 10px;
        }

        h3 {
            font-size: 1.8rem;
            margin: 60px 0 20px 0;

            span {
                font-size: 1.4rem;
            }
        }

        .boxarea {
            font-size: 1.2rem;
            padding: 0 5px;
        }

        p {
            margin: 20px 0;
            letter-spacing: 0;

            span {
                background: radial-gradient(circle at calc(100% - 4px) calc(100% - 4px), rgba(234, 231, 99, 0.7) 4px, transparent 4px),
                    radial-gradient(circle at 4px calc(100% - 4px), rgba(234, 231, 99, 0.7) 4px, transparent 4px),
                    linear-gradient(to bottom, #F4F2EB calc(100% - 8px), transparent calc(100% - 8px)),
                    linear-gradient(to right, transparent 4px, rgba(234, 231, 99, 0.7) 4px, rgba(234, 231, 99, 0.7) calc(100% - 4px), transparent calc(100% - 7px));
            }
        }
    }

    .menu {
        margin: 100px 3px 60px;

        h2 {
            padding-bottom: 30px;
        }

        .menu-list {
            gap: 0;

            img {
                margin: 7px;
                width: 45%;
            }
        }
    }

    .process {
        padding-bottom: 50px;

        h2 {
            padding-top: 100px;
        }

        div {
            margin: 30px 20px;
        }

    }

    .contact {
        margin: 0 20px 30px 20px;

        h2 {
            padding: 100px 0 5px;
        }

        .caution {
            font-size: 1.2rem;
            margin: 25px 0;
        }

        form {

            dl {
                margin: 0 0 10px;
            }

            dl>div {
                margin: 10px 0;
            }

            .red {
                font-size: 1.2rem;
                padding-left: 5px;
            }

            .white {
                margin: 0;

                dd {
                    margin-left: 10px;
                }

                input[type="text"] {
                    margin-left: 10px;
                }
            }

            input {
                padding: 10px;
            }

            input#post-code {
                width: 80px;
            }

            input[type="checkbox"] {
                width: 20px;
                height: 20px;
                margin: 10px 10px 5px 20px;
                vertical-align: -10px;

                &:checked {
                    background-color: #EF6D22;
                    position: relative;

                    &::before {
                        top: 0px;
                        left: 5px;
                        width: 8px;
                        height: 16px;
                        border-right: 3px solid #fff;
                        border-bottom: 3px solid #fff;
                    }
                }
            }

            select {
                padding: 10px 20px 10px 20px;

                option {
                    padding: 0 10px;
                }
            }

            textarea {
                width: 100%;
                height: 150px;
                padding: 10px;
                background-color: #F4F2EB;
                border: 1px solid #000;

                &:focus {
                    outline: none;
                    border: 3px solid #EF6D22;
                }
            }

            .policy {
                margin: 30px 0 20px;

                h2 {
                    text-align: left;
                    padding: 0px 0 10px;
                    font-size: 1.6rem;
                }

                div {
                    width: 100%;
                    max-height: 350px;
                    font-size: 1.4rem;
                    padding: 15px 8px;
                    background-color: #F4F2EB;
                    border: 1px solid #707070;
                    overflow-x: auto;
                    overflow-y: scroll;

                    p {
                        margin-bottom: 15px;
                    }
                }
            }

            .personal-check {
                margin: 50px 0;
                font-size: 2rem;
                font-weight: bold;
                color: #000;
                text-align: center;

                label {
                    position: relative;
                    cursor: pointer;
                }

                input[type="checkbox"] {
                    width: 35px;
                    height: 35px;
                    margin: 0 10px 0 0;

                    &::before {
                        top: 3px;
                        left: 10px;
                    }

                    &:checked {
                        &::before {
                            width: 10px;
                            height: 20px;
                        }
                    }
                }
            }

            input[type="button"] {
                font-size: 2.2rem;
                margin: 30px auto 0;
                padding: 10px 10px;
                display: block;
                font-weight: bold;
                letter-spacing: 2px;
                text-align: center;
                color: #fff;
                background-color: #9D9898;
                border: none;
                border-radius: 80px;
                cursor: pointer;
                width: 80%;
                position: relative;
                z-index: 1;
            }
        }
    }

    footer {
        padding: 40px 0 0;

        h1 {
            img {
                width: 200px;
            }

            span {
                &:nth-of-type(1) {
                    font-size: 3rem;
                    padding-top: 10px;
                }

                &:nth-of-type(2) {
                    font-size: 1.5rem;
                }

                &:nth-of-type(3) {
                    font-size: 2rem;
                }
            }
        }

        .information {
            margin: 25px 0;
            font-weight: bold;

            p {
                font-size: 1.4rem;

                .box01 {
                    line-height: 2.5;
                    padding: 5px 6px;
                    margin-right: 10px;
                }

                .box02 {
                    line-height: 2.5;
                    padding: 5px 14px;
                    margin-right: 10px;
                }
            }
        }

        img {
            padding: 0 20px;
        }

        small {
            display: block;
            font-size: 1rem;
            padding: 20px 0;
        }

    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
thanksページ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
    .thanks-text,
    .error-text {
        margin: 100px 10px 50px;

        h4 {
            font-size: 1.8rem;
            margin: 80px auto 20px;
        }

        p {
            font-size: 1.4rem;

            letter-spacing: 0;
        }

        a {
            font-size: 1.8rem;
            padding-top: 30px;
        }
    }


}