/* ====== Base Layout ====== */
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    color: #333;
    line-height: 1.6;
    background: url(../img/bg_check.png) repeat;
    font-size: 24px;
    font-weight: 500;
    font-feature-settings: "palt";
}

section {
    padding: 185px 20px 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

strong,
span {
    color: #fa469c;
}

i {
    background: linear-gradient(transparent 50%, #fcf422 50%);
    padding: 0 0.2em;
}

.sponly {
    display: none;
}

.pconly {
    display: block;
}

/* ====== KV Section ====== */
.kv {
    margin: 60px 0 0;
    background: url("../img/kv_bg.png") no-repeat bottom center/ cover;
    padding: 0;
    height: 650px;
}

.kv__illustration {
    position: absolute;
    top: 22px;
    width: 1252px;
    left: 50%;
    margin-left: -628px;
}

.kv__illustration .kv__deco {
    position: absolute;
    left: 50%;
    margin-left: -550px;
}

.kv__illustration .kv__image {
    position: absolute;
    top: -8px;
    margin-left: -4px;
}

.kv__title {
    position: absolute;
    left: 50%;
    margin-left: -474px;
    top: 588px;
    z-index: 1;
}

.kv__catch {
    position: absolute;
    left: 50%;
    width: 1072px;
    margin-left: -484px;
    z-index: 1;
}

.kv__catch .catch01 {
    position: absolute;
    right: 0;
    top: 19px;
}

.kv__catch .catch02 {
    position: absolute;
    right: 90px;
    top: 128px;
}

.kv__catch .catch03 {
    position: absolute;
    left: 0;
    top: -11px;
}

/* ====== 初期状態 ====== */
.kv__image,
.catch01,
.catch02,
.catch03,
.kv__title {
    opacity: 0;
}


/* 順番付き表示アニメーション */
.kv__image {
    animation: fadeInUp 0.8s ease-out 0s forwards;
}

.catch01 {
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.catch02 {
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
}

.catch03 {
    animation: bounceIn 0.6s ease-out 1.8s forwards;
}

.kv__title {
    animation: fadeInUp 0.8s ease-out 2.4s forwards;
}

/* 上昇してフェードイン */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(1.05);
    }

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

/* catch03用：ちょい派手に登場 */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    70% {
        opacity: 1;
        transform: scale(0.9);
    }

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


/* ====== 共通 ====== */
.recommend__inner,
.essay__inner {
    background: url(../img/campaign_bg_top.png) no-repeat top center/100%, url(../img/campaign_bg_bottom.png) no-repeat bottom center/100%, #fff;
    padding: 92px 35px 42px;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.recommend__title,
.essay__title {
    text-align: center;
    position: absolute;
}

.recommend__period,
.essay__period {
    margin-top: 40px;
}

.recommend__period .recommend__text,
.essay__period .essay__text {
    margin-top: 0;
}

/* ====== Announcement ====== */
.recommend__announcement .recommend__subheading,
.essay__announcement .essay__subheading {
    margin: 36px 0 6px;
}

.recommend__text,
.essay__text {
    line-height: 1.3;
}

.recommend__text span,
.essay__text span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

/* ====== Recommend Conditions ====== */
.recommend__title {
    top: -153px;
    left: 44px;
}

.recommend__conditions {
    padding: 0;
    position: relative;
}

.recommend__conditions>.recommend__subheading {
    text-align: center;
    margin: 34px 0 15px;
}

.recommend__subheading {
    margin: 34px 0 10px;
}

.recommend__list {
    list-style: none;
    margin: 0;
    padding: 30px 20px;
    background-color: #fceaf3;
}

.recommend__item {
    background-color: #fff;
    margin-bottom: 48px;
    padding: 15px 15px 15px 83px;
    position: relative;
}

.recommend__item:nth-child(2) {
    padding: 30px 15px 38px 83px;
}

.recommend__item:nth-child(3) {
    padding: 10px 15px 10px 83px;
    margin-bottom: 0;
}

.recommend__item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 64px;
    height: 64px;
    z-index: 2;
}

.recommend__item:nth-child(1)::before {
    background: url("../img/recommend_icon01.png") no-repeat center/contain;
}

.recommend__item:nth-child(2)::before {
    background: url("../img/recommend_icon02.png") no-repeat center/contain;
}

.recommend__item:nth-child(3)::before {
    background: url("../img/recommend_icon03.png") no-repeat center/contain;
}

.recommend__item .txt {
    font-size: 26px;
    font-weight: 600;
}

.recommend__item .btn {
    margin-left: -65px;
}

.recommend__item .btn a {
    position: relative;
    height: 78px;
    width: 384px;
    display: block;
    overflow: hidden;
    margin: 0 auto;
}

.recommend__item .btn a img {
    position: absolute;
    left: 0;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
    width: 100%;
}

.recommend__item .btn a:hover img:nth-of-type(2) {
    opacity: 0;
}

.recommend__present-image {
    position: absolute;
    top: -28px;
    right: -9px;
}

.recommend__period {
    margin-top: 40px;
}


/* ====== Essay ====== */
.essay__inner {
    padding: 92px 35px 32px
}

.essay__title {
    top: -130px;
    left: 36px;
}

.essay__conditions>.essay__subheading {
    text-align: center;
    margin: 50px 0 15px;
}

.essay__subheading {
    margin: 34px 0 10px;
}

.essay__list {
    background-color: #ebf8fc;
    list-style: none;
    margin: 0;
    padding: 30px 20px;
    border-radius: 8px;
}

.essay__item {
    background-color: #fff;
    margin-bottom: 48px;
    padding: 15px 15px 25px 83px;
    position: relative;
}

.essay__item:nth-child(2) {
    padding: 30px 15px 18px 83px;
    margin-bottom: 5px;
}

/* アイコン擬似要素（Essay） */
.essay__item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 64px;
    height: 64px;
    z-index: 2;
}

.essay__item:nth-child(1)::before {
    background: url("../img/essay_icon01.png") no-repeat center/contain;
}

.essay__item:nth-child(2)::before {
    background: url("../img/essay_icon02.png") no-repeat center/contain;
}

.essay__item .txt {
    font-size: 26px;
    font-weight: 600;
}

.essay__item .btn {
    margin-left: -65px;
}

.essay__item .btn a {
    position: relative;
    height: 78px;
    width: 384px;
    display: block;
    overflow: hidden;
    margin: 0 auto;
}

.essay__item .btn a img {
    position: absolute;
    left: 0;
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
    width: 100%;
}

.essay__item .btn a:hover img:nth-of-type(2) {
    opacity: 0;
}


.essay__present-image {
    position: absolute;
    top: -28px;
    right: -9px;
}

.essay__period {
    margin-top: 27px;
}

.essay .notes__subheading {
    margin: 15px 0 0;
}

/* ====== Notes Shared Styling ====== */
.notes__subheading {
    margin: 30px 0 0;
}

.notes__list {
    background-color: #f4f3f4;
    padding: 26px 30px;
    margin: 10px 0;
}

.notes__item {
    font-size: 16px;
    line-height: 1.75;
    color: #000000;
    letter-spacing: -0.02em;
    list-style: none;
}

/* ====== Button Image ====== */
.recommend__item .btn,
.essay__item .btn {
    text-align: center;
    margin-top: 15px;
}


/* ====== Marquee ====== */
.marquee {
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 100vh;
    z-index: 10;
}

.marquee-left,
.marquee-right {
    width: 60px;
    background-color: #fff;
    border-left: 2px solid #50a4fd;
    border-right: 2px solid #50a4fd;
    overflow: hidden;
    position: relative;
}

.marquee-left {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
}

.marquee-right {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
}

.marquee-left::before,
.marquee-left::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 23px;
    height: 4827px;
    background-image: url('../img/loop-text.png');
    background-repeat: no-repeat;
    background-size: 23px 4827px;
    animation: marquee-down 120s linear infinite;
}

.marquee-left::before {
    top: 0;
}

.marquee-left::after {
    top: -4827px;
}

.marquee-right::before,
.marquee-right::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 23px;
    height: 4827px;
    background-image: url('../img/loop-text.png');
    background-repeat: no-repeat;
    background-size: 23px 4827px;
    animation: marquee-up 120s linear infinite;
}

.marquee-right::before {
    top: calc(100vh - 4827px);
}

.marquee-right::after {
    top: 100vh;
}

@keyframes marquee-down {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(4827px);
    }
}

@keyframes marquee-up {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(-4827px);
    }
}

/* ====== contact ====== */
.contact {
    text-align: center;
    color: #fff;
    padding: 50px 0 40px;
}

.contact__subheading {
    margin: 30px 0 22px;
}

.contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: solid 1px #fff;
    font-size: 22px;
    letter-spacing: -0.06em;
    padding-bottom: 7px;
}

.contact__note {
    font-size: 16px;
    margin: 26px 0;
}

/* ====== return ====== */
#return {
    text-align: center;
    padding: 0 0 140px;
    position: relative;
}

#return::before {
    content: "";
    display: block;
    width: 100%;
    height: 612px;
    background: url(../img/bg_bottom_deco.png) no-repeat bottom center;
    position: absolute;
    bottom: -230px;
}

#return a {
    color: #fcf422;
    position: relative;
}


/* ====== pagetop ====== */
.pagetop {
    width: 78px;
    height: 78px;
    right: 50%;
    margin-right: -607px;
    cursor: pointer;
    transition: bottom 0.3s ease, opacity 0.3s;
    z-index: 999;
}

@media (max-width: 1400px) {
    .pagetop {
        right: 80px;
        margin-right: 0;
    }
}

.pagetop img {
    width: 100%;
    height: auto;
    display: block;
}

/* 状態制御用クラス */
.pagetop.fixed {
    position: fixed;
}

.pagetop.absolute {
    position: absolute;
}

.pagetop.hide {
    opacity: 0;
    pointer-events: none;
}

.pagetop.show {
    opacity: 1;
    pointer-events: auto;
}

/* ====== footer ====== */
footer {
    text-align: center;
    background: #fff;
    color: #2088fb;
    padding: 60px 0 110px;
    position: relative;
}

footer .copy {
    font-size: 18px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 0.1em;
    margin-top: 10px;
}


/* ====== SP用レスポンシブCSS（640px以下） ====== */
@media (max-width: 640px) {

    /* ====== Base Layout ====== */
    body {
        font-size: 2.813vw;
        line-height: 1.5;
    }

    section {
        padding: 23.75vw 3.125vw 0;
    }

    .sponly {
        display: block;
    }

    .pconly {
        display: none;
    }

    /* ====== KV Section ====== */
    .kv {
        margin: 5.469vw 0 0;
        height: 92.969vw;
    }

    .kv__illustration {
        top: 1.5625vw;
        width: 100vw;
        left: 0;
        margin-left: 0;
    }

    .kv__illustration .kv__deco {
        margin-left: -43.90625vw;
        width: 87.8125vw;
    }

    .kv__illustration .kv__image {
        position: absolute;
        top: 3.7505vw;
        margin-left: -0.625vw;
        width: 156.25vw;
    }

    .kv__title {
        margin-left: -42.65625vw;
        top: 84.84375vw;
    }

    .kv__title img {
        width: 85.3125vw;
    }

    .kv__catch {
        position: absolute;
        left: 50%;
        width: 86.40625vw;
        margin-left: -43.59375vw;
        z-index: 1;
    }

    .kv__catch .catch01 {
        right: 0;
        top: 31.84375vw;
    }

    .kv__catch .catch01 img {
        width: 12.968750000000002vw;
    }

    .kv__catch .catch02 {
        right: 11.094vw;
        top: 45.125vw;
    }

    .kv__catch .catch02 img {
        width: 14.0625vw;
    }

    .kv__catch .catch03 {
        left: 0;
        top: 10.938vw;
    }

    .kv__catch .catch03 img {
        width: 25.156250000000004vw;
    }





    /* ====== 共通 ====== */
    .recommend__inner,
    .essay__inner {
        padding: 12.5vw 3.125vw 1.875vw;
        max-width: 84.375vw;
        margin: 0 auto;
    }

    /* ====== Titles ====== */
    .recommend__title {
        top: -17.656vw;
        left: 0.781vw;
    }

    .recommend__title img {
        width: 82.8125vw;
    }

    .essay__title {
        top: -17.812vw;
        left: 0.781vw;
    }

    .essay__title img {
        width: 82.8125vw;
    }

    /* ====== Period ====== */
    .recommend__period,
    .essay__period {
        margin-top: 3.5937499999999996vw;
    }

    .essay__period {
        margin-top: 4.6875vw;
    }

    /* ====== Text Styles ====== */
    .recommend__text,
    .essay__text {
        font-size: 2.8375vw;
        line-height: 1.3;
    }

    .recommend__text span,
    .essay__text span {
        font-size: 1.875vw;
        margin: 1.09375vw 3.90625vw 0 0;
        line-height: 1.6;
        letter-spacing: -0.03em;
    }

    /* ====== Subheadings ====== */
    .recommend__subheading,
    .essay__subheading {
        margin: 3.5937499999999996vw 0 0.46875vw;
    }

    .recommend__conditions>.recommend__subheading,
    .essay__conditions>.essay__subheading {
        margin: 4.84375vw 0 2.34vw;
    }

    .essay__conditions>.essay__subheading {
        margin: 5.78125vw 0 2.34vw;
    }

    .recommend__conditions>.recommend__subheading img,
    .essay__conditions>.essay__subheading img {
        width: 19.6875vw
    }

    .recommend__subheading img,
    .essay__subheading img {
        width: 13.28125vw;
    }

    .recommend__announcement .recommend__subheading,
    .essay__announcement .essay__subheading {
        margin: 7.969vw 0 0.938vw;
    }

    /* ====== Recommend ====== */
    .recommend__intro {
        line-height: 1.4;
    }

    .recommend__list {
        padding: 3.594vw 2.344vw;
    }

    .recommend__item {
        margin-bottom: 5.9375vw;
        line-height: 1.55;
        padding: 3.594vw 5.125vw 4.53125vw 8.125vw;
    }

    .recommend__item:nth-child(2) {
        padding: 3.594vw 5.125vw 4.53125vw 8.125vw;
    }

    .recommend__item:nth-child(3) {
        padding: 2.34375vw 8.125vw 2.34375vw 8.125vw;
        margin-bottom: 0;
    }

    .recommend__item::before {
        top: -1.56vw;
        left: 0;
        width: 7.03125vw;
        height: 7.03125vw;
    }

    .recommend__item .txt {
        font-size: 2.96875vw;
    }

    .recommend__item .btn {
        margin-left: -3.562vw;
        margin-top: 3.75vw;
    }

    .recommend__item .btn a {
        width: 53.43750000000001vw;
        height: 10.3125vw;
    }

    .recommend__present-image {
        top: -5.312vw;
        right: -0.625vw;
    }

    .recommend__present-image img {
        width: 24.375vw;
    }

    /* ====== Essay ====== */
    .essay {
        padding: 20.3125vw 3.125vw 0;
    }

    .essay__intro {
        line-height: 1.4;
        letter-spacing: -0.05em;
    }

    .essay__list {
        padding: 3.594vw 2.344vw;
    }

    .essay__item {
        margin-bottom: 2.8125vw;
        padding: 3.594vw 2.125vw 3.594vw 8.125vw;
    }

    .essay__item:nth-child(2) {
        padding: 3.594vw 5.125vw 3.594vw 8.125vw;
        margin-bottom: 0.78vw;
    }

    .essay__item:nth-child(2) .txt {
        margin-bottom: 2.031vw;
    }

    .essay__item::before {
        top: -1.56vw;
        left: 0;
        width: 7.03125vw;
        height: 7.03125vw;
    }

    .essay__item .txt {
        font-size: 2.96875vw;
        line-height: 1.4;
    }

    .essay__item .btn {
        margin-left: -5.562vw;
        margin-top: 3.75vw;
    }

    .essay__item .btn a {
        width: 53.43750000000001vw;
    }

    .essay__item .btn img {
        aspect-ratio: 57 / 11;
    }

    .essay__present-image {
        position: absolute;
        top: -4.375vw;
        right: -1.41vw;
    }

    .essay__present-image img {
        width: 20vw;
    }

    /* ====== Notes ====== */
    .notes__subheading {
        margin: 6.71875vw 0 0;
    }

    .essay .notes__subheading {
        margin: 3.75vw 0 0;
    }

    .notes__subheading img {
        width: 11.5625vw;
    }

    .notes__list {
        padding: 2.5vw 3.125vw 1.5625vw;
        margin: 1.56vw 0;
    }

    .notes__item {
        font-size: 1.875vw;
        line-height: 1.75;
        margin-bottom: 1.171875vw;
    }

    /* ====== Marquee ====== */
    .marquee-left,
    .marquee-right {
        width: 5vw;
    }

    .marquee-left::before,
    .marquee-left::after {
        width: 2.03125vw;
        height: 426.25vw;
        background-size: 2.03125vw 426.25vw;
        animation: marquee-down-sp 120s linear infinite;
    }

    .marquee-right::before,
    .marquee-right::after {
        width: 2.03125vw;
        height: 426.25vw;
        background-size: 2.03125vw 426.25vw;
        animation: marquee-up-sp 120s linear infinite;
    }

    .marquee-right::before {
        top: calc(100vh - 426.25vw);
    }

    .marquee-left::after {
        top: -426.25vw;
    }

    @keyframes marquee-down-sp {
        0% {
            transform: translateX(-50%) translateY(0);
        }

        100% {
            transform: translateX(-50%) translateY(426.25vw);
        }
    }

    @keyframes marquee-up-sp {
        0% {
            transform: translateX(-50%) translateY(0);
        }

        100% {
            transform: translateX(-50%) translateY(-426.25vw);
        }
    }

    /* ====== Contact ====== */
    .contact {
        padding: 4.375vw 0 6.25vw;
    }

    .contact__subheading {
        margin: 4.219vw 0 3.281vw;
    }

    .contact__subheading img {
        width: 28.281250000000004vw;
    }

    .contact__name img {
        width: 70.50156249999999vw;
    }

    .contact__link a {
        font-size: 2.9875000000000003vw;
        padding-bottom: 0.938vw;
        margin-top: 0.469vw;
        display: inline-block;
    }

    .contact__note {
        font-size: 2.1593750000000003vw;
        margin: 3.125vw 0;
    }

    /* ====== Return ====== */
    #return {
        padding: 0 0 25vw;
    }

    #return::before {
        height: 55.78125000000001vw;
        bottom: -31.25vw;
        background: url(../img/bg_bottom_deco-sp.png) no-repeat bottom center;
    }

    #return a {
        font-size: 4.1765625vw;
    }

    /* ====== Page Top ====== */
    .pagetop {
        width: 12.19vw;
        height: 12.19vw;
        right: 7.03125vw;
        margin-right: 0;
    }

    .pagetop.fixed {
        bottom: 7.81vw;
    }

    /* ====== Footer ====== */
    footer {
        padding: 8.125vw 0 7.5vw;
    }

    footer .copy {
        font-size: 2.5vw;
        margin-top: 0.78125vw;
    }

    footer img {
        width: 35.9375vw;
    }
}