@charset "utf-8";
/* CSS Document */

:root {
    --yuzu-color: #F3C75C;
    /* 柚子色 */
    --dark-brown: #4F1F05;
    /* 濃茶色 */

    --scene-bg-scale: 0.4;
    /* 背景画像のスケール（50%） */
    --scene-original-height: 200px;
    /* 元の高さの目安 */
}

/* Special Section General Styles */
#l_Special {
    background-color: #fff;
    background-repeat: repeat;
    position: relative;
    padding: 0 0 200px;
}

/* 上部の背景装飾 - top_bg.pngを上下反転させてリピート表示 */
#l_Special::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: url("../img/top_bg.png");
    background-repeat: repeat-x;
    background-size: 250px auto;
    transform: rotate(180deg);
    /* 上部は反転させる */
    z-index: 0;
}

#l_Special::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: url("../img/top_bg.png");
    background-repeat: repeat-x;
    background-size: 250px auto;
    background-position: center bottom;
    z-index: 0;
}

.p_special_wrapper {
    margin: 0 auto;
    position: relative;
    z-index: 1;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Head */
.p_special_head {
    background: url(../img/04sp_txt1.png) center top no-repeat;
    /* SPECIALタイトル画像 */
    background-size: contain;
    /* サイズ調整 */
    height: 85px;
}

.p_special_trial {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0;
}

.p_special_trial::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 72%;
    background-image: url(../img/04sp_taikenBG2.png);
    background-repeat: repeat, repeat-x;
    background-position: center center, bottom center;
    background-size: auto, 100% 30px;
    z-index: -1;
}

.p_special_trial_wrapper {
    background-image: url(../img/04sp_taikenBG.png), url(../img/04sp_taikenBG2.png);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    /* 前面と背面の背景画像 */
    background-repeat: repeat, repeat-x;
    background-position: center center, top center;
    background-size: auto, 100% 30px;
    padding: 40px;
    margin-bottom: 60px;
    border-bottom: 5px solid var(--sakura-color);
    border-radius: 10px;
    text-align: center;

    width: 100%;
    max-width: 120em;
}

.p_special_trial_title {
    background-image: url(../img/04sp_txt2.png);
    /* 体験版ダウンロードタイトル */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    height: 60px;
    /* 仮の高さ */
    margin-bottom: 30px;

    width: 100%;
    max-width: 820px;
}

.p_special_trial_banner img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--dark-brown);
    margin-bottom: 20px;
}

.p_special_trial_info {
    color: var(--dark-brown);
    margin-bottom: 30px;
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    width: 100%;
}

.p_special_trial_info p {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
}

.p_special_trial_info p:first-child {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}

.p_special_trial_info p:last-child {
    font-size: 16px;
    margin-top: 15px;
}


.p_special_trial_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p_special_trial_links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-brown);
    padding: 10px 20px;
    border-radius: 50px;
    /* 丸みを帯びた角 */
}

.p_special_trial_links li span {
    color: white;
    font-weight: bold;
    flex-grow: 1;
    /* テキストがスペースを埋めるように */
    text-align: left;
    margin-right: 10px;

    font-size: 2em;
}

.p_special_trial_screenshots {
    display: flex;
}

.p_special_trial_screenshots>img {
    height: auto;
    min-width: 0;
}

.p_special_btn {
    display: inline-block;
    background-image: url(../img/04sp_btn1.png);
    /* ダウンロードボタン画像 */
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 201/39;
    height: 4em;

    text-indent: -9999px;
    /* テキストを隠す */
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-left: 8px;
}

.p_special_btn:hover {
    opacity: 0.8;
}

/* Pillow Cover Section */

.p_special_pillow {
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.p_special_pillow::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 72%;
    background-image: url(../img/04sp_taikenBG4.png);
    background-repeat: repeat, repeat-x;
    background-position: center center, bottom center;
    background-size: auto, 100% 30px;
    z-index: -1;
}

.p_special_pillow_title {
    width: 100%;
    max-width: 820px;
    height: auto;
    margin-top: 30px;
}

.p_pillow_left_box_txt6 {
    position: relative;
    width: 100%;
    height: 100%;
}

.p_pillow_left_box_txt6_img {
    z-index: 10;
    position: absolute;
    top: -10px;
    padding-left: 10px;
    right: -10px;
    width: 110%;
    height: auto;
    max-width: 110%;
    max-height: 110%;
}

.p_pillow_left_box_img {
    justify-self: end;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.p_special_pillow_wrap {
    max-width: 120em;
    margin: 0 auto;
}

.p_special_pillow_images {
    display: flex;
    justify-content: center;
}

.p_pillow_left_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.p_pillow_right_box {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: end;
}

.p_pillow_right_box img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
}

.p_special_pillow_hatsubai_banner {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-top: 2rem;
}

.p_special_bottom {
    width: 100%;
    height: 200px;
    background-image: url(../img/top_bg.png);
    background-position: center bottom;
    background-repeat: repeat;
    background-size: 250px auto;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}


.p_special_sns_content_wrapper {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 0.5rem solid #f9ccab;
    border-bottom: 0.5rem solid #f9ccab;
}

.p_special_sns_content {
    display: flex;
    background: url("../img/02story_scene_bg.png") repeat;
    background-size: 200px auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem 40px;
}

.p_special_sns_header_content {
    width: 100%;
    max-width: 120em;
}

.p_special_sns_icon_content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1rem;
    justify-items: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    max-width: 120em;
    margin-bottom: 2rem;
}

.p_special_sns_title {
    width: 100%;
    max-width: 820px;
    height: auto;
    margin-top: 30px;
    margin-bottom: 2rem;
}

.p_special_sns_icon_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.p_special_sns_content_title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;

    background-color: var(--dark-brown);
    border-radius: calc(infinity * 1px);
    padding: 0.5rem;
    width: 32rem;
    text-align: center;
}

/* 修正パッチセクション用のスタイル */
.p_special_patch {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.p_special_patch::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 72%;
    background-image: url(../img/04sp_taikenBG4.png);
    background-repeat: repeat, repeat-x;
    background-position: center center, bottom center;
    background-size: auto, 100% 30px;
    z-index: -1;
}

.p_special_patch_wrapper {
    background-image: url(../img/04sp_taikenBG5.png);
    background-color: white;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    background-repeat: repeat, repeat-x;
    background-position: center center, top center;
    background-size: 100%, 100%;
    padding: 20px;
    margin-bottom: 40px;
    border-bottom: 5px solid var(--yuzu-color);
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 120em;
}

.p_special_patch_title {
    background-image: url(../img/banner_bugfix.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    margin-bottom: 30px;
    margin-top: 30px;
    height: 60px;
    width: 100%;
    max-width: 820px;
}

.p_special_patch_info {
    color: var(--dark-brown);
    margin-bottom: 30px;
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    width: 100%;
}

.p_special_patch_info p {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
}

.p_special_patch_info p:first-child {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}

.p_special_patch_info p:last-child {
    font-size: 16px;
    margin-top: 15px;
}

.p_special_patch_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p_special_patch_links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-brown);
    padding: 10px 20px;
    border-radius: 50px;
}

.p_special_patch_links li span {
    color: white;
    font-weight: bold;
    flex-grow: 1;
    text-align: left;
    margin-right: 10px;
    font-size: 2em;
}

.p_special_patch_align_left_container {
    text-align: left;
    width: fit-content;
    margin: 0 auto;
}

/* --- SP Styles (max-width: 720px) --- */
@media screen and (max-width: 720px) {
    .p_special_wrapper {
        padding: 0 15px;
    }

    .p_special_head {
        height: 80px;
    }

    /* .p_special_trial, */
    /* .p_special_pillow { */
    /*     padding: 20px; */
    /*     margin-bottom: 40px; */
    /* } */
    .p_special_trial {
        padding: 0;
    }

    .p_special_trial_title,
    .p_special_pillow_title,
    .p_special_patch_title {
        height: auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .p_special_sns_title {
        padding: 12px 15px;
    }

    .p_special_trial_info,
    .p_special_patch_info {
        padding: 12px 15px;
    }

    .p_special_trial_info p,
    .p_special_patch_info p {
        font-size: 16px;
        line-height: 1.4;
    }

    .p_special_trial_info p:first-child,
    .p_special_patch_info p:first-child {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .p_special_trial_info p:last-child,
    .p_special_patch_info p:last-child {
        font-size: 14px;
        margin-top: 12px;
    }

    .p_special_trial_links li,
    .p_special_patch_links li {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }

    .p_special_trial_links li span,
    .p_special_patch_links li span {
        margin-bottom: 0;
        text-align: left;
        margin-right: 10px;
        font-size: 1.5em;
    }

    .p_special_btn {
        width: auto;
        height: 3em;

        margin-top: 1em;
    }

    /* Pillow Cover Section */

    .p_special_pillow {
        background-image: url(../img/04sp_taikenBG4.png);
        /* 前面と背面の背景画像 */
        background-repeat: repeat, repeat-x;
        background-position: center center, bottom center;
        background-size: 10%;
        border-radius: 10px;
        text-align: center;
    }

    .p_special_pillow::before {
        display: none;
    }

    .p_pillow_left_box_txt6 {
        position: initial;
        width: initial;
        height: initial;
        grid-column: 1 / -1;
    }

    .p_pillow_left_box_txt6_img {
        position: inherit;
        float: initial;
        top: initial;
        left: initial;
        display: block;
        width: 100%;
        height: auto;
    }

    .p_pillow_left_box_img {
        /* justify-self: end; */
        width: 100%;
        height: auto;
        grid-row-start: 2;
    }

    .p_special_pillow_images {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-right: 0;
    }


    .p_pillow_left_box {
        display: grid;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        justify-content: center;
    }

    .p_pillow_right_box {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .p_special_pillow_hatsubai_banner {
        width: 100%;
    }


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

    .p_special_sns_icon_content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .p_special_sns_icon_item {
        width: 24%;
    }

    .p_special_sns_content {
        background: url("../img/02story_scene_bg.png") repeat;
        background-size: 200px auto;
        padding: 2rem 1rem;
    }

    .p_special_sns_content_title {
        font-size: 1.5rem;
        width: 24rem;
    }

}

/* --- PC Styles (min-width: 1201px) --- */
@media (min-width: 1201px) {}
