/*
Theme Name:karinoshogi
Theme URI: 
Version: 1.0
Author: wakizashi
Author URI: https://wakizashi.jp
License: wakizashi
*/


/*基本構成*/

:root {
 	--heroBlack:#111;
	--aboutBlack:#2a2a2a;
	--pink:#ff6b6b;
	--lightBlue:#5ac8fa;
	--mint:#a2f5c8;
	--yellow:#fccb00;
	--lessonBlack:#222222;
	--formGrey:#333;
    }


* ,
*::before,
*::after {
	margin:0;
	padding:0;
	box-sizing:inherit;
}

html {
	background:#000;
	font-size:62.5%;

	@media screen and (max-width: 1260px){
		font-size:56%;
	}
}

*{font-family:"Noto Sans JP", sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}



body{
	position:relative;
	margin:0;
	width:100%;
	height:100%;
	letter-spacing: 2px;
	background:#fff;
}

* html body{  
    overflow: hidden;  
	height: 100%;
	font-size:90%
}

/*各種基本クラス初期設定*/

.fixed{
    position: fixed;
}

.clear
{
clear:both;
}

a {  
    transition: 0.3s ease-in-out;  
}  



/* .fade {  
    transition: 0.3s ease-in-out;  
}  
.fade:hover {  
    opacity: 0.6;  
    filter: alpha(opacity=80);  
} */

.hide{
	text-indent: 100%; 
    white-space: nowrap; 
    overflow: hidden; 
	display: block;
	height:0px!important;
	padding:0px!important;
	margin:0px!important;
}

h1,h2,h3,h4,h5,h6{
	margin:0;
	padding:0;
	font-size:100%;
	font-weight:normal;

}

ul{
margin:0;
padding:0;
list-style-type:none;
line-height:160%;
}

a{
	color:#333333;
	text-decoration:none;
}



p{
    font-size: 18px;
	margin:15px 0 20px 0px;
	line-height:180%;
	letter-spacing:0px;
	text-align: justify;
}

p a{color:#00688C;}

ol{
}

ol li{
margin:10px 0px;
line-height:160%;
}

/*文字サイズ・基本装飾*/

.strong{font-weight:bold!important;}

.big{
font-size:125%!important;

}

.v_big{
font-size:150%!important;
}

.vv_big{
font-size:180%!important;
}

table .big{
color: #2968BE;
}

.blue{color:#0085B2;}

.bun{
    text-indent: 1em;
}

.mincho{
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.textright{
text-align:right!important;
}
.textcenter{
text-align:center!important;
}
.small{
font-size:85%!important;
}

.v_small{
font-size:70%!important;
}


hr{
border:none;
border-bottom:solid 1px #cccccc;
margin:50px 0px;
}


.link_box {
border: 2px solid white;
    background: var(--yellow);
    display: inline-block;
    font-weight: 600;
	color:#111;
    width: max-content;
    font-size: 1.5rem;
    /* text-align: center; */
    margin: 0 auto;
    padding: 0.5rem 2rem;
    border-radius: 8rem;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 15px;
    position: relative;
    /* min-width: 256px;*/
}
.link_box img{
position: relative;
    right: 0px;
    vertical-align: middle;
    width: 35px;
    margin-left: 10px;	
}

.link_box:hover img.card-btn_arrow{
    transform: translatex(15px);
		transition: all 0.3s ease-out;
}

/*YouTube Googlemap*/

.youtube{
    position:relative;
    width:100%;
    padding-top:56.25%;
}
.youtube iframe{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
}

.gmap{
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
	
}

.gmap iframe, .gmap object, .gmap embed{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
    width: 100% !important;
}


/*テーブル設定*/

table{
clear: both;
table-layout: fixed;
border-collapse: collapse;
margin-left:0px;
margin-top:15px;
margin-bottom:55px;
width:100%;
}


th,td{
padding: 10px 5px 10px 7px;
vertical-align: top;
color: #111111;
line-height:160%;
letter-spacing:0px;
}

th span,td span{
    font-weight: bold;
    margin: 10px 0px;
}

th p,td p{
font-size:100%;
margin:10px 0!important;
}

/*ACCORDION*/
#panel {
    width: 100%;
    margin-bottom: 30px;
}
#panel > h3 {
    border-left:none!important;
    border-bottom: solid 1px white!important;
    background-color: #00779c!important;
    color: #fff!important;
    cursor: pointer;
    padding: 10px!important;
    position: relative;
    margin: 0px auto!important;
    max-width: 96%;
    font-size: 100%!important;
    letter-spacing: 2px;
}

#panel > h3:after{
    content: "▼";
    position: absolute;
    right: 10px;
}
#panel > .active:after{
    content: "▲";
    position: absolute;
    right: 10px;
}

#panel .ac {
    padding: 10px;
    box-sizing: border-box;
}
#panel .ac p{

}



/*イメージ*/
img{
    max-width:100%; 
    border:none;
	height:auto;
}

.center{
text-align:center!important;
display: block!important;
margin: 10px auto 0!important
}


/*サイトヘッダー*/
#header{ 
    z-index: 13;
    width: 100%;
    padding: 0 1% 0;
	    box-sizing: border-box;
    position: sticky;
    top: 0;
    background-color: #000;
    display:block;
    /*box-shadow: 0 0 5px #eee;*/
	 transition: 0.3s ease-in-out;  
}


/*サイトヘッダーをオン・オフしたいとき*/
/*
#home #header {
    opacity: 0;
	position: fixed;
}

#home #header.isActive{
    opacity: 1;
    transition: all 800ms;
}

*

/*ロゴ*/

#header h1{
	flex:0 1 25%;
}

#header h1 a{
  
}

/*ヘッダーメニュー*/
.header-wrap{
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 1vw 0;
	z-index:10;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner > ul {
    display: flex;
    justify-content: flex-end;
}

.header-sns li {
    padding: 0 30px;
}

.header-sns li a {
    font-size: 13px;
}

.header-insta a {
    position: relative;
    padding-left: 30px;
}

.header-insta a::before {
    content: "";
    background-image: url(img/icon-insta.png);
    width: 23px;
    height: 23px;
    position: absolute;
    top: 0;
    left: 0;
}

.header-contact {
	background: #111;
	color:#fff;
    border-radius: 50px;
    padding: 5px 50px;
}
.header-contact a{
display:block;
	color:#fff;
}

.header-menu-item {
    padding: 1vw;
}

.header-menu-item a {
    font-size: max(1.2rem, 1.2vw);
    text-align: right;
	color:#fff;
	position:relative;
}
.header-menu-item a::before {
	  content: "";
  width: 0;
  height: 0;
  background: var(--yellow);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition:
    height 0.2s ease-out,
    width 0.2s cubic-bezier(1, 0, 0, 1) 0.2s, 
    background-color 0.1s;
}
.header-menu-item a{
	z-index:1;
	position:relative;
	color:#fff;
	transition: color 0.2s;
}
.header-menu-item a:hover {
    color: #000;
}
.header-menu-item a:hover::before {
	height:3rem;
	width:100%;
/*     background-color: var(--yellow); */
/* 	z-index:-2; */
/* 	transition: transform 0.2s, width 0.2s cubic-bezier(1, 0, 0, 1) 0.2s, background-color 0.1s, -webkit-transform 0.2s; */
}


.header-menu-item a span {
    display: block;
    font-weight: normal;
    font-size: 10px;
    color: #aaa;
}



/*ローダー*/

#loader-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #000;
    z-index: 201;
    }


#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 150px;
    margin-top: -80px;
    margin-left: -100px;
    text-align: center;
    color: #fff;
    z-index: 200;
}

#loader img{

}

.bounce {
  -webkit-animation: bounce_4933 2.5s ease infinite;
          animation: bounce_4933 2.5s ease infinite;
  transform-origin: 50% 50%;
  height:74px;
}

@-webkit-keyframes bounce_4933 {
  0% { transform:translateY(0) }
  5.55556% { transform:translateY(0) }
  11.11111% { transform:translateY(0) }
  22.22222% { transform:translateY(-15px) }
  27.77778% { transform:translateY(0) }
  33.33333% { transform:translateY(-15px) }
  44.44444% { transform:translateY(0) }
  100% { transform:translateY(0) }
height:62px;
}

@keyframes bounce_4933 {
  0% { transform:translateY(0) }
  5.55556% { transform:translateY(0) }
  11.11111% { transform:translateY(0) }
  22.22222% { transform:translateY(-15px) }
  27.77778% { transform:translateY(0) }
  33.33333% { transform:translateY(-15px) }
  44.44444% { transform:translateY(0) }
  100% { transform:translateY(0) }
height:62px;
}

.no1,.no2,.no3{
    filter: alpha(opacity=0);
    -moz-opacity:0;
    opacity:0;
}

/*トップページレイアウト*/
section.catch_area {
    position: relative;
    height: max(80rem, 95vh);
	background-color: #000000;
    background-image: linear-gradient(90deg, #777 1px, transparent 1px), linear-gradient(#777 1px, transparent 1px);
    background-position: 5rem;
    background-size: 10rem 10rem;
	padding-bottom:18rem;
	box-sizing:border-box;
}
section.catch_area picture {
    width: 80%;
    max-width: 110rem;
    position: absolute;
    right: 0;
	/*top:42%;
	transform:translateY(-50%);*/
}
.catch_area img{
border-radius:0px 0 0 20px;	
}

.catch_area span {
	color:#fff;
	display:block;
	font-size:2.5vw;
}

.catch_text {
	position:absolute;
	bottom:45%;
	left:10%;
	font-weight:600;
}
article.grid-menu {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
	width: 80%;
    margin: 9rem auto 0;
    gap: 5rem;
	max-width:90rem;
	margin:0 auto;
}
.custom-shape-divider-bottom-1750647297 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
	transform: translateY(-100%);
}

.custom-shape-divider-bottom-1750647297 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 123px;
}

.custom-shape-divider-bottom-1750647297 .shape-fill {
    fill: #2A2A2A;
}
.custom-shape-divider-top-1750646799 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
	transform: rotate(180deg) translateY(-100%);
}

.custom-shape-divider-top-1750646799 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 123px;
}

.custom-shape-divider-top-1750646799 .shape-fill {
    fill: #2A2A2A;
}
section.feature_area {
background:var(--aboutBlack);
	position:relative;
	padding-bottom:9rem;
}

section.feature_area .card {
	    background: #ccac00;
    display: flex;
    align-items: center;
    justify-content: center;
	padding:1rem 1rem 5rem;
	width:43rem;
	margin:0 auto;
}
section.feature_area h3 {
	font-size: 2rem;
    font-weight: 600;
	margin-bottom:3rem;
}
section.feature_area .card-info {
    background: #fff;
	padding-top:4rem;
	    position: relative;
    aspect-ratio: 62 / 76;
	width:100%;
	border-radius:12px;
}

section.feature_area a.card-btn {
	border:2px solid white;
    background: var(--yellow);
    display: flex;
    width: max-content;
    font-size: 1.5rem;
    /* text-align: center; */
    margin: 0 auto;
    padding: 0.5rem 2rem;
    border-radius: 8rem;
    align-items: center;
	    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
	gap:2rem;
}

h2 {
    font-size: 3rem;
    text-align: center;
    display: block;
    position: relative;
    padding: 3rem;
    font-weight: 600;
	width: max-content;
    margin: 0 auto;
}
h2.school {
    font-weight: 600;
    color: #fff;
	margin-bottom: 7rem;
}

h2.school::before {
	position:absolute;
	content:"";
	background:url(img/grey-l);
	width: 5.4rem;
    height: 5.2rem;
    left: -17%;
    background-size: cover;
}
h2.school::after {
	position:absolute;
	content:"";
	background:url(img/grey-r);
	width: 5.4rem;
    height: 5.2rem;
    right: -17%;
    background-size: cover;
}

.card-lesson h3 {
	text-align: center;
	position:relative;
	width: max-content;
    margin: 0 auto
}

.card-lesson h3::after {
	position: absolute;
    content: "";
    width: 7rem;
    height: 5px;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 7px;
}

.card:nth-child(1) h3::after {
	background:var(--pink);
}

.card:nth-child(2) h3::after {
	background:var(--lightBlue);
}
.card:nth-child(3) h3::after {
	background:var(--mint);
}
.card:nth-child(4) h3::after {
	background:var(--yellow);
}
	section.feature_area .card:hover img.card-btn_arrow{
    transform: translatex(15px);
		transition: all 0.3s ease-out;
}

a.card-btn:hover {
	opacity:1;
}
	h2 {
    font-size: 2.5rem;
    padding: 2rem;
}
	
	h2.contact::before {
    width: 4.4rem;
    height: 4.2rem;
    left: -24%;
}
h2.contact::after {
    width: 4.4rem;
    height: 4.2rem;
    right: -23%;
}
	h2.school::before,h2.instructor::before, h2.lesson::before {
    width: 4.4rem;
    height: 4.2rem;
    left: -23%;
}
	h2.school::after,h2.instructor::after, h2.lesson::after {
    width: 4.4rem;
    height: 4.2rem;
    right: -21%;
}
	
.card-lesson p {
	display: block;
    width: 70%;
        margin: 2rem auto 0;
    font-size: 1.7rem;
}
figure.card-img {
    clip-path: polygon(50% 0%, 100% 38%, 100% 100%, 0 100%, 0% 38%);
	position: absolute;
    bottom: 0;
	display: flex;
    align-items: flex-end;
}

article.instructor-box,
article.lesson-box{
    background: #fff;
    width: 90%;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 3rem;
	padding:5rem;
    box-sizing: border-box;
    margin-bottom: 5rem;
	max-width:80rem;
}

.about_area {
	background-color: #222;
    background-image: linear-gradient(90deg, #777 1px, transparent 1px), linear-gradient(#777 1px, transparent 1px);
    background-position: 5rem;
    background-size: 10rem 10rem;
	padding: 25rem 0;
}

h2.instructor::before,
h2.lesson::before{
	position:absolute;
	content:"";
	background:url(img/black-l);
	width: 5.4rem;
    height: 5.2rem;
    left: -17%;
    background-size: cover;
}
h2.instructor::after,
h2.lesson::after{
	position:absolute;
	content:"";
	background:url(img/black-r);
	width: 5.4rem;
    height: 5.2rem;
    right: -17%;
    background-size: cover;
}


h2.contact::before{
	position:absolute;
	content:"";
	background:url(img/light-l);
	width: 5.4rem;
    height: 5.2rem;
    left: -27%;
    background-size: cover;
}
h2.contact::after{
	position:absolute;
	content:"";
	background:url(img/light-r);
	width: 5.4rem;
    height: 5.2rem;
    right: -27%;
    background-size: cover;
}


.instructor-box figure{
	float:left;
	margin:3rem;
	width:20rem;
	height:20rem;
	transform: rotate(28deg);
}
  
span.instructor-name {
    font-size: 2.5rem;
    display: block;
    background: var(--yellow);
    width: max-content;
    padding: .5rem 3rem;
    border-radius: 3rem;
}

.instructor-info {
	display: flex;
    flex-direction: column;
	margin:3rem 0;
}

.instructor-wrap {
   
	width: 90%;
    margin: 0 auto;
}

span.instructor-record {
       color: #fff;
    background: #000;
    display: block;
    padding: 2rem;
    font-size: 1.5rem;
    border-radius: 1rem;
    line-height: 1.6;
    margin-top: 4rem;
}

span.instructor-message {
    font-size: 1.5rem;
	    line-height: 2;
    margin-top: 2rem;
	text-align:justify;
	letter-spacing:normal;
}

.instructor-message h4{
    background: cadetblue;
    border-radius: 5px;
    color: #fff;
    padding: 0 8px;
    width: fit-content;
    margin: 20px 0 8px;	
}

lesson-box {
	font-size:1.8rem;
}

span.lesson-note {
       display: block;
    font-size: 1.5rem;
    /* margin: 0 auto; */
    width: max-content;
    text-align: start;
}

.note-wrap {
	margin: 3rem auto 0;
    width: max-content;
}

.lesson-box table {
	width: 90%;
    margin: 4rem auto;
    font-size: 1.8rem;
}

section.contact_area {
    color: #fff;
    background: #000;
	position:relative;
}


.custom-shape-divider-bottom-1750647598 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
	transform:translateY(-100%);
}

.custom-shape-divider-bottom-1750647598 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 123px;
}

.custom-shape-divider-bottom-1750647598 .shape-fill {
    fill: #000;
}
form.wpcf7-form.init {
    background: #000;
    /* color: #fff; */
}

span.yellow_bg {
    margin-left: 2rem;
	background-color:unset;
}

th {
	 color: #fff;
}

.lesson-box table tr th {
	color:#000;
}

.lesson-box table tr th,
.lesson-box table tr td{
	padding: 5px;
}

/* ボタン */
.more-link {
    color: #333;
    font-size: 27px;
    font-weight: 600;
    border-bottom: 3px solid #333;
    margin: 100px auto;
    display: table;
    position: relative;
    padding: 0 80px 9px 0;
    line-height: 55px;
}

.more-link.--s {
    line-height: 38px;
}

.more-link::before {
    content: "" ;
    background-image: url(img/arrow2.svg);
    position: absolute;
    width: 35px;
    height: 35px;
    right: 0;
    top: 12px;
}


/* 記事一覧・1つ目と2つ目が違うサイズ */

.works_box {
    display: flex;
    gap: 75px;
}

.first_box {
    width: 40%;
}

.second_box {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    gap: 50px 30px;
}

.second_box .newpickup_box {
    width: 45%;
}

.newpickup_box .thumb img {
    border: 2px solid #333;
    width: 100%;
    object-fit: cover;
}

.first_box .newpickup_box .thumb img {
    aspect-ratio: 535 / 384;
}

.second_box .newpickup_box .thumb img {
    aspect-ratio: 32 / 23;
}

.text-block h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tags {
    text-align: left;
}

.tag-item {
    background: #333;
    color: #fff;
    border-radius: 30px;
    padding: 0 20px;
    display: inline-block;    
}

.tag-item a{
	display:inline;
	color:#fff;
}



/*トピックススライダー*/
.swiper-button-next:after, .swiper-button-prev:after {
    color: #999;
}

/*新着情報*/
.topics_area {
    padding: 120px 205px;
}

.topics_area .flex-box {
    gap: 100px;
}

.topics {
    flex-grow: 1;
}

.topics h3 {
border-bottom: 1px solid #333;
}

.topics h3 a {
    display: flex;
}

.topics .more-link {
    margin: 60px 0 0 auto;
}

#list ul{
    width:100%;
    margin:0 auto;
    padding:0;
    max-width:100%;
    display: inline-block;
}

#list li h3{
    font-size: 1.15rem;
	font-weight:bold;
    margin: 5px 0px 3px;
    width: 100%;
    line-height: 130%;
    letter-spacing: 0;
    text-align: justify;
}

#list li h3 a{
font-size: 0.9rem;
}

#list li p{
    padding: 5px 0px;
    font-size: 80%;
    margin: 0px;
    color: #888;
}


#home .topics .date{
    text-align: center;
    display: block;
    padding: 3px 0px;
    font-size: 14px;
    color: #707070;
    margin: 15px 40px 20px 0px;
}


.readmore{
display:block;
float:right;
}

.date{
    font-weight: bold;
    text-align: right;
    display: block;
    font-size: 0.75rem;
    color: #555;
}

.cat{
    color: #fff;
    padding: 5px 0px;
    font-size: 95%;
    display: inline-block;
}

#cboxTitle,#cboxCurrent {
    display: none!important;
}




/*カテゴリー用記事リスト*/

#page #list ul {
text-align:left;
}

#page #list ul li{

margin:5px;
padding: 5px;
}

#sidebar #list ul{
padding:0!important;
}
#sidebar #list ul li{
margin:5px 0px!important;
padding:5px 0px !important;
}

#page #list .thumb{
max-width:100%;
height:auto;
}

#page #list .thumb img{
    left: 0%!important;
    position: relative;
    width: 100%;
    transform: translate(-0%,-0%); 
}

.seven_box .date{
    color: #00a5d9;
}

.seven_box .cat-name{

    background: #00a5d9;
    color: #fff;
    padding: 1px 4px;
    font-size: 90%;
}


/*コンテンツ・基本レイアウト*/


#wrap{
margin: 0px auto;
min-height: 100%;
max-width: 100%;
padding: 0px 0 0px 0;
z-index: 3;
}

.cont {
margin: 0px auto 0px;
width: 100%;
padding: 10px 0px 30px;
z-index: 1;
max-width: 1260px;
}

/*見出し*/

#page h2{

}



/*固定ページ用*/

#page .cont p{

}

#main_con{

}



/*単独ページの共通設定*/
#page #main p{
    text-align: justify;
    padding: 0 5px 20px 5px;
    font-size: 1.5rem;
    line-height: 1.8;
}

#page #main h2{


}

#page #main h3{
    font-size: 2rem;
    border-bottom: 1px solid;
    padding: 12px 0;
    margin: 0 0 8px;
}



#page #main .center_h3{

}

#page #main h3 span{

}


.page_title{
}

h4{

}

h4{
}


/*サイドバー */


/*フッター*/
#footer{
	overflow:hidden;
    min-width: 100%;
	position:relative;
	bottom: 0px;
	padding:60px 0;
   background: url(img/hero.webp) no-repeat;
    background-size: cover;
	background-position:0% 56%;
}

#footer::before{
	content:"";
	position:absolute;
	width:100%;
	height:100%;
	background:#000;
	opacity:0.5;
	top:0;
}

#footer .cont{
    display:flex;
	justify-content: space-between;
    margin-bottom: 5rem;
    max-width: 80rem;
	align-items: center;
	position:inherit;
	z-index:5;
}

a.contact-btn {
    line-height: 2;
    font-weight: 600;
	background: var(--yellow);
    padding: 1.1rem 5rem 1.1rem 3rem;
    border-radius: 5.3rem;
	position:relative;
}

.ft_bottom{
color: #fff;
	    z-index: 5;
    position: inherit;
}

.foot_menu{
    text-align: left;
}

.foot_menu {
    display: flex;
    justify-content: space-between;
}

.foot_menu_list h3 {
    color: #796A56;
    font-size: 22px;
    padding-bottom: 20px;
}

.foot_menu ul li{
    padding: 7px 0;
}

.foot_menu .sns-link {
    display: flex;
    gap: 20px;
    height: fit-content;
}

.ft_bottom .footer_logo {
    width: 360px;
}

.ft_bottom .footer_info p {
    font-size: 18px;
}

.ft_bottom .footer_info address {
    font-style: normal;
}


/*固定ページメインタイトル*/

#pageheader{
    width: 100%;
    height: auto;
    padding: 150px 0 0;
    position: relative;
    z-index: 8;
	background:url(img/page_head.jpg) center no-repeat;
	background-size:cover;
}

.pageheader_cont{
    max-width: 1260px;
    margin: auto;
    height: 100%;
    position: relative;
    background: #fff;
    border-radius: 20px 20px 0 0;
}
.pageheader_cont h2 {
    padding: 50px 0;
    font-size: 3rem;
}


.pageheader_cont .left {
}

.about_head{
}

.recruit_head{
}

.contact_head{
}



/*メインコンテンツ*/
#main{
max-width: 100%;
margin:auto;
width:100%;
font-size: 100%;
z-index: 1;
padding: 5px;
vertical-align: top;
display: inline-block;
}


.post{
z-index:1;
}

.entrytext{
    margin: auto;
    width: 1000px;
    max-width: 100%;
    padding: 20px 0 80px;
    border-bottom: 1px solid;
    margin: 0 auto 50px;
}



.postnav{
    padding: 20px 0;
    position: relative;
	display: flex;
    justify-content: space-between;
}

.postnav .prev{
text-align:left;
}

.postnav .prev a,.postnav .next a{
    font-weight: bold;
    font-size: 1.4rem;
    background: #333;
    border-radius: 50px;
    color: #fff;
    padding: 1% 10%;
    display: inline-block;
    width: max-content;
}




/*カテゴリー一覧設定*/
/*トピックス専用*/
.topics_h3{
	background: none!important;
    font-size: 115%!important;
    margin: 10px 0!important;
    padding: 5px 0px!important;
    border: none!important;
}

#imagetopics{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: auto;
}

.cate_block{
width: 1000px;
    max-width: 90%;
    box-sizing: border-box;
    text-align: center;
    margin: 10px 0 20px;
    padding: 5px 10px 5px;
}


#topics{
	
}

.news_block .date{
    text-align: justify;
    color: firebrick !important;
    font-size: 1.5rem;
}

.news_block{
    background: #eee;
    margin: 12px 0;
    border-radius: 10px;
    color: #111;
    padding: 1%;
    box-sizing: border-box;	
}

.morelink{
	text-align:right;
}

.news_block h3 a{
color:#111!important;	
}

.morelink a{
    background: linear-gradient(to bottom, #333 0%, #000 100%);
    border: none !important;
	color:#fff!important;
}


.cate_left{
display: inline-block;
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    padding: 10px!important;
    height: 260px;
    overflow: hidden;
    box-sizing: border-box;
}
.cate_right{
vertical-align:top;
display:block;
box-sizing:border-box;
font-size:14px;

max-width:100%;
text-align:left;
padding:10px!important;
}
.summary {
    margin: 10px 0 15px;
    line-height: 120%;
    color: #888;
    text-align: justify;
}
.morelink a{
    border-radius: 5px;
    padding: 2px 8px;
    color: #111;
	border:1px solid #111;
    display: inline-block;
}

#sidebar #list ul li {
    margin-bottom: 5px;
    width: 98%;
    padding: 0;
    display: block;
    vertical-align: top;
    padding: 5px;
}



/*各固定ページ設定 エディタ内で利用*/



.page_box {
    width:100%;
    text-align:center;
    margin:10px auto 15px;
    display:flex;
    gap: 25px;
}

.page_table th,.page_table td {
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.page_table th {
    background-color: #eee;
}

.page #main h2{
	
	
}
/********事業紹介*************/

/********採用情報*************/

/********問合わせ*************/
.contact_table th span{
font-size:80%;
}

.contact_table tr{
	display:block;
    border-bottom: 4rem solid #000;
	height:5rem;
}

.contact_table .reb_bg{
background:#e6c550;
font-size:80%;
}
.contact_table {
  width: 100%;
max-width:850px;
margin:6rem auto 2rem;
	    display: flex;
    justify-content: center;
}

.contact_table td,
.contact_table th {
  font-size: 1.8rem;
	font-weight:bold;
text-align:left;
	padding:0;
}

.contact_table td span {
	margin:0;
	display:block;
	height:5rem;
	
}

.contact_table td input{
    font-size: 1.8rem;
    box-sizing: border-box;
	display:block;
	    border-radius: 0 3rem 3rem 0;
	height:100%;
	border:none;
	padding: 3px 13px;
}

.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}
tr.bb-unset.message-text,
.message-text td span {
	height:20rem;
}

.contact_table td .your-text:focus {
	vertical-align:above;
	
}

.contact_table td {
 
}

.contact_table th {
	background:#333;
  min-width: 190px;
  text-align: center;
  letter-spacing: 0;
	width:30%;
	border-radius: 3rem 0 0 3rem;
	vertical-align:middle;
	height:inherit;
}

.wpcf7-select{
    font-size: 1.7rem;
    margin: 8px;	
}

.privacy_link{
	color:#fff;
	border-bottom:1px solid #fff;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: block;
    background: #fff;
    color: #000;
    font-size: 1.5rem;
    padding: 1.4rem 4rem;
    width: max-content;
    border-radius: 3rem;
}

p.center-flex {
    font-size: 1.6rem;
    text-align: center;
}

footer#footer {
    font-size: 2rem;
}

footer#footer ul li a {
	color:#fff;
	    font-size: 1.5rem;
}

footer#footer ul li a:hover {  
	opacity: 0.6;
	filter: alpha(opacity=80);
}


a.footer-tel,
.ft_bottom small{
    display: block;
    width: max-content;
    margin:2rem auto;
	color:#fff;
}

.contact-btn>* {
	display:block;
	font-size: 1.4rem;
    color: #fff;
}
footer#footer .ft_bottom figure {
    width: max-content;
    margin: 0 auto;
}

a.contact-btn .contact-text {
	color:#000;
	text-align:center;
	border-radius: 2rem;
    display: block;
    padding: 0.2rem;
}

.contact-text_w {
	background:#fff;
	color:#000;
	width:100%;
	display:block;
	text-align:center;
	border-radius:2rem;
}

.contact-btn .card-btn_arrow {
	position:absolute;
	right:5%;
	bottom:50%;
	width:2.8rem;
	transform:translate(0,50%);
	transition:all .2s ease-in;
}

.contact-btn:hover .card-btn_arrow {
	    transform: translate(5px,50%);

}

@media screen and (max-width: 768px){
	.instructor-wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
}
/********会社概要*************/

.gaiyou,.enkaku {
    margin: 40px 0 80px;
    letter-spacing: 0;
    font-size: 100%;
}

.gaiyou th , .gaiyou td{
text-align:left;
font-weight:bold;
border-bottom:1px solid #111;
padding: 25px 8px 25px 8px;
}

.gaiyou th a, .gaiyou td a{
padding-bottom:5px;
border-bottom:1px solid #111;
}

.gaiyou th{
min-width:70px;
text-align: left;
}
.gaiyou td{
}

.enkaku th,.enkaku td{
padding:1%;
	font-weight:bold;
text-align:left;
border-bottom:1px solid #111;
}
.enkaku td{}
.enkaku th {
    min-width: 130px;
}

.aisatsu{
	
	
}


/*ワードプレス仕様補足スタイル*/
.edit a{
	font-size:12px;
	background:#007fff;
	color:#fff;
	padding:1px 3px;
	margin-left:20px;
	text-decoration:none;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}

.gallery{
	clear:both;
}

.gallery img {
    border: none!important;
    padding: 5px;
    box-sizing: border-box;
}

/* ここからがIE8以下透過PNG適用のためのCSS */  
    html>body .sampleBox {  
        background-image: url(img/bg.gif);  
    }  
    * html .sampleBox {  
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg.gif', sizingMethod='scale');  
    }

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: aquamarine;
    color: #111;
    letter-spacing: normal;
    font-size: 1.4rem;
    text-align: center;
    max-width: 400px;
    margin: 15px auto 40px;
    width: 90%;
}

/* お問い合わせフォーム調整 */
.wpcf7-form {
    padding: 20px 0;
    margin-top: -50px;
    border-radius: 0;
}    /*ボックスを角丸に指定*/
 
.wpcf7-form span.hissu  {
color: #aa0000; /*必須の文字色指定*/
font-size: smaller} /*文字サイズを一回り小さく*/
 
.wpcf7-form input   {width: 100%;
}    /*入力フィールド幅*/
 
.wpcf7-form textarea    {width:80%; height:150px;}   /*テキストエリア幅*/
 
.wpcf7-form p.submit    {text-align: left}    /*送信ボタンの場所*/
 
.wpcf7-form .wpcf7-submit   {
width: 30%;
    background: #111;
    color: #fff;
    font-size: 1.3rem;
    border: none;
    display: block;
    margin: auto;
}/*送信ボタンの横幅指定*/

/*　ロールアップ　*/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 77%;
	z-index:100;
}
#page-top a {
background: url(img/up.webp) no-repeat;
text-decoration: none;
color: #fff;
width: 41px;
height: 44px;
text-indent: -99999px;
display: block;
	background-size:cover;
}

#page-top a:hover {
width: 45x;
margin-bottom: 0px;
height: 45px;
}


/*　スマイルアイコン非表示　*/
img#wpstats{
    position:absolute;
    width:0px;
    height:0px;
    padding:0px;
    border:none;
    overflow:hidden;
}


/*タブ*/

.cp_tab *, .cp_tab *:before, .cp_tab *:after {
	box-sizing: border-box;
}
.cp_tab {
	margin: 1em auto;
}
.cp_tab > input[type='radio'] {
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	outline: none;
	background: none;
	-webkit-appearance: none;
	        -moz-appearance: none;
	     appearance: none;
	display: none;
}
.cp_tab .cp_tabpanel {
	display:none;
	width: 100%;
	opacity: 0;
	padding: 0.5em 1em;
	transform: translateY(-10px);
	transition: transform 1.5s, opacity 1.5s;
}
.cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child,
.cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2),
.cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3),
.cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4),
.cp_tab > input:nth-child(9):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(5),
.cp_tab > input:nth-child(11):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(6) {
display:block;
opacity: 1;
background: rgb(255,255,255,0.9);
color: #333;
    box-sizing: border-box;
    padding: 4%;
}
.cp_tab > label {
	position: relative;
	display: inline-block;
	padding: 15px 20px;
	cursor: pointer;
	border: 1px solid transparent;
	border-bottom: 0;
background: rgb(200,200,200,0.87);
    color: #fff;
}
.cp_tab > label:hover,
.cp_tab > input:focus + label {
	color: #0066cc;
}
.cp_tab > input:checked + label {
	margin-bottom: 6px;
font-weight:bold;
background:rgb(255,255,255,0.9);
color:#333;
}
.cp_tab .cp_tabpanel {
	padding: 20px 0px;
	border-top: 1px solid #cccccc;
}

div.wpcf7 {
margin: 0;
padding: 50px 0 0 0px!important;
}

/* ----- The Pretty Stuff ----- */

* {outline: 0; } 


/*ドロップダウンメニューCSS*/
.dropmenu{
  *zoom: 1;
  list-style-type: none;
  /*width: 780px;*/
  padding: 0;
}
.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}
.dropmenu:after{
  clear: both;
}
.dropmenu li{
  position: relative;

}
.dropmenu li a{
  display: block;
}
.dropmenu li ul{
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  width: 240px!important;
  border-radius:5px;
}
.dropmenu li ul li{
    margin:0px!important;
    background: #fff!important;
    width: 240px!important;
    line-height: 150%;
    opacity: 0.8;
}
.dropmenu li ul li a{
  padding: 10px 5px!important;
  border-top: 1px solid #cccccc;
  text-align: center;
  font-size: 100%;
  letter-spacing:1px;
  font-weight: normal;
color:#513F2D;
width: 230px!important;
}

.dropmenu li:hover > a{
  background: #dddddd;
  color:#ffffff;
}
.dropmenu li a:hover{
  color:#ffffff;
  background:none;
}

.dropmenu li ul li a:hover{
background:#eeeeee;
color:#ffffff!important;
}


/*フェードイン*/
.fade-in2 li ul{
  opacity: 0;
  top: 50%;
  visibility: hidden;
  transition: .5s;
  width: 100%;
}
.fade-in2 li:hover ul{
  top: 100%;
  visibility: visible;
  opacity: 1;
}

.fade-in2 li ul li:hover{

}

.fade-in2 li ul li a:hover{

opacity: 1!important;
}


/*パンくずリスト*/
.breadcrumbs{
 font-size: 80%;
 margin-left: 5px;
 margin-bottom:15px;

}
.breadcrumbs span{
padding: 0 7px;
	font-weight:bold;
	
}

.breadcrumbs a{
font-weight: bold;
    border: 1px solid #111;
    border-radius: 20px;
}

/*レスポンシブ基本CSS*/

.pcheader{display:block; min-width:1260px;}
.mobileheader{display: none!important;}
.pc{display:block;}
.mobile{display: none!important;}
.mbr{display:none;}
/* #header,.catch_area,#pageheader,#wrap, #container,.slide00,#footer,.panel_bg{min-width:1260px;} */
.drawer-hamburger{display:none!important;}

#page #main .now,.now{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
	padding:80px 0;
}



@media screen and (max-width: 768px){
	
#page #main .now,.now{

    font-size: 1.2rem;


}	
	

.mbr{display:inline-block;}

.pcheader{display:none!important;}
.mobileheader{display: block!important;}
.pc{display:none!important;}
.mobile{display: block!important;}

#header,#pageheader,#wrap,#container, #footer,.slide00,.panel_bg,.flexslider,.catch_area{min-width:auto; max-width:100%; }
.two_box,.three_box,.four_box,.five_box,.seven_box,.six_box{
max-width:100%;
width:100%;
	
margin:0px;
box-sizing:border-box;
}

#header{
	max-width:100%; min-width:100%;
	}
#headercont{
    max-width:100%;
    min-width:100%;
    padding:30px 30px 10px 30px;
    margin:0px;
    height:auto;
    display: block;
}
#top_mainmenu{display:none;}
.mobileheader{display:block!important;
width: 100%;
}

.longtable{
    overflow-x: scroll;
}



#pageheader {
    padding: 160px 0px 0px;
}

#list{
max-width:100%;
margin:auto;
}


#main_con{
padding:5px;
box-sizing:border-box;
}


#main_menu{display:none;}


#header h1{
    display: block;
    height: 35px;
    width: 180px;
    z-index: 10;
}	
	
#header h1 a{
    display: block;
    vertical-align: bottom;
	height: 35px;
    width: 180px;
    background-size: contain;
}

.pageheader_cont h2 {

}

#page .cont{
padding:	1.5%;
box-sizing:border-box;
	}
	
#page #wrap {
    padding: 1% 0 0%;
}


/*トップページ*/






/* フッター */
#footer {
    padding: 30px 0;
}

#footer .cont {
    flex-direction: column;
    gap: 30px;
}

.footer-info h2 {
    width: 280px;
}

.foot_menu {
    text-align: left;
    flex-wrap: wrap;
    width: 87%;
    margin: auto;
    gap: 20px;
}

.foot_menu > ul {
    flex-direction: column;
    gap: 10px;
}

.foot_menu > ul li {
    font-size: 16px;
}

.foot_menu .sns-link {
    gap: 20px;
    margin: 50px auto;
    width: 40%;
}

.foot_menu .product-menu {
    padding-left: 20px;
    border-left: 1px solid #999;
}

    .ft_bottom {
        display: flex;
        font-size: 1.6rem;
        text-align: left;
        width: 95%;
        margin: 0 auto;
        flex-direction: column;
    }
	
	
footer#footer .ft_bottom figure {
	width: 80%;
	text-align: center;
	}
.ft_bottom .footer_logo {
    width: 230px;
}

/* button */

.more-link {
font-size: 13px;
    line-height: 40px;
    padding-right: 50px;
	border-bottom: 2px solid #333;
}

.more-link::before {
    width: 40px;
    height: 40px;
    top: 0;
}

	
/*カテゴリー・投稿*/	

.cate_block {
    max-width: 90%;
    margin: 10px auto 20px;
    padding: 5px 5px 5px;
    display: block;
}
	.cat{

	}

#page .cate_right {
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
    font-size: 12px;
    padding: 10px 3px!important;
}


/* 固定ページ */




/*お問い合わせ*/
	.contact_table{
    table-layout: fixed;		
	}
	
#page #main .contact_table p{
		text-align:left;
	}
	
#page #main .contact_cont p {
    text-align: center;
    padding: 10px 0 20px;
    margin: 0;
    font-size: 0.80rem;
    letter-spacing: 0;
}
	
.page_cont article {
    padding: 0;
    text-align: left;
}	
	
	
/*その他基本設定*/	

#main{
box-sizing:border-box;
}


.long_table{
overflow-x:scroll;
}


	
.footmenu ul {
    padding: 10px 0px;
    font-size: 90%;
}
.contact_table td,.contact_table th,.service td,.service th{
display:block;
}

.product_area  .black_link{

}
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	    display: flex;
    z-index: -1;
    opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
    top:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background: var(--aboutBlack);
    /*動き*/
    transition: all 0.3s;
	width: 100%;
	transform: translatex(100%);
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
	transform: unset;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
position: fixed;
    z-index: 999;
    width: 50%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10% 0;
    right: 0;
}

@media screen and (max-width: 768px) {
	
	#g-nav h2 {
		width:100%;
	}
	
	#g-nav .contact-info_wrap {
		
}
    #g-nav.panelactive #g-nav-list {
        width : 100%;
        padding: 14% 5% 9%;
        box-sizing: border-box;
    }
	#g-nav.panelactive #g-nav-list {
		width: 100%;
	}
	
.tel-info a {
    font-size: 20px;
    border-left: none;
    padding-left: 0;
    white-space: nowrap;
	margin-top:2rem;
	color:#fff;
    display:block;
}



#g-nav.panelactive #g-nav-list h2{
    color: #2d955d;
    text-align: center;
    margin: 0;
    font-weight: normal;
    font-size: 1.3rem!important;
}

#g-nav-list {
    padding: 40px;
}

#g-nav-list .title {
    font-size: 18px;
}

#g-nav-list .title::after {
    bottom: 1px;
    height: 6px;
    width: 25px;
    background-color: #bbb;
}

#g-nav-list .links-item {
    width: 45%;
}

#g-nav-list .link_area-links {
    gap: 20px;
}

#g-nav-list .links-item p {
    font-size: 16px;
    white-space: nowrap;
}

#g-nav-list .links-item a {
    gap: 15px;
}

.tel-info {
   text-align:end;
	position: absolute;
        bottom: 0;
        left: 0;
        background: #000;
        clip-path: polygon(50% 0%, 100% 38%, 100% 100%, 0 100%, 0% 38%);
        width: 100%;
        height: 40%;
        text-align: center;
        display: flex;
        align-items: center;
        overflow: unset;
        justify-content: center;
}

.tel-info p {
    font-size: 20px;
    white-space: nowrap;
}



#g-nav-list .link-box {
    padding: 1rem 3rem 1rem 2rem;
    font-size: 16px;
    gap: 10px;
    letter-spacing: 0;
	background: var(--yellow);
    border-radius: 3rem;
	display: flex;
    color: #000;
}

#g-nav-list .link-box img {
    width: 25px;
}


/*ナビゲーション*/
#g-nav ul {
    margin: 5rem auto 30px;
    max-width: 92%;
    z-index: 999;
    top: 50%;
    left: 50%;
}

#g-nav.panelactive ul {
    min-width: auto;
}

#g-nav.panelactive .contact_menu{

}

#g-nav.panelactive ul .tel_button{
	
}
#g-nav.panelactive ul .tel_button a{
	border: none;
    padding: 8px 0;
}


#g-nav.panelactive .contact_menu .contact_link{
    position: relative;
    text-align: center;
    background: #111;
    border-radius: 100px;
    display: block;
    padding: 12px 22px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    width: 60%;
    margin: auto;
}

#g-nav.panelactive .contact_menu .contact_link:before{
content: "";
    display: inline-block;
    vertical-align: middle;
    width: 38px;
    height: 25px;
    background: url(img/mail_icon.png) no-repeat left;
    background-size: cover;
    margin-right: 12px;

}

/*リストのレイアウト設定*/

#g-nav .menu-title {
    font-size: 25px;
    padding: 0 0 10px 5%;
    font-weight: 700;
}

#g-nav .menu-title span {
    display: block;
    font-size: 10px;
    padding-top: 10px;
}

#g-nav .menu-items {
    gap: 15px;
}

#g-nav .menu-items li {
    list-style: none;
    text-align: center; 
    width: auto;
    padding: 10px 5px 1.3rem;
}

#g-nav .menu-items li a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: normal;
	text-align:center;
}

#g-nav .menu-items li a > img {
    max-width: 50px;
    height: 13vw;
}

#g-nav .menu-items li a > span {
    font-size: 10px;
    display: block;
}
}
@media screen and (min-width: 768px) {
    #g-nav.panelactive #g-nav-list {
        width: 60%;
    }

    #g-nav .menu-items li {
        width: 22%;
        max-width: 22%;
        height: 150px;
    }

    #g-nav .menu-items li a {
        font-size: 15px;
    }
    
    #g-nav .menu-items li a > span {
        line-height: 20px;
    }
	

	
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
    position: fixed;
    z-index: 9999;
    top: 20px;
    right: 1%;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: var(--yellow);
	clip-path: polygon(50% 0%, 100% 26%, 100% 100%, 0 100%, 0% 26%);
}

.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 1px;
    border-radius: 10px;
    background-color: #000;
    width: 50%;
}

.openbtn1 span:nth-of-type(1) {
  top:20px; 
}

.openbtn1 span:nth-of-type(2) {
  top:29px;
}

.openbtn1 span:nth-of-type(3) {
  top:38px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn1 p {
    position: absolute;
    bottom: -30px;
    right: 5px;
    font-size: 14px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .openbtn1 {
        width: 40px;
        height: 40px;
        }  
    .openbtn1 span {
        left: 9px;
        }
    .openbtn1 span:nth-of-type(1) {
        top:13px; 
        }
    .openbtn1 span:nth-of-type(2) {
        top:19px;
        }
    .openbtn1 span:nth-of-type(3) {
        top:25px;
        }
    .openbtn1.active span:nth-of-type(1) {
        top: 12px;
        left: 8px;
        width: 60%;
    }
    .openbtn1.active span:nth-of-type(3) {
        top: 24px;
        left: 8px;
        width: 60%;
    }
	.sp-logo {
        position: fixed;
    z-index: 99;
    top: 4%;
    left: 5vw;
    cursor: pointer;
    width: 28rem;
    aspect-ratio: 410 / 49;
    background: url(img/logo.webp);
    background-size: cover;
}

}

@media screen and (max-width: 768px){
	
	.catch_area span {
    	font-size: 2.3rem;
		text-shadow: -1px -1px 1px var(--aboutBlack);
}
	
	section.catch_area picture{
    	width: auto;
    	position: absolute;
    	right: 0;
    	/*top: 50%;
		transform:translateY(-50%);
		bottom:unset;*/
		display: flex;
        justify-content: center;
	}
	
	.catch_text {
		bottom:50%;
	}
	.custom-shape-divider-bottom-1750647297 svg,
	.custom-shape-divider-top-1750646799 svg,
	.custom-shape-divider-bottom-1750647598 svg 
	{
		height:60px;
	}
	.contact_table td,
	.contact_table th, 
	.lesson-box table td,
	.lesson-box table th{
		display: inline-block;
        width: -webkit-fill-available;
        float: left;
        line-height: 2;
        font-size: 1.8rem;
        letter-spacing: 1px;
	}
	.lesson-box table td {
		text-align: center;
	}
	.note-wrap {
		width:auto;
	}
	span.lesson-note {
		display:inline;
	}
	.contact_table th {
		height:5rem;
		border-radius: 3rem;
	}
	
	.contact_table td {
		margin-bottom:5rem;
	}
	.contact_table td input {
		border-radius:3rem;
	}
	.wpcf7-not-valid-tip {
    text-align: center;
}
	
	article.grid-menu {
    grid-template-columns: repeat(auto-fit, minmax(37rem, 1fr));
    width: 100%;
    margin: 9rem auto 0;
    max-width: unset;
    margin: 0 auto;
}
	section.feature_area .card {
    width: 37rem;
}
	
	img.card-btn_arrow {
		position: relative;
		transform: translate(0);
}
		section.catch_area {
	        height: 85vh;
	}
	
	
	div.wpcf7 {
	    width: calc(100% - 4rem);
    	margin: 0 auto;
	}
	.about_area {
		padding: 16rem 0;
}
	section.catch_area {
		padding-bottom:0;
	}
	.catch_text {
    left: 4%;
		bottom:31%;
	}
}
