@charset "UTF-8";

:root {
    --color-text: #2d2d2d;
    --color-white: #fcfcfc;
    --color-white-rgb: rgb(252, 252, 252);
    --color-primary: #0D66BC;
    --color-primary-0: #E7F0F8;
    --color-primary-200: #90b9e0;
    --color-primary-300: #649dd4;
    --color-primary-400: #3982c8;
    --color-primary-600: #0b549a;
    --color-primary-700: #084178;
    --color-secondary: #66BAFF;
    --color-bg: #A5A5A5;
    --color-bg-100: #e6e6e6;
    --color-bg-300: #c5c5c5;
    --color-cta: #FC4F79;
    --color-accent: #FFF6A4;

    --space-section-lg: clamp(5rem, 3.239rem + 5.63vw, 10rem);
    --space-section-md: clamp(3rem, 2.6rem + 2vw, 5rem);
    --space-section-sm-fluid: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
    --space-section-sm-fixed: 3rem;

    --space-inner-lg: 3rem;
    --space-inner-md: clamp(1rem, 0.648rem + 1.13vw, 2rem);
    --space-inner-sm: clamp(1rem, 0.429rem + 0.89vw, 1.5rem);

    --radius-cta: 20px;
    --radius-button: 50px;

    --box-shadow-button: 0px 5px 35px -12px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 1024px) {

    /* ============================
    * コンポーネント
    * ========================= */

    .cta {
        width: 100%;
        max-width: 400px;
    }

    /* ============================
    * header
    * ========================= */

    .header {
        padding: clamp(0.5rem, 0.229rem + 1.2vw, 1rem) 1.5rem;
    }

    .header__inner {
        height: auto;
        padding: 0;
    }

    .header__title {
        max-width: 40%;
    }

    .header__title-logo {
        width: 100%;
    }

    .header__title-text {
        display: none;
    }

    .sp-nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .login {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 0.25rem;
        width: clamp(2.5rem, 1.958rem + 2.41vw, 3.5rem);
        height: clamp(2.5rem, 1.958rem + 2.41vw, 3.5rem);
        color: var(--color-primary);
    }

    .login__inner {
        height: 100%;
    }

    .login__icon {
        width: auto;
        height: 100%;
    }

    .sp-nav__text {
        display: block;
        font-size: clamp(0.75rem, 0.614rem + 0.6vw, 1rem);
        font-weight: 800;
        line-height: 0.8;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 0.25rem;
        width: clamp(2.5rem, 1.958rem + 2.41vw, 3.5rem);
        height: clamp(2.5rem, 1.958rem + 2.41vw, 3.5rem);
        cursor: pointer;
        z-index: 999;
    }

    .hamburger__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 70%;
        height: 100%;
    }

    .hamburger__line {
        width: 100%;
        height: clamp(0.125rem, 0.057rem + 0.3vw, 0.25rem);
        border-radius: 10px;
        background: var(--color-text);
        transition: transform 0.5s, opacity 0.5s;
    }

    .hamburger.open .hamburger__line:first-of-type {
        transform-origin: bottom left;
        transform: translate(0.25rem, 0.14rem) rotate(44deg);
    }

    .hamburger.open .hamburger__line:nth-of-type(2) {
        opacity: 0;
    }

    .hamburger.open .hamburger__line:last-of-type {
        transform-origin: top left;
        transform: translate(0.25rem, -0.14rem) rotate(-44deg);
    }

    .sp-nav__text--close {
        display: none;
    }

    .hamburger.open .sp-nav__text--menu {
        display: none;
    }

    .hamburger.open .sp-nav__text--close {
        display: block;
    }

    .header__nav {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: clamp(1.25rem, 0.682rem + 2.84vw, 2.5rem);
        top: 0;
        right: 0;
        width: 400px;
        height: 100dvh;
        padding-inline: 2rem;
        border-radius: var(--radius-button) 0 0 var(--radius-button);
        background: rgba(252, 252, 252, 0.8);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 998;
    }

    .header__nav.open {
        transform: translateX(0);
    }

    .header__list {
        flex: 0;
        flex-direction: column;
        /* gap: clamp(0.875rem, 0.364rem + 2.56vw, 2rem); */
        margin-top: clamp(3rem, 2.091rem + 4.55vw, 5rem);
    }

    .header__list-item {
        width: 100%;
        text-align: left;
    }

    .header__list-link {
        display: block;
        padding: 0.75rem 0.5rem 0.75rem 0;
        font-size: clamp(1rem, 0.886rem + 0.57vw, 1.25rem);
        font-weight: 800;
        color: var(--color-primary);
    }

    .header__login {
        display: none;
    }

    .sp-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(0.5rem, 0.273rem + 1.14vw, 1rem);
        width: 100%;
        margin-bottom: var(--sp-inner-md);
    }

    .sp-cta__link {
        width: 100%;
        font-size: clamp(1rem, 0.886rem + 0.57vw, 1.25rem);
        font-weight: 700;
        border-radius: var(--radius-button);
    }

    .sp-cta__link--regist {
        color: var(--color-white);
        border: solid 2px var(--color-cta);
        background: var(--color-cta);
    }

    .sp-cta__link--regist::after {
        background: var(--color-white);
    }

    .sp-cta__link--login {
        color: var(--color-primary);
        border: solid 2px var(--color-primary);
    }

    .sp-cta__link--login::after {
        background: var(--color-primary);
    }

    .sp-menu {
        display: flex;
        flex-direction: column;
        gap: clamp(1.25rem, 0.682rem + 2.84vw, 2.5rem);
        width: 100%;
        margin-bottom: clamp(3rem, 2.091rem + 4.55vw, 5rem);
    }

    .sp-menu__list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.25rem;
    }

    .sp-menu__item {
        padding: 0.5rem 0 0.5rem 0.5rem;
        text-align: center;
    }

    .sp-menu__link {
        font-size: clamp(0.875rem, 0.818rem + 0.28vw, 1rem);
    }

    .sp-menu__foot {
        width: 80%;
        margin-inline: auto;
    }

    .sp-menu__foot-logo {
        width: 100%;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgb(8, 65, 120, 0.7);
        opacity: 0;
        transition: opacity 0.2s ease;
        cursor: pointer;
        pointer-events: none;
        z-index: 997;
    }

    .overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* ============================
    * float-cta
    * ========================= */

    .float-cta {
        display: none;
    }

    .float-back {
        display: none;
    }

    /* ============================
    * footer
    * ========================= */

    .footer__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__logo {
        max-width: 300px;
        width: 60%;
    }

    .footer__logo-img {
        width: 100%;
    }

    .footer__nav {
        width: 90%;
    }

    .footer__list {
        justify-content: center;
        gap: 1.5rem;
    }

    /* ============================
    * main - top
    * ========================= */

    .top {
        padding-top: clamp(7rem, 4.137rem + 9.16vw, 10rem);
    }

    .top::before {
        transform: translateY(-5vw) rotate(-90deg);
    }

    .top::after {
        width: clamp(25rem, 10.687rem + 45.8vw, 40rem);
        transform: translate(1vw, 10%);
    }

    .top__cta {
        width: 20rem;
        margin-top: 5rem;
    }
}

@media screen and (max-width: 768px) {

    .top::before {
        width: 130%;
        transform: translate(-10vw, -10vw) rotate(-90deg);
    }

    .highlight__inner {
        flex-direction: column;
    }

    .top__highlight-title {
        text-align: left;
    }

    .top__highlight-text {
        font-size: 1rem;
        text-align: left;
    }

    .recommend__list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .strengths__list {
        grid-template-columns: 1fr;
    }

    .strengths__visual {
        width: 40%;
    }

}

@media screen and (max-width: 500px) {

    /* ============================
    * コンポーネント
    * ========================= */

    .title {
        font-size: clamp(1.5rem, 1.056rem + 2.22vw, 1.75rem);
        font-weight: 800;
    }

    .cta {
        width: 100%;
        padding: 1.5rem 1rem;
    }

    .cta::before {
        top: -0.375rem;
        font-size: clamp(0.5rem, 0.056rem + 2.22vw, 0.75rem);
    }

    .cta::after {
        width: 1.5rem;
    }

    .layout-inner {
        padding-inline: 1.5rem;
    }

    /* ============================
    * header
    * ========================= */

    .header__nav {
        width: 70%;
    }

    /* ============================
    * footer
    * ========================= */

    .footer__sns-text {
        font-size: 0.625rem;
    }

    .footer__inner {
        padding-block: 4rem;
    }

    .footer__list {
        flex-direction: column;
    }

    /* ============================
    * main - top
    * ========================= */

    .top::before {
        display: none;
    }

    .top::after {
        top: 0;
        left: 50%;
        right: auto;
        transform: translate(-25%, 30%);
    }

    .top__cta {
        margin-inline: auto;
        margin-top: 10rem;
    }

    .top__highlight-title {
        background: linear-gradient(to right bottom, var(--color-accent) 0%, var(--color-secondary) 10%, var(--color-primary) 50%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .top__highlight-button {
        width: 90%;
    }

    .strengths__heading {
        font-size: 1.25rem;
    }

    .top-faq__summary {
        padding-inline: 1rem;
    }

    .top-faq__answer {
        padding-inline: 1rem;
    }

}

@media screen and (max-width: 450px) {
    /* ============================
    * コンポーネント
    * ========================= */

    .button {
        width: 100%;
    }

    /* ============================
    * main
    * ========================= */

    .notice__item {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .notice__item-text {
        margin-top: 0.5rem;
    }
}