@charset "UTF-8";

/*---------------------------------

    ヘッダー（パターン１）

---------------------------------*/

.header01 {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding-block: 40px;
    color: #FFF;
    transition: background-color 0.3s;
}
.header01.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    translate: 0 -100%;
    padding-block: 20px;
    background-color: #375A83;
    box-shadow: 0 2px 15px rgb(0 0 0 / 0.05);
    animation: scroll-down 1s forwards;
}
@keyframes scroll-down {
    0%{
        translate: 0 -100%;
    }
    100%{
        translate: 0 0;
    }
}
.header01-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 40px;
    padding-inline: 40px;
}
.header01-logo {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}
.header01-logo a {
    display: inline-flex;
    align-items: center;
    column-gap: 20px;
    transition: opacity 0.3s;
}
.header01-logo a:focus-visible {
    opacity: 0.7;
}
.header01-logo a img {
    width: 60px;
}
.header01-logo a span {
    color: #FFF;
    font-size: 32px;
    white-space: nowrap;
}
.header01-nav {
    display: flex;
    align-items: center;
    column-gap: 40px;
}
.header01-items {
    display: flex;
    align-items: center;
    column-gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.header01-item a {
    position: relative;
    padding: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s;
}
.header01-item a::after {
    position: absolute;
    bottom: 0;
    left: 5px;
    scale: 0 1;
    transform-origin: center right;
    width: calc(100% - 10px);
    height: 1px;
    background-color: currentColor;
    transition: scale 0.3s;
    content: "";
}
.header01-item a:focus-visible::after {
    scale: 1 1;
    transform-origin: center left;
}
.header01-button {
    display: inline-grid;
    place-items: center;
    position: relative;
    padding: 7px 38px 7px 50px;
    border: 1px solid;
    border-radius: 9999px;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.header01-button::before {
    position: absolute;
    top: 50%;
    left: 18px;
    translate: 0 -45%;
    width: 1em;
    height: 1em;
    background-color: #FFF;
    -webkit-mask-image: url(../img/icon_paper-airplane.svg);
            mask-image: url(../img/icon_paper-airplane.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: 100% auto;
            mask-size: 100% auto;
    transition: background-color 0.3s;
    content: "";
}
.header01-button:focus-visible {
    background-color: #FFF;
    color: #222;
}
.header01-button:focus-visible::before {
    background-color: #222;
}
.header01-hamburger {
    display: none;
}
.header01-drawer {
    display: none;
}
@media (hover: hover) and (pointer: fine) {

    .header01-logo a:hover {
        opacity: 0.7;
    }
    .header01-item a:hover {
        color: #FFF;
    }
    .header01-item a:hover::after {
        scale: 1 1;
        transform-origin: center left;
    }
    .header01-button:hover {
        background-color: #FFF;
        color: #222;
    }
    .header01-button:hover::before {
        background-color: #222;
    }

}
@media (max-width: 1400px) {

    .header01-logo a img {
        width: 50px;
    }
    .header01-logo a span {
        font-size: 24px;
    }

}
@media (max-width: 1200px) {

    .header01:has(.header01-hamburger.is-active) {
        position: fixed;
        top: 0;
        left: 0;
        background-color: #375A83;
    }
    .header01-inner > .header01-nav {
        display: none;
    }
    .header01-hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        border: none;
        background: none;
        cursor: pointer;
    }
    .header01-hamburger span {
        display: inline-block;
        position: absolute;
        left: 50%;
        translate: -50%;
        width: 100%;
        height: 2px;
        background-color: #FFF;
		transition: translate 0.3s, rotate 0.3s;
    }
    .header01-hamburger span:nth-child(1) {
        top: 4px;
		transform-origin: top right;
    }
    .header01-hamburger span:nth-child(2) {
        top: 15px;
    }
    .header01-hamburger span:nth-child(3) {
        top: 26px;
		transform-origin: bottom right;
    }
    .header01-hamburger.is-active span {
        translate: -65%;
    }
    .header01-hamburger.is-active span:nth-child(1) {
        rotate: -45deg;
    }
    .header01-hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .header01-hamburger.is-active span:nth-child(3) {
        top: 25px;
        rotate: 45deg;
    }
    .header01-drawer {
        display: block;
        position: fixed;
        inset: 116px 0 0 0;
        z-index: 10;
        background-color: #375A83;
        transition: opacity 0.3s, visibility 0.3s ease-out;
    }
    .header01-drawer[aria-hidden=true] {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .header01.is-scrolled .header01-drawer {
        inset: 76px 0 0 0;
    }
    .header01-drawer-inner {
        display: grid;
        place-items: center;
        height: 100%;
        overflow-y: auto;
        padding: 30px 20px 60px;
    }
    .header01-nav {
        flex-direction: column;
        row-gap: 80px;
    }
    .header01-items {
        flex-direction: column;
        row-gap: 35px;
    }
    .header01-item a {
        font-size: 16px;
    }
    .header01-button {
        width: 295px;
        padding: 13px 46px 13px 50px;
        font-size: 16px;
        font-weight: 500;
    }
    .header01-button::before {
        left: 25px;
    }

}
@media (max-width: 767px) {

    .header01-inner {
        padding-inline: 20px;
    }
    .header01-logo a {
        column-gap: 12px;
    }
    .header01-logo a img {
        width: 32px;
    }
    .header01-logo a span {
        font-size: 16px;
    }
    .header01-hamburger {
        translate: 0 -10%;
        width: 25px;
        height: 25px;
    }
    .header01-hamburger span:nth-child(2) {
        top: 13px;
    }
    .header01-hamburger span:nth-child(3) {
        top: 22px;
    }
    .header01-hamburger.is-active span:nth-child(3) {
        top: 21px;
    }
    .header01-drawer {
        inset: 105px 0 0 0;
    }

}
@media (max-width: 480px) {

    /* Safari調整用 */
    _::-webkit-full-page-media, _:future, :root .header01-hamburger.is-active span:nth-child(1) {
        top: -1px;
    }

}
