html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

._tab {
    display: none;
}

@media (max-width: 1025px) {
    ._tab {
        display: block;
    }
}

main {
    margin-top: 80px;
}


/* sub-top */
.sub-top {
    width: 95%;
    margin: 180px auto 0;
}

.sub-top h1 {
    margin-bottom: 60px;
    color: #0065a1;
    font-size: 7rem;
    font-family: toppan-bunkyu-midashi-go-std, system-ui, sans-serif;
}

.sub-top h2 {
    margin-bottom: 30px;
    color: #2d2d2d;
    font-size: 3.1rem;
    font-family: biz-udgothic, system-ui, sans-serif;
}

.sub-top p {
    color: #686868;
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: biz-udgothic, system-ui, sans-serif;
}

/* タブレット用（1025px以下） */
@media (max-width: 1025px) {
    .sub-top {
        width: 90%;
        margin: 120px auto 0;
    }
    .sub-top h1 {
        margin-bottom: 40px;
        font-size: 5.5rem;
    }
    .sub-top h2 {
        margin-bottom: 40px;
        font-size: 2.5rem;
    }
    .sub-top p {
        font-size: 2rem;
        line-height: 1.5;
    }
}

/* スマホ用（767px以下） */
@media (max-width: 767px) {
    .sub-top {
        width: 95%;
        margin: 80px auto 0;
    }
    .sub-top h1 {
        margin-bottom: 30px;
        font-size: 3.5rem;
    }
    .sub-top h2 {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }
    .sub-top p {
        font-size: 1.6rem;
        line-height: 1.4;
    }
}

.sec {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 300px 0;
    padding: 0;
}

.sec .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85%;
    margin: 0 auto;
}

.sec .ttl {
    display: inline-block;
    position: relative;
    margin-bottom: 30px;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
}

.sec .ttl-j {
    position: relative;
    z-index: 1;
    color: #0065a1;
    font-size: 7rem;
    text-align: center;
}

.sec .ttl-e {
    position: absolute;
    top: -55%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    color: #a7c6d6;
    font-size: 18rem;
    line-height: .9;
    text-align: center;
    white-space: nowrap;
}

.sec .ttl-e .char-move {
    letter-spacing: -.6rem;
}

.sec .content {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 4.8rem;
    line-height: 1.5;
    font-family: "biz-udgothic", sans-serif;
    text-align: center;
}

.sec .text {
    margin-bottom: 60px;
    color: #686868;
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 2;
    font-family: "biz-udgothic", sans-serif;
    text-align: center;
}


/* ==================================================
    Tablet (768〜1025px)
================================================== */
@media (max-width:1025px) and (min-width:768px) {
    .sec {
        margin: 200px 0;
    }

    .sec .inner {
        width: 90%;
    }

    .sec .ttl-j {
        font-size: 5rem;
    }

    .sec .ttl-e {
        top: -38%;
        font-size: 12rem;
    }

    .sec .content {
        font-size: 3.4rem;
    }

    .sec .text {
        margin-bottom: 45px;
        font-size: 2rem;
    }
}

/* ==================================================
    Mobile (〜767px)
================================================== */
@media (max-width:767px) {
    .sec {
        margin: 130px 0;
    }

    .sec .inner {
        width: 95%;
    }

    .sec .ttl-j {
        font-size: 3rem;
    }

    .sec .ttl-e {
        top: -32%;
        font-size: 7.5rem;
    }

    .sec .content {
        margin-bottom: 8px;
        font-size: 2rem;
    }

    .sec .text {
        margin-bottom: 35px;
        font-size: 1.5rem;
        line-height: 1.7;
    }
}

/* sec05 */
.sec05 {
    padding: 200px 0;
}

.sec05 .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 85vw;
    margin: 0 auto;
    padding: 120px 80px;
    overflow: hidden;
    border-radius: 17px;
}

.sec05 .wrapper::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    background: linear-gradient(
    77.83deg,
    rgba(31, 133, 181, .5) 0%,
    rgba(33, 164, 220, .5) 27%,
    rgba(237, 234, 57, .5) 72%,
    rgba(196, 195, 25, .5) 95%
    );
    content: "";
}

.sec05 .wrapper > * {
    position: relative;
    z-index: 1;
}

.sec05 .wrapper h2 {
    color: #ffffff;
    font-weight: bold;
    font-size: 3rem;
    line-height: 1.5;
    font-family: "biz-udgothic", sans-serif;
}

.sec05 .btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: fit-content;
    height: fit-content;
    padding: 30px 55px;
    overflow: hidden;
    border-radius: 120px;
    background-color: #ffffff;
    color: #4d6d90;
    font-weight: bold;
    font-size: 2.2rem;
    font-family: "biz-udgothic", sans-serif;
    transition: background-color .3s ease, transform .3s ease;
}

.sec05 .btn .arrow {
    display: inline-block;
    position: relative;
    z-index: 2;
    width: 80px;
    height: 8px;
    margin-left: 15px;
}

.sec05 .btn .arrow::before {
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 1;
    width: 70px;
    height: 10px;
    background-color: #ffffff1f;
    content: "";
    transition: width .45s cubic-bezier(.4, 0, .2, 1),
    opacity .45s cubic-bezier(.4, 0, .2, 1);

    backdrop-filter: blur(25px);
    backdrop-filter: blur(20px) drop-shadow(100px 99px 100px rgba(255, 255, 255, 1)) drop-shadow(100px 99px 100px rgba(255, 255, 255, 1)) drop-shadow(100px 97px 100px rgba(255, 255, 255, 1));
}

.sec05 .btn .arrow::after {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 3;
    transform: translateY(-50%);
    width: 80px;
    height: 1px;
    background-color: #4d6d90;
    content: "";
    transition: width .45s cubic-bezier(.4, 0, .2, 1),
    background-color .45s cubic-bezier(.4, 0, .2, 1);
}

.sec05 .btn .triangle {
    position: absolute;
    top: 50%;
    right: 11%;
    z-index: 4;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #4d6d90;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
    border-left-color .45s cubic-bezier(.4, 0, .2, 1);
}

.sec05 .btn .btn-text {
    position: absolute;
    right: 4%;
    width: 17%;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
                filter .45s cubic-bezier(.4, 0, .2, 1);
    animation: border-animation 15s infinite linear;

    filter: brightness(0) saturate(100%)
            invert(39%) sepia(47%) saturate(391%)
            hue-rotate(170deg) brightness(94%) contrast(89%);
}

.sec05 .btn .btn-text text {
    fill: #4d6d90;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
}

@keyframes border-animation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1026px) {
    .sec05 .btn:hover {
        transform: translateY(-6px);
    }

    .sec05 .btn:hover .arrow::after {
        background-color: #1f4f7a;
    }

    .sec05 .btn:hover .arrow::before {
        opacity: .8;
    }

    .sec05 .btn:hover .triangle {
        border-left-color: #1f4f7a;
    }

    .sec05 .btn:hover .btn-text {
        transform: scale(1.12);

        filter: brightness(0) saturate(100%) invert(30%) sepia(60%) saturate(450%)
        hue-rotate(180deg) brightness(95%) contrast(90%);
    }
}

@media (max-width: 1025px) and (min-width: 768px) {
    .sec05 {
        padding: 100px 0;
    }

    .sec05 .wrapper {
        flex-direction: column;
        width: 90vw;
        margin: 0 auto;
        padding: 80px 40px;
    }

    .sec05 .wrapper h2 {
        margin-bottom: 30px;
        font-size: 2.4rem;
        line-height: 1.4;
    }

    .sec05 .btn {
        padding: 25px 45px;
        font-size: 1.9rem;
    }

    .sec05 .btn .arrow {
        width: 60px;
        height: 6px;
        margin-left: 10px;
    }

    .sec05 .btn .arrow::before {
        width: 55px;
        height: 8px;
    }

    .sec05 .btn .arrow::after {
        width: 60px;
        height: 1px;
    }

    .sec05 .btn .triangle {
        top: 50%;
        right: 12%;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid #4d6d90;
    }

    .sec05 .btn .btn-text {
        right: 7%;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 767px) {
    .sec05 {
        padding: 80px 0;
    }

    .sec05 .wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 95%;
        margin: 0 auto;
        padding: 60px 20px;
    }

    .sec05 .wrapper h2 {
        margin-bottom: 20px;
        font-size: 1.7rem;
        line-height: 1.4;
    }

    .sec05 .btn {
        padding: 22px 38px;
        font-size: 1.7rem;
    }

    .sec05 .btn .arrow {
        width: 40px;
        height: 4px;
    }

    .sec05 .btn .arrow::before {
        width: 51px;
    }

    .sec05 .btn .arrow::after {
        width: 50px;
    }

    .sec05 .btn .triangle {
        right: 7%;
        border-top: 3px solid transparent;
        border-bottom: 3px solid transparent;
        border-left: 5px solid #4d6d90;
    }

    .sec05 .btn .btn-text {
        right: 3%;
        width: 35px;
        height: 35px;
    }
}
