/* web font
*/

:root {
    --main-theme-color: #002D72;
    --sub-theme-color: #FF0000;
    --ft-serif: "Noto Serif JP", serif;
    --ft-josef: "Josefin Sans", sans-serif;
}

* {
    box-sizing: border-box;
    color: #121212;
    font-family: "Noto Sans JP", sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.open {
    overflow: hidden;
}
a {
    text-decoration: none;
    transition: all .3s;
}
.tdu {
    text-decoration: underline;
}
a:hover {
    opacity: .8;
    transition: all .3s;
}
p {
    line-height: 1.6;
}
.bold {
    font-weight: bold;
}
.fz12em {
    font-size: 1.2em;
}
.tac {
    text-align: center;
}
img {
    height: auto;
    max-width: 100%;
}
img.round {
    border-radius: 18px;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
.pc2 {
    display: block;
}
.sp2 {
    display: none;
}
@media screen and (max-width: 968px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .pc2 {
        display: none;
    }
    .sp2 {
        display: block;
    }
}
.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: clip;
    width: 100%;
}
/* header */
.header {
    background: #fff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 79px;
    margin: 8px auto;
    position: sticky;
    top: 8px;
    left: 0;
    width: 100%;
    max-width: 1360px;
    z-index: 999;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 95%;
}
.header-left {
    width: 336px;
}
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: calc(100% - 300px);
}
.header-nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-nav__list li:not(:last-child) {
    margin-right: 40px;
}
.header-nav__list li:nth-last-child(2),
.header-nav__list li:nth-last-child(3),
.header-nav__list li:nth-last-child(4) {
    margin-right: 15px;
}
.header-nav__list li a,
.header-nav__list li p {
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}
.header-nav__list li a:hover {
    opacity: 1;
    color: var(--main-theme-color);
}
.header-nav__list li.rec a {
    background: var(--main-theme-color);
    border: 1px solid var(--main-theme-color);
}
.header-nav__list li.rec a:hover {
    opacity: 1;
    background-color: #fff;
    color: var(--main-theme-color);
}
.header-nav__list li.contact a {
    background: var(--sub-theme-color);
    border: 1px solid var(--sub-theme-color);
}
.header-nav__list li.contact a:hover {
    opacity: 1;
    background-color: #fff;
    color: var(--sub-theme-color);
}
.header-nav__list li.btn a {
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    margin: 0 auto;
    padding: 0 20px 3px;
    width: 100%;
    max-width: max-content;
}
/* .header-nav__list li.btn a::before {
    background: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 8px;
    margin-bottom: -2px;
    margin-right: 5px;
    width: 8px;
}
.header-nav__list li.rec a::before {
    border: 1px solid var(--main-theme-color);
}
.header-nav__list li.contact a::before {
    border: 1px solid var(--sub-theme-color);
} */

.dropdown {
    position: relative;
}
.dropdown-panel {
    background: #fff;
    border-radius: 5px;
    filter: drop-shadow(0 0 5px rgb(0 0 0 / 15%));
    display: none;
    padding: 15px;
    position: absolute;
    left: 0;
    top: 30px;
    width: max-content;
}
.dropdown-panel .dropdown-list li:not(:last-child)
.dropdown-panel .dropdown-list li:nth-last-child(2) {
    margin: 0 0 10px;
}
@media screen and (max-width: 1268px) {
    .header-left {
        width: 273px;
    }
    .header-right {
        width: calc(100% - 225px);
    }
    .header-nav__list li:not(:last-child) {
        margin-right: 20px;
    }
    .header-nav__list li:nth-last-child(2),
    .header-nav__list li:nth-last-child(3),
    .header-nav__list li:nth-last-child(4) {
        margin-right: 10px;
    }
}
@media screen and (max-width: 1100px) {
    .header {
        height: 62px;
    }
    .header-right {
        width: calc(100% - 245px);
    }
    .header-nav {
        background: #fff;
        height: 100%;
        padding: 100px 0 80px;
        position: fixed;
        right: -100%;
        top: 0;
        transition-duration: .3s;
        width: 90%;
        max-width: 350px;
    }
    .header-nav.open {
        right: 0;
    }
    .header-nav__list {
        display: block;
        text-align: center;
    }
    .header-nav__list li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .header-nav__list li p {
        color: gray;
    }
    .dropdown-panel {
        display: block !important;
        position: static;
        filter: none;
        padding-bottom: 0;
        width: 100%;
    }
    /* hamberger */
    .header-menu {
        display: block;
        height: 25px;
        position: relative;
        text-align: center;
        width: 30px;
        z-index: 999999;
        margin-right: 15px;
    }
    .header-menu span {
        display: block;
    }
    .header-menu___trigger {
        position: relative;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 3;
    }
    .header-menu___trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #545454;
        border-radius: 4px;
    }
    .header-menu___trigger, .header-menu___trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }
    .header-menu___trigger span:nth-of-type(1) {
        top: 0;
    }
    .header-menu___trigger span:nth-of-type(2) {
        top: 12px;
    }
    .header-menu___trigger span:nth-of-type(3) {
        bottom: 0;
    }
    .header-menu___trigger.active span:nth-of-type(1) {
        top: -6px;
    }
    .header-menu___trigger.active span:nth-of-type(3) {
        bottom: -10px;
    }
    .header-menu___trigger span:nth-of-type(1) {
        animation: header-menu__bar01 .75s forwards;
    }
    @keyframes header-menu__bar01 {
        0% {
            transform: translateY(20px) rotate(45deg);
        }
        50% {
            transform: translateY(20px) rotate(0);
        }
        100% {
            transform: translateY(0) rotate(0);
        }
    }
    .header-menu___trigger span:nth-of-type(2) {
        transition: all .25s .25s;
        opacity: 1;
    }
    .header-menu___trigger span:nth-of-type(3) {
        animation: header-menu__bar03 .75s forwards;
    }
    @keyframes header-menu__bar03 {
        0% {
            transform: translateY(-20px) rotate(-45deg);
        }
        50% {
            transform: translateY(-20px) rotate(0);
        }
        100% {
            transform: translateY(0) rotate(0);
        }
    }
    .header-menu___trigger.active span:nth-of-type(1) {
        animation: active-header-menu__bar01 .75s forwards;
    }
    @keyframes active-header-menu__bar01 {
        0% {
            transform: translateY(0) rotate(0);
        }
        50% {
            transform: translateY(20px) rotate(0);
        }
        100% {
            transform: translateY(20px) rotate(45deg);
        }
    }
    .header-menu___trigger.active span:nth-of-type(2) {
        opacity: 0;
    }
    .header-menu___trigger.active span:nth-of-type(3) {
        animation: active-header-menu__bar03 .75s forwards;
    }
    @keyframes active-header-menu__bar03 {
        0% {
            transform: translateY(0) rotate(0);
        }
        50% {
            transform: translateY(-20px) rotate(0);
        }
        100% {
            transform: translateY(-20px) rotate(-45deg);
        }
    }
}
@media screen and (max-width: 798px) {
    .header-left {
        width: 245px;
    }
}

/* footer */
.footer {
    background: #fff;
    padding: 120px 0 0;
}
.footer-inner {
    margin: 0 auto;
    width: 92%;
    max-width: 1220px;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.footer-left {
    width: 355px;
}
.footer-right {
    width: calc(100% - 450px);
}
.footer-logo {
    margin: 0 0 20px;
}
.footer-info {
    margin: 0 0 25px;
}
.footer-info p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}
.footer-info strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
}
.footer-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-btn {
    margin: 0 auto;
    width: 100%;
    max-width: 355px;
}
.footer-btn a {
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    text-align: center;
    width: 100%;
}
.footer-btn.rec a {
    background: var(--main-theme-color);
    border: 1px solid var(--main-theme-color);
}
.footer-btn.rec a:hover {
    background: #fff;
    color: var(--main-theme-color);
}
.footer-btn.contact a {
    background: var(--sub-theme-color);
    border: 1px solid var(--sub-theme-color);
}
.footer-btn.contact a:hover {
    background: #fff;
    color: var(--sub-theme-color);
}
.footer-icon {
    margin-top: 25px;
    line-height: 1;
}
.footer-icon a {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}


.footer-columns__top {
    margin: 0 0 45px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.footer-columns__top .footer-columns {
    grid-template-columns: 1fr;
}
.footer-column__ttl {
    color: #096FCA;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}
.footer-column__link {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-column__link.flexlink {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 50px;
}
.footer-column__link li a {
    font-size: 15px;
    font-weight: 500;
}
.footer-column__link li a:hover {
    color: var(--main-theme-color);
    opacity: 1;
}
.footer-column__link li a::before {
    color: #096FCA;
    content: "・";
}
.footer-link__inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 5px 0 0;
    padding-left: 15px;
}
.footer-link__inner li a {
    font-size: 15px;
    font-weight: 400;
}
.footer-link__inner li a::before {
    display: none;
}
.copyright {
    margin: 160px 0 0;
    padding: 0 0 10px;
    text-align: center;
}
.copyright p {
    font-size: 15px;
    font-weight: 400;
}
@media screen and (max-width: 1168px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }
}
@media screen and (max-width: 968px) {
    .footer {
        padding: 40px 0 0;
    }
    .footer-left {
        width: 100%;
        order: 2;
        margin-top: 100px;
    }
    .footer-right {
        margin: 35px 0 0;
        width: 100%;
    }
    .copyright {
        margin: 80px 0 0;
    }
}
@media screen and (max-width: 568px) {
    .footer-columns__top {
        margin: 0 0 25px;
    }
    .footer-column__link.flexlink {
        flex-direction: column;
        gap: 15px;
    }
}