﻿/*レスポンシブ対応*/

.pcheader{display:block; min-width:var(--pc-min-width); }
.mobileheader{display: none!important;}
#mobile{display: none!important;}
#sns{padding :50px 0px 0px;}

#header,#wrap, #container,.slide00,#footer,.panel_bg{min-width:var(--pc-min-width);}

.drawer-hamburger{display:none!important;}

@media screen and (max-width: 768px) {

.drawer-hamburger{display:block!important;}

#header,#wrap,#container, #footer,.slide00,.panel_bg{min-width:100%; max-width:100%; }
.two_box{max-width:45%;
width:45%;}
.three_box,.four_box,.five_box,.seven_box,.six_box{
max-width:96%;
width:96%;
margin:8px auto;
box-sizing:border-box;
display:block;
}

/*#header {
display:none!important;
background:none;
}*/

#pageheader {
    padding: 120px 0 60px 0;
}

#main_con{
padding:5px;
box-sizing:border-box;
}
.two_box img,.three_box img,.four_box img,.five_box img,.seven_box img,.six_box img{
margin:5px auto;
}

#main_menu{display:none;}


.pcheader{max-width:100%; min-width:100%; height:60px!important;}
#headercont{display:none!important;}
.mobileheader{display:block!important;
background: #ccc;
width: 100%;
}

#header h1{
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	width:100%;
	position:static;
	height: 60px;
}
#header h1 > a{
	height: 60px;
	width: 100px;
	overflow: hidden;
    text-indent:unset;
    display: block;
}

#header h1 a{margin: 0 auto;}

.panel li h2{    font-size: 95%!important;
    letter-spacing: 0px;}
.panel li p{padding:0px 8px;}
.linkbox{padding: 6px 20px;}

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

h2{font-size:120%!important;}
h3{font-size:110%!important;}
p{font-size:90%;}
p *,
dl *,
ol * {font-size:90%;}
.long_table{
overflow-x:scroll;
}

#sidebar {
    margin: 10px auto;
    width: 98%;
    display: block;
}

.fadeanime {
    height: calc(100vw / 1.5 - 60px);
    max-height: 170px;
}
.fadeanime > img {
    top: -5px;
}
.fadeanime > h2 > span {
    font-size: 110%;
}
.fadeanime > h2 > span:nth-of-type(2) {
    font-size:  90%;
}

#wrap > div.content > ul.images > li > a {
    font-size: 75%;
}
#wrap > div.content > ul.images {
    width: calc(100vw - 10px);
    flex-wrap:wrap;
}
#wrap > div.content > ul.images > li {
    width: calc(50%);
    padding: 2px;
}

#footer .cont > *:nth-of-type(1) {
    min-width: calc((100vw - (11em + 5px + 2px * 2)) / 2 + 20px);
    width:     calc((100vw - (11em + 5px + 2px * 2)) / 2 + 20px);
 }
#footer .cont > *:nth-of-type(3) {
    min-width: calc((100vw - (11em + 5px + 2px * 2)) / 2 - 20px);
    width:     calc((100vw - (11em + 5px + 2px * 2)) / 2 - 20px);
    padding-bottom: 45px;
}
#footer .cont > *:nth-of-type(2) {
    padding-left: 5px;
}
.footmenu ul{
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	text-align: left;
	margin: 0;
	width: calc(11em + 2px * 2);
}
.footmenu ul li { width: 11em !important; }
.footmenu ul li:nth-of-type(1) { display: none; }
.footmenu ul li:nth-of-type(2) { display: none; }
.footmenu ul li:nth-of-type(3) { display: none; }

.footmenu ul li {
    padding: 2px 0;
}
.footmenu ul li a {
    font-size: 90%;
}
#footer div:has(.sns) {
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

#footer 
#footer div.sns {
    position: absolute;
    top: 5px;
    right: -5px;
}
#footer div.sns a {
    font-size: calc(var(--font-size) * 0.8);
    text-align:center;
    margin: 0;
}
#footer div.sns a.instagram {
    height: 50px;
}

#page-top {
    right: 10px;
    bottom: 10px;
}

}

@media screen and (max-width: 600px) {
/*
ol{
    padding-left: 0;
}
*/
#wpadminbar {
	    position: fixed!important;
}

#main{
    margin-top: -50px;
}

.about{
    padding-bottom: 50px;
}

.about p{
    max-width: 90%;
    margin: 0 auto;
}

.recommend ul li {
    width: 30%;
}

.reason .seven_box img {
    width: 100%;
}

.btn{
    margin-top: 23px;
}

.seminar .main_h2{
    font-size: 165%!important;
    letter-spacing: 0.2px;
}
.box1 {
    width: 80%
}

.seminar_box a{
    padding: 20px 0;
}

.seminar p{
    max-width: 80%;
    margin: 0 auto;
}
.seminar h3{
    width: 80%;
    padding: 10px 10px;
    margin: 30px auto;
    border-radius: 42px;
}

.seminar .btn{
font-size: 130%;
    width: 75%;
}

.seminar_box p{
    min-height: 135px;
}

.reason_why{
    margin: 0 auto!important;
    width: 60%!important;
    height: 40%;
}

.five_reason{
    float: none;
    margin: 20px auto;
    display: block!important;
}
.reason .main_h2 {
    margin-top: 0px;
}

.more{
    margin-bottom: 20px;
}

.seminar {
    padding: 30px 0;
}

.gray .panel li {
    margin: 0 auto;
}

.seminar_box{
    margin: 60px 0;
}

.seminar .btn, .seminar_index .btn, .seminar_pages .btn{
    font-size: 100%;
    width: 60%;
}

.content.contact form button + label {
	margin-top: 10px;
	display: inline-blcok;
	width: 100%;
}
.content.contact form button + label > span:nth-of-type(2) {
	font-size: 90%;
}

.pageheader_cont h2 {
    font-size: 110% !important;
}
form label span {
    font-size: 100%;
}

}