/* CSS Document */
#footer-wrap {
    position: relative;
    padding: 0 !important;
}
.title {
    width: 100%;
    background-color: #0033CC;
    color: #FFF;
    font-size: calc(16px + 5 * (100vw - 320px)/1020);
    font-weight: bold;
    margin: 0 auto;
    padding: 10px 0 6px 0;
    border-radius: 8px 8px 0 0;
}
.box {
    width: 49%;
    margin: 0 auto;
    padding: 10px 0;
    display: inline-block;
    vertical-align: top;
}
.box a:visited {
    text-decoration: none;
}
.item_img {
    width: 90%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}
.item_img img {
    border: 1px solid #eee;
}
.itemname {
    line-height: 1.2em;
    font-size: 12px;
    padding: 0;
}
@media only screen and (min-width: 769px) {
    .box {
        width: 24%;
        padding: 0;
        margin: 5px auto 10px;
    }
    .itemname {
        font-size: 14px;
    }
}
#footer {
    /*background-color: #719349;*/
	background-color: #141414;
    color: #ffffff;
    text-align: center;
    margin: auto;
    padding: 20px 0;
}
.footer-list ul {
    text-align: center;
    margin: 0 auto;
}
.footer-list ul li {
    display: inline-block;
    padding: 6px;
}
.footer-item {
    text-align: center;
    margin: 20px auto;
    border-right: 1px solid #fff;
    line-height: 0;
}
ul.select-language {
    list-style: none;
}
.footer-item:last-child {
    border-right: none;
}
#footer a, #footer p {
    color: #fff;
}
.footer-item a {
    text-decoration: underline;
    font-size: 15px;
}
.footer-item a:hover {
    color: #F8F803;
}
.epochgame {
    text-align: center;
    margin: 0 auto;
    padding: 1em 0;
    background: transparent;
    /*
  width: 12%;
  max-width: 300px;
*/
}
.epochgame img {
    filter: drop-shadow(0px 0px 10px #ffffff);
}
/* sns */
.sns-follow {
    text-align: center;
    width: 100%;
    background-color: #fff;
    height: 120px;
    padding: 20px 0;
}
.sns-follow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sns-follow-item p {
    /*  font-weight: 800;*/
    font-size: 1rem;
    color: #555;
    padding-bottom: 10px;
    margin-bottom: 0;
}
.sns-follow img {
    width: 36px;
    height: 36px;
    overflow: visible;
}
.sns-follow ul {
    display: flex;
    justify-content: center;
}
.sns-follow ul li {
    margin-right: 20px;
    list-style-type: none;
}
.sns-follow ul li:last-of-type {
    margin-right: 0;
}
.brand-banner {
    text-align: center;
    width: 100%;
    height: auto;
    padding: 20px 0;
}
.brand-banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.brand-banner img {
    width: 100%;
    overflow: visible;
}
.brand-banner ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
/*
.brand-banner ul li {
  width: 18%;
}
*/
/* 2025/02/20 add*/
/* ロゴが1つの場合（中央寄せ） */
.brand-banner ul:has(li:only-child) {
    display: block; /* flexを解除 */
    text-align: center; /* ul自体を中央揃え */
}
.brand-banner ul li:only-child {
    width: 60%;
    max-width: 300px;
    margin: 0 auto; /* liを中央配置 */
}
/* ロゴが2つの場合（均等配置） */
.brand-banner ul:has(li:nth-child(1):nth-last-child(2)) li {
    width: 35%;
    max-width: 250px;
}
/* ロゴが3つの場合（均等配置） */
.brand-banner ul:has(li:nth-child(1):nth-last-child(3)) li {
    width: 18%;
}
@media screen and (max-width: 820px) {
    .brand-banner ul:has(li:nth-child(1):nth-last-child(3)) li {
        width: 24%;
    }
    .brand-banner ul:has(li:nth-child(1):nth-last-child(2)) li {
        width: 40%;
    }
    .brand-banner ul li:only-child {
        width: 66%;
    }
}
@media screen and (max-width: 480px) {
    .brand-banner ul:has(li:nth-child(1):nth-last-child(3)) li {
        width: 42%;
    }
    .brand-banner ul:has(li:nth-child(1):nth-last-child(2)) li {
        width: 48%;
    }
    .brand-banner ul li:only-child {
        width: 55%;
    }
}
/*epoch games LOGO	*/
.brand_introduct {
    width: 90%;
    margin: 0 auto 40px;
}
/*-----------------------
    pagetop
-------------------------*/
#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 10px;
    background: #fff;
    opacity: 0.8;
    border-radius: 50%;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .2));
	z-index: 1;
}
#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}
#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #141414;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
@media screen and (max-width: 480px) {
    #footer {
        padding: 10px 0 20px !important;
    }
    .footer-list ul {
        display: flex;
        flex-flow: wrap;
        padding: 0;
    }
    .footer-list ul li {
        display: flex;
        justify-content: center;
        padding: 6px;
        align-items: center;
    }
    .footer-item a {
        text-align: center;
        position: relative;
        border-height: 5px;
        display: block;
        text-decoration: none;
        padding: 10px 0;
    }
    .footer-item {
        border-bottom: solid 1px #f8f8f854;
        width: 50%;
        line-height: 20px;
        margin: 0;
        border-right: solid 1px #f8f8f854;
    }
    .footer-item:nth-of-type(even) {
        border-right: none;
    }
    .footer-item:nth-of-type(3), .footer-item:nth-of-type(4) {
        border-bottom: solid 1px #f8f8f854;
    }
    .footer-item:nth-of-type(5), .footer-item:nth-of-type(6) {
        border-bottom: none;
        border-right: solid 1px #f8f8f854;
    }
    .company {
        margin-top: 30px;
    }
    .footer-list ul {
        border-bottom: solid 1px #f8f8f854;
        border-top: solid 1px #f8f8f854;
    }
    .select-language {
        margin: 2.5em 0 1em;
    }
    /* sns */
    .sns-follow-item p {
        font-size: 1.3rem;
    }
    .sns-follow {
        margin-top: 16px;
        height: 140px;
        padding: 30px 0;
    }
    /*
  .brand-banner ul li {
    width: 48%!important;
  }
*/
    /*12/18add*/
    .footer-item:nth-of-type(5), .footer-item:nth-of-type(6) {
        border-bottom: solid 1px #f8f8f854;
    }
    .footer-item:last-child {
        border-right: solid 1px #f8f8f854;
    }
}