@charset "utf-8"; html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: #5b090c;
    background: #f7dce1;
    font-family: "Noto Sans JP", sans-serif;
    font-feature-settings: "palt";
    letter-spacing: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.kmy-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 118px;
    background: #f7dce1;
}

.kmy-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.kmy-wrap a {
    color: inherit;
    text-decoration: none;
}

.kmy-main {
    overflow: hidden;
}

.kmy-sectionInner {
    width: min(82.933vw, 622px);
    max-width: 710px;
    margin: 0 auto;
}

.kmy-mv {
    background: #f3a5b6;
}

.kmy-mv__visual {
    width: 100%;
    margin: 0 auto;
}

.kmy-mv__visual picture, .kmy-mv__visual img {
    width: 100%;
}

.kmy-date {
    background: #6b080b;
}

.kmy-date__inner {
    width: 100%;
    margin: 0 auto;
}

.kmy-date img {
    width: 100%;
    margin: 0 auto;
}

.kmy-prize {
    padding: 0 0 34px;
    background: #FCE5E8;
}

.kmy-mainHeading {
    width: min(100vw, 750px);
    margin: 0 auto;
    transform-origin: center bottom;
}

.kmy-mainHeading img, .kmy-imageHeading img, .kmy-targetItem img, .kmy-flow img, .kmy-prizeCard img {
    width: 100%;
}

.kmy-prizeCards {
    display: grid;
    gap: 0;
    width: 100%;
    margin: 0 auto;
}

.kmy-prizeCard {
    display: block;
    width: 100%;
}

.kmy-prizeCard + .kmy-prizeCard {
}

.kmy-notes {
    color: #5D090D;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.12em;
}

.kmy-notes li {
    margin-left: 1em;
    text-indent: -1em;
}

.kmy-notes li + li {
    margin-top: 7px;
}

.kmy-notes--prize {
    margin: 16px auto 0;
}

.kmy-notes--prize li:nth-child{
    margin-left: 2.2em;
    text-indent: -2.2em;
}

.kmy-applyArea {
    position: relative;
    overflow: hidden;
    padding: 34px 0 96px;
    background-color: #FFF9E8;
    background-image: url("../img/applicable_bg_top.png"), url("../img/applicable_bg_bottom.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center bottom;
    background-size: 100% auto, 100% auto;
}

.kmy-applyArea .kmy-sectionInner {
    position: relative;
    z-index: 1;
}

.kmy-imageHeading {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.kmy-targetItem, .kmy-flow {
    display: block;
    width: 100%;
    margin: 12px auto 0;
}

.kmy-notes--target {
    margin: 17px auto 0;
    font-weight: 400;
}

.kmy-notes--target li span{
    font-weight: 700;
}


.kmy-apply {
    padding-top: 23px;
}

.kmy-flow {
    margin-top: 12px;
}

.kmy-pressButton {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    transform: translateY(0);
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.22s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .kmy-pressButton:hover {
        opacity: 0.78;
    }
}

@media (hover: none) and (pointer: coarse) {
    .kmy-pressButton:hover, .kmy-pressButton:focus, .kmy-pressButton:active {
        opacity: 1;
    }
}

.kmy-pressButton:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.kmy-pressButton picture, .kmy-pressButton img {
    width: 100%;
}

.kmy-pressButton--entry {
    width: min(100%, 586px);
    margin: 21px auto 0;
    background: #ee0012;
    box-shadow: 0 5px 0 rgb(118 118 118 / 32%);
    border: solid 5px #FFF9E8;
}

.kmy-pressButton--terms {
    width: 60%;
    max-width: 360px;
    margin: 10px auto 0;
    background: #fff;
    border: 1px solid rgba(91, 9, 12, 0.55);
    box-shadow: 0 5px 0 rgba(91, 9, 12, 0.18);
}

.kmy-bottom {
    padding: 32px 0 60px;
    background: #FCE5E8;
}

.kmy-terms {
    text-align: center;
}

.kmy-terms__heading {
    margin-bottom: 14px;
}

.kmy-termsCard {
    width: 100%;
    height: 205px;
    margin: 0 auto;
    padding: 16px 15px;
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
    color: #6b080b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.55;
    text-align: left;
    scrollbar-color: #b7b7b7 #f1f1f1;
    scrollbar-width: thin;
}

.kmy-termsCard::-webkit-scrollbar {
    width: 6px;
}

.kmy-termsCard::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 999px;
}

.kmy-termsCard::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 999px;
}

.kmy-termsText p + p {
    margin-top: 1em;
}

.kmy-termsText dl {
    margin-top: 1em;
}

.kmy-termsText dt {
    margin-top: 1.2em;
    font-weight: 900;
    font-size: 0.84rem;
}

.kmy-termsText dd {
    margin-top: 0.25em;
}

.kmy-termsText a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.kmy-contact {
    margin-top: 48px;
    text-align: center;
}

.kmy-contact__title {
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #6b080b;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.28;
}

.kmy-contact__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin: 15px auto 10px;
    background: #6b080b;
}

.kmy-contact__body {
    color: #6b080b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    text-align: left;
    letter-spacing: 0.15em;
}

.kmy-contact__office {
    margin-bottom: 16px;
    line-height: 1.55;
}

.kmy-contact__info {
    display: grid;
    gap: 2px;
}

.kmy-contact__row {
    display: block;
    line-height: 1.2;
}

.kmy-contact__row dt, .kmy-contact__row dd {
    display: inline;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.kmy-contact__row:nth-child(1) dt {
    display: block;
}

.kmy-contact__row a {
    text-decoration: underline;
    word-break: break-all;
}

.kmy-contact__notes {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
}

.kmy-contact__notes li {
    margin-left: 1em;
    text-indent: -1em;
}

.kmy-contact__notes li + li {
    margin-top: 7px;
}

.kmy-pressButton--site {
    width: min(100%, 622px);
    margin: 36px auto 0;
    background: #ffeb00;
    box-shadow: 0 6px 0 rgba(110, 74, 2, 0.23);
}

.kmy-topButton {
    position: fixed;
    right: 12px;
    bottom: 116px;
    z-index: 20;
    display: block;
    width: 54px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.kmy-topButton.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kmy-topButton:hover {
    opacity: 0.82;
}

.kmy-floatingEntry {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    padding: 0px 18px 0;
    background: #ffffffd6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.kmy-floatingEntry.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kmy-pressButton--float {
    width: min(100%, 702px);
    max-width: 420px;
    /* background: #f44a58; */
    /* box-shadow: 0 6px 0 rgba(119, 90, 20, 0.18); */
}

.js-floatUp {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-floatUp.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .kmy-pressButton, .js-floatUp, .kmy-topButton {
        transition: none;
    }

    .js-floatUp {
        opacity: 1;
        transform: none;
    }
}

@media screen and (min-width: 768px) {
    .kmy-wrap {
        padding-bottom: 126px;
    }

    .kmy-sectionInner {
        width: min(92.448vw, 710px);
    }

    .kmy-mv {
        background: #f3a5b6 url("../img/mv_bg_dt.png") no-repeat center center / cover;
    }

    .kmy-mv__visual {
        width: min(100vw, 1440px);
    }

    .kmy-date {
        padding: 20px 0 18px;
    }

    .kmy-date__inner {
        width: min(92.448vw, 742px);
    }

    .kmy-date img {
        width: auto;
        max-width: 100%;
    }

    .kmy-prize {
        padding: 0 0 35px;
    }

    .kmy-mainHeading {
        width: 710px;
        max-width: 100%;
    }

    .kmy-prizeCards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 0;
    }

    .kmy-prizeCard + .kmy-prizeCard {
        margin-top: 0;
    }

    .kmy-notes {
        font-size: 12px;
        line-height: 1.2;
    }

    .kmy-notes--prize {
        margin-top: 9px;
    }

    .kmy-applyArea {
        padding: 100px 0 104px;
        background-image: url("../img/applicable_bg_top_dt.png"), url("../img/applicable_bg_bottom_dt.png");
        background-size: 2880px auto, 2880px auto;
    }

    .kmy-targetItem, .kmy-flow {
        margin-top: 14px;
    }

    .kmy-notes--target {
        width: 710px;
        margin-top: 15px;
    }

    .kmy-apply {
        padding-top: 65px;
    }

    .kmy-pressButton--entry {
        width: 475px;
        margin-top: 34px;
        box-shadow: 0 8px 0 rgba(118, 88, 13, 0.22);
        border: solid 7px #FFF9E8;
    }

    .kmy-pressButton--terms {
        width: 302px;
        margin-top: 18px;
    }

    .kmy-bottom {
        padding: 64px 0 66px;
    }

    .kmy-terms__heading {
        margin-bottom: 16px;
    }

    .kmy-termsCard {
        height: 315px;
        padding: 22px 28px;
        font-size: 12px;
        line-height: 1.6;
    }

    .kmy-contact {
        width: 710px;
        margin: 65px auto 0;
    }

    .kmy-contact__title {
        font-size: 40px;
        letter-spacing: 0.05em;
        line-height: 1.15;
    }

    .kmy-contact__title::after {
        margin-top: 35px;
        margin-bottom: 25px;
    }

    .kmy-contact__body {
        font-size: 14px;
    }

    .kmy-contact__office {
        font-size: 20px;
        line-height: 1.4;
    }

    .kmy-contact__row {
        line-height: 1.3;
    }

    .kmy-contact__row:nth-child(2) {
        display: flex;
    }

    .kmy-contact__row:nth-child(2) .kmy-contact__cel:nth-child(1) {
        margin-right: 25px;
    }

    .kmy-contact__row dt, .kmy-contact__row dd {
        font-size: 15px;
    }

    .kmy-contact__row br {
        display: none;
    }

    .kmy-contact__notes {
        margin-top: 30px;
        font-size: 11px;
    }

    .kmy-pressButton--site {
        width: 322px;
        margin-top: 36px;
    }

    .kmy-topButton {
        right: 22px;
        bottom: 128px;
        width: 72px;
    }

    .kmy-floatingEntry {
        min-height: 112px;
        padding: 13px 18px calc(13px + env(safe-area-inset-bottom));
    }

    .kmy-pressButton--float {
        width: 432px;
        max-width: none;
    }
}

@media screen and (min-width: 1441px) {
    .kmy-mv {
        /* background-size: 2880px 867px; */
    }
}
