/* --------------------------------------------------- */
/* common */
/* --------------------------------------------------- */
:root {
    --base-color: #2b2b2b;
    --primary-color: #1a1462;
    --accent-color: #25189f;
    --header-height: 0;
    --window-percent: 0;
    --window-vw: 0;
    --window-diff: 0;
}
* {
    font-family: "FOT-UD角ゴC80 Pro R", sans-serif;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
    background-color: #fafafa;
    font-size: calc(16 / 1440 * (100vw - var(--window-diff)));
    margin-top: 0 !important;
}
@media screen and (max-width: 1279px) {
    html {
        font-size: calc(16 / 375 * (100vw - var(--window-diff)));
    }
}
h1,
h2,
h3,
h4,
p {
    color: var(--base-color);
    line-height: 1;
}
a {
    text-decoration: none;
    color: var(--base-color);
    font-weight: 600;
    transition: 0.3s;
    display: block;
}
a:hover {
    opacity: 0.5;
}
h1,
h2,
h3,
h4 {
    font-weight: 600;
}
p {
    font-size: 16px;
    font-weight: 400;
}
.eng {
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0;
}
img {
    /* width: 100%;
  height: auto; */
    display: block;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
td,
th {
    color: var(--base-color);
}

/* --------------------------------------------------- */
/* responsive */
/* --------------------------------------------------- */
.sp-d {
    display: none;
}
.pc-d {
    display: block;
}
@media (max-width: 1279px) {
    .sp-d {
        display: block;
    }
    .pc-d {
        display: none !important;
    }
}

/* --------------------------------------------------- */
/* header & nav */
/* --------------------------------------------------- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.header-logo__text {
    font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
    font-size: 1.75rem;
}
.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
}
.header__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-list__item {
    line-height: 1;
    font-size: 1.25rem;
}
.header-list__link {
    font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
    color: var(--base-color);
}
@media screen and (max-width: 1279px) {
    .header__nav {
        padding: 1.25rem;
    }
    .header-logo__text {
        font-size: 1.5rem;
    }
    .header__btn {
        background-color: var(--primary-color);
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-btn__inner {
        position: relative;
        width: 1.5rem;
        height: 0.875rem;
    }
    .header-btn__line {
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        transition: 0.3s;
    }
    .header-btn__line:first-of-type {
        top: 0;
    }
    .header-btn__line:nth-of-type(2) {
        top: 50%;
    }
    .header-btn__line:last-of-type {
        top: 100%;
    }
    header.active .header__btn {
        background-color: var(--primary-color);
    }
    header.active .header-btn__line {
        background-color: #fff;
    }
    header.open .cls-1 {
        fill: var(--primary-color);
    }
    header.open .cls-2 {
        stroke: var(--primary-color);
    }
    header.open .header-btn__line:first-of-type {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    header.open .header-btn__line:nth-of-type(2) {
        opacity: 0;
    }
    header.open .header-btn__line:last-of-type {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    header.open .header__btn {
        background-color: var(--primary-color);
    }
    header.open .header-btn__line {
        background-color: #fff;
    }
    .header__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: 75;
        display: none;
    }
    .header-menu__inner {
        width: 100%;
        height: auto;
        background-color: #fafafa;
        padding: var(--header-height) 1.25rem 0;
    }
    .header__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border-top: 1px solid #ddd;
        padding: 1rem 0;
    }
    .header-list__link {
        padding: 1rem 0;
        font-size: 1.25rem;
    }
    .header__copyright {
        background-color: var(--primary-color);
        padding: 0.75rem 0;
    }
    .header-copyright__text {
        font-size: 0.75rem;
        text-align: center;
        color: #fff;
        font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
    }
    .floating {
        width: 75%;
        bottom: 12px;
        right: 12px;
    }
    .floating__img {
        width: 100%;
    }
    .pagelink {
        margin-top: 36px;
    }
}

/* --------------------------------------------------- */
/* footer */
/* --------------------------------------------------- */
footer {
    background-color: var(--base-color);
}
.footer__inner {
    width: 100%;
    padding: 6.25rem 9rem;
    display: grid;
    grid-template-columns: auto max-content;
    grid-template-rows: auto auto;
}
.footer__logo {
    width: fit-content;
}
.footer-logo__text {
    font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
    color: #fff;
    font-size: 2.5rem;
}
.footer-address__text,
.footer-email__text,
.footer-tel__text,
.footer-fax__text {
    color: #fff;
    font-family: "FOT-UD角ゴC80 Pro R", sans-serif;
    font-size: 1rem;
}
.footer-tel__text,
.footer-fax__text {
    white-space: nowrap;
}
.footer-address__text {
    line-height: 1.5;
    margin: -4px 0;
}
.footer__information {
    width: fit-content;
    margin-top: 4rem;
}
.footer-information__box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.footer__address,
.footer__email,
.footer__tel,
.footer__fax {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footer__address,
.footer__email,
.footer__tel {
    margin-bottom: 1.5rem;
}

.footer-address__icon,
.footer-email__icon,
.footer-tel__icon,
.footer-fax__icon {
    width: 1rem;
    height: auto;
}
.footer__container {
    margin-top: 4rem;
}
.footer__nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}
.footer-list__link {
    color: #fff;
    text-align: center;
    font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
}
.footer-copyright__text,
.footer__privacy_policy {
    font-size: 0.875rem;
    color: #fff;
    line-height: 1;
    font-family: "FOT-UD角ゴC80 Pro B", sans-serif;
}
.footer-copyright__text {
    font-weight: 400;
}
.footer__privacy_policy {
    font-family: FP-ヒラギノUD角ゴ StdN W4, sans-serif;
}
.footer__map {
    width: 100%;
    height: calc(100% - 4rem);
    margin-top: 4rem;
}

/* --------------------------------------------------- */
/* loading */
/* --------------------------------------------------- */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 200;
    background-color: var(--primary-color);
}
.loading__inner {
    width: 100%;
    height: 100%;
    position: relative;
}
.loading__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.loading__part {
    position: relative;
}
.loading__part:not(:last-of-type) {
    margin-bottom: -4px;
}
.loading-part__curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    mask-image: url("../img/asset/loading_img.svg");
    clip-path: inset(0 100% 0 0);
    opacity: 1;
}
.loading__part:first-of-type .loading-part__curtain {
    animation: loading-curtain3 2s infinite;
}
.loading__part:nth-of-type(2) .loading-part__curtain {
    animation: loading-curtain2 2s infinite;
}
.loading__part:last-of-type .loading-part__curtain {
    animation: loading-curtain1 2s infinite;
}
@keyframes loading-curtain1 {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
    55% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    56% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}
@keyframes loading-curtain2 {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
    45% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    46% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    56% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}
@keyframes loading-curtain3 {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
    30% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    31% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    56% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}
.loading__text {
    color: #fff;
    text-align: center;
    margin-top: 16px;
}
@media screen and (max-width: 1279px) {
    .footer__inner {
        width: 100%;
        padding: 0 1.25rem;
        grid-template-columns: 1fr;
    }
    .footer__logo {
        order: 1;
        width: 100%;
        margin: 3.5rem 0;
    }
    .footer-logo__text {
        text-align: center;
    }
    .footer__nav {
        order: 2;
    }
    .footer__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }
    .footer-list__link {
        text-align: left;
    }
    .footer__information {
        order: 4;
        width: 100%;
        margin-top: 3rem;
    }
    .footer__map {
        order: 3;
        aspect-ratio: 3/2;
        height: auto;
        margin-top: 3.5rem;
    }
    .footer__container:not(:last-of-type) {
        padding: 48px 0;
    }
    .footer__container:first-of-type {
        display: block;
    }
    .footer__item {
        margin-top: 48px;
        gap: 24px;
        align-items: stretch;
    }
    .footer__back.pc-d {
        display: none;
    }
    .footer__back.sp-d {
        display: flex;
        width: 72px;
        height: auto;
    }
    .footer__address,
    .footer__tel,
    .footer__fax {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .footer-address__icon,
    .footer-tel__icon,
    .footer-fax__icon {
        width: 1rem;
        height: auto;
    }
    .footer-address__text,
    .footer-tel__text,
    .footer-fax__text {
        font-size: 1rem;
        line-height: 1;
        margin: 0;
    }
    .footer__information {
        flex: 1;
    }
    .footer-information__box {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        align-items: flex-start;
    }
    .footer__container:nth-of-type(2) {
        display: block;
    }
    .footer__container:last-of-type {
        padding: 1.25rem 0;
        margin-top: 3rem;
        justify-content: center;
        border-top: 1px solid #707070;
    }
    .footer-copyright__text {
        text-align: center;
        font-size: 0.875rem;
    }
}
