/* ===== Base Tag ===== */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600,600italic,700,700italic");

@font-face {
	font-family: 'ヒラギノ角ゴシック Std', 'Hiragino Kaku Gothic Std', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

body{
    margin: 0;
    width:100%;
    height:100%;
    font-family: 'ヒラギノ角ゴシック Std', 'Hiragino Kaku Gothic Std', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    text-align: center;
    font-size: 20px;
    font-weight:normal;
    overflow: auto;
    top:0;
    /*background: url("../img/yt_hp_bg_01.png");*/
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;
}

hr{
    width: 100%;
    height: 2px;
    margin:1px auto;
    margin-top:49px;
    margin-bottom:49px;
    clear: both;
    float:left;

}


h1{
    position: absolute;
    height: 100px;
    font-size:30px;
    font-weight: 900;
    padding-left:10%;
    padding-right:20px;
    text-align: left;
    line-height: 100px;
    letter-spacing: 4px;
    background-color: #fff;
    clear: both;
}
h1:first-letter{
    font-size:40px;
    font-weight: bold;
}
h1 br{
    display: none;
}
h2{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
}
    
/* ==================================================== */
/* ==================================================== */

.bg{
    display:block;
    position: fixed;
    top:0;
    left:0;
    min-width: 100%; min-height: 100%;
    width: auto; height: 100vh;
    z-index: 1;
    background: url("../img/yt_hp_bg_01.png") center no-repeat;
    background-size: cover;
    background-color: #464646;
}

/* ===== Main ===== */
.section{
    z-index: 2;
    width: 100%;
    position: relative;
    margin-top: 120px;
    text-align: center;
    color:#000;
    overflow: hidden;
}


/* ===== Title ===== */
.title {
    width:100%;
    height:600px;
    margin:auto;
    padding:0;
    padding-top:100px;
}
.title p{
    margin:40px auto;
    text-align: center;
    font-size:24px;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: 14px;
}
.title p br{
    display:none;
}
.title img{
    max-width: 540px;
    max-height:240px;
    width:60%;
    height:auto;
    margin:100px auto;
}


/* ===== Card (ヤルキマン、ヤル事） ===== */
.card {
    width:80%;
    margin-left:auto;
    margin-right:auto;
}
.card dt{
    background-color: #000000;
    color:#fff;
    line-height: 40px;
    letter-spacing: 8px;
    padding-top:40px;
    padding-bottom: 40px;
    font-weight: bold;
}
.card dd{
    background-color: #fff;
    font-weight: lighter;
    line-height: 30px;
    letter-spacing: 4px;
    padding:40px 80px;
}
.card dd p{
    padding-top:20px;
    padding-bottom:20px;
}


/* ===== contents（Game, TEAM iXA, majiXA） ===== */
.contents {
    width:100%;
    background-color: #000;
    color: #fff;
}
.contents hr{
    /* width:60%; */
    background-color: #fff;
}
.contents h1{
    background-color: #000;
    padding-left:10%;
}
.contents dl{
    width:30%;
    height:auto;
    max-width:280px;
    max-height:600px;
    margin: 20px 8px;
    background-color: #fff;
    
    display: inline-block;
}

.contents dt{
    width:100%;
    height:180px;
}
.contents .dl_banner{
    width:100%;
    height:160px;
    background-color: #fff;
}

.contents dd{
    width:100%;
    height:270px;
    background-color: #fff;
    color:#000;
    box-sizing: border-box;
    padding:20px;
    text-align: left;
    font-weight: bold;
}
.contents dd p{
    line-height: 20px;
    font-size:14px;
    font-weight: lighter;
    padding-top:20px;
    padding-bottom:20px;
}

/* ===== news ===== */

.new_news {
    margin: 0px 10% 20px 10%;
}
.news_desc{
    position:relative;
    width:240px;
    margin: 24px 24px;
    vertical-align: top;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    font-weight: lighter;
    overflow-wrap: break-word;
    display: inline-block;
}
.thumb{
    width:240px;
    height:180px;
    margin: 8px 0px;
    border:2px solid black;
}
.news_desc a{
    color: #000;
}
.news_desc .linkicon{
    position: absolute;
    top:0;
    right:0;
}


.news {
    width:100%;
    background-color: #fff;
    padding-top:20px;
    color: #000;
}

.news ul{
    width: 75%;
    margin-left:auto;
    margin-right:auto;
    background-color: #fff;
    margin-bottom: 10px;
    clear: both;
}

.news hr{
    background-color: #000;
}

.newslist blockquote{
    text-align: left;
    display: block;
}

.newslist{
    background-color: #fff;
    clear: both;
    padding: 0px 10px 30px 10px;
}
.newslist h4{
    width : 150px;
    text-align: left;
    margin-right: auto;
    margin-left:0;
}

.newslist dl{
    padding:10px;
    min-height: 20px;
}

.newslist dl:hover{
    background-color: rgba(0,0,0,0.3);
}


/* ----- games系 ----- */
.games {
    width:80%;
    margin:auto;
    margin-bottom:100px;
}
.games h2{
    height:40px;
}
.nosupport img{
    opacity:0.3;
}
.googleplay_banner{
    margin:auto;
    bottom:0;
    width:90%;
    height:auto;
    max-width:160px;
    max-height:48px;
}
.applestore_banner{
    margin:auto;
    bottom:0;
    width:88%;
    height:auto;
    max-width:150px;
    max-height:56px;
}

/* ----- banner系 ----- */
.banner {
    width:80%;
    height:160px;
    margin:auto;
    margin-bottom: 40px;
    margin-top: 100px;
}
.banner_img{
    width: 50%;
    height:100%;
    float: left;
}
.banner .description{
    box-sizing: border-box;
    width: 50%;
    float: right;
    background-color: #fff;
    color:#000;
    padding:20px;
    height:100%;
    text-align: left;
    font-weight: lighter;
    font-size:0.7em;
    
    line-height: 20px;
}

/* ===== board（About,Client） ===== */
.board {
    width: 80%;
    margin-left:auto;
    margin-right:auto;
    background-color: #fff;
    padding-bottom: 60px;
}
.board hr{
    background-color: #000;
}

.smallfont{
    font-size:12px;
}

table{
    width:80%;
    margin:auto;
}
th{
    text-align: left;
    line-height: 40px;
    width:30%;
    padding-top:20px;
}
td{
    text-align: left;
    line-height: 40px;
    width:80%;
}


/* ===== contact ===== */
.contact {
    width: 80%;
    margin-left:auto;
    margin-right:auto;
    background-color: #fff;
    box-sizing: border-box;

}

.contact dl{
    width: 80%;
    margin:auto;
}
.contact dt{
    text-align: left;
    width:80%;
    font-size:14px;
    font-weight: 700;
    padding-left:8px;
    padding-bottom:4px;
    letter-spacing: 2px;
}
.contact dd{
    text-align:left;
    margin-bottom:20px;
}
.contact input{
    width:50%;
}
.contact textarea{
    width:100%;
}
.contact hr{
    /* width:70%; */
    background-color: #000;
}
.contact button{
    margin:40px auto;
    padding:12px;
    font-size: 16px;
    font-weight: bold;
    line-height: 180%;
    text-align: center;
    text-decoration: none;
    display: block;
    position:relative;
    -webkit-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
    -moz-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
    box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);

    background-color: #000;
    color:#fff;

    max-width: 369px;
    min-width: 100px;
    width: 60%;
}

/* ----- input系 ----- */
input, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #000;
    background-image: none;
    border: 0px solid rgba(0, 0, 0, 0.16);
    color: #fff;
    font-size: 1em;
    padding: 0px 10px;
    margin: 4px 0px 4px 0px;
}

input,textarea:focus {
    border: 0px solid #000;
    box-shadow: none;
    outline: none;
}

input {
    height:40px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:#fff;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:#fff;
}
::placeholder{ /* Others */
    color:#fff
}

/* ===== Copyright ===== */
.triangle{
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid black;
    margin:6px auto;
}

.page_top{
    display: block;
    position: relative;
    width:100%;
    height:30px;
    z-index: 2;
    font-size:12px;
    letter-spacing: 4px;
    color:#000;
    text-decoration: none;
    padding:12px;
}
.copyright {
    color:#fff;
    z-index: 2;
    position: relative;
    font-size:14px;
    height:80px;
    background-color: #000;
    vertical-align: bottom;
    position: relative;
}
.copyright p{
    position: absolute;
    bottom:10px;
    width:100%;
    text-align: center;
}




/* ===== 画像系 ===== */
.ixa_bg{
    background: url("../img/yt_hp_img_ixa.png");
    background-position: center center;
}
.furusato_bg{
    background: url("../img/yt_hp_img_furusato.png");
    background-position: center center;
}
.school_bg{
    background: url("../img/yt_hp_img_school.png");
    background-position: center center;
}
.majixa_bg{
    background: url("../img/yt_hp_img_majixa.png");
    background-position: center center;
}
.ixaengine_bg{
    background: url("../img/yt_hp_img_ixaengine.png");
    background-position: center center;
}

.vsrubik_bg{
    background: url("../img/yt_hp_game_vsru.png");
    background-position: center center;
}
.sss_bg{
    background: url("../img/yt_hp_game_sss.png");
    background-position: center center;
}
.nukoshogi_bg{
    background: url("../img/yt_hp_game_ns.png");
    background-position: center center;
}
.maru_bg{
    background: url("../img/yt_hp_game_maru.png");
    background-position: center center;
}
.colorarmy_bg{
    background: url("../img/yt_hp_game_ca.png");
    background-position: center center;
}
.numpla_bg{
    background: url("../img/yt_hp_game_np.png");
    background-position: center center;
}


/* ========== モーダルCSS ========== */
.modalArea {
    display: none;
    position: fixed;
    z-index: 10; /*サイトによってここの数値は調整 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
.modalBg {
    width: 100%;
    height: 100%;
    background-color: rgba(30,30,30,0.7);
}
  
.modalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 0%;
    background-color: rgba(255,255,255);
    width:80%;
    height : 80%;
    padding: 70px 20px 20px 20px;
}
.modalWrapper .titleBar {
    margin-top: auto;
    margin-bottom: auto;
    width : 100%;
    height:20px;
    background-color: black;
    color: white;
    padding:20px 0px;
    letter-spacing: 4px;
    position:fixed;
    top:0;
    left:0;
}

.modalContents{
    color: black;
    overflow : auto;
    overflow-x: hidden;
    /*padding:60px 60px;*/
    /*margin:10px 10px;*/
    height:100%;
    -ms-overflow-style: none;    /* IE, Edge 対応 */
    scrollbar-width: none;       /* Firefox 対応 */

}

.modalContents::-webkit-scrollbar {  /* Chrome, Safari 対応 */
    display:none;
}

.modalContents button{
    background-color:white;
    color:rgb(0, 0, 0);
    width:50px;
    margin:0px;
    padding-left:0px;
    padding-right:0px;
    border: 2px solid;  
}

#archives{
    width:200px;
}
#archives_top{
    width:200px;
}


.modalContents h3{
    text-align: left;
    margin-top: 40px;
}

.modalContents hr{
    background: #000000;
    width:100%;
    margin: 8px 0px;
}

.modalContents pre{
    text-align: left;
    margin:auto;
    padding:20px 10px;
    font-size:16px;
    line-height: 28px;
    white-space: pre-wrap;
    max-width: 1000px;
}

.modalName_contactus dl{
    margin-right:auto;
    text-align:left;
}

#modal_schedule hr{
    width: 100%;
    margin: 4Spx auto;
}
  
.closeModal {
    position: fixed;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    color: #fff;
    font-size:20px;
}

.modalName_news{
    height: 100%;
}

button {
    background-color: #fff;
    margin:40px auto;
    padding:12px;
    font-size: 16px;
    font-weight: bold;
    line-height: 180%;
    text-align: center;
    text-decoration: none;
    display: block;
    position:relative;
    border: 1px solid;    
    -webkit-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
    -moz-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
    box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
}

button:hover{
    opacity:0.7;
}

.button_line{
    height : 93px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* ========== delighter ========== */

.delighterAlpha.delighter{
    transition: all 1.5s ease-out;
    opacity: 0;
}
.delighterAlpha.delighter.started{
    opacity: 1;
}


.delighterX.delighter {
    transition: all 0.5s ease-out;
    transform: translateX(-20%);
    opacity: 0;
 }
 .delighterX.delighter.started {
    transform: none;
    opacity: 1;
 }
 .delighterY.delighter {
    transition: all 0.5s ease-out;
    transform: translateY(20%);
    opacity: 0;
 }
 .delighterY.delighter.started {
    transform: none;
    opacity: 1;
 }

 .delighterY2.delighter {
    transition: all 0.8s ease-out;
    transform: translateY(20%);
    opacity: 0;
 }
 .delighterY2.delighter.started {
    transform: none;
    opacity: 1;
 }

 .delighterY3.delighter {
    transition: all 1.1s ease-out;
    transform: translateY(20%);
    opacity: 0;
 }
 .delighterY3.delighter.started {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 1240px) {
    .banner_img{
        width:40%;
    }
    .banner .description{
        width:60%;
        font-size: 0.6em;
    }
}

/****** iPad系タブレット ******/
@media screen and (max-width: 780px) {

    .contents h1{
        padding-left: 3%;
    }
    .card{
        width:95%;
    }
    .games{
        width:95%;
    }
    .banner{
        width:95%;
    }
    .banner .description{
        padding:15px;
    }
    .board{
        width:95%;
    }
    .contact{
        width:95%;
    }

    .newslist blockquote{
        clear: both;
    }
}

/***** iPhone X, 8,7,6系 *****/
@media screen and (max-width: 650px) {
    h1{
        font-size:0.9em;
        height:20px;
        line-height: 20px;
        padding-top:12px;
    }
    hr {
        height:2px;
        margin-top:24px;
        margin-bottom:24px;
    }
    h1:first-letter{
        font-size:1.5em;
    }

    .section{
        margin-top:60px;
    }
    .title{
        padding-top:0px;
        height:500px;
    }
    .title p{
        font-size:0.9em;
    }
    .title p br{
        display:inline;
    }
    .title img{
        width:80%;
        margin:50px auto;
    }
    .card {
        font-size:0.8em;
    }
    .card dt{
        padding-top:20px;
        padding-bottom:20px;
    }
    .card dd{
        padding:20px 10px;
    }
    .card dd p{
        text-align:left;
        letter-spacing: 1px;
    }
    .card dd p br{
        display:none;
    }

    .games{
        width:98%;
    }
    .contents dl{
        width:45%;
        margin: 8px 2px;
    }
    .contents dd{
        padding:5px;
    }

    .banner{
        margin-top:80px;
        height:auto;
    }
    .banner_img{
        width:100%;
        height:160px;
        float: none;
        margin:auto;
    }

    .banner .description{
        width:100%;
        float: none;
        margin:auto;
    }




    .board{
        font-size:0.8em;
        padding-bottom: 30px;
    }
    .board h1{
        padding-left:5%;
    }
    table {
        width:90%;
    }
    th{
        padding-top:10px;
        line-height: 24px;
    }
    td{
        padding-top:10px;
        line-height: 24px;
    }

    .contact h1{
        padding-left:5%;
    }
    .contact dl{
        width:90%;
    }
    .contact input,textarea{
        width:100%;
        padding:0px;
        margin:0px;
    }
}

@media screen and (max-width: 400px) {
    h1 br{
        display: inline;
    }
    .bg{
    background: url("../img/yt_sp_bg_01.png") center no-repeat;
    }
}

/***** iPhone 5,SE *****/
@media screen and (max-width: 320px) {
    .contents dl{
        width:100%;
    }
    .contents dd{
        padding:20px;
    }
    table {
        font-size:0.7em;
    }
}