@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

a,
button {
    transition: opacity 0.3s ease;
    text-decoration: none;
}

a:hover,
button:hover {
    opacity: 0.7;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a,
.header_list_link,
.header_menu_link {
    text-decoration: none !important;
}

li {
    list-style: none;
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header_menu_open {
    display: block;
}

.header_menu_close {
    display: none;
}

.footer {
    background: #0066ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
}

.footer_content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.footer_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.footer_list_link {
    color: #fff;
    font-size: 12px;
}

.footer_sign::before {
    content: '|';
}

.footer_sign {
    display: flex;
    font-size: 12px;
    gap: 16px;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .footer_logo {
        width: 112px;
    }

    .footer_list {
        width: 100%;
        justify-content: center;
    }

    .footer_list_item {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .footer_list_item:not(:last-child)::after {
        content: '|';
        line-height: 1em;
    }

    .footer_sign {
        display: block;
        border-top: 1px solid #fff;
        width: 100%;
        text-align: center;
        padding: 20px 0 0 0;
        margin: 24px 0 0 0;
    }

    .footer_sign::before {
        content: '';
    }
}

/* header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px !important;
    transition: all 0.4s ease;
}

.header_inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0 40px;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.05);
}

.scrolled {
    padding: 8px;
    height: 64px !important;
}

.scrolled .header_inner {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    padding: 0 24px;
}

.header_list {
    display: flex;
    gap: 16px;
    position: relative;
}

.header_list_link {
    position: relative;
    font-size: 14px;
    padding: 10px 16px;
    color: #161717;
    border-radius: 99px;
    transition: all 0.3s ease;
    z-index: 1;
}

.header_list_text {
    position: relative;
    z-index: 1;
}

.header_list_link:not(.active):hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.header_list_link.active:hover {
    opacity: 1;
    color: #fff;
}

.header_contact,
.header_contact_sp {
    background: #000;
    border-radius: 99px;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-weight: bold;
    gap: 4px;
}

.header_active_bar {
    position: absolute;
    width: 54px;
    height: 4px;
    border-radius: 100px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg,
            rgba(0, 102, 255, 1) 0%,
            rgba(0, 187, 255, 1) 100%);
    transition: 0.3s ease;
    z-index: 0;
}

.header_list_link:hover .header_active_bar {
    width: 100%;
    height: 100%;
}

.header_menu {
    appearance: none;
    background: transparent;
    outline: none;
    border: none;
    display: none;
}

@media screen and (max-width: 768px) {
    .header_logo {
        width: 71px;
    }

    .header_logo>img {
        width: 100%;
    }

    ul {
        margin: 0;
        padding: 0;
    }

    .header {
        height: 56px !important;
    }

    .header_list,
    .header_contact {
        display: none;
    }

    .header_contact_sp {
        width: fit-content;
    }

    .header_menu {
        display: block;
    }

    .header_menu_wrapper {
        position: fixed;
        top: 56px;
        right: 0;
        width: 100%;
        height: calc(100dvh - 56px);
        z-index: 40;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
        transition: all 0.4s ease;
    }

    .header_menu_overlay {
        position: absolute;
        height: 100%;
        width: calc(100% - 280px);
        left: 0;
        top: 0;
        transition: all 0.4s ease;
    }

    .header_menu_content {
        position: absolute;
        right: 0;
        top: 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 280px;
        height: 100%;
        padding: 16px 16px 32px 16px;
    }

    .header_menu_list {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
    }

    .header_menu_item {
        display: block;
        height: 56px;
    }

    .header_menu_link {
        display: block;
        width: 100%;
        border-radius: 8px;
        padding: 20px 12px;
        background: #f2f4f5;
        color: #303437;
        font-size: 16px;
        line-height: 1em;
    }
}

@media screen and (max-width: 1024px) {
    .header_contact_text {
        display: none;
    }

    .header_inner {
        padding: 0 24px;
    }

    .scrolled {
        padding: 4px;
    }
}

@media screen and (min-width: 1280px) {
    .header {
        height: 80px;
    }
}

section {
    padding: 80px 40px 120px;
    max-width: 100%;
}

section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    section {
        padding: 80px 20px;
        width: 100vw;
    }

    section h2 {
        font-size: 26px;
    }
}