/* globals.css */

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    margin: 0px;
    height: 100%;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

/* styleguide.css - CSS Variables */
:root {
    --background-600: rgba(255, 255, 255, 1);
    --background-300: rgba(229, 229, 229, 1);
    --background-200: rgba(243, 243, 243, 1);
    --line-600: rgba(0, 0, 0, 1);
    --line-500: rgba(51, 51, 51, 1);
    --line-400: rgba(125, 125, 125, 1);
    --line-100: rgba(200, 200, 200, 1);
    --text-500: rgba(255, 239, 69, 1);
    --text-600: rgba(255, 255, 255, 1);
    --card-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    --variable-collection-background-blue: rgba(18, 53, 123, 1);
}

/* style.css - PC版スタイル */
.top-pc {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.top-pc .frame-wrapper {
    background-color: #ffffff;
    width: 1440px;
    height: auto;
    min-height: 2602px;
}

.top-pc .frame {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    position: relative;
}

.top-pc .mv-bg {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1440px;
}

.top-pc .cv-area {
    display: flex;
    flex-direction: column;
    height: 120px;
    align-items: center;
    gap: 10px;
    padding: 18px 496px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: var(--variable-collection-background-blue);
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    justify-content: center;
}

.top-pc .btn-apply {
    display: flex;
    flex-direction: column;
    width: 446px;
    height: 84px;
    align-items: center;
    justify-content: center;
    padding: 17px 110px 15px;
    position: relative;
    border-radius: 100px;
    border: 2px solid var(--line-600);
    box-shadow: 4px 4px 0px #000000;
    background: linear-gradient(
        360deg,
        rgba(255, 239, 69, 1) 0%,
        rgba(255, 249, 184, 1) 51%,
        rgba(255, 244, 126, 1) 100%
    );
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.top-pc .btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.top-pc .div {
    display: flex;
    height: 14px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    align-self: stretch;
    width: 100%;
    margin-top: -2px;
}

.top-pc .line {
    position: relative;
    width: 8.51px;
    height: 14.21px;
    margin-top: -0.1px;
    margin-bottom: -0.1px;
}

.top-pc .p {
    position: relative;
    width: fit-content;
    margin-top: -3px;
    margin-bottom: -1px;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 800;
    color: transparent;
    font-size: 18px;
    letter-spacing: 0.36px;
    line-height: 18px;
    white-space: nowrap;
}

.top-pc .text-wrapper {
    color: #ea0a0a;
    letter-spacing: 0.06px;
}

.top-pc .span {
    color: #000000;
    letter-spacing: 0.06px;
}

.top-pc .text-wrapper-2 {
    position: relative;
    width: fit-content;
    margin-left: -1px;
    margin-right: -1px;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: #000000;
    font-size: 32px;
    letter-spacing: 0.64px;
    line-height: 41.6px;
    white-space: nowrap;
}

.top-pc .section-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    padding: 60px 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-image: url('/lp/02/img/bg_overview.png');
    background-size: cover;
    background-position: 50% 50%;
}

.top-pc .overview {
    position: relative;
    width: 579px;
    height: 129.84px;
    max-width: 100%;
}

.top-pc .group {
    height: 109px;
    top: 11px;
    left: 149px;
    position: absolute;
    width: 430px;
    max-width: calc(100% - 149px);
}

.top-pc .img {
    height: 37px;
    top: 0;
    left: 0;
    position: absolute;
    width: 430px;
    max-width: 100%;
}

.top-pc .group-2 {
    height: 51px;
    top: 57px;
    left: 0;
    position: absolute;
    width: 430px;
    max-width: 100%;
}

.top-pc .image {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 0;
    left: 0;
    object-fit: cover;
}

.top-pc .text-overview {
    display: flex;
    width: 800px;
    max-width: 100%;
    align-items: flex-start;
    gap: 34px;
    position: relative;
    flex: 0 0 auto;
}

.top-pc .frame-2 {
    display: flex;
    flex-direction: column;
    width: 381px;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.top-pc .text-wrapper-3 {
    position: relative;
    align-self: stretch;
    margin-top: -1px;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 31.5px;
}

.top-pc .div-2 {
    position: relative;
    align-self: stretch;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: transparent;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 31.5px;
}

.top-pc .text-wrapper-4 {
    font-weight: 500;
    color: #ffffff;
}

.top-pc .text-wrapper-5 {
    font-weight: 700;
    color: #fff300;
}

.top-pc .text-wrapper-6 {
    color: #ffffff;
}

.top-pc .img-yakin-pc {
    position: relative;
    width: 388px;
    height: 200px;
    margin-right: -3px;
    max-width: 100%;
}

.top-pc .content {
    height: auto;
    min-height: 397.16px;
    position: relative;
    width: 800px;
    max-width: 100%;
}

.top-pc .overlap {
    position: relative;
    height: auto;
    min-height: 397px;
}

.top-pc .list-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px 55px 40px;
    position: absolute;
    top: 25px;
    left: 0;
    background-color: var(--background-600);
    border-radius: 20px;
}

.top-pc .div-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 690px;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 0 0 auto;
}

.top-pc .h {
    height: 22px;
    position: relative;
    align-self: stretch;
    width: 100%;
    margin-right: -2px;
}

.top-pc .text-wrapper-7 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 700;
    color: #12357b;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 22px;
}

.top-pc .frame-3 {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.top-pc .text-wrapper-8 {
    position: relative;
    width: fit-content;
    margin-top: -1px;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: #333333;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 23.2px;
    white-space: nowrap;
}

.top-pc .text-wrapper-9 {
    position: relative;
    flex: 1;
    margin-top: -1px;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: #333333;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24.8px;
}

.top-pc .applicable {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 690px;
    align-items: center;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
}

.top-pc .div-wrapper {
    height: auto;
    min-height: 60px;
    position: relative;
    align-self: stretch;
    width: 100%;
    margin-right: -2px;
}

.top-pc .div-4 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: transparent;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 26px;
}

.top-pc .text-wrapper-10 {
    font-weight: 700;
    color: #12357b;
}

.top-pc .text-wrapper-11 {
    color: #333333;
    font-size: 14px;
    line-height: 25.6px;
}

.top-pc .h-content {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 324px;
    height: 52px;
    top: 0;
}

.top-pc .overlap-group {
    position: relative;
    width: 322px;
    height: 52px;
    background-image: url('/lp/02/img/rectangle-49.svg');
    background-size: 100% 100%;
}

.top-pc .text-wrapper-12 {
    position: absolute;
    width: 100%;
    height: 24px;
    top: 13px;
    left: 0;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: #fff300;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.48px;
    line-height: 24px;
}

.top-pc .frame-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-image: url('/lp/02/img/bg_overview.png');
    background-size: cover;
    background-position: 50% 50%;
}

.top-pc .overlap-wrapper {
    height: auto;
    min-height: 582px;
    position: relative;
    width: 800px;
    max-width: 100%;
}

.top-pc .overlap-2 {
    position: relative;
    height: auto;
    min-height: 582px;
}

.top-pc .frame-5 {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    align-items: flex-start;
    gap: 50px;
    padding: 60px 55px;
    position: absolute;
    top: 26px;
    left: 0;
    background-color: var(--background-600);
    border-radius: 20px;
}

.top-pc .guarantee {
    display: flex;
    align-items: center;
    gap: 49px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.top-pc .frame-6 {
    display: flex;
    flex-direction: column;
    width: 331px;
    align-items: flex-start;
    gap: 18px;
    position: relative;
}

.top-pc .text-wrapper-13 {
    position: relative;
    align-self: stretch;
    margin-top: -1px;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: #333333;
    font-size: 28px;
    letter-spacing: 0.56px;
    line-height: 28px;
}

.top-pc .text-wrapper-14 {
    position: relative;
    align-self: stretch;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 400;
    color: #333333;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24.8px;
}

.top-pc .img-2 {
    position: relative;
    width: 310px;
    height: 190px;
    max-width: 100%;
}

.top-pc .support {
    position: relative;
    width: 100%;
    max-width: 690px;
    height: auto;
    min-height: 190px;
}

.top-pc .frame-7 {
    display: inline-flex;
    align-items: center;
    gap: 52px;
    position: relative;
}

.top-pc .frame-8 {
    display: flex;
    flex-direction: column;
    width: 328px;
    align-items: flex-start;
    gap: 18px;
    position: relative;
}

.top-pc .text-wrapper-15 {
    position: relative;
    width: fit-content;
    margin-top: -1px;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: #333333;
    font-size: 28px;
    letter-spacing: 0.56px;
    line-height: 36.4px;
}

.top-pc .overlap-group-wrapper {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 324px;
    height: 52px;
    top: 0;
}

.top-pc .overlap-group-2 {
    position: relative;
    width: 322px;
    height: 52px;
    background-image: url('/lp/02/img/rectangle-50.svg');
    background-size: 100% 100%;
}

.top-pc .btn-yakin-pc {
    position: relative;
    width: 470px;
    max-width: 100%;
    height: auto;
    min-height: 145px;
    background-color: var(--background-600);
    border-radius: 20px;
    border: 4px solid var(--line-600);
    box-shadow: var(--card-shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.top-pc .text {
    flex: 1;
    width: 273px;
    height: 97px;
}

.top-pc .text-wrapper-16 {
    width: 100%;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: #333333;
    font-size: 16px;
    letter-spacing: 0.32px;
    line-height: 25.6px;
    margin-bottom: 8px;
}

.top-pc .div-5 {
    width: 100%;
    font-family: "M PLUS 1", Helvetica;
    font-weight: 900;
    color: transparent;
    font-size: 24px;
    letter-spacing: 0.48px;
    line-height: 33.6px;
}

.top-pc .text-wrapper-17 {
    color: #e5181f;
    letter-spacing: 0.12px;
}

.top-pc .text-wrapper-18 {
    color: #333333;
    letter-spacing: 0.12px;
}

.top-pc .img-yakin {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
}

.top-pc .overlap-group-3 {
    position: relative;
    height: 105px;
    border-radius: 52.5px;
}

.top-pc .img-entry {
    position: absolute;
    width: 93px;
    height: 93px;
    top: 6px;
    left: 6px;
}

.top-pc .ellipse {
    position: absolute;
    width: 105px;
    height: 105px;
    top: 0;
    left: 0;
    border-radius: 52.5px;
    border: 4px solid var(--text-500);
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 1024px) {
    .top-pc .frame-wrapper {
        width: 100%;
        max-width: 1024px;
    }

    .top-pc .mv-bg {
        width: 100%;
    }

    .top-pc .cv-area {
        padding: 18px 20px;
    }

    .top-pc .overview {
        width: 100%;
        max-width: 579px;
    }

    .top-pc .text-overview {
        width: 100%;
        max-width: 800px;
        padding: 0 20px;
    }

    .top-pc .content {
        width: 100%;
        max-width: 800px;
        padding: 0 20px;
    }

    .top-pc .overlap-wrapper {
        width: 100%;
        max-width: 800px;
    }
}

/* レスポンシブ対応 - スマートフォン */
@media (max-width: 768px) {
    .top-pc .frame-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    /* ヒーロー画像をスマホ版に変更 */
    .top-pc .mv-bg {
        content: url('/lp/02/img/mv_sp.png');
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .top-pc .cv-area {
        padding: 18px 0;
        height: auto;
    }

    .top-pc .btn-apply {
        width: 295px;
        max-width: 100%;
        padding: 12px 20px 10px;
        height: auto;
    }

    .top-pc .p {
        font-size: 14px;
    }

    .top-pc .text-wrapper-2 {
        font-size: 22px;
        line-height: 30px;
    }

    .top-pc .section-overview {
        padding: 40px 0 20px;
        gap: 25px;
    }

    .top-pc .overview {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
        padding: 0 20px;
    }

    .top-pc .group {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        text-align: left;
        margin-bottom: 0;
        flex: 1;
        order: 2;
    }

    .group-2{
        margin-top: 10px;
    }

    .top-pc .img,
    .top-pc .group-2 {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .top-pc .image {
        position: static;
        width: 75px;
        height: 75px;
        margin: 0;
        display: block;
        flex-shrink: 0;
        order: 1;
    }

    .top-pc .text-overview {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 0 20px;
    }

    .top-pc .frame-2 {
        width: 100%;
    }

    .top-pc .text-wrapper-3,
    .top-pc .div-2 {
        font-size: 16px;
        line-height: 26px;
    }

    .top-pc .img-yakin-pc {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .top-pc .content {
        width: 100%;
        padding: 20px 20px 0px;
        margin: 0 auto;
        position: relative;
    }

    .top-pc .overlap {
        position: relative;
        margin: 0;
    }

    .top-pc .list-content {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px 20px;
        margin: 0;
        position: relative;
        top: 0;
    }

    .top-pc .div-3 {
        width: 100%;
    }

    .top-pc .text-wrapper-7 {
        font-size: 18px;
        text-align: left;
    }

    .top-pc .text-wrapper-9 {
        font-size: 16px;
        line-height: 24px;
    }

    .top-pc .h-content {
        width: 100%;
        max-width: 250px;
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .top-pc .overlap-group {
        width: 100%;
        border-radius: 15px;
        padding: 15px 20px;
    }

    .top-pc .text-wrapper-12 {
        font-size: 16px;
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
        font-weight: 900;
    }

    .top-pc .frame-4 {
        padding: 40px 0;
        gap: 30px;
        height: auto;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .top-pc .overlap-wrapper {
        width: 100%;
        padding: 0 20px;
        order: 1;
        margin-bottom: 40px;
        height: auto;
        min-height: auto;
    }

    .top-pc .frame-5 {
        width: 100%;
        max-width: 100%;
        padding: 45px 20px 20px;
        gap: 40px;
        margin: 0 auto;
        height: auto;
        min-height: auto;
        position: relative;
        top: 25px;
    }

    .top-pc .guarantee {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .top-pc .frame-6 {
        width: 100%;
        text-align: center;
    }

    .top-pc .text-wrapper-13 {
        font-size: 26px;
        text-align: center;
    }

    .top-pc .text-wrapper-14 {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
    }

    .top-pc .text-wrapper-10 {
        font-size: 18px;
    }

    .top-pc .img-2 {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
    }

    .top-pc .support {
        width: 100%;
    }

    .top-pc .frame-7 {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .top-pc .frame-7 .frame-8 {
        order: 1;
    }

    .top-pc .frame-7 .img-2 {
        order: 2;
    }

    .top-pc .frame-8 {
        width: 100%;
        text-align: center;
    }

    .top-pc .text-wrapper-15 {
        font-size: 26px;
        text-align: center;
        line-height: 32px;
        width: 100%;
    }

    .top-pc .overlap-group-wrapper {
        width: 100%;
        max-width: 250px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .top-pc .overlap-group-2 {
        width: 100%;
    }

    .top-pc .btn-yakin-pc {
        width: 345px;
        max-width: 345px;
        flex-direction: row;
        align-items: center;
        padding: 10px 0px 10px 10px;
        gap: 15px;
        margin: 0 auto;
        position: static;
        order: 2;
    }

    .top-pc .text {
        flex: 1;
        height: auto;
    }

    .top-pc .text-wrapper-16 {
        font-size: 14px;
        text-align: left;
    }

    .top-pc .div-5 {
        font-size: 18px;
        line-height: 26px;
        text-align: left;
    }

    .top-pc .img-yakin {
        width: 80px;
        height: 80px;
    }

    .top-pc .overlap-group-3 {
        height: 80px;
        border-radius: 40px;
    }

    .top-pc .img-entry {
        width: 68px;
        height: 68px;
        top: 6px;
        left: 6px;
    }

    .top-pc .ellipse {
        width: 80px;
        height: 80px;
        border-radius: 40px;
    }
}

/* さらに小さい画面向け - 375px以下 */
@media (max-width: 375px) {
    .top-pc .frame-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .top-pc .btn-apply {
        width: 280px;
        max-width: calc(100% - 20px);
        padding: 10px 15px 8px;
    }

    .top-pc .text-wrapper-2 {
        font-size: 18px;
    }

    .top-pc .section-overview {
        padding: 30px 5px;
    }

    .top-pc .overview {
        max-width: 100%;
        gap: 10px;
    }

    .top-pc .image {
        width: 65px;
        height: 65px;
    }

    .top-pc .group {
        width: 100%;
        max-width: 100%;
    }

    .top-pc .list-content {
        padding: 25px 10px;
        max-width: 100%;
    }

    .top-pc .h-content {
        max-width: 220px;
    }

    .top-pc .overlap-group {
        width: 100%;
    }

    .top-pc .text-wrapper-12 {
        font-size: 14px;
        padding: 0 2px;
    }

    .top-pc .frame-4 {
        padding: 30px 5px;
        height: auto;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .top-pc .frame-5 {
        padding: 30px 10px;
        max-width: 100%;
    }

    .top-pc .img-2 {
        max-width: 300px;
    }

    .top-pc .text-wrapper-13,
    .top-pc .text-wrapper-15 {
        font-size: 20px;
    }

    .top-pc .overlap-group-wrapper {
        max-width: 220px;
    }

    .top-pc .overlap-group-2 {
        width: 100%;
    }

    .top-pc .btn-yakin-pc {
        max-width: 100%;
        padding: 15px 10px;
        margin: 0 auto;
        position: static;
        order: 2;
    }

    .top-pc .div-5 {
        font-size: 16px;
        line-height: 24px;
    }
}