@charset "utf-8";

html, body{
	width:100%;
	height:100%;
	font-family:'source-han-sans-japanese', 'sans-serif', 'ヒラギノ角ゴ Pro W3','ヒラギノ角ゴ W3', 'メイリオ', 'ＭＳ Ｐゴシック',sans-serif;
    -webkit-font-smoothing: antialiased;
}
html{overflow-y: scroll;font-size: 62.5%;}

.clearfix:after {
	content: "."; 
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {
	min-height: 1px;
}
* html .clearfix {
	height: 1px;
	/*ﾂ･*//*/
	height: auto;
	overflow: hidden;
	/**/
}

a:link {color: #040ea1;text-decoration: none;}
a:visited {color: #040ea1;text-decoration: none;}
a:hover, .btn:hover{cursor: pointer; text-decoration: underline; color: #040ea1 !important; transform: scale(1.05,1.05); transition: all .3s ease-out;}

.both{clear:both;}
.block{display: block;}
.nodisp{
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	height: 0;
}
.center{text-align: center;}
.strong{font-weight: bold;}
.attention{
    font-size: 1.0rem !important;
    color:#aa000f;
    line-height: 1.7em;
}
.caution{font-size: 1.0rem !important; padding: 5px 0 0 0;}
.red{color:#aa000f;}
.underline{text-decoration: underline;}
img{
	max-width: 100%;
	height: auto;
    display: block;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
/*	-webkit-backface-visibility: hidden;*/
}

iframe[name="google_conversion_frame"] { position: absolute; top: 0; }


/* 共通パーツ */
body{
	position: relative;
	width: 100%;
	color: #000000;
	background-color: #ffffff;
	font-size: 1.2em;
	line-height: 2.1em;
	font-weight: 500; 
	font-feature-settings: "halt" 1;
	word-wrap: break-word;
}

section{
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}


/* TMCヘッダー */
/*#tmcCommonHeader{opacity: 0; height:0;}
#tmcCommonHeader.display{opacity: 1; height:auto;}*/


#wrap{position: relative;width: 100% !important; margin:0 auto; padding:0;overflow: hidden;}
#wrap.display{transition: all 1.2s ease-out;opacity: 1;}
#main-contents{position: relative;width: 100%; margin:0 auto; padding:0;}
.contents-wrap{
	position: relative;
	margin: 0 auto;
	width: calc(100% - 40px);
}

/* BG */
.bg, .opwin .bg1{
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
    background-image: url('../img/bg.jpg');
    background-position: 50% 50%;
	background-size: auto 100%;
	background-repeat: no-repeat;
	transition: all 1.2s ease-out;
    opacity: 0;
}
#about .bg, .opwin .bg1{opacity: 1;}
.bg.bg01{background-image: url('../img/bg01.jpg');}
.bg.bg02{background-image: url('../img/bg02.jpg');}
.bg.bg03{background-image: url('../img/bg03.jpg');}

#wrap h2{
	position: relative;
    margin-bottom: 20px;
	width: 100%;
    height: 24px;
	overflow: hidden;
}
#wrap h2 img{
	position: relative;
    margin: 0 auto;
	width:auto;
    height: 24px;
}

#wrap h3{
	position: relative;
	margin: 35px auto 25px auto;
}
#wrap h3 img{
	position: relative;
    margin: 0 auto;
	width:auto;
    /*height: 35px;*/
}
#wrap h4{
	position: relative;
	margin: 0 auto 25px auto;
}
#wrap h4 img{
	position: relative;
    margin: 0 auto;
	width:auto;
    height: 36px;
}

#footer{
	position: relative;
	margin: 40px auto 0;
    padding: 35px 0 120px 0;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}
#footer .bnr_mm {
    margin:0 auto 40px auto;
    max-width: 320px;
}
#footer p.copyright{font-size: 1.0rem;}
#footer ul{
	position: relative;
	margin: 0 auto;
	display:-webkit-box;
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	width: 80%;
}
#footer ul li{position: relative;width: 38%; text-align: center;}
#footer p.sponsor{
    position: relative;
    margin: 50px auto 20px auto;
}

#share{
	position: fixed;
	width: 40px;
	bottom: 120px;
	right: -50px;
	transition: all .3s ease-out;
    z-index: 20;
}
#share h2{
	position: relative;
	width: 40px;
	height: auto;
	margin: 0 auto 10px auto;
}
#share h2 img{
	width: 33px;
	height: auto;
}
ul.snsShare{
	position: relative;
	margin: auto;
	width: 80%;
}
ul.snsShare li{width: 100%; margin-bottom: 10px;}
.dispShare{right: 0 !important;}


#btn_ticket{
	position: fixed;
	width: 140px;
	bottom:-100px;
    right: 2px;
	z-index: 98;
	transition: all .3s ease-out;
    text-align: center;
}
#btn_ticket a img{
	width: 90%;
}
.dispTicket{bottom: 20px !important;}



/* navigation */
.navigation{
	position: fixed;
	top:0;
	left: calc(100% + 20px);
	padding: 0;
	height: 100vh;
	width: calc(100% + 20px);
	overflow-y: auto;
	z-index: 1000;
	transition: all .3s ease-out;
    text-align: center;
}
.dispMenu{
	left: 0;
	background-color: #ffffff;
}
/*.navigation::before{
    position: absolute;
    right: 0;
    background-color: #110e07;
    width: 25%;
    height: 100%;
    content: '';
    display: block;
}*/

.navigation ul{
	position: relative;
	margin: 30px auto;
	width: 80%;
}
.navigation ul li{
	position: relative;
	margin: 0 auto;
	padding: 12px 0 2px 15px;
	text-align: left;
	line-height: 2em;
	border-bottom: solid 1px #110e07;
    font-size: 1.2rem;
}
/*.navigation ul li::before{
	position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    background-color: #110e07;
    bottom: -3px;
    left: -10px;
    display: block;
}*/
.navigation ul li a{text-decoration: none !important; color:#110e07 !important;}

.btn_menu{
	position: fixed;
	top:0;
	right: -35px;
	display: block;
	width: 70px;
	height: 35px;
    background-image: url('../img/menu.jpg');
	background-repeat: no-repeat;
	background-position: 0 100%;
    background-size: contain;
    z-index: 1001;
    opacity: 0;
    transition: all .3s ease-out;
}
.close{
	position: fixed;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	z-index: 1002;
    transform: translateX(35px);
    transition: all .3s ease-out;
}
.btnfix{opacity: 1;}
.close img{width: 35px; height: auto;}
.close.active{transform: translateX(0);}
.btn_win{
	position: fixed;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	z-index: 2003;
}
/*次の問題*/
.btn_next {
    margin: 0 auto;
}
.btn_next .btn_win{
	position:static;
	width: 220px;
    height: auto;
    z-index: 2010;
    margin: 20px auto;
}

.btn_next .btn_win img{
    width: 100%;
    z-index: 2010;
}


/* モーダル */
.opwin {
	position: fixed;
	top:0;
	left: 0;
	width: calc(100% + 20px);
	height: 100vh;
	text-align: center;
	z-index: 2000;
	background-color: #ffffff;
	opacity: 0;
	display: none;
	overflow-y: auto;
    transition: all .3s ease-out;
}
.close_win {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 2001;
 }
.modal {
	position: relative;
    top: 0;
    overflow: auto;
	margin: 0 auto;
	opacity: 0;
	display: none;
	text-align: left;
	z-index: 2002;
    width: calc(100% - 80px);
    transform: translateX(-10px);
    min-height: 90%;
    transition: all .3s ease-out;
}
.modal section{
	position: relative;
	margin: 0 auto;
}
.modal section div.mordalinner{
	position: relative;
	margin: 50px auto 40px auto;	
}
.modal section div.mordalinner h3{
    position: relative;
    margin: 0 auto 30px auto;
    width: calc(100% - 30px);
    font-size: 1.5rem;
    font-weight: 900;
    padding-bottom: 5px;
    border-bottom: solid 1px #000000;
    text-align: center;
}
/*
.modal section div.mordalinner h3::before,.modal section div.mordalinner h3::after{
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 100px;
    bottom: -3px;
    left: -10px;
    display: block;
}
.modal section div.mordalinner h3::after{
    right: -10px;
    left: auto;
}
*/
.modal section div.mordalinner p{
    position: relative;
    margin: 30px auto;
    padding: 20px 10px;
    width: calc(100% - 20px);
    border-top: solid 2px #000000;
    border-bottom: solid 2px #000000;
}
.modal section div.mordalinner p.noborder{
    border-top: none;
    padding: 0 10px 20px 10px;
}
.modal section div.mordalinner .mordalinnerBox{
    position: relative;
    margin: auto;
}
.modal section div.mordalinner span.sitename{
    padding: 20px 0 0 0;
    font-weight: bold;
    display: block;
}

/* youtube */
.movie{
	position: relative;
	margin:0 auto;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
}
.movie iframe{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}

.sp{ display: block; }
.pc{ display: none; }


/* ----- pc ----- */
@media screen and (min-width: 641px) {
    .tmc-site-common-block .l-wrapper, .tmc-site-common-block .site-header, .tmc-site-common-block .footer-sec-top, .tmc-site-common-block .footer-sec-bottom, .tmc-site-common-block .attention-topics-wrapper, .attention-topics-wrapper .l-wrapper, .attention-topics-wrapper .tmc-site-common-block .site-header, .tmc-site-common-block .attention-topics-wrapper .site-header, .attention-topics-wrapper .tmc-site-common-block .footer-sec-top, .tmc-site-common-block .attention-topics-wrapper .footer-sec-top, .attention-topics-wrapper .tmc-site-common-block .footer-sec-bottom, .tmc-site-common-block .attention-topics-wrapper .footer-sec-bottom, .attention-topics-wrapper .attention-topics-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .tmc-site-common-block{min-width: 1017.6px;width: 100% !important;}
		
	.sp{ display: none; }
	.pc{ display: block; }
    
    body{font-size: 1.4em;}
	
	header{min-width: 1200px;}
	
	#wrap{/*min-width: 1200px;*/overflow: auto;}

    .contents-wrap{width: 100%; max-width:960px ;}
    
    .attention{font-size: 1.2rem !important;}
    .caution{font-size: 1.2rem !important;}

    /* BG */
    .bg, .opwin .bg1{background-image: url('../img/bg_pc.jpg');
        background-size: 100%;
        background-repeat: repeat-y;}
    .bg.bg01{background-image: url('../img/bg01_pc.jpg');}
    .bg.bg02{background-image: url('../img/bg02_pc.jpg');}
    .bg.bg03{background-image: url('../img/bg03_pc.jpg');}

    #wrap h2{
        margin-bottom: 30px;
        height: 36px;
    }
    #wrap h2 img{height: 36px;}

    #wrap h3{margin: 40px auto;}
    #wrap h3 img{height: 34px;}

    #wrap h4{margin: 30px auto;}
    #wrap h4 img{margin :0 auto; height: 56px;}

    #footer{padding: 70px 0; margin-top: 100px;}
    #footer ul{width: 500px;}
    #footer ul li{width: 160px;}
    #footer p.sponsor{margin: 40px auto 35px auto;}

    #share{
        width: 65px;
        bottom: 130px;
        right: -65px;
    }
    #share h2{width: 40px;height: auto;margin: 0 auto 10px auto;}
    #share h2 img{width: 45px;height: auto;}
    ul.snsShare{width: 45px;}

    #btn_ticket{
        width: 160px;
        bottom:-150px;
    }
    #btn_ticket a img{width: 100%;}



    /* navigation */
    .navigation::before{width: 25%;}
    .navigation ul{
        margin: 80px auto 0 auto;
        width: 60%;
    }
    .navigation ul li{
        padding: 30px 0 3px 15px;
        font-size: 1.4rem;
    }
    .navigation ul li::before{
        width: 10px;
        height: 10px;
        bottom: -5px;
        left: -15px;
    }

    .btn_menu{
        right: -50px;
        width: 100px;
        height: 50px;
    }
    .close {
        width: 50px;
        height: 50px;
        transform: translateX(50px);;
    }
    .close img, .close_btn img{width: 50px; }
    .btn_win{
        right: 0;
        width: 50px;
        height: 50px;
    }
    /*次の問題*/
    .btn_next .btn_win{
        position:static;
        width: 220px;
        height: auto;
    }

    .btn_next .btn_win img{
        width: 100%;
    }
    
    /* モーダル */
    .modal {
        /*width: 960px;*/
        width: 100%;
        transform: translateX(-10px);
    }
    .modal section div.mordalinner{margin: 60px auto 40px auto;	}
    .modal section div.mordalinner h3{
        margin: 0 auto 50px auto;
        width: 800px;
        font-size: 1.8rem;
        padding-bottom: 5px;
    }
    .modal section div.mordalinner h3::before,.modal section div.mordalinner h3::after{
        width: 10px;
        height: 10px;
        bottom: -5px;
        left: -15px;
    }
    .modal section div.mordalinner h3::after{
        right: -15px;
        left: auto;
    }
    .modal section div.mordalinner p{
        margin: 50px auto;
        padding: 50px 85px;
        width: 790px;
    }
    .modal section div.mordalinner p.noborder{padding: 0 85px 50px 85px;}
    .modal section div.mordalinner .mordalinnerBox{width: 590px;}

    


}

.ftx_s {
    font-size: 80%;
}
.ftx_l {
    font-size: 120%;
}
.mt10 {
    margin-top: 10px!important;
}
.mt20 {
    margin-top: 20px!important;
}
.mt40 {
    margin-top: 40px!important;
}
.mt0 {
    margin-top: 0!important; 
}

.mt60 {
    margin-top: 60px!important;
}

.mt80 {
    margin-top: 80px!important;
}


.mb20 {
    margin-bottom: 20px!important;
}
.mb40 {
    margin-bottom: 40px!important;
}
.mb0 {
    margin-bottom: 0!important; 
}

.mb60 {
    margin-bottom: 60px!important;
}

.mb80 {
    margin-bottom: 80px!important;
}


.tc {
    text-align: center!important;
    margin-right:auto!important;
    margin-left:auto!important;
}

.tl {
    text-align: left!important; 
}