@charset "utf-8";

/* 全体設定 */
body {
    margin: 0;
    padding: 0;
    color: #666;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 15px;
    line-height: 2;
    background: #2b392c;
    background: radial-gradient(circle 400px at 25% 50px, #4c584d, #2b392c) no-repeat #2b392c;
    border-top: 4px solid #ba0d0d;
    -webkit-text-size-adjust: none; /* 最新のブラウザでは不要な場合が多い */
}

h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
}

ul { list-style-type: none; }
ol { padding: 0 0 15px 40px; } /* ショートハンド化 */
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}
iframe { width: 100%; }

/* リンク（全般）設定 */
a {
    color: #666;
    transition: 0.5s;
}
a:hover {
    color: #ba0d0d;
    text-decoration: none;
}

/* containerブロック */
#container {
    max-width: 1300px;
    padding: 0 3%;
    margin: 0 auto;
}

/* ヘッダー */
header {
    position: relative;
    color: #fff;
    height: 50px;
}
header a {
    color: #fff;
}

/* コンテンツ */
#contents {
    clear: both;
    overflow: hidden;
    background: #fff;
    padding: 3%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* mainコンテンツ */
#main {
    float: right;
    width: 100%;
}
#main h1 {
    clear: both;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 0.1em;
    color: #000;
    padding: 5px 15px;
    border-bottom: 4px solid #ba0d0d;
}
#main h2 {
    clear: both;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 0.1em;
    color: #fff;
    background: linear-gradient(#525d53, #242f24);
    padding: 5px 15px;
    border-bottom: 4px solid #ba0d0d;
    border-radius: 10px 0;
}
#main h3 {
    clear: both;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 0.1em;
    color: #fff;
    background: linear-gradient(#0064ff, #0000c0);
    padding: 5px 25px;
    border-bottom: 4px solid #c0c000;
    border-radius: 10px 10px 0 0;
}
#main h4 {
    clear: both;
    margin-bottom: 10px;
    font-size: 18px;
    background: linear-gradient(#fff, #eee);
    padding: 4px 25px;
    border: 1px solid #ccc;
    color: #333;
}
#main p {
    padding: 0 20px 15px;
}
#main h1 + p,
#main h2 + p,
#main h3 + p,
#main h4 + p {
    margin-top: -10px;
}

#main section + section {
    margin-top: 50px;
}

/* SERVICEページの各ブロック */
#main .list {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dcdcdc;
    background: linear-gradient(#fff, #e3e3e3);
    box-shadow: 0 0 0 1px #fff inset;
    color: #333;
}
#main .list a {
    text-decoration: none;
    display: block;
    overflow: hidden;
    padding: 20px;
    margin: -20px;
    color: #333;
}
#main .list a:hover {
    background: #fff;
}
#main .list a::before {
    content: "→";
    font-size: 12px;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    background: rgba(0,0,0,0.2);
    color: #fff;
}
#main .list a:hover::before {
    background: #ba0d0d;
}
#main .list h4 {
    padding-left: 10px;
    border-bottom: 1px solid #ccc;
    border-left: 3px solid #ba0d0d;
    margin-bottom: 0.5em;
    color: #ba0d0d;
}
#main .list p {
    padding: 0;
}
#main .list figure {
    float: left;
    width: 30%;
    background: #fff;
    padding: 1%;
    border: 1px solid #ccc;
    margin-right: 10px;
}
.list.option2 a:hover figure img,
.list.option2 figure img {
    opacity: 0.3 !important; /* 必要性に応じて見直し */
}

/* メインコンテンツ内の「list2」ボックス */
#main .list2 {
    overflow: hidden;
    position: relative;
    width: 150px;
    float: left;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
}
#main .list2 a {
    display: block;
    text-decoration: none;
    overflow: hidden;
}
#main .list2 h4 {
    height: 1.5em;
}
#main .list2 a:hover figure img {
    opacity: 0.7;
}
#main .list2 figure {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    text-align: center;
    background: #fff;
    padding: 1%;
    border: 1px solid #ccc;
}
#main .list2 figure img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* ゲームタイトルとサブタイトルの表示調整 */
#main .list2 a .game-title {
    display: block; /* ゲームタイトルをブロック要素にして改行 */
    line-height: 1.2; /* 必要に応じて行間を調整 */
}

#main .list2 a .game-subtitle {
    display: block; /* サブタイトルをブロック要素にして改行 */
    font-size: 0.9em; /* 必要に応じてサブタイトルの文字サイズを調整 */
    line-height: 1.2; /* 必要に応じて行間を調整 */
    margin-top: 0.1em; /* 必要に応じてタイトルとの間の余白を調整 */
    color: #555; /* サブタイトルを少し薄い色にするなど、視覚的な差別化も検討 */
}

/* フッター設定 */
footer {
    clear: both;
    text-align: center;
    padding: 10px 0;
    color: #fff;
}
footer a {
    text-decoration: none;
    color: #fff;
}
footer .pr {
    display: block;
    font-size: 80%;
}

/* テーブル（ta1） */
.ta1 {
    width: 95%;
    margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
    border: 1px solid #ccc;
    padding: 10px 15px;
    word-break: break-all;
}
.ta1 .tamidashi {
    width: auto;
    text-align: center;
    background: #eee;
}
.ta1 th {
    width: 140px;
    text-align: center;
    font-weight: normal;
}
.ta1 th img {
    width: 100%;
}

/* ページの上部へ「↑」ボタン */
@keyframes scroll {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
body .nav-fix-pos-pagetop a { display: none; }
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
    display: block;
    text-decoration: none;
    z-index: 100;
    text-align: center;
    width: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 100px;
    right: 5%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 1px solid #fff;
    animation-name: scroll;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
    background: #999;
}

/* 一覧ページのボックス内のアイコン */
span.option1, span.option2 {
    text-align: center;
    display: block;
    font-size: 10px;
    width: 120px;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(45deg) translate(36px,-15px);
    color: #fff;
    background: #999;
}
span.option1 {
    color: #fff;
    background: #f00;
}
h2 span.option1, h2 span.option2 {
    width: auto;
    position: static;
    transform: none;
    display: inline-block;
    font-size: 15px;
    margin-left: 10px;
    padding: 0 5px;
}

/* その他 */
.look { background: #ccc; color: #333; padding: 5px 10px; border-radius: 4px; }
.mb15, .mb1em { margin-bottom: 15px !important; }
.mb30 { margin-bottom: 30px !important; }
.p0 { padding: 0 !important; }
.clear { clear: both; }
ul.disc { padding: 0 25px 15px; list-style: disc; }
.color1, .color1 a { color: #f00; }
.bg1 { background: #f6f5f2; }
.pr { font-size: 10px; }
.wl { width: 96%; }
.ws { width: 50%; }
.c { text-align: center; }
.r { text-align: right; }
.l { text-align: left; }
img.fr { float: right; margin: 0 0 10px 10px; } /* ショートハンド化 */
img.fl { float: left; margin: 0 10px 10px 0; } /* ショートハンド化 */
.big1 { font-size: 20px; }
.mini1 { font-size: 11px; display: inline-block; line-height: 1.5; }
.sh { display: none; }


/* 画面幅800px以下の設定 */
@media screen and (max-width:800px){
    header { height: 50px; }

    @keyframes menu1 {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }

    #main, #sub {
        float: none;
        width: auto;
    }

    body.s-n #sub, body.s-n #footermenu, .m-n { display: none; }
}

/* 画面幅480px以下の設定 */
@media screen and (max-width:480px){
    body {
        font-size: 12px;
        line-height: 1.5;
    }

    #main h2, #main h3, #main h4 {
        font-size: 14px;
        padding: 0 10px; /* ショートハンド化 */
    }
    #main p {
        padding: 0 10px 15px;
    }

    #main .list {
        padding: 10px;
    }
    #main .list a {
        padding: 10px;
        margin: -10px;
    }

    #main .list table {
        font-size: 10px;
    }

    .ta1, .ta1 td, .ta1 th {
        padding: 5px;
    }
    .ta1 th {
        width: 100px;
    }

    .ws, .wl { width: 94%; }
    .big1 { font-size: 16px; }
    img.fr, img.fl { float: none; margin: 0; width: 100%; }
    .sh { display: block; }
    .pc { display: none; }
}