@charset "UTF-8";

.totop span {
    font-family: futura-pt, sans-serif;
    font-weight: 300;
    font-style: normal;
}

.stepbox-title__order {
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.stepbox-title__text {
    font-family: "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: 500;
}

::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background-color: #333333;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    color: #596166;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
    body body {
        font-size: 1.4rem;
    }
}

body main {
    overflow: hidden;
}

@keyframes kf_flash_dots {

    0%,
    70%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    25% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.loading {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s linear;
}

.loading span {
    width: 16px;
    height: 16px;
    border-radius: 99px;
    background-color: #ffffff;
    margin-left: 5px;
    margin-right: 5px;
}

.loading span:nth-child(1) {
    animation: kf_flash_dots 1s linear 0s infinite both;
}

.loading span:nth-child(2) {
    animation: kf_flash_dots 1s linear 0.2s infinite both;
}

.loading span:nth-child(3) {
    animation: kf_flash_dots 1s linear 0.4s infinite both;
}

.loading span:nth-child(4) {
    animation: kf_flash_dots 1s linear 0.6s infinite both;
}

.loading span:nth-child(5) {
    animation: kf_flash_dots 1s linear 0.8s infinite both;
}

.loading::after {
    content: "Loading";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ffffff;
    letter-spacing: 2px;
    transform: translate3d(-50%, -40px, 0);
}

.loading.is-remove {
    opacity: 0;
}

.container {
    width: 1100px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.container-md {
    width: 1040px;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.nav-link {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}

.nav-link:hover {
    opacity: 0.75;
}

.figure img {
    width: 100%;
}

.heading-img {
    height: 140px;
    text-align: center;
}

.heading-img img {
    display: inline;
    height: 100%;
    transform: scaleX(1.045);
}

.title {
    font-size: 3.2rem;
}

.title-section {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.785;
}

.stepbox-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stepbox-title__order {
    font-size: 2.6rem;
    line-height: 1.23;
    letter-spacing: 0.05em;
    margin-right: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cad3d8;
}

.stepbox-title__order>span {
    font-size: 4.5rem;
    line-height: 0.71;
}

.stepbox-title__text {
    font-size: 4.6rem;
    line-height: 0.695;
    letter-spacing: 0.14em;
}

.f-syml,
.f-symr {
    width: 7px;
    display: inline-block;
    font-size: inherit;
    color: inherit;
}

.f-syml {
    text-indent: -12px;
}

.f-symr {
    text-indent: -4px;
}

.text-mute {
    font-size: 1.2rem;
    line-height: 1.667;
    color: #969fa4;
}

.text-lead {
    font-size: 1.4rem;
    line-height: 1.857;
    letter-spacing: 0.05em;
}

.text-desc {
    font-size: 1.5rem;
    line-height: 2.6;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.text-supp {
    font-size: 1.6rem;
    line-height: 2.125;
    letter-spacing: 0.05em;
}

.flex-box,
.flexbox {
    display: flex;
}

.flex-box.reverse,
.flexbox.reverse {
    flex-direction: row-reverse;
}

.nextblock {
    position: relative;
    height: 14px;
}

.nextblock>.arrow {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top: 0;
    border-bottom: 2px solid #2b2929;
    border-left: 2px solid #2b2929;
    border-radius: 2px;
    transform: translate(-50%, -9px) rotate(-45deg);
}

.totop {
    position: fixed;
    z-index: 999;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 99px;
    background-color: #596166;
    visibility: hidden;
    opacity: 0;
    padding: 10px;
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.2s linear 0.1s;
}

.totop span {
    font-size: 1rem;
    line-height: 1.15;
    color: #ffffff;
    display: block;
}

.totop::before {
    content: "";
    width: 6px;
    height: 6px;
    display: block;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0) rotate(45deg);
}

.totop.is-active {
    visibility: visible;
    opacity: 1;
}

.totop.is-stopping {
    position: absolute;
    bottom: 100%;
    transform: translate(0, 50%);
}

@media only screen and (min-width: 1024px) {
    .totop:hover {
        cursor: pointer;
        transform: scale(1.15);
    }
}

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

@media only screen and (max-width: 768px) {
    .md-d-block {
        display: block !important;
    }

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

    .title-section {
        font-size: 2rem;
        line-height: 1.65;
    }

    .text-desc {
        font-size: 1.2rem;
    }

    .text-supp {
        font-size: 1.2rem;
        line-height: 1.83;
    }

    .stepbox-title {
        align-items: center;
        flex-direction: column;
    }

    .stepbox-title__order {
        font-size: 1.3rem;
        line-height: 1.23;
        margin-right: 0;
        padding-bottom: 0px;
        border-bottom: 1px solid #cad3d8;
    }

    .stepbox-title__order>span {
        font-size: 2.3rem;
    }

    .stepbox-title__text {
        font-size: 2.5rem;
        line-height: 0.64;
        margin-top: 28px;
    }

    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    a.kosodate-fair__link img {
        padding: 0 10%
    }
}


img.kosodate-fair__img {
    width: 100%;
    max-width: 1040px;
}

.kosodate-fair.ani.fade_in.ani-pass.animated {
    text-align: center;
}

.campaignbnr {
    margin-bottom: 150px;
}

@media only screen and (max-width: 768px) {
    .campaignbnr {
        margin-bottom: 80px;
    }
}