/*開発タイトル全体*/
.products-container {
    max-width: 900px;
    min-width: 300px;
    margin: 0 auto;
    padding-top: 0px;

    align-items: center;
    /*border: 1px solid #ff0;*/
}

.products-lists {
    max-width: 600px;
    min-width: 300px;
    margin: 0 auto;
    padding-top: 20px;
    /*border: 1px solid #f0f;*/
}

/* 開発タイトル単位の枠 */
.product-item {
    /*   display: flex;*/
    align-items: center;
    position: relative;
    margin-left: 100px;

    /*上余白*/
    padding-top: 10px;
    /*下余白*/
    padding-bottom: 10px;

    /*これをコメントアウトすると開発タイトル単位の大きさがわかりやすい*/
    /*border: 1px solid #0f0;*/
}

.product-item-dot {
    margin: 0px;
    padding: 0px;
    position: absolute;
    top: 30px;
    left: -3px;
}

.product-item-border {
    position: absolute;
    top: 35px;
    width: 100%;
    height: 100%;
    border-left: 1px solid #fff;
}

/* 年月日の親 レイアウト用なので基本的にはいじらないで */
.product-date-base {
    /*    border: 2px solid #000;*/
    width: 100px;
    margin-left: -110px;
    padding: 0px;
    text-align: right;
}

/* 年 */
.product-year {
    line-height: 1em;

    /*フォントサイズ*/
    font-size: 30px;
    font-weight: bold;
    font-style: italic;

    margin: 0px;
    padding: 0px;
}

/* 月日 */
.product-date {
    line-height: 1em;

    /*フォントサイズ*/
    font-size: 14px;
    font-weight: normal;
    font-style: italic;

    margin: 0px;
    padding: 0px;
    margin-top: 4px;
}

/* 以下の要素の親 表組みのために必要 */
.product-base {
    display: flex;
}

/* 画像表示のための親　レイアウトを固定にするために必要 */
.product-image-base {
    width: 180px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 50px;
    /*border: 1px solid #008cff;*/

    /*画像を中央に配置したい*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*border: 1px solid #ff0000;*/
}

/* 画像表示 */
.product-image {
    max-width: 100%;
    height: auto;
    z-index: 1;
}

.product-image-base:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    /*filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));*/
}

.product-info {
    flex-grow: 1;
}

/* 開発タイトル名 */
.product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px;
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));
}

.product-title:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    /*filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));*/
}

/* 対応プラットフォーム */
.product-platform {
    width: 210px;
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 0px;
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));
}

.text_base {
    display: flex;
}

.text_l {
    float: left;
    white-space: nowrap;
}

.text_r {
    float: right;
    clear: both;
}

/* 詳細ボタン */
.product-link-base {
    margin-top: 20px;

    width: 100%;
    /*max-width: 600px;*/
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.product-link {
    display: inline-block;

    font-size: 12px;
    width: 100px;
    height: 22px;
    font-weight: bold;

    text-decoration: none;
    color: #fff;

    border: 1px solid #fff;

    padding-top: 3px;
    text-align: center;

    cursor: pointer;
    z-index: 0;
}

/*
.product-link-base {
    width: 100%;
    height: 25px;
    display: block;

    font-size: 12px;
    font-weight: bold;

}

.product-link {
    font-size: 12px;
    width: 80px;
    height: 20px;
    font-weight: bold;

    text-decoration: none;
    color: #fff;

    border: 1px solid #fff;

    padding-top: 3px;
    text-align: center;

    position: absolute;
    bottom: 0;
    right: 0;
}
*/

.product-link-arrow {
    margin-left: 5px;
    width: 9px;
    height: 9px;
    /*object-fit: contain;*/
}

/* 詳細ボタンのリンク選択時 */
.product-link:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    /*filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));*/
}

/* モバイル向けスタイル */
@media (max-width: 768px) {
    .products-lists {
        margin-left: 10px;
    }

    .product-item {
        margin-left: 0px;
    }

    .product-date-base {
        margin-left: 10px;
        text-align: left;
    }

    .product-image-base {
        width: 120px;
        /*右の隙間*/
        margin-right: 10px;
        /*左の隙間*/
        margin-left: 10px;
    }

    .product-info {
        width: 240px;
    }

    .product-link-base {
        display: block;
        margin-left: 110px;
    }

    .product-link {
        display: block;
        position: relative;
    }
}

/*詳細*/
/*
.product-detail-base {}
*/
/*全体の大きさ*/
.product-detail {
    display: flex;
    flex-direction: row;

    width: 900px;
    height: 570px;

    /*上余白*/
    margin-top: 20px;

    /*確認用*/
    /*border: 1px solid #f00;*/
}

/* 画像表示のための親　レイアウトを固定にするために必要 */
.product-detail-art-base {
    display: flex;

    /*画像をこの枠内の高さ中央に配置*/
    justify-content: center;
    align-items: center;
    /*タイトル詳細データの横幅固定*/
    width: 400px;
    /*左右余白*/
    /*
    margin-right: 5px;
    margin-left: 5px;
    */
}

/* 画像表示 */
.product-detail-art {
    max-width: 100%;
    max-height: 570px;
    /*パッケージのドロップシャドウ 最初の二つの引数が方向 3つ目がブラー幅 最後が色*/
    filter: drop-shadow(0px 0px 3px #4335BD);
    height: auto;
}

/* 詳細情報の大枠
    発売日などの情報とタイトルロゴを含めたレイアウト枠のサイズ
*/
.product-detail-info-base {
    /*横幅*/
    width: 500px;

    /*左余白*/
    margin-left: 0px;

    /*border: 1px solid #0ff;*/
}

/* 開発タイトル名 */
.product-detail-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));

    margin-left: 30px;
}

.product-detail-info {
    display: flex;

    /*border: 1px solid #ff0;*/
}

/*ロゴ画像を縦に二つならべている枠　レイアウト崩れの原因*/
.product-detail-info-logo {
    width: 160px;
    height: 180px;

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

    /*border: 1px solid #ff0;*/
}

/* 画像表示 */
.product-detail-info-logo-image {
    object-fit: contain;
    max-width: 100%;
    height: 90px;
    /* border: 1px solid #CCC;*/
}

/* product-detail-info-text が product-detail-info-logoと連動してしまうので親が必要*/
.product-detail-info-text-base {
    flex: 1
}

/*発売日などの情報*/
.product-detail-info-text {
    flex: 1;

    font-size: 12px;
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));

    display: grid;
    grid-template-columns: 70px 1fr;

    /*行間と思ってもらっていい*/
    grid-row-gap: 22px;

    /*上への余白*/
    margin-top: 20px;
    /*左への余白*/
    margin-left: 40px;

    /* border: 1px solid #fff;*/
}

.product-detail-text_l {
    /*float: left;*/
    white-space: nowrap;
    text-align: left;
}

.product-detail-text_r {
    /*    float: right;
    clear: both;*/
    text-align: left;
    white-space: normal;
}

.product-detail-links {
    margin-top: 10px;
    margin-left: -10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/*公式PVや公式サイトへのリンク文字列のスタイル*/
.product-detail-link {
    display: inline-block;

    font-size: 12px;
    width: 120px;
    height: 25px;
    font-weight: bold;

    text-decoration: none;
    color: #fff;

    border: 1px solid #fff;

    padding-top: 5px;
    text-align: center;
    /*vertical-align: middle;*/
    white-space: nowrap;
}

.product-detail-icon-youtube {
    height: 14px;
    margin-left: 5px;
    vertical-align: bottom;
}

.product-detail-icon-link {
    height: 14px;
    margin-left: 5px;
    vertical-align: bottom;
}

/* 詳細ボタンのリンク選択時 */
.product-detail-link:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    /*filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));*/
}

/*下の4つの画像*/
.product-detail-images {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;

    /*上への余白*/
    margin-top: 20px;
    /*左への余白*/
    margin-left: 40px;

    max-width: 470px;
    max-height: 300px;
    /*max-height: 280px;*/
    /*固定化できるのか？*/
    /*height: 280px;*/
    height: auto;
    /*border: 1px solid #ff0;*/
}

/*画像の枠*/
.product-detail-image {
    width: 100%;
    /*height: auto;*/
    position: relative;
}

/*画像の要素*/
.product-detail-image img {
    width: 100%;
    height: 130px;
    /*height: auto;*/

    /*
    width: auto;
    height: 100%;
    */

    object-fit: cover;
    /*ドロップシャドウ 最初の二つの引数が方向 3つ目がブラー幅 最後が色*/
    filter: drop-shadow(0px 0px 3px #4335bd);
}

/*下部リンク*/
.product-list-links-base {
    width: 100%;
    height: 30px;
    /*border: 1px solid #0f0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.product-list-links {
    width: 100%;
    /*border: 1px solid #00f;*/
    display: flex;
    /*grid-template-columns: repeat(1, 80px, 1);*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
}

.product-list-links>* {
    flex: 1;
}

.product-list-links>*:nth-child(2) {
    width: 100px;
    flex: 0 0 auto;
}

.product-list-link-base {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    grid-gap: 5px;
}


.product-list-link-base>* {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*align-items: center;*/
    cursor: pointer;
}

.product-list-link-arrow {
    margin-top: 16px;
    width: 9px;
    height: 9px;
}

.product-list-link {
    width: 100px;

    font-size: 10px;
    font-weight: bold;
    z-index: 0;

    white-space: nowrap;
    text-align: center;
}

.product-list-link-l {
    flex: 1;

    font-size: 10px;
    font-weight: bold;
    z-index: 0;

    /*white-space: nowrap;*/
    text-align: left;
}

.product-list-link-r {
    flex: 1;

    font-size: 10px;
    font-weight: bold;
    z-index: 0;

    /*white-space: nowrap;*/
    text-align: right;
}

.product-link-thumbnail {
    object-fit: cover;
    /*ドロップシャドウ 最初の二つの引数が方向 3つ目がブラー幅 最後が色*/
    filter: drop-shadow(0px 0px 3px #4335bd);
}

/* リンク選択時 */
.product-list-link-base:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    /*filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));*/
}

/* モバイル向けスタイル */
@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;

        position: relative;

        margin-left: 0px;
        margin-right: 0px;

        width: 100%;
        height: auto;

        /*border: 2px solid #f00;*/

        /*transform: translate(-50%, 0);*/
        align-items: center;
    }

    /* 画像表示のための親　レイアウトを固定にするために必要 */
    .product-detail-art-base {
        width: 90%;
        margin-left:-5px;
    }

    /* 詳細情報の大枠 */
    .product-detail-info-base {
        width: 95%;
        /*        min-width: 200px;
        max-width: 250px;
        margin-left: 10px;
        */
        margin-top: 10px;
        margin-left: 0px;

        /*border: 1px solid #fff;*/
    }

    /*発売日などの情報*/
    .product-detail-info-text {
        /*行間と思ってもらっていい*/
        grid-row-gap: 10px;

        /*上への余白*/
        margin-top: 10px;
        /*左への余白*/
        margin-left: 0px;

        /*border: 1px solid #fff;*/
    }

    /*
    .product-detail-text_l {
        border: 1px solid #fff;
    }

    .product-detail-text_r {
        border: 1px solid #f0f;
    }
    */

    /*下の4つの画像*/
    .product-detail-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;

        /*上への余白*/
        margin-top: 10px;
        /*左への余白*/
        margin-left: 5px;

        width: 95%;
        height: auto;
        /*border: 1px solid #ff0;*/
    }

    .product-detail-link {
        display: block;
    }

    .product-list-link {
        width: 80px;
    }

    .product-list-links>*:nth-child(2) {
        width: 80px;
        flex: 0 0 auto;
    }
}
