@charset "UTF-8";
/* CSS Document */


.pc{
	display:none;
}
.smp{
	display:inherit;
}
.pc-center{/* PC時のみセンタリング */
	text-align:left;
}
.smp-center{
	text-align:center;
}
.smp-left{
	text-align:left;
}

p{
    font-size: 1rem;
    line-height: 1.8rem;
}

/* レイアウト */
/* スマホ時 float無しの1列レイアウトに（初期設定） */

.flex .col-2,
.flex .col-3,
.flex .col-4,
.flex .col-5,
.flex .col-6,
.flex .col-7,
.flex .col-8,
.flex .col-9,
.flex .col-10{
	float:none;
	width:100%;
	box-sizing:border-box;
	padding:0 0.5em; 
}

.flex .smp-col-6{/* スマホ時でも2列レイアウト */
	width:50%;
	float:left;
}
.btnlink{
	margin: 3em 0;
}
.btnlink a{
	padding: .75em .5em;
	font-size: 1.3rem;
}

.contents,
.contents-narrow{
    max-width: inherit;
    min-width: inherit;
}
.categorytitle{
	width: 95%;
	box-sizing: border-box;
	transform: translateX(-2em) translateY(-2em) skewX(-4deg);
	margin-bottom: 0;
	font-size: 1rem;
}
#mainbg{
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	background:
		url("../img/smp/vis_bg01.png") no-repeat left top/100% auto,
		var(--gray) url("../img/smp/vis_bg02.png") no-repeat left bottom/100% auto;
}
header#top{
	padding:1em 0;
	padding: 0;
}
header#top nav#global{
	display: none;
}
#vis{
	height: inherit;
	overflow-x: hidden;
	position: static;
}
#vis .fig{
	width: 100%;
	height: 500px;
	position: static;
	background-position: center top;
	background-size: cover;
	overflow: hidden;
	box-sizing: border-box;
}
#vis .fig{
	margin: 0 0 50px 0;
}
#vis .lead .box1 {
    background-color: rgba(212,37,86,0.93);
}
#vis .lead{
	margin-top: -95%;
	top:50%;
	position: static;
	box-sizing: border-box;
	width: 90%;
	margin-left: 13%;
	transform: translateX(0);
}
#vis .lead .box1 h1{
	font-size: 1.9rem;
}
#vis .lead .box2{
	width: inherit;
	margin: 4rem 0 4rem -6%;
}
vis .lead .box1 h1 .txt1 {
    font-size: 0.8em;
    line-height: 0em;
}
#vis .lead .box1 h1 .txt2 {
    font-size: 0.6em;
    line-height: 0.1em;
}
#vis .lead .box1 p.powerd {
    text-align: center;
}
#vis .lead .box2 h2 {
    font-size: 1.8rem;
}
#vis_ver2 .box1 h1{
	font-size: 1.1rem;
}
#vis_ver2 .box1 h2{
	font-size: 1rem;
	line-height: 130%;
	margin-bottom: .5em;	
}
#vis_ver2 .box1 h2 .txt1{
	font-size: 0.85rem;
}
#vis_ver2 .box2 h2::before{
    left: -2.5em;
	top: -2em;
}

#vis_ver2 .box2 h2::after{
    right: -3em;
	bottom: -2em;
}
#access {
    padding: 2em 0.5em 5em 0.5em;
}
#access::before{
	display: none;
}
#access h2 {
    font-size: 1.4rem;
}
#access h2.larger{
	line-height:170%;
    font-size: 1.4rem;
}
#access h2.larger::before{
	content: none;
}

#point .categorytitle{
	transform: translateX(-2em) translateY(-2em) skewX(-4deg);
}
#message {
    padding: 0 0.5rem 5em 0.5rem;
}
#message p{
	font-size: 0.9rem;
	line-height: 1.6em;
}
#message .fig {
    top: -7rem;
    right: -0;
    width: 80%;
}
#message .flex{
	flex-direction: column;
}
#message .flex .txt{
	width: inherit;
	padding: .5em;
}
#message .flex .teacher{
	width: inherit;
}
#message .flex .teacher figure {
    transform: translateY(4em);
    text-align: right;
    margin-top: -7rem;
}
#message .flex .teacher figure img{
	width: 32%;
}
#point {
    margin-bottom: 0;
}
#point .flex{
	flex-direction: column;
	gap:1em;
	padding-bottom: 2em;
}
#point .flex .item{
	width: inherit;
}
#point .flex .item:nth-child(2) {
    padding-bottom: 2em;
    margin-bottom: 1em;
}
#point .flex .item h3{
	position: relative;
	text-align: center;
	        font-size: 1em;
        line-height: 1.5em;
}
#point .flex .item h3::before {
   text-align: center;
        width: 80px;
        display: block;
        justify-content: center;
        margin: 0em auto 2em;
        position: absolute;
        top: -4.8em;
        left: 35%;
}
#point .flex .item p {
    font-size: 0.9rem;
    line-height: 1.7rem;
}
#curricurum {
    padding: 2em 0.5em 5em 0.5em;
}
#curricurum .steps {
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 0 0 0 .5rem;
}
#curricurum .steps .step{
	flex-direction: column;
	padding: .5em 0em;
	gap:1em;
}
#curricurum .steps .step:last-child{
	margin-bottom: 0rem;
}

#curricurum .steps .step h3{
	margin-bottom: 0;
	position: relative;
}
#curricurum .steps .step h3::after{
	content: "";
	border-left: 4px dashed var(--keycolor);
	display: block;
	min-height: calc( 440px + .5em + 12px );
	width: 5px;
	position: absolute;
	top: calc( .5em + 10px );
    left: 25px;
    z-index: -1;
}
#curricurum .steps .step h3::before{
        position: absolute;
        text-indent: 0px;
       left: 4em;
        top: 0em;
        color: var(--keycolor);
}
#curricurum .steps .step:nth-child(1) h3::before{
		content: "どんなゲームにしよう？";
}
#curricurum .steps .step:nth-child(2) h3::before{
		content: "ルールとしくみ";
}
#curricurum .steps .step:nth-child(3) h3::before{
		content: "形にしてみよう！";
}
#curricurum .steps .step:nth-child(4) h3::before{
		content: "失敗はナイス　チャレンジ！";
}
#curricurum .steps .step:nth-child(5) h3::before{
		content: "完成！がんばったね！";
}

#curricurum .steps .step .caption1::before{
	content: "";
	display: inline-block;
        width: 5em;
	height: 5em;
        right: 0em;
        top: 0em;
        position: absolute;
	z-index: -1;
}
#curricurum .steps .step:nth-child(1) .caption1::before{
	background: url("../img/step_pt01.jpg") no-repeat 0 0 / contain;
    }
#curricurum .steps .step:nth-child(2) .caption1::before{
	background: url("../img/bg_step01.png") no-repeat 0 0 / contain;
    }
#curricurum .steps .step:nth-child(3) .caption1::before{
	background: url("../img/step_pt02.jpg") no-repeat 0 0 / contain;
    }
#curricurum .steps .step:nth-child(4) .caption1::before{
	background: url("../img/bg_step02.png") no-repeat 0 0 / contain;
    }
#curricurum .steps .step:nth-child(5) .caption1::before{
	background: url("../img/bg_step03.png") no-repeat 0 0 / contain;
    }
#curricurum .steps .step h3,
#curricurum .steps .step .caption1,
#curricurum .steps .step ul.caption2{
	width: inherit;
}
#curricurum .steps .step h3,
#curricurum .steps .step .caption1{
	padding-left: 2.2em;
}
#curricurum .steps .step h3{
	margin-top: 0;
	height: 5rem;
	        font-size: 1.1em;
        width: 9em;
}      
#curricurum .steps .step h4 {
    font-size: 1em;
    margin: .5em 0;
	display: none;
}
#curricurum .steps .step ul.caption2{
	margin-top: 0em;
    padding: 1.2em 1.4em;
    margin-left: 2.2em;
	background-color: rgba(217, 24, 102, 0.05);
}
#curricurum .steps .step ul.caption2 li {
    font-size: 0.8em;
    line-height: 1.4em;
}
#curricurum .steps .step ul.caption2::before{
  content: "";
  position: absolute;
  top: -13px;
  left: calc( 50% - 14px );
  margin-top: -14px;
  border: 14px solid transparent;
  border-bottom: 14px solid #fff;
  z-index: 2;
}
#curricurum .steps .step ul.caption2::after {
  content: "";
  position: absolute;
  top: -14px;
  left: calc( 50% - 14px );
  margin-top: -14px;
  border: 14px solid transparent;
  border-bottom: 14px solid var(--keycolor);
  z-index: 1;
}
#curricurum .steps .step p{
	margin:  0;
}

.samplegame{
	margin: 4em auto 0;
	border: 4px solid var(--keycolor);
	background-color: rgba(217,24,102,0.05);
	border-radius: 8px;
	padding: 1em 0.5em;
}

#classroom .caption h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
#classroom p{
	margin: 0.5rem 0;
}
#infomation table th {
    background-color: #f8f7f4cf;
        display: block;
        font-size: 0.9em;
        padding: 0 0.5em;
        text-align: left;
	color: var(--blue);
}
#infomation table td {
            background-color: #F5F5F5;
        display: block;
        font-size: 0.85em;
        padding: 0 .5em .5em .5em;
        line-height: 1.5em;

}
#infomation table ul{
	padding-left: 2em;
}
#infomation table li::marker{
	color: var(--blue);
}
#faq .question {
        font-size: 1rem;
        padding: .9rem .5rem .9rem 3rem;
        margin: 0 1rem;
        line-height: 1.8em;
}

#faq .question::before {
    content: "Q";
    padding-right: 0rem;
    left: 1rem;
    font-size: 1.5rem;
}
#faq .answer {
    font-size: 0.9rem;
    font-weight: normal;
    width: inherit;
    margin: 0 auto;
    padding: 1rem 1.4rem 2rem 4rem;
    position: relative;
    line-height: 1.5em;
}
#faq .answer::before {
    font-size: 1.5rem;
	left: 2.3rem;
}
#faq .qabox:last-child{
	margin-bottom: 3rem;
}
footer{
	padding-bottom: 2.5em;
}
.btn-contact{ 
	background-color: #00B900;
	text-align: center;
	padding: 0.4rem ;
	width: 100%;
}
.btn-contact a{
	color: #ffffff;
	text-decoration: none;
}


.applicationform table{
	width: 100%;
}
.applicationform table th,
.applicationform table td{
	display: block;
}

.drawr {
    display: none;
    background-color:rgba(0,0,0,0.6);
    position: absolute;
    top: 0px;
    right:0;
    width:260px;
    padding:60px 0 20px 20px;
    z-index: 100;
}
.drawr li {
    width:260px;
}
.drawr li a {
    color:#fff;
    display: block;
    padding: 15px;
}
