@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=DotGothic16&display=swap');

*{
    box-sizing: border-box;
    margin: 0 auto;
}



body {
    background-color: #fff !important;
    color: #2f2f2f;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0 ;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;  /* 念のため */
    background-image: url("img/HP横白.jpg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: cover;
    max-width: 1200px ;
    margin: 0 auto;
}


.container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.main, .menu, .container {
    background-color: transparent !important;
}

.wrapper {
    max-width: 1200px ;
    margin: 0 auto;
    padding: 0 10px;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

li {
    list-style: none;
}

a {
    color: #2663a8;
    text-decoration: underline;
    font-weight: bold;
    
}



/*へっだー*/



/*PC部分*/



img.pc {
    width: 500PX;
    padding-top: 10%;
}

.main-title {
    position: relative;
    text-align: center;
    font-size: 170%;
    padding-top: 2%;
    margin-bottom: 5%;

}



/* 画像と文字*/

.img {
    max-width: 760px;
}

img.list-cal {
    position: relative;
    width: 70%;

}

img.list-game {
    position: relative;
    width: 70%;
    top: 20%;

}

.img2{
    display: flex;
}

.hiniti-title a{
    position: relative;
    top: -320px;
    left: -32%;
    font-size: 27px;
}

.game-title a{
    position: relative;
    top: -420px;
    left: 8%;
    font-size: 27px;
}

.title3 {
    display: flex;
    width: 550px;
    font-size: 15px;

}

.hiniti-title {
    position: relative;
    top: 310px; 
    margin:10px 0 ;
    font-size: 15px;
    left: 30px;
}

.hiniti-title a {
    font-size: 25px;
}

.game-title {
    position: relative;
    top: 420px;
    left: 30px;
}
.long {
    position: relative;
    text-align: center;
    margin-top: 5%;
}

.long {
    font-size: 25px;

}

.q {
    color: #ff0000;
}

/*フッター*/

footer {
    text-align: center;
    height: 50px;
    text-align: center;
}

.icon {
    font-size: 50px;

    display: inline-block;
    text-decoration: none;
}

.icon a {
display: inline-block;
    padding: 50px ; /* お好みで調整 */
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}





/*お問い合わせ*/

h1{
    text-align: center;
    padding-top: 10%;
}

form {
    width: 50%;
    margin: 5% auto;
    min-width: 9rem;
}

input, textarea {
    float: left;
    width: 100%;
    max-width: 100%;
    border: none;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    background: #888888;
    color: #ffffff;
}
input[type=submit], textarea[type=submit] {
    background: #84AD47;
    color: #fff;
    width: auto;
    float: right;
}
input::placeholder, textarea::placeholder {
    color: #ffffff;
}
input.error, textarea.error {
    background: #AD4747;
    color: #fff;
}
input.error::placeholder, textarea.error::placeholder {
    color: black;
}

textarea {
    height: 10rem;
}

.captcha {
    float: left;
}
.captcha input {
    float: right;
}
.captcha input[name=question] {
    width: 4rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: right;
    padding-right: 0;
}
.captcha [name=captcha] {
    width: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0.5rem;
}
.captcha [name=captcha]::placeholder {
    text-align: center;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: local("Open Sans"), local("OpenSans"), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format("woff");
}


* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}



/* スマホ用 */

@media screen and (max-width:640px) {

    body {
    background-color: #fff !important;
    color: #4d4d4d;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-image: url("img/HP横白.jpg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: cover;
    margin: 0;
    padding: 0;
    width: 100%;
}

.img2 {
    max-width: 350px;
}

.title3 {
    max-width: 200px;
    text-align: center;
}

.title3 a{ 
    font-size: 17px;
}

.hiniti-title a{
    left: -70px;
}

.long {
    font-size: 17px;
}

/*お問い合わせ*/

h1{
    text-align: center;
    padding-top: 10%;
    font-size: 20px;
}






/* ゲームページ*/


.name {
    width: 100%;
    margin: 0 auto;
    list-style-position: inside;
    column-count: 2;
    column-gap: 2em;
    width: fit-content;
    padding-top: 60px;
}

.link {
    font-size:22px;
    padding-top: 10px;
    padding-bottom: 50px;
}

h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 30px;
    color: #4354b1;
}
.name2 {
    margin-right: 100px;
    font-size: 27px;
    padding-top: 15%;
}

li {
    list-style: disc;
    font-size: 22px;
    padding-bottom: 25px;
    
}

.list-a {
    text-align: center;
}


.list-aiu {
    display: inline-block;   
    text-align: left;        
}



.list-aiu a {
    padding-right:15px ;
    color: #4354b1;
    font-weight: normal;
}


.aiu {
    font-weight: bold;
    font-size: 30px;
    padding-top: 50px;
}

.aiu a {
    color: #ff4b4b;
    
    padding-right: 30px;
}


.red {
    color: #ff3333;
}

a.youtube-link {
    color: #ff3333;
}

.bule {
    color: #4354b1;
}

}