@charset "UTF-8";
/* =============================
common
============================= */
:root {
    --primary-white: #FFFFFF;
    --primary-black: #070A17;
    --primary-navy: #27496D;
    --accent-blue: #1180B4;
    --primary-light-gray: #EEEEEE;
    --primary-dark-gray: #C9C9C9;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    font-style: normal;
    color: var(--primary-black);
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--primary-white);
    animation: fadeOut 0.5s forwards;
    animation: fadeIn 1s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

img {
    width: 100%;
    height: auto;
}

.section,
.article {
    padding: 40px 0;
}

.section__inner,
.article__inner {
    margin: 0 8.5%;
}

.section__inner--topline {
    margin-top: 40px;
    border-top: 1px solid var(--primary-dark-gray);
}

.section__title,
.article__title {
    color: var(--accent-blue);
    font-family: 'Marcellus', serif;
    font-size: 2.6rem;
    line-height: 1.7;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section__title--margin {
    margin-top: 40px;
}

.section__title--center,
.article__title--center {
    text-align: center;
}

.btn-flex {
    display: flex;
    flex-direction: column;
}

.pageShiftBtn {
    margin: 32px 0 0 auto;
    display: inline-block;
    position: relative;
}

.pageShiftBtn a {
    padding-right: 20px;
    display: block;
    color: var(--primary-navy);
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    position: relative;
}

.pageShiftBtn a::after {
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    background-image: url(../images/btn-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}

.pageShiftBtn a::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-navy);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s;
}

.pageShiftBtn a:hover::before {
    transform: scale(1, 1);
    transform-origin: left top;
}

/* commmon pc */
@media screen and (min-width:769px) {
    .sp-only {
        display: none;
    }
    
    .section,
    .article {
        padding: 64px 0 104px;
    }

    .section__inner,
    .article__inner {
        margin: 0 10%;
    }

    .section__inner--topline {
        margin-top: 64px;
    }

    .section__title,
    .article__title {
        font-size: 3.8rem;
    }

    .section__title--margin {
        margin-top: 72px;
    }

    .pageShiftBtn {
        margin: 56px 0 0 auto;
    }

    .pageShiftBtn a {
        padding-right: 26px;
        font-size: 1.6rem;
    }

    .pageShiftBtn a::after {
        width: 10px;
        height: 10px;
}
} /* pc 769px */

/* =============================
header
============================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 6.4%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.header-logo {
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 36px;
    height: 36px;
}

.header-logo__txt {
    color: var(--primary-light-gray);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

/* nav初期表示 */
.header-nav {
    padding: 116px 10.4% 94px 6.4%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(from var(--primary-light-gray) r g b / 0.8);
    transform: translateX(-100%);
    transition: ease-in-out 0.5s;
}

.header-nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-nav__item {
    width: fit-content;
}

.header-nav__item a {
    display: block;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.header-nav__item a::after {
    content: attr(data-ja);
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-wrap: nowrap;
    margin-left: 24px;
}

.header-nav__item a::before {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-black);
    transition: width 0.3s ease;
}

.header-nav__item a:hover::before {
    width: 100%;
}

.header-nav__ec {
    width: auto;
    display: inline-block;
}

.header-nav__ec a {
    padding: 6px 40px 4px 12px;
    margin-top: 40px;
    background-color: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-wrap: nowrap;
    position: relative;
    transition: 0.3s;
}

.header-nav__ec a img {
    display: block;
    width: 64px;
    max-width: 64px;
    height: auto;
    flex-shrink: 0;
}

.header-nav__ec a::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 4%;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--primary-black);
    border-right: 1px solid var(--primary-black);
}

.header-nav__ec a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 3.4%;
    width: 14px;
    height: 1px;
    background: var(--primary-black);
    transform: rotate(135deg);
}

.header-nav__ec a:hover {
    transform: translate(4px, -4px);
}

.header-nav__small {
    margin-top: 40px;
}

.header-nav__item--small a {
    font-size: 1.2rem;
    font-weight: 400;
}

.header-nav__item--small a:last-child {
    margin-top: 8px;
}

.header-nav__item--small a::after {
    display: none;
}

.blur-overlay {
    display: none;
    position: fixed;
    inset: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(from var(--primary-navy) r g b / 0.2);
    z-index: 2;
    transition: opacity 0.5s ease;
}

/* ハンバーガーメニュー */
.hamburger {
    width: 38px;
    height: 100%;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--primary-white);
    transition: ease 0.4s;
    position: relative;
    }

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}

/* nav active表示 */
.header.active {
    position: fixed;
}

.header-logo__txt.active {
    color: var(--primary-black);
}

.header-nav.active {
    transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

.blur-overlay.active {
    display: block;
}

/* header pc */
@media screen and (min-width:769px) {
    .header {
        padding: 32px 2.8%;
    }

    .logo {
        gap: 16px;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .header-logo__txt {
        font-size: 2.2rem;
    }

    /* nav */
    .header-nav {
        padding: 0;
        position: static;
        background-color: transparent;
        transform: translateX(0);
    }

    .header-nav__list {
        display: flex;
        flex-direction: row;
        gap: 32px;
    }

    .header-nav__item a {
        text-align: center;
        color: var(--primary-light-gray);
        font-size: 1.6rem;
        line-height: 1;
    }

    .header-nav__item a::after {
        line-height: 1;
        margin: 8px 0 0;
        display: block;
    }

    .header-nav__item a::before {
        background-color: var(--primary-light-gray);
        top: 50%;
    }

    .header-nav__ec {
        display: none;
    }

    .header-nav__small {
        display: none;
    }

    .hamburger {
        display: none;
    }
} /* pc 769px */

/* =============================
contact
============================= */
.section--contact {
    background-color: var(--primary-light-gray);
}

.contact__txt {
    margin-top: 40px;
    line-height: 2;
    letter-spacing: 0.04em;
}

.contactBtn {
    margin: 40px auto 0;
    display: inline-block;
    width: fit-content;
}

.contactBtn a {
    display: inline-block;
    padding: 8px 52px 8px 24px;
    background-color: var(--primary-navy);
    border-radius: 4px;
    box-shadow: 0 3px 0 rgba(from var(--primary-black) r g b / 0.5);
    color: var(--primary-light-gray);
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.08em;
    position: relative;
    transition: 0.4s;
}

.contactBtn a::after {
    display: block;
    content: '';
    width: 12px;
    height: 12px;
    background-image: url(../images/btn-arrow-gray.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}

.contactBtn a:hover {
    transform: translateY(5px);
    box-shadow: none;
}

/* contact pc */
@media screen and (min-width:769px) {
    .contact__txt {
        margin-top: 80px;
        font-size: 1.8rem;
    }

    .contactBtn {
        margin: 40px 0 0 auto;
    }

    .contactBtn a {
        padding: 8px 62px 8px 32px;
        font-size: 2rem;
        letter-spacing: 0.16em;
    }

    .contactBtn a::after {
        width: 14px;
        height: 14px;
        right: 32px;
    }  
} /* pc 769px */

/* =============================
pageTopBtn
============================= */
.pagetop {
    width: 22px;
    height: 56px;
    position: fixed;
    right: 10px;
    bottom: 24px;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.4s ease, transfrom 0.4s ease;
}

.pagetop a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: var(--primary-navy);
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    text-transform: capitalize;
    text-align: center;
    writing-mode: vertical-lr;
    position: relative;
}

.pagetop a::after {
    content: '';
    display: block;
    width: 5px;
    height: 100%;
    background-image: url(../images/btn-arrow-pagetop.svg);
    position: absolute;
    margin-left: 6px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(5px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-5px);
        opacity: 0;
    }
}

.pagetop.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pagetop.over-footer a {
    color: var(--primary-light-gray);
}

.pagetop.over-footer a::after {
    background-image: url(../images/btn-arrow-pagetop-gray.svg);
}

/* pagetop pc */
@media screen and (min-width:769px) {
    .pagetop {
        right: 40px;
    }
} /* pc 769px */

/* =============================
footer
============================= */
.footer {
    padding: 32px 0;
    background-image: url(../images/footer-background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: 8px solid var(--accent-blue);
}

.footer-flex {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.footer-logo__txt {
    color: var(--primary-light-gray);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.footer-nav {
    margin-top: 64px;
}

.footer-nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav__item {
    width: fit-content;
}

.footer-nav__item a {
    display: block;
    position: relative;
    color: var(--primary-light-gray);
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.footer-nav__item a::after {
    content: attr(data-ja);
    font-family: 'BIZ UDGothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-wrap: nowrap;
    margin-left: 24px;
}

.footer-nav__item a::before {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-light-gray);
    transition: width 0.3s ease;
}

.footer-nav__item a:hover::before {
    width: 100%;
}

.footer-nav__ec {
    width: fit-content;
}

.footer-nav__ec a {
    padding: 6px 40px 4px 12px;
    margin-top: 40px;
    background-color: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-wrap: nowrap;
    position: relative;
    transition: 0.3s;
}

.footer-nav__ec img {
    display: block;
    width: 64px;
    height: auto;
}

.footer-nav__ec a::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 4%;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--primary-black);
    border-right: 1px solid var(--primary-black);
}

.footer-nav__ec a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 3.4%;
    width: 14px;
    height: 1px;
    background: var(--primary-black);
    transform: rotate(135deg);
}

.footer-nav__ec a:hover {
    transform: translate(4px, -4px);
}

.footer-nav__small {
    margin-top: 40px;
}

.footer-nav__item--small a {
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-nav__item--small a:last-child {
    margin-top: 8px;
}

.footer-nav__item--small a::after {
    display: none;
}

.footer-copy-en {
    color: var(--primary-light-gray);
    font-family: 'Marcellus', serif;
    font-size: 2.4rem;
    line-height: 2;
    letter-spacing: 0.16em;
    text-transform: capitalize;
}

.footer-copy-en span {
    font-size: 2.6rem;
}

.footer-copy-ja {
    color: var(--primary-light-gray);
    font-size: 2rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.16em;
}

.footer-copy-ja span {
    font-size: 1.9rem;
}

.copy {
    margin-top: 64px;
    color: var(--primary-light-gray);
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: right;
}

/* footer pc */
@media screen and (min-width:769px) {
    .footer {
        padding: 64px 0;
        border-top: 12px solid var(--accent-blue);
    }

    .footer-flex {
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-between;
    }

    .footer-nav__item a {
        font-size: 1.8rem;
    }

    .footer-nav__item a::after {
        font-size: 1.4rem;
    }

    .footer-nav__ec a {
        margin-top: 48px;
    }

    .footer-nav__small {
        margin-top: 48px;
    }

    .footer-nav__item--small a {
        font-size: 1.5rem;
    }

    .footer-nav__item--small a:last-child {
        margin-top: 12px;
    }

    .footer-copy {
        transform: translateY(50%);
    }

    .footer-copy-en {
        font-size: 3.8rem;
        letter-spacing: 0.24em;
    }

    .footer-copy-en span {
        font-size: 3.6rem;
    }

    .footer-copy-ja {
        font-size: 3.2rem;
        letter-spacing: 0.24em;
    }

    .footer-copy-ja span {
        font-size: 3rem;
    }

    .copy {
        font-size: 1.4rem;
        text-align: center;
    }
} /* pc 769px */




