@charset "utf-8";

/* 共通設定============================================== */
:root {
    --primary-navy: #314371;
    --primary-blue: #30b8bb;
    --primary-red: #db5f7a;
    --primary-white: #fff;
    --primary-black: #444;
    --contentWidth: 87.8%;
    --contentPadding: 3.0%;
}

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

body {
    font-family: 
        'Noto Sans JP',
        'Arial';
    font-style: normal;
    color: var(--primary-navy, #314371);
    background-color: var(--primary-white, #fff);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

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

.topic {
    height: 180px;
    padding-top: 60px;
    text-align: center;
}

.topic__main {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 3.2px;
}

.topic__sub {
    display: block;
    color: var(--primary-blue);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 3.2px;
}

.span__red {
    color: var(--primary-red);
}

.span__underLine {
    background: linear-gradient(transparent 70%, rgba(48, 184, 187, 0.3) 70%);
}

.span__block {
    display: inline-block;
}

/* 共通設定＠PC表示================== */
@media screen and (min-width: 769px) {
    .topic {
        margin-top: 64px;
        height: 226px;
    }

    .topic__main {
        font-size: 4rem;
    }

    .topic__sub {
    font-size: 2.4rem;
    }
}

/* ヘッダー============================================== */
.header {
    position: fixed;
    top: 0;
    z-index: 10000;
    padding: 8px 16px;
    width: 100%;
    height: 64px;
    gap: 2.4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-white);
}

.header__topicWrap {
    width: 286px;
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.header__topic {
    max-width: 230px;
}

.header__txt {
    min-width: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0em;
}

.header__btnCta {
    display: none;
}


.header__btnCta:hover {
    opacity: 0.6;
    transition: 0.4s;
}

.header__btnCtaImg {
    display: none;
}

.hamb__btn {
    width: 56px;
    height: auto;
}

/* ヘッダー＠PC表示================== */
@media screen and (min-width: 769px) {
    .header {
        position: static;
        margin: 0 auto;
        padding: 20px 24px;
        max-width: 1280px;
        height: 110px;
    }

    .header__topicWrap {
        width: 45vw;
        max-width: 600px;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .header__topic {
        max-width: 260px;
    }

    .header__txt {
        width: 26vw;
        font-size: 1.2rem;
        font-weight: 400;
    }

    .header__btnCta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 320px;
        height: 64px;
        border-radius: 10px;
        text-align: center;
        color: var(--primary-white);
        font-size: 1.6rem;
        font-weight: 400;
        background-color: var(--primary-blue);
    }

    .header__btnCtaImg {
        display: inline-block;
        margin-right: 8px;
        transform: translateY(6%);
    }

    .hamb__btn {
        display: none;
    }
}

/* ナビ============================================== */
.nav {
    width: 67.4%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100000;
    background-color: rgba(49, 67, 113, 0.95);
    transform: translateX(100%);
    transition: transform 0.4s;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.nav__btnClose {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 32px;
}

.nav__list {
    display: flex;
    align-items: center;
    flex-direction: column;
}


.nav__item {
    width: 100%;
    height: 8vh;
    margin: 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.6rem;
    font-weight: 600;
}

.nav__item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transition: 0.4s;
}

.nav__item--contact {
    display: none;
}

.nav__btnCta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48vw;
    height: 8vh;
    margin: 32px auto;
    background-color: var(--primary-white);
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
}

.nav__btnCta:hover {
    opacity: 0.6;
    transition: 0.4s;
}

.nav__btnCtaImg {
    margin-right: 4px;
    transform: translateY(10%);
}

.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 99999;
}

/* nav が開いたときに表示 */
.nav.active + .nav__overlay {
    opacity: 1;
    visibility: visible;
}

/* ナビ＠PC表示================== */
@media screen and (min-width: 769px) {
    .nav {
        width: 100%;
        height: 64px;
        position: sticky;
        z-index: 10000;
        transform: none;
    }

    .nav__btnClose {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        justify-content: center;
        padding: 0 10vw;
    }

    .nav__item {
        max-width: 220px;
        height: 64px;
        margin: 0;
        padding: 0 6px;
        text-align: center;
        font-size: 1.6rem;
        font-weight: 500;
    }

    .nav__item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .nav__item--contact {
        display: flex;
    }

    .nav__btnCta {
        display: none;
    }
}



/* フッター============================================== */
.footer__content {
    background-color: rgba(217, 217, 217, 0.2);
    display: flex;
    flex-direction: column-reverse;
    padding: 24px 16px;
}

.footer__logo {
    margin: 10px auto;
    width: 88px;
    height: 120px;
    object-fit: cover;
}

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

.footer__navList1, .footer__navList2 {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footerNav__item {
    margin: 16px 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.footerNav__itemSub {
    display: none;
    font-size: 1.2rem;
}

.footer__ctaWrap {
    display: none;
}

.copy {
    background-color: var(--primary-navy);
    padding: 10px 16px;
    text-align: center;
    color: var(--primary-white);
    font-size: 1.4rem;
}

/* フッター＠PC表示================== */
@media screen and (min-width: 769px) {
    .footer__content {
        flex-direction: row;
        justify-content: center;
        flex-shrink: 0;
        padding: 40px 4vw;
        gap: 8%;
        margin: 0 auto;
    }

    .footer__logo {
        display: flex;
        align-items: center;
        margin: 0;
        width: 8vw;
        height: auto;
        object-fit: cover;
    }

    .footer__navWrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 30vw;
        gap: 8%;
    }

    .footer__navList1, .footer__navList2 {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .footerNav__item {
        margin: 8px 0;
        font-size: 1.4rem;
        font-weight: 500;
    }

    .footerNav__itemSub {
        display: block;
        font-size: 1rem;
        font-weight: 500;
        line-height: 2;
    }

    .footer__ctaWrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 20vw;
    }

    .footer__ctaBtn{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 24px auto 0;
        padding: 12px;
        width: 20vw;
        max-width: 400px;
        height: 64px;
        border-radius: 10px;
        text-align: left;
        color: var(--primary-white);
        font-size: 1.6rem;
        font-weight: 400;
        background-color: var(--primary-blue);
    }

    .footer__ctaBtn:hover {
        opacity: 0.6;
        transition: 0.4s;
    }

    .footer__btnCtaImg {
        display: inline-block;
        margin-right: 8px;
        transform: translateY(10%);
    }

    .footer__ctaTxt {
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
    }
}