/*-------------------------------------------
Common
-------------------------------------------*/
:root {
    --white: #FFF;
    --black: #000;
    --main: #333;
    --primary: #B00012;
    --secondary: #FF6164;
    --gray: #CCC;
    --pale-gray: #F8F8F8;
    --dark-gray: #999;
    --gradation: linear-gradient(var(--primary), var(--secondary));
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--main);
    background-color: var(--white);
    font-size: 16px;
    line-height: 2;
}

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

main {
    position: relative;
}


html {
    scroll-behavior: smooth;
}

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

@media(min-width:992px) {
    .pc-only {
        display: block;
    }

    .sp-only {
        display: none;
    }
}

/*-------------------------------------------
Typography
-------------------------------------------*/
.ttl-m,
.sec-ttl,
.sec-lead,
.tool_ttl {
    font-weight: 700;
    text-transform: uppercase;
}

.sec-ttl {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.sec-ttl__ja {
    color: var(--primary);
    background-color: var(--white);
    padding: 8px 24px;
    border: var(--primary) 1px solid;
    border-radius: 24px;
    width: fit-content;
    line-height: 1;
}

.sec-ttl__en {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    line-height: 1;
    background: var(--gradation);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.sec-ttl .catch {
    position: absolute;
    width: 144px;
    height: 65px;
}

.ttl-m {
    font-size: 24px;
    line-height: 1.4;
}

.ttl-m span {
    color: var(--primary);
}

.text-s {
    font-size: 13px;
    color: var(--dark-gray);
    margin-top: 16px;
    line-height: 1.3;
}

small {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    padding: 24px 0;
    display: block;
}

.url {
    font-size: 13px;
    overflow-wrap: break-word;
    color: var(--dark-gray);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    transition: 0.3s;
}

.url span {
    font-weight: 600;
    font-size: 14px;
    color: var(--main);
    display: block;
    text-transform: uppercase;
}


@media(min-width:992px) {
    .ttl-m {
        font-size: 32px;
    }

    .sec-ttl__en {
        font-size: 72px;
    }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .url:hover {
        color: var(--primary);
        cursor: pointer;
    }
}

/*-------------------------------------------
Section-Animation
-------------------------------------------*/
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*-------------------------------------------
Container
-------------------------------------------*/
.inner {
    max-width: 560px;
    margin: 0 auto;
}

@media(min-width:992px) {
    main {
        margin: 0 140px;
    }

    .inner {
        max-width: none;
    }
}

/*-------------------------------------------
Page-top
-------------------------------------------*/
.page-top a {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 800;
}

.page-top a img {
    display: block;
    width: 32px;
    height: 32px;
}

@media(min-width:992px) {
    .page-top a {
        width: 64px;
        height: 64px;
        right: 32px;
        bottom: 32px;
    }

    .page-top a:hover {
        cursor: pointer;
    }

    .page-top a:hover img {
        transform: scale(1.5);
        transition: 0.3s ease;
    }
}