:root {
    --color-bg: #fff;
    --color-bg-blue: #0767e7;
    --color-bg-lblue: #e9f4ff;
    --color-text: #222;
    --color-text-white: #fff;
    --color-text-red: #d60000;
    --color-text-purple: #b163e1;
    --color-accent: #2563eb;
    --color-border-white: #fff;
    --color-border-red: #d60000;
    --color-border-grey: #e5e8eb;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
html[lang="ja"] {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
body {
    font-size: 1.4rem;
    background-color: var(--color-bg);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

header {
    z-index: 20;
    position: fixed;
    top: -100px;
    width: 100%;
    height: 100px;
    background-color: #ff6b01;
    transition: 0.5s;
    & .h1_box {
        background-color: #003c6e;
        height: 32px;
        & h1 {
            max-width: 1280px;
            margin: 0 auto;
            color: var(--color-text-white);
            text-align: right;
            font-size: 14px;
            line-height: 32px;
        }
    }
    & .inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 5px 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        & img {
            width: 100px;
        }
        & ul {
            display: flex;
            gap: 40px;
            & li {
                font-size: 16px;
                font-weight: 500;
                & a {
                    color: var(--color-text-white);
                }
                & a:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}
header.is-show {
    top: 0;
}
.nav-toggle,
.hamburger,
.menu-overlay {
    display: none;
}
#Hero {
    margin: 0 auto;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}
@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
    animation: zoom 10s linear 0s 1 normal both;
}
.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    & img {
        width: 200px;
        margin-bottom: 15px;
    }
    & p {
        font-size: 18px;
        font-family: serif;
        font-weight: bold;
        text-shadow: 2px 2px 8px #000;
        color: var(--color-text-white);
    }
    & .btn_box {
        margin-top: 20px;
        & a {
            background-color: #ff6b01;
            color: var(--color-text-white);
            padding: 5px 10px;
            border-radius: 5px;
        }
    }
}
.slide-img img {
    object-fit: cover;
    height: 100vh;
    width: 100vw;
}

#Biz_content,
#Message,
#Company,
#Contact {
    padding-top: 80px;
    width: 100%;
    & .inner {
        width: 100%;
        max-width: 1430px;
        margin: 0 auto;
        & h2 {
            font-size: 18px;
            text-align: center;
            & span {
                font-size: 22px;
                display: block;
                margin-bottom: 12px;
                color: #003d6e;
            }
        }
        & .content_box {
            margin-top: 60px;
            overflow: hidden;
            & .slidein {
                margin: 50px auto;
                transition: 1s cubic-bezier(0.75, 0, 0.25, 1);
            }
            & .slide_left {
                transform: translateX(calc(-50vw - 50%));
            }
            & .slide_right {
                transform: translateX(calc(50vw + 50%));
            }
            & .show {
                transform: translateX(0);
            }
        }
    }
}
#Message {
    background-color: #f8f8f8;
    padding-bottom: 90px;
    & .inner {
        max-width: 1024px;
        & .content_box {
            display: flex;
            gap: 20px;
            & .message_img_box {
                width: 30%;
                height: 360px;
                border-radius: 12px;
                overflow: hidden;
                filter: drop-shadow(0px 0px 5px rgba(160, 160, 160, 0.5));
                & img {
                    width: 100%;
                    object-fit: cover;
                    position: relative;
                }
            }
            & .message_txt_box {
                width: 70%;
                padding: 10px 0;
                line-height: 20px;
            }
        }
    }
}

.biz_unit {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 50%);
    justify-content: stretch;
    margin-bottom: 70px;
    & .info_box {
        padding: 0 20px;
        & .ttl {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 20px;
            & h3 {
                font-size: 16px;
                color: #003d6e;
                & span {
                    font-size: 14px;
                }
            }
        }
    }
    & .img_box {
        height: 300px;
        border-radius: 12px;
        overflow: hidden;
        filter: drop-shadow(0px 0px 5px rgba(160, 160, 160, 0.5));
        & img {
            width: 100%;
            object-fit: cover;
            position: relative;
            bottom: 33%;
            border-radius: 12px;
        }
    }
}
.biz_unit:nth-child(4) .img_box img{
	bottom: 110%;
}
.biz_unit:nth-child(even) {
    & .info_box {
        order: 2;
    }
    & .img_box {
        order: 1;
    }
}

#Company {
    padding-bottom: 90px;
    & .inner {
        max-width: 900px;
        & .content_box {
            & table {
                width: 100%;
                border-collapse: separate;
                border-radius: 10px;
                border-spacing: 0;
                border: none;
                border-left: 1px solid var(--color-border-grey);
                border-top: 1px solid var(--color-border-grey);
                & tr th,
                tr td {
                    padding: 15px 20px;
                    border: none;
                    border-right: 1px solid var(--color-border-grey);
                    border-bottom: 1px solid var(--color-border-grey);
                    font-size: 16px;
                }
                & tr th {
                    border-right: none;
                    font-weight: normal;
                    color: #003d6e;
                }
                & tr:first-child {
                    & th {
                        border-radius: 10px 0 0 0;
                    }
                    & td {
                        border-radius: 0 10px 0 0;
                    }
                }
                & tr:last-child {
                    & th {
                        border-radius: 0 0 0 10px;
                    }
                    & td {
                        border-radius: 0 0 10px 0;
                    }
                }
            }
        }
    }
}

#Contact {
    background-color: #f8f8f8;
    padding-bottom: 90px;
    & .inner {
        max-width: 900px;
        & .ok_message {
            margin: 20px;
            border: 1px solid #0064ff;
            padding: 15px;
            border-radius: 6px;
            color: #0064ff;
            & .ttl {
                font-size: 18px;
                margin-bottom: 5px;
            }
            & p {
                line-height: 20px;
            }
        }
        & .content_box {
            display: flex;
            gap: 20px;
            & .left_box {
                width: 50%;
                & h3 {
                    font-size: 18px;
                    color: #003d6e;
                    margin-bottom: 15px;
                }
                & .form_item {
                    margin-bottom: 15px;
                    & .item_name {
                        display: flex;
                        align-items: center;
                        margin-bottom: 6px;
                        & .badge_red {
                            background-color: #cf0000;
                            color: var(--color-text-white);
                            font-size: 10px;
                            padding: 2px 5px;
                            margin-left: 3px;
                        }
                    }
                    & input {
                        background-color: #e7e7e7;
                        padding: 5px 10px;
                        width: 85%;
                        border-radius: 5px;
                    }
                    & textarea {
                        background-color: #e7e7e7;
                        padding: 5px 10px;
                        width: 85%;
                        border-radius: 5px;
                        height: 100px;
                    }
                }
                & .form_submit button {
                    background-color: #ff6b01;
                    color: var(--color-text-white);
                    text-align: center;
                    padding: 10px 10px;
                    width: 85%;
                    border-radius: 5px;
                    position: relative;
                }
                & .form_submit button[disabled] {
                    opacity: 0.6;
                    cursor: not-allowed;
                }
                & .btn_loading {
                    display: none;
                    width: 18px;
                    height: 18px;
                    border: 2px solid var(--color-border-white);
                    border-top-color: transparent;
                    border-radius: 50%;
                    animation: spin 0.8s linear infinite;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }

                @keyframes spin {
                    to {
                        transform: rotate(360deg);
                    }
                }
                /* ‘—M’† */
                & .is-sending .btn_text {
                    visibility: hidden;
                }

                & .is-sending .btn_loading {
                    display: block;
                }
            }
            & .right_box {
                width: 50%;
                & h3 {
                    font-size: 18px;
                    color: #003d6e;
                    margin-bottom: 15px;
                }
                & ul {
                    & li {
                        display: flex;
                        margin-bottom: 25px;
                        line-height: 22px;
                        & img {
                            height: fit-content;
                            margin-right: 20px;
                        }
                        & span {
                            display: block;
                            margin-bottom: 3px;
                        }
                    }
                }
            }
        }
    }
}

footer {
    width: 100%;
    background-color: #003d6e;
    color: var(--color-text-white);
    padding: 50px 0;
    & .inner {
        width: 100%;
        max-width: 1430px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        & .footer_box {
            width: 25%;
            margin-bottom: 15px;
            & a img {
                width: 45%;
                max-width: 160px;
                margin-bottom: 15px;
            }
            & .ttl {
                font-size: 18px;
                margin-bottom: 15px;
            }
            & ul li {
                line-height: 20px;
            }
            & p {
                line-height: 20px;
            }
        }
        & address {
            width: 100%;
            padding: 20px 0;
            border-top: 1px solid #4c859d;
        }
    }
}

.error {
    color: var(--color-text-red);
    font-size: 13px;
    margin-top: 5px;
}

.is-error {
    border: 1px solid var(--color-border-red);
    background-color: var(--color-bg);
}
/*****************************************************************************************/
/*****************************************************************************************/
@media (max-width: 1024px) {
}
/*****************************************************************************************/
/*****************************************************************************************/
@media (max-width: 820px) {
    /********************************/
    /* ?????? */
    /********************************/
    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
        width: 28px;
        height: 22px;
        cursor: pointer;
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #fff;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }
    .hamburger span:nth-child(2) {
        top: 10px;
    }
    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    /* × ?? */
    .nav-toggle:checked + .hamburger span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }
    .nav-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked + .hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 10px;
    }

    /* ???? */
    .gnav {
        position: fixed;
        top: 0;
        right: -90%;
        width: 90%;
        height: 100vh;
        background: #003c6e;
        padding: 120px 30px;
        display: flex;
        flex-direction: column;
        transition: 0.4s;
        z-index: 1000;
    }

    .nav-toggle:checked ~ .gnav {
        right: 0;
    }

    .gnav li {
        margin-bottom: 25px;
    }

    .gnav a {
        color: #fff;
        font-size: 18px;
    }

    /* ?????? */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s;
        z-index: 999;
    }

    .nav-toggle:checked ~ .menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    header {
        & .inner {
            padding: 5px 20px;
        }
    }
    /* PC???????? */
    header .inner ul {
        gap: 0;
    }
    /********************************/
    /* footer */
    /********************************/
    footer {
        & .inner {
            display: block;
            padding: 0 20px;

            & .footer_box {
                width: 100%;
                margin-bottom: 30px;

                & li {
                    margin-bottom: 8px;
                }

                & li:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
    /********************************/
    /* KV */
    /********************************/
    .slide-text {
        & img {
            width: 300px;
            margin-bottom: 15px;
        }
        & p {
            font-size: 18px;
        }
        & .btn_box {
            width: 100%;
            margin-top: 20px;
            & a {
                width: 100%;
                text-align: center;
                display: block;
                padding: 5px 0;
            }
        }
    }
    /********************************/
    /* ??????? */
    /********************************/
    #Biz_content,
    #Message,
    #Company,
    #Contact {
        padding: 50px 20px 0 20px;

        & .inner {
            & h2 {
                font-size: 16px;

                & span {
                    font-size: 16px;
                }
            }

            & .content_box {
                margin-top: 50px;
            }
        }
    }

    /********************************/
    /* Message */
    /********************************/
    #Message {
        padding-bottom: 50px;

        & .inner {
            & .content_box {
                display: block;

                & .message_img_box {
                    width: 100%;
                    height: 360px;
                    margin-bottom: 20px;

                    & img {
                        width: 100%;
                    }
                }

                & .message_txt_box {
                    width: 100%;
                    line-height: 20px;
                }
            }
        }
    }

    /********************************/
    /* biz_unit */
    /********************************/
    .biz_unit {
        display: block;
        margin-bottom: 50px;

        & .info_box {
            padding: 0;

            & p {
                margin-bottom: 30px;
                line-height: 1.6;
            }
        }

        & .img_box {
            height: auto;

            & img {
                width: 100%;
                height: 230px;
                object-fit: cover;
            }
        }
    }

    /********************************/
    /* Company */
    /********************************/
    #Company {
        padding-bottom: 50px;

        & .inner {
            & .content_box {
                & table {
                    width: 100%;
                    border-collapse: separate;
                    border-spacing: 0;
                    border: 1px solid var(--color-border-grey);
                    border-radius: 20px;
                    overflow: hidden;
                    padding: 20px 0;

                    & tr {
                        display: block;
                        border-bottom: 1px solid var(--color-border-grey);
                        padding: 20px 0;
                    }

                    & tr:last-child {
                        border-bottom: none;
                    }

                    & tr th,
                    tr td {
                        font-size: 14px;
                    }

                    & th,
                    & td {
                        display: block;
                        width: 100%;
                        border: none !important;
                        padding: 0 30px !important;
                    }

                    & th {
                        font-size: 16px !important;
                        margin-bottom: 10px;
                    }
                }
            }
        }
    }

    /********************************/
    /* Contact */
    /********************************/
    #Contact {
        padding: 80px 20px 50px 20px;

        & .inner {
            & .content_box {
                display: block;

                & .left_box {
                    width: 100%;
                    margin-bottom: 80px;

                    & h3 {
                        font-size: 16px;
                        margin-bottom: 15px;
                    }

                    & .form_item {
                        margin-bottom: 15px;

                        & input {
                            width: 100%;
                        }

                        & textarea {
                            width: 100%;
                        }
                    }

                    & .form_submit button {
                        width: 100%;
                    }
                }

                & .right_box {
                    width: 100%;

                    & h3 {
                        font-size: 18px;
                        margin-bottom: 15px;
                    }
                }
            }
        }
    }
}
