:root {
    --blue: #255BC5;
    --light-blue: #E4E6F2;
    --dark-blue: #002D84;
    --yellow: #FCE622;
    --orange: #E55010;
    --white: #fff;
    --black: #333;

    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

/* rem設定
1440以上   1rem = 10px
1440 - 640   1rem = 10px
640以下   1rem = 5px ※今後6.6px（PCの2/3ぐらい）で検討
 */

html {
    /* エラーメッセージが出ないためスムーススクロールはJSで */
    /* scroll-behavior: smooth; */
    color: var(--black);
    font-size: 10px;
}

@media screen and (max-width: 1440px) {
    html {
        font-size: calc(100vw * 10 / 1440);
    }
}

@media screen and (max-width: 640px) {
    html {
        font-size: 5px;
    }
}


body {
    font-family: var(--font-jp);
    font-size: clamp(13px, 1.5rem, 15px);
    /* font-size: 15px; */
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.8;
    background: var(--white);
}

img {
    vertical-align: middle;
}

a {
    color: var(--black);
}

::placeholder {
    color: #b5b5b5;
}

@media (hover: hover) and (pointer: fine) {

    /* PCのみホバー */
    .hoverable {
        transition: opacity 0.3s ease-out;
    }
    
    .hoverable:hover {
        opacity: 0.6;
        cursor: pointer;
    }
}

.text-white {
    color: var(--white) !important;
}

.text-black {
    color: var(--black) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-indent {
    padding-left: 1em;
    text-indent: -1em;
}

.bg-white {
    background-color: var(--white);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.bg-yellow {
    background-color: var(--yellow);
}

.cover-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.radius-m {
    border-radius: clamp(15px, 2rem, 20px);
}

.radius-m-left {
    border-top-left-radius: clamp(15px, 2rem, 20px);
    border-bottom-left-radius: clamp(15px, 2rem, 20px);
}

.radius-s {
    border-radius: clamp(5px, 1rem, 10px);
}

.radius-s-left {
    border-top-left-radius: clamp(5px, 1rem, 10px);
    border-bottom-left-radius: clamp(5px, 1rem, 10px);
}

.radius-s-top {
    border-top-left-radius: clamp(5px, 1rem, 10px);
    border-top-right-radius: clamp(5px, 1rem, 10px);
}

.radius-s-bottom {
    border-bottom-left-radius: clamp(5px, 1rem, 10px);
    border-bottom-right-radius: clamp(5px, 1rem, 10px);
}

.radius-s-right {
    border-top-right-radius: clamp(5px, 1rem, 10px);
    border-bottom-right-radius: clamp(5px, 1rem, 10px);
}

.sec-radius {
    border-top-left-radius: clamp(15px, 2rem, 20px);
    border-top-right-radius: clamp(15px, 2rem, 20px);
}

.no-wrap {
    white-space: nowrap;
}

.underline {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

a.tap-tel {
    text-decoration: none;
    color: #333;
}

.d-none {
    display: none !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

@media screen and (min-width: 640px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media (width < 1366px) {
    .d-lg-none {
        display: none !important;
    }

    .d-lg-inline-block {
        display: inline-block !important;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }
}

@media (width < 1024px) {

    .d-md-none {
        display: none !important;
    }

    .d-md-inline-block {
        display: inline-block !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-flex {
        display: flex !important;
    }

}

@media (width < 640px) {
    .d-sm-none {
        display: none !important;
    }

    .d-sm-inline-block {
        display: inline-block !important;
    }

    .d-sm-block {
        display: block !important;
    }

    .d-sm-flex {
        display: flex !important;
    }
}

.container-fluid {
    padding-inline: 5vw;
    margin-inline: auto;
    overflow-x: clip;
}

.container-sm {
    width: min(90vw, 800px);
    margin-inline: auto;
}

.container-md {
    width: min(90vw, 1080px);
    margin-inline: auto;
}

.container-lg {
    width: min(90vw, 1240px);
    margin-inline: auto;
}


.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-small {
    font-size: 90%;
}


@media (width < 640px) {
    .text-sm-left {
        text-align: left !important;
    }

    .text-sm-left {
        text-align: left !important;
    }

    .text-sm-left {
        text-align: left !important;
    }
}

@media (width < 1024px) {

    .text-md-left {
        text-align: left !important;
    }

    .text-md-center {
        text-align: center !important;
    }

    .text-md-right {
        text-align: right !important;
    }

}

@media (width < 1366px) {

    .text-lg-left {
        text-align: left !important;
    }

    .text-lg-center {
        text-align: center !important;
    }

    .text-lg-right {
        text-align: right !important;
    }

}

.no-pt {
    padding-top: 0 !important;
}

.no-pb {
    padding-bottom: 0 !important;
}





/* typography
----------------------- */

.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 1em;
    font-size: clamp(13px, 1.6rem, 16px);
    font-weight: 700;

    /* divとh1でline-heightが異なる対策 */
    line-height: calc(1em + 0.5rem);
}

.section-title::before {
    content: attr(data-title);
    text-transform: uppercase;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: clamp(36px, 6rem, 60px);
    line-height: 1.1;
    display: block;
    padding-bottom: 0.15em;
}

.section-title.en-blue::before {
    color: var(--blue);
}

.section-title__txt {
    text-align: center;
    margin-top: max(18px, 3rem);
}

.txt-large {
    font-weight: 500;
    font-weight: max(14px, 1.6rem);
}

.lead {
    color: var(--blue);
    font-weight: 700;
    font-size: max(18px, 3rem);
}

@media (width >= 640px) {

    .section-title.vertical {
        writing-mode: vertical-rl;
        flex-direction: row;
        align-items: center;
        letter-spacing: 0.2em;
    }

    .section-title.vertical::before {
        transform: translateX(8%);
    }

}

/* 背景なしのリンク */

.arrow-link-wrap {
    margin-top: 1em;
    display: flex;
    justify-content: flex-start;
}

.arrow-link-wrap.right {
    justify-content: flex-end;
}

.arrow-link {
    font-weight: 700;
    font-size: max(13px, 1.6rem);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.arrow-link::after {
    content: '';
    display: inline-block;
    width: 2.25em;
    height: 2.25em;
    background: url(../images/icon-arrow-blue.svg) center center no-repeat;
    background-size: contain;
    margin-left: 1em;
}

.arrow-link.arrow-link__yellow::after {
    background-image: url(../images/icon-arrow-yellow.svg);
}

@media screen and (max-width: 640px) {
    .arrow-link::after {
        width: 24px;
        height: 24px;
    }

}


/* 背景ありのボタン */

.arrow-btn-wrap {
    margin-top: 1em;
    display: flex;
    justify-content: flex-start;
}

.arrow-btn-wrap.right {
    justify-content: flex-end;
}

.arrow-btn {
    font-weight: 700;
    font-size: max(13px, 1.6rem);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 4em;
    border-radius: 2em;
    background-color: var(--yellow);
    min-width: 20em;
    border: none;
}

.arrow-btn::after {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    content: '';
    display: inline-block;
    width: 2.25em;
    height: 2.25em;
    background: url(../images/icon-arrow-white.svg) center center no-repeat;
    background-size: contain;
    margin-left: 1em;
}

.arrow-btn.arrow-btn__white {
    background-color: var(--white);
}
.arrow-btn.arrow-btn__white::after {
    background-image: url(../images/icon-arrow-yellow.svg);
}

.arrow-btn.arrow-btn__blue {
    background-color: var(--blue);
    color: var(--white);
}

.arrow-btn.arrow-btn__gray {
    background-color: #666;
    color: var(--white);
}

.arrow-btn.arrow-btn__blue::after,
.arrow-btn.arrow-btn__white::after {
    content: none;
}

@media screen and (max-width: 640px) {
    .arrow-btn::after {
        width: 24px;
        height: 24px;
    }

}

/* layout
----------------------- */

.page-section {
    padding-block: clamp(60px, 12rem, 120px);
    position: relative;
}


/* animation
----------------------- */

.js-animation.animation--curtain.is-show:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    background: var(--main-blue);
}

.js-animation.animation--curtain {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    position: relative;
}

.js-animation.animation--curtain:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    background: var(--main-blue);
    height: 100%;
}

.js-animation.animation--fadein.is-show {
    opacity: 1;
    transform: translateY(0);
}

.js-animation.animation--fadein {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
    transform: translateY(20px);
}

.js-animation.animation--scale.is-show {
    opacity: 1;
    animation: scale-anime .3s linear;
}

.js-animation.animation--scale {
    opacity: 0;
}

@keyframes scale-anime {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.js-animation.animation--slidein.is-show>* {
    opacity: 1;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0 100%);
}

.js-animation.animation--slidein>* {
    position: relative;
    opacity: 0;
    clip-path: polygon(0% 0%, 1% 0%, 0% 100%, 1% 100%);
    transition: clip-path 0.8s cubic-bezier(0.5, 1, 0.89, 1);
}