@charset "UTF-8";
/* CSS Document */
body {
	font-family:  "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	word-wrap : break-word;
  	overflow-wrap : break-word;
	-webkit-text-size-adjust: 100%;	
	line-height: 1.5;
    
     min-height: 100vh;
    position: relative;/*←相対位置*/
    
    padding-bottom: 150px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}
img {
	max-width: 100%;
	height: auto;
}
.align-left { text-align: left;}
.align-center{ text-align: center;}
.align-right{ text-align: right;}

.f_left { float:left; }
.f_right { float: right; }
.clear { clear: both; }

.att,
.list_att li{
	padding-left: 1em;
	text-indent: -1em;
	font-feature-settings :normal;
}
small { font-size: 0.85em; }
strong { font-weight: bold; }
.pc_only { display:block;}
.sp_only { display: none; }

.pc_only { display:block ; }
.sp_only { display: none !important; }

a {outline: none;}
.bold { font-weight: bold;}
.youtube {
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.youtube  iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}

.inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 95%;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.flex2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col-10 { width: 7.5%; }
.col-20 { width: 17.5%; }
.col-25 { width: 23.5%; }
.col-30 { width: 27.5%; }
.col-33 { width: 30.5%; }
.col-40 { width: 37.5%; }
.col-45 { width: 42.5%; }
.col-50 { width: 47.5%; }
.col-60 { width: 57.5%; }
.col-70 { width: 67.5%; }
.col-80 { width: 77.5%; }
.col-90 { width:87.5%; }
.col-100 { width:100%; }

[class^="col-"]{
		margin-bottom: 30px;
	}



/*グローバルナビ*/
#head_logo {
    max-width: 120px;
    margin: 10px 0;
    width: 20%;
}
header .flex {
    align-items: flex-end;
}
nav.spNav { display: none; }
#g_nav {
    width: 80%;
}
#g_nav ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}
#g_nav ul li {
     text-align:center;
    position: relative;
    
}
#g_nav ul li a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0 10px;
    text-align: left;
}
#g_nav ul li a:hover {
    color: #588FFF;
}
#g_nav ul li.current a {
    color: #003CB4;
}

#g_nav ul li ul {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 0;
	z-index: 99999;
	display: block;
}

#g_nav ul li ul li {
	width: 100%;
	display: block;
	padding: 0;
	overflow: hidden;
	max-height: 0;
	transition: 0.3s;
	opacity: 0;
}

#g_nav ul li:hover ul li {
	max-height: 6em;
	overflow:visible; 
	background: rgba(0,0,0,0.70);
	
	border-top: 1px solid #ccc;
	opacity: 1;
    
   
}
#g_nav ul li ul li a {
    padding: 5px 0 ;
    display: inline-block;
    font-size: 0.9em;
}

/* メイン */
/*子ページトップ部分*/
.top-content{
    display:flex;
    width:100%;
    background:#ccc;
    overflow:hidden;
    margin-bottom: 50px;
}

.top-content__text{
    flex:0 0 55%;
    padding:0 2vw 30px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
    
}


.top-content__text h1{
    margin:0 0 20px;
    font-size:clamp(24px,2.1vw,36px);
    line-height:1.2;
}

.top-content__text p{
    margin:0;
    font-size:clamp(16px,1.2vw,21px);
    line-height:1.5;
}

p.top-content__en{
    margin:0 0 25px;
    font-size:clamp(30px,3vw,40px) !important;
    font-weight:700;
    line-height:1;
    letter-spacing:.05em;
    color:rgba(255,255,255,.35);
   
}


.top-image{
    flex:1;
}

.top-image picture,
.top-image img{
    display:block;
    width:100%;
    height:100%;
}

.top-image img{
    object-fit:cover;
}
/* 1280px以上 */

@media (min-width:1280px){

.top-content__text{
    padding:0 5vw 30px 10vw;
}
}
@media (min-width:1600px){

.top-content__text{
    padding:0 5vw 30px 15vw;
}
}
@media (max-width:768px){

.top-content{
    display:block;
}

    .top-content__text {
        padding-bottom: 30px;
    }
    .top-content__text br {
        display: none;
    }
p.top-content__en{
    margin-bottom:20px;
    font-size:clamp(30px,8vw,50px) !important;
}


.top-image img{
    width:100%;
    height:auto;
}

}

/**/



main p {
    margin-bottom: 1em;
}

.lead {
    text-align: center;
    line-height: 1.7;
    margin-bottom: 40px;
}
.lead h2 {
    text-align: center;
    font-size: clamp(21px, 3vw, 32px);
}
.lead p {
    font-size: clamp(16px, 1.6vw, 21px);
}

.lead2 {
    margin-bottom: 40px;
}
.lead2 p {
    font-size:clamp(16px,1.2vw,18px);
}

main h2.h2_a {
     font-size: clamp(21px, 3vw, 28px);
    margin-bottom: 10px;
}

/*------------TOPページ--------------*/
#home-top-content picture >* {
    width: 100%;
    display: block;
}
#home-top-content {
    margin-bottom: 30px;
}

#top .item {
    padding: 20px;
    border: 3px #deaf41 solid;
    margin-bottom: 30px;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;
    outline: 0px solid #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


#top .item.item1 { border-color: #deaf41; } 
#top .item.item2 { border-color: #009ee5; } 
#top .item.item3 { border-color: #62ab6b; } 
#top .item.item4 { border-color: #c41a70; } 

#top .item .image {
    width: 70%;
     margin: 0 auto;
}
#top .item .image img {
    display: block;
    margin: 0 auto;
}
#top .item .text {
    width: 100%;
    line-height: 1.7;
}
#top .item .text h2 {
    font-size: 21px;
    margin: 15px 0;
    text-align: center;
}

#top .item.item1:hover {
     outline: 4px solid #deaf41;
    transition: .2s;
    
}
#top .item.item2:hover {
     outline: 4px solid #009ee5;
    transition: .2s;
    
}
#top .item.item3:hover {
     outline: 4px solid #62ab6b;
    transition: .2s;
    
}
#top .item.item4:hover {
     outline: 4px solid #c41a70;
    transition: .2s; 
}


#top .sub {
    margin: 50px 0;
}
#top .sub >*{
    display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#top .sub .col-100 {
    margin: 0;
}
#top .sub1 {
    border-top: solid 2px #777;
    border-bottom: solid 2px #777;
    padding: 10px 10px 20px;
    margin-bottom: 20px;
}

#top .sub1 h3 {
    color: #fff;
    display: inline-block;
    padding: 10px;
    text-align: center;
    background-color: #777;
    margin-bottom: 10px;
    font-size: 18px;
}
#top .sub1 a {
    font-weight: bold;
    color: #008BDA;
    font-size: 18px;
    text-decoration: none;
}
#top .sub2 {
    border: solid 2px #009ee5;
    text-align: center;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap: wrap;
    flex-direction:row;
}

#top .sub2 h3 {
    color: #009ee5;
    font-size: 21px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    text-align: center;
}
#top .sub2 figure {
    width: 47%
}
#top .sub2 img {
    display: block;
    width: 60%;
    margin: 0 auto;
}

#top .goods {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#top .goods h3 {
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    background-color: #777;
    margin-bottom: 10px;
    font-size: 18px;
    
}
#top .goods figure {
    width: 16%;
    text-align: center;
    font-size: 14px;
}
#top .goods figure img {
    display: block;
    margin: 10px auto;
}
@media (max-width:768px){
    #top .item {
        width: 100%;
        display: flex;
    }
    #top .item .image {
    width: 60%;
    }
    #top .item h2 {
        font-size: 18px;
    }
    #top .item .text {
        line-height: 1.7;
        margin: 0;
    }
    #top .sub1,
    #top .sub2 {
        width: 100%;
    }
}
/*------------商品ページ--------------*/

.product {
    margin: 0px auto 60px;
}
.box {
    padding:15px 20px 20px;
    border: 2px #deaf41 solid;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    box-sizing: border-box;
}
.box p:last-of-type {
    margin: 0;
}
.col-50.box　{
    padding: 10px 10px 20px;
}
.box h3 {
    font-size: 21px;
    margin: 20px 0 10px;
}

.box .image img {
    display: block;
    margin: 0 auto;
}
.col-50.box h3 {
    font-size: 18px;
    margin: 10px 0 10px;
}

h4.h4-right {
    width: 100%;
    text-align: center;
    margin: 30px 0 10px;
    font-size: 18px;
}
@media (max-width:768px){
    .box {
        width: 85% !important;
        margin: 0 auto 30px;
    }
    .box h3 {
    font-size: 18px;
    margin: 10px 0 10px;
}
    .box .image img {
        display: block;
        margin: 0 auto 20px;
    }
}

/*ポスターページ*/

#poster .top-content {
    background:#ddaa59;
}

#poster #top-image {
    background-color: #64a5dd;
}


#poster .box .image { width: 25%;}
#poster .box .image img {
    max-width: 400px;
    width: 100%;
}
#poster .box .text {width: 70%;}

#poster .right1 {
    margin: -130px 0 30px;
    text-align:center;
}
#poster .right2 {
    text-align: center;
    margin: 30px 0;
}
#poster .right2 h3 {
     font-size: 21px;
    margin: 40px 6% 20px 0;
}
@media (max-width:768px){
    #poster .right1 {
        margin: 0px 0 30px;
    }
    #poster .col-20 img {
        max-width: 300px;
        width: 60%;
    }
    
    #poster .col-20 img.right3 {
        max-width: 400px;
        width: 85%;
    }
    
    #poster .box .image img {
   
    max-width: 400px;
    width: 50%;
}

    
}

/*英語教材ページ*/
#english .top-content {
    background-color: #7cb2e1;
}
#english .box {
    padding: 10px;
}
#english .box .image { width: 37%;}
#english .box .image img {
    max-width: 300px;
    width: 100%;
}
#english .box .text {width: 60%;}

#english .col-30 h3 {
    font-size: 18px;
    text-align: center;
    color: #c73a2d;
    border:solid 2px;
    border-radius: 20px;
    margin-bottom: 30px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

#english .col-30 img {
    display: block;
    margin:0 auto 20px;
}
  

@media (max-width:768px){
    #english .box .image img {
        width: 50%;
    }
    #english .col-30 .col-50 {
        width: 49%;
        margin: 0;
    }

}

/*日本語学習ページ*/
#japanese .top-content {
    background:#81bc89;
}
#japanese .box .image { width: 16%;}
#japanese .box .image img {
    max-width: 400px;
    width: 100%;
}
#japanese .box .text {width: 80%;}

#japanese .col-50.box .image { width: 25%;}
#japanese .col-50.box .text { width: 72%;}

#japanese .col-30 ul {
    margin-bottom: 40px;
}
#japanese .col-30 li {
    text-align: center;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    list-style: none;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #00984b;
}
#japanese .box {
    border-color: #62ab6b;
}

#japanese  .col-30 h3 {
    font-size: 18px;
    text-align: center;
    color: #C55100;
    border:solid 2px;
    border-radius: 20px;
    margin-bottom: 30px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
@media (max-width:768px){
    #japanese .box .image img {
    width: 45%;
}
    
    #japanese .col-30 img {
        max-width: 500px;
        width: 80%;
        display: block;
        margin: 0 auto;
    }
}

/*塗り絵ページ*/

#nurie .top-content  {
    background-color: #e086b3;
}
#nurie .box {
    border-color: #FFC8F2 !important;
}
#nurie .box .image { width: 17%;}
#nurie .box .image img {
    max-width: 300px;
    width: 100%;
}
#nurie .box .text {width: 78%;}

#nurie .box.box-l .image {width: 20%;}
#nurie .box.box-l .text {width: 75%;}

#nurie .right1 {
    margin: -130px 0 30px;
    text-align:center;
}
#nurie .right2 {
    text-align: center;
    margin: 30px 0;
}
#nurie .right2 h3 {
    font-size: 18px;
    text-align: center;
    color: #c41a70;
    border:solid 2px;
    border-radius: 20px;
    margin-bottom: 30px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
#nurie .gallery {
   background: url("../img/nurie/art-back.jpg");
    background-size: cover;
    padding: 30px 5%;
}
#nurie .gallery h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #555;
}
#nurie .gallery figure {
    text-align: center;
    font-size: 14px;
}
@media (max-width:768px){
    
    #nurie .box .image img {
    width: 50%;    
    }
    
    #nurie .col-30 img {
        max-width: 500px;
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    #nurie .gallery figure img {
        width: 70%;
    }
}

/*------------会社ページ--------------*/
#c-top {
    background-color: #333;
    padding: 20px;
    margin-bottom: 40px;
    color: #fff;
    
}
#c-top h1 {
    margin: 0 auto;
    max-width: 1080px;
    font-size: clamp(24px, 4.6vw, 30px);
    font-weight: normal;
}
#company h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    margin: 40px 0 10px;
    border-bottom: 2px solid #ccc;
}
#company h3 {
    font-size: 18px;
    margin-top: 1em;
}
.privacy ol {
    list-style: none;
  counter-reset: num;
     padding-left: 0;
}
.privacy ol li {
   counter-increment: num;
  display: flex;
  align-items: flex-start;
}
.privacy ol li::before {
  content: "（" counter(num) "）";
  width: 3em;      /* 数字エリア固定 */
  flex-shrink: 0;
}
/*フッター*/

footer {
    background-color: #ccc;
    padding: 20px 0 10px;
    margin-top: 200px;
    width: 100%;
    
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
}
#footer-nav {
    display: flex;
    justify-content: space-around;
    margin:0 auto 10px;
    max-width: 800px !important;
    list-style: none;
}
#footer-nav a {
    text-decoration: none;
    color: #000;
}
footer small {
    text-align: center;
    display: block;
    padding: 5px;
}


/*------------- -------------*/

@media all and (max-width:768px){ 
    .pc_only { display:none !important; }
	.sp_only { display: block !important; }
    
    .flex [class^="col-"]
	{
		width: 100%;
		margin: 0 auto 30px;
	}
    #head_logo {
        width: 120px;
    }
    /*ナビメニューのスタイルを指定*/
	nav.spNav {
		z-index: 2; /*重ね順を変更*/
		background: #fff;/*背景を白にする*/
		color: #000; /*文字色を黒にする*/
		text-align: center; /*テキストを中央揃え*/
		width: 100%; /*全幅表示*/
		transition: all 0.6s; /*アニメーションの時間を指定*/
		display: block;
		max-height: 0;
		overflow: hidden;
        margin-bottom: 20px;
	}

	nav.spNav ul{
		background: #fff; 
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}

	nav.spNav ul li{
		list-style-type: none;
		padding: 0;
		width: 100%;
		border-top: 1px solid #bbb;
	}
	nav.spNav ul li:last-child {
		border-bottom: 1px solid #bbb;
	}

	nav.spNav ul li a {
		display: block;
		color: #000;
		text-decoration: none;
		padding: 10px 0;
	}
	nav.spNav ul li span.directory {
		display: block;
		background-color: #4970B7;
		color: #fff;
	}
	nav.spNav ul li ul {
		width: 90%;
		margin: 10px auto 20px;
		border-left: solid 1px #bbb;
		border-right: solid 1px #bbb;
	}
	
	header .inner {
		position: relative;
	}
	/*トグルボタンが押されたときに付与するクラス*/
	nav.spNav.active{
		max-height: 750px;
	}

	/*トグルボタンのスタイルを指定*/
    header {
        position: relative;
    }
    
	.Toggle {
		display: block;
		width: 42px;
		height: 42px;
		cursor: pointer;
		z-index: 3;
		border: 1px solid #999;
		background-color:  #fff;
		border-radius: 5px;
		position: absolute;
		margin: 10px;
        float: right;
        
        top: 0px;
        right: 20px;
	}

	.Toggle span {
		display: block;
		position: absolute;
		width: 30px;
		border-bottom: solid 3px #000;
		-webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
		-moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
		transition: .35s ease-in-out;			/*変化の速度を指定*/
		left: 6px;
	}

	.Toggle span:nth-child(1) {
		top: 9px;
	}

	.Toggle span:nth-child(2) {
		top: 18px;
	}

	.Toggle span:nth-child(3) {
		top: 27px;
	}

	/* 最初のspanをマイナス45度に */
	.Toggle.active span:nth-child(1) {
		top: 18px;
		left: 6px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* 2番目と3番目のspanを45度に */
	.Toggle.active span:nth-child(2),
	.Toggle.active span:nth-child(3) {
		top: 18px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
    /*メイン*/
    #top-image  {
       
         background-size:cover !important;
        background-position: center;
        margin: 0 auto　30px;
    }
    /*  トップページ　　*/
    .lead {
        text-align: left;
    }
    .lead br {
        display: none;
    }

    /*  商品ページ　　*/
    
    /*ポスターページ*/ 
    #top-image img {
        position:  inherit;
    width: 80%;
    display: block;
    margin: 0 auto;
    max-width: 400px;
}
    /**/
    
    .product .flex .col-70,
    .product .flex .col-80 {
        border-bottom: 4px double #ccc;
        padding-bottom: 30px;
       
    }
   
    .box {display: block;}
    .box .image,
    .box .text {
       width: 100% !important; 
    }
    
    
    
    
    
}