@charset "UTF-8";
/*
Theme Name: tridot
Description: tridot WordPressテーマ
Version: 1.0
Author: shimesu
*/

main {
    color: #FFFFFF;
    /* ハンバーガーメニューの前面に来るのを防止 */
    position: relative; 
    z-index: -1;
}

body {
    --line-width: 0%;
}

.mobile_header_logo {
    margin-left: 73px;
}

.content {
    margin: 0 auto;
}

/* モバイルのみ非表示 */
.title {
    display: none;
}

/* Wordpress用 */
#loading {
    display: none;
}

/* ゲームトップ背景 ---------------------------------------------------------- */

.game_top {
    position: relative;
    width: 100%;
    padding-top: 119%;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    background: var(--game-bg-color);
}

.game_top_logo {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    width: 60%;
}

.game_top_img {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    filter: drop-shadow(-4px 0px 4px rgba(0, 0, 0, .5));
}

.game_top_shadow {
    position: absolute;
    bottom: 5%;
    left: 41%;
    transform: translate(-50%, 0);
    z-index: 9;
    mix-blend-mode: multiply;
}



/* 土台 ------------------------------- */

.game_bottom {
    position: absolute;
    z-index: 8;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 14%;
    border-radius: 0 0 5px 5px;
    background: var(--game-bm-color);
}



/* ゲームコピー ---------------------------------------------------------- */

.game_copy {
    margin-block-start: 0;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 2.5rem;
}

.tracking {
    letter-spacing: -0.1rem;
}

.kerning {
    letter-spacing: -0.5rem;
}

/*.copy_wrap {
    word-break: keep-all;
}*/
/* 単語の途中での改行を防ぐ */



/* ゲームものがたり ---------------------------------------------------------- */

.game_story {
    margin-bottom: 1.5rem;
}

.story_header {
    margin-block-start: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.25rem;
}

.story_text {
    margin-block-start: 0;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0.02rem;
    /* text-indent: 1rem; */
    text-align: justify;
}

/* .story_text span {
    letter-spacing: -0.1rem;
} */




/* ゲーム情報 ---------------------------------------------------------- */

.game_detail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail_container {
    width: calc((100% - 2rem) / 3);
    display: flex;
    flex-direction: column;
}

.detail_header {
    min-height: 2rem;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    border-radius: 5px 5px 0 0;
    font-size: 1rem;
    line-height: 1rem;
    color: var(--main-color);
    background-color: #FFFFFF;
}

.detail_info {
    margin-block-start: 0;
    display: inline-block;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.25rem;
}

.game_comp ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

.comp_comment {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.25rem;
}


/* ゲーム値段 ---------------------------------------------------------- */

.game_price {
    margin-block-start: 0;
}

.game_price p {
    margin-top: 0;
    font-size: 1rem;
}

.game_price span {
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.5rem;
}



/* 購入ボタン ---------------------------------------------------------- */

.buy_btn {
    height: 4rem;
    margin-top: 1rem;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    background: var(--accent-color);
}

.buy_btn p {
    margin: 0;
    display: inline-block;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 1.25rem;
    color: var(--main-color);
}

.buy_btn p span {
    display: inline-block;
    justify-content: center;
    align-items: center;
    font-size: min(1.5rem, 8vw);
    line-height: min(1.5rem, 8vw);
}

.sold {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    background: var(--main-color);
}

.sold p {
    color: var(--accent-color);
}



/* ゲーム説明 ---------------------------------------------------------- */

.game_explain {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.explain_container {
    flex-direction: column;
}

.explain_header {
    font-size: 1.5rem;
}

.explain_container {
    display: flex;
    gap: 1rem;
}

.explain_img {
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.explain_txt {
    width: 100%;
    display: inline-block;
    word-break: break-word;
    text-align: justify;
}

.explain_copy {
    position: relative;
    display: inline-block;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 1.25rem;
    line-height: 1.25rem;
    text-align: left;
}

.explain_copy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 5px;
    border-radius: 1px;
    background-color: var(--accent-color);
    transition: width 1s ease 0.5s;
}

.letter_body {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.75rem;
    line-height: 1.5rem;
}

/* PV ---------------------------------------------------------- */

.explain_mov {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}  

.explain_pv {
    margin-block-start: 0;
    margin-block-end: 0;
    line-height: 1rem;
}

.explain_pv span {
    font-size: 0.75rem;
}


/* クレジット ---------------------------------------------------------- */

.game_credit {
    margin-bottom: 4rem;
    border-spacing: 0;
    line-height: 1rem;
    text-align: left;
}

.game_credit:nth-of-type(odd) span{
    display: inline-block;
    width: 8rem;
}


/* 罫線 ---------------------------------------------------------- */

hr {
    margin: 2rem 0;
    border: none;
    height : 2px;
    border-radius: 1px;
    background-color: #FFFFFF;
}


/* 370px以下の時に調整 ---------------------------------------------------------- */

@media (width <= 370px) {

    .game_detail {
        gap: 0.6rem;
    }

    .detail_container {
        width: calc((100% - 1.2rem) / 3);
    }
}


/* DESKTOP SIZE ============================================================================== */

@media (min-width: 768px) {

    /* デスクトップは表示 */
    .title {
        display: block;
        font-size: 2.25rem;
    }

    @media (height <= 1080px) {
        .directory {
            margin-top: 7vh;
        }
    }

    @media (width <= 1200px) {
    
        main {
            padding: 0 max(var(--header-vw) + var(--header-margin), calc((100% - var(--contentWidth)) / 2 + var(--header-vw) + 103px + var(--content-margin)));
            padding-top: 24px;
            padding-bottom: 50px;
        }

        /* ゲーム情報 ---------------------------------------------------------- */
        .game_detail {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.8rem 0.8rem;
            margin-top: auto;
            margin-bottom: 0;
        }

        .detail_container {
            width: calc((100% - 1.6rem) / 3);
            display: flex;
            flex-direction: column;
        }

        .detail_header {
            min-height: 2rem;
            display: inline-block;
            text-align: center;
            padding: 0.5rem 0.1rem;
            margin-top: 0;
            margin-bottom: 0.4rem;
            border-radius: 5px 5px 0 0;
            font-size: 1rem;
            line-height: 1rem;
        }

        .detail_info {
            font-size: 1.25rem;
            line-height: 1.25rem;
        }
    }

    @media (width >= 1201px) {

        main {
            padding: 0 max(var(--header-vw) + var(--header-margin), calc((100% - var(--contentWidth)) / 2 + var(--header-vw) + 103px + var(--content-margin)));
            padding-top: 24px;
            padding-bottom: 50px;
        }

        .game_layout {
            display: flex;
            gap: var(--content-margin);
        }

        .game_top {
            width: calc((100% - var(--content-margin)) / 2);
            padding-top: calc((100% - var(--content-margin)) / 2 * 1.19);
            margin-bottom: 0;
        }

        .information {
            width: calc((100% - var(--content-margin)) / 2);
        }

        .info1 {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    
        /* ゲームコピー ---------------------------------------------------------- */

        .game_copy {
            display: inline-block;
            margin-bottom: 0; /* 基準（モバイル版）上書き*/
            padding: 1rem 0;
            text-align: left;
            font-size: clamp(1.2rem,2.1vw,1.6rem);
            line-height: clamp(1.5rem,2.62vw,2rem);
        }

        /* ゲームものがたり ---------------------------------------------------------- */

        .game_story {
            display: inline-block;
            margin-bottom: var(--content-margin);
        }

        .game_story h4 {
            display: none;
        }

        .story_header {
            margin-bottom: 0.5rem;
            font-size: 1rem;
            line-height: 1rem;
        }

        .story_text {
            margin-block-start: 0;
            margin-bottom: 0.25rem;
            font-size: 0.8rem;
            line-height: 1.2rem;
            letter-spacing: 0.02rem;
            /* text-indent: 0.8rem; */
        }

        .story_text span {
            letter-spacing: -0.08rem;
        }

        /* ゲーム情報 ---------------------------------------------------------- */

        .game_detail {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.5rem 0.8rem;
            margin-top: auto;
            margin-bottom: 0;
        }

        .detail_container {
            width: calc((100% - 1.6rem) / 3);
            display: flex;
            flex-direction: column;
        }

        .detail_header {
            min-height: 1.6rem;
            display: inline-block;
            text-align: center;
            padding: 0.4rem 0.1rem;
            margin-top: 0;
            margin-bottom: 0.4rem;
            border-radius: 5px 5px 0 0;
            font-size: 0.8rem;
            line-height: 0.8rem;
        }

        .detail_info {
            font-size: 1rem;
            line-height: 1rem;
        }

        .game_comp {
            width: calc((100% - var(--content-margin)) / 2);
        }

        .game_comp ul {
            font-size: 0.8rem;
            line-height: 1.2rem;
        }

        .comp_comment {
            margin: 0;
            padding: 0;
            font-size: 0.8rem;
            line-height: 1rem;
        }

        .info2 {
            display: flex;
            justify-content: space-between;
            margin-top: var(--content-margin);
        }

        /* 罫線 ---------------------------------------------------------- */

        .info2 hr {
            display: none;
        }

        /* ゲーム値段 ---------------------------------------------------------- */

        .game_price {
            width: calc((100% - var(--content-margin)) / 2);
            display: flex;
            justify-content: space-between;
            gap: 0 auto;
        }

        .game_price p {
            font-size: 0.8rem;
        }

        .game_price span {
            font-size: 1.25rem;
            line-height: 1.25rem;
        }
        
        /* 購入ボタン ---------------------------------------------------------- */

        .buy_btn_pc {
            width: calc(100% - 140px);
            height: 2.75rem;
            margin-top: 0;
            padding: 0.5rem 0.5rem;
        }

        .buy_btn_pc p {
            font-size: 0.8rem;
            line-height: 1rem;
        }

        .buy_btn_pc p span {
            font-size: 1rem;
            line-height: 1rem;
        }

        /* ゲーム説明 ---------------------------------------------------------- */

        h5 {
            font-size: 1rem;
            line-height: 1rem;
        }
    
        .letter_body {
            margin-top: 0.5rem;
            font-size: 0.8rem;
            line-height: 1.2rem;
        }

        .explain_container {
            flex-direction: row;
        }
    
        .explain_img,.explain_txt,.explain_mov {
            width: calc((100% - var(--content-margin)) / 2);
        }

        .explain_pv {
            margin-block-start: 0.25rem;
        }
        
        /* クレジット ---------------------------------------------------------- */

        .game_credit {
            font-size: 0.8rem;
        }

        .game_credit:nth-of-type(odd) span{
            display: inline-block;
            width: 6.4rem;
        }

    }
}