@charset "utf-8";
/*  
Theme Name: wordpress
Tags: white, one-column, fixed-width, threaded-comments, sticky-post
Author: tushima-design
<a href="<?php echo home_url(); ?>/"></a>
<img src="<?php echo get_template_directory_uri(); ?>/images/" alt="" border="0" />
background-image:url(<?php echo get_template_directory_uri(); ?>/images/);
*/

/* -------------page-----------------*/
.facilitybox li{
}
.about1{
	padding: 2px 15px;
	border-radius: 25px;
	display: table;
	margin-right:20px
}
.enkaihoutable td{
	vertical-align:middle;
	padding-bottom:30px
}
.enkaihoutable td:nth-of-type(1){
	text-align:right;
	white-space:nowrap;
	padding-right:25px
}
.daytable td{
	margin-bottom:5px;
}
.daytable td:nth-of-type(1){
	text-align:right;
	white-space:nowrap;
	padding-right:15px
}
.daytable .pic{
	padding:0px!important
}
.daytable tr:nth-of-type(n+1):nth-of-type(-n+3) td:nth-of-type(1){
	color:#eb7aab
}
.daytable tr:nth-of-type(n+4):nth-of-type(-n+7) td:nth-of-type(1){
	color:#39b54a
}
.daytable tr:nth-of-type(n+8):nth-of-type(-n+11) td:nth-of-type(1){
	color:#f7931e
}
.daytable tr:nth-of-type(n+12):nth-of-type(-n+15) td:nth-of-type(1){
	color:#00afec
}
.pagekey {
	height: 700px;
	width: 100%;
	position: relative;
	background-position: center top;
	background-size: cover;
	max-height: 150vw;
	/* 640x960 */
}
.pagekey::before{	
	content:"";
	height:23px;
	width:100%;
	left:50%;
	transform:translate(-50%,0) scale(1);
	position:absolute;
	bottom:-1px;
	z-index:55;
	transform-origin: center bottom;
	background: url("images/pagebottom.png") repeat-x center top;
}
.pagekeytitle {
	text-align: center;
	font-weight: bold;
	padding-top:40px
}
.pagekeytitle .din{
	margin-bottom:10px
}
.simpleParallax {
	height: 100%;
}
.parallax-window {
	background-size: cover;
	height: 100%;
	background-position: center;
}
.btn {
	font-size: 1.7rem;
	padding: 8px 25px;
	margin: 0 auto;
	border-radius: 30px;	
	display: inline-block;
	line-height: 4rem;
	min-width:240px;
	text-align: center;
	position:relative
}
.btn2 {
	font-size: 1.5rem;
	padding: 0px 20px;
	border-radius: 20px;
	text-align: center;
	min-width: auto;
	position:relative
}

.js-count{
	position:absolute;
	font-size: 28px;
	line-height:28px;
	text-align: right;
	width: 100px;
}
.pankuzu{
	margin-bottom:30px
}
/* -------------top -----------------*/
.topkeybox{
	margin-top:0px
}
.image-layers-wrapper {
	position: absolute;
  bottom: -200px;
  left: 0;
  width: 100%;
  height: 327px;
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
}

/* ---------------------------------------------------- */
/* 各レイヤーの設定 (height: 100% を使用) */
/* ---------------------------------------------------- */
.topkeybox .background-layer,
.topkeybox .moving-layer,
.topkeybox .foreground-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* image-layers-wrapper の高さいっぱい */
}

/* ---------------------------------------------------- */
/* 1. 最背面（一番下）：toppic.png */
/* ---------------------------------------------------- */
.topkeybox .background-layer {
  z-index: 10;
  background: url("images/toppic.png") repeat-x center top;
  /* 画像のサイズはレスポンシブに対応させるため cover に変更する方が自然ですが、 */
  /* 既存のコードに合わせるため 3600px を設定しています */
  background-size: 3600px auto; 
}

/* ---------------------------------------------------- */
/* 3. 最前面（一番上）：toppic2.png */
/* ---------------------------------------------------- */
.topkeybox .foreground-layer {
  z-index: 55;
  background: url("images/toppic2.png") repeat-x center top;
  background-size: 3600px auto;
  
  /* 既存の ::before の特殊な位置設定を再現（必要に応じて調整してください） */
  width: 3600px;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: -200px; /* ここは top: 0; と height: 100%; の設定と同時に使うと意図通りにならない場合があります */
}


/* ---------------------------------------------------- */
/* 2. 中央（移動）：toppic1.png (アニメーションは変更なし) */
/* ---------------------------------------------------- */
.topkeybox .moving-layer {
  z-index: 20;
	height:120px;
	width: 665px;
  /* アニメーション用設定 */
  background: url("images/toppic1.png") repeat-x center top;
  top: 21%;
  animation: slide-right 10s linear infinite;
	transform-origin:center
}

/* スライドアニメーションの定義 (変更なし) */
@keyframes slide-right {
  0% {
    transform: translateX(2500px);
  }
  100% {
    transform: translateX(-2500px);
  }
}
/* 
.topkeybox::before{
	content:"";
	height:327px;
	width:3600px;
	left:50%;
	transform:translate(-50%,0) scale(1);
	position:absolute;
	bottom:-200px;
	z-index:55;
	transform-origin: center top;
	background: url("images/toppic2.png") repeat-x center top;
}
*/
.topkey{	
	max-height:750px;
	height:150vw;
	overflow: hidden;
	/* 640x960 */
}
.topkey li{
	max-height:100%;
	height:150vw;
	background-position: center;
	background-size:cover;
}
.categorywaku{
	font-size:1.2rem;
	line-height:3rem;
	min-width:75px;
	text-align:center;
	display: inline-block;
	margin-left:8px;
	background-color:#8ec65a;
	color:#fff;
	padding:0 5px;
}
.bx-wrapper {}
.bx-viewport {}

.nami{
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	z-index:-1;
	bottom:-1px;
	height:70px;
	width:2009px;
	position:absolute;
	left:50%;
	transform:translate(-50%,0) scale(1);
	transform-origin: center bottom;
}
.nami1{
	clip-path:path('M2009,70h0S1896.4,0,1797.3,0c-99.1,0-99.1,40.6-198.2,40.6-99.1,0-99.1-40.6-198.2-40.6-99.1,0-99.1,40.6-198.2,40.6-99.1,0-99.1-40.6-198.2-40.6-99.1,0-99.1,40.6-198.2,40.6-99.1,0-99.1-40.6-198.2-40.6-99.1,0-99.1,40.6-198.2,40.6C310.8,40.6,310.8,0,211.7,0,112.6,0,0,70,0,70h2009Z');
}
.nami2{
	clip-path:path('M1986.9,22.7c-71.3-65.7-109.5,32.1-206.4,32.1s-97-37-193.9-37-96.9,37-193.9,37-97-37-193.9-37-96.9,37-193.9,37-96.9-37-193.9-37-96.9,37-193.9,37-96.9-37-193.9-37-96.9,37-193.9,37S94.1-43,22.9,22.7C4.6,39.6-1.1,55.1.2,70.6h2009.5c1.3-15.5-4.4-30.9-22.7-47.8Z');
}

.nami3{
	clip-path:path('M1972.6,32.9c-79.4-41.7-72.2-22.6-161.9-22.6s-89.7,19.5-179.4,19.5-89.7-19.5-179.4-19.5-89.7,19.5-179.4,19.5-89.7-19.5-179.4-19.5-89.7,19.5-179.4,19.5-89.7-19.5-179.4-19.5-89.7,19.5-179.4,19.5-89.7-19.5-179.4-19.5-89.7,19.5-179.4,19.5S79.8,16.5,7.4,70h1998.8c-5.6-14.7-15.8-27.7-33.6-37.1Z');
}
.namibox{
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	z-index:-1;
	top:-1px;
	width:3709px;
	height:640px;
	position:absolute;
	left:50%;
	transform:translate(-50%,0) scale(1);
	transform-origin: center bottom;
}
.namibox1{
	clip-path:path('M0,2519.2l3708.6-4.3,1.2-2503.4c-135.8-37.8-145,29.4-285.9,29.4s-140.9-30-281.9-30-140.9,30-281.9,30-140.9-30-281.9-30-140.9,30-281.9,30-131.9-21.3-245.9-30.6c-82.7-6.8-122.4-10.3-173.1-3.1-57,3.6-94.5,27.9-190.4,27.9-140.9,0-140.9-30-281.9-30s-140.9,30-281.9,30S982.5,5.1,841.6,5.1s-140.9,30-281.9,30S418.8,5.1,277.8,5.1,135.8-3.3,0,34.6');
}
/* ------------------------------
parts
------------------------------ */
.entry-content img.size-medium {
	max-width: 450px !important;
	width: 100% !important;
	height: auto !important;
}

.maincolor {
	color: #ff82a0;
	border-color: #ff82a0;
}
.mainback {
	background-color: #ff82a0;
	color: #fff;
}
.maincolor2 {
	color: #009646;
	border-color: #009646;
}
.mainback2 {
	background-color: #009646;
	color: #fff;
}

.news .sidetitle {
	background-color:#daeacf;
	color:#006934;
}
.member .sidetitle {
	background-color:#ece8c4;
	color:#006934;
}
table.tablecontact {
	width: 100%;
	max-width:800px;
	margin:0 auto;
	vertical-align: top;
	border-top: 1px solid #ff82a0;
	border-left: 1px solid #ff82a0;
}
table.tablecontact td {
	padding:10px 20px;
	vertical-align: top;
	border-right: 1px solid #ff82a0;
	border-bottom: 1px solid #ff82a0;
	width:100%;
	background-color:#fff;
}
table.tablecontact td:nth-of-type(1) {
	white-space: nowrap;
	vertical-align: top;
	background-color:#ff82a0;
	border-bottom: 1px solid #fff;
	color:#fff;
	width:auto;
	min-width:180px;
}
table.tablecontact2 td,table.tablecontact2 {
	border-color:#ff82a0;
	background-color:#fff;
}
table.tablecontact2 td:nth-of-type(1) {
	white-space: nowrap;
	vertical-align:middle;
	background-color:#ff82a0;
	border-bottom: 1px solid #fff;
	color:#fff;
	width:auto;
	min-width:180px;
}
table.tablecontact3 td:nth-of-type(1) {
	padding: 20px;
	white-space: nowrap;
	vertical-align: top;
	border-bottom: 1px solid #999;
	background-color:#ff82a0;
	width:auto;
	color:#fff;
}

table.tablecontact tr:last-child td:nth-of-type(1), table.tablecontact2 tr:last-child td:nth-of-type(1),table.tablecontact3 tr:last-child td:nth-of-type(1){
	border-bottom: 0;
}
.sidetitle {
	font-size: 1.4rem;
	color:#fff;
	display: table;
	padding: 3px 15px;
	border-radius: 0px;
}
#submitb {
	position: relative;
	background:#ff82a0!important;
	border-radius: 30px;
}
/* ------------------------------
article
------------------------------ */

article {
	clear: both;
	min-height: 1000px;
	width: 100vw;
	position: relative;
	z-index: 0;
	overflow:hidden
}
article.pagearticle {
}
article #topcontent {
	margin: 0 auto;
	width: 100vw;
	max-width: 1080px;
	z-index: 9;
	position: relative;
}
article #content {
	margin: 0 auto;
	width: 100vw;
	max-width: 1080px;
	z-index: 9;
	position: relative;
	margin-bottom: calc(15% + 70px);
}
/* ------------------------------
header
------------------------------ */
.menuback{
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	z-index:-1;
	top:0;
	width:100%;
	height:168px;
	position:absolute;
	background: url(images/menuback.png) repeat-x center top;
}
.fix .menuback{
	display:none
}
header {
	height: auto;
	width: 100vw;
	z-index: 60;
	position: absolute;
}
header::before {
	content:"";
	position:absolute;
	height:110px;
	width:100%;
}
header.fix::before {
	display:none
}
.fix .submenu{
	display:none
}
header.fix {
	background-color: #fff;
}
header .inline {
	font-size: 1.2rem;
}
header #content {
	height: auto;
	width: 980px;
	max-width:100%;
	margin: 0 auto;
	position: relative;
}
header nav#menu-pc {
	clear: both;
	width: 100%;
}
header nav#menu-pc ul.menu {
	font-size: 0;
	margin: 0 auto;
	width: 100%;
	max-width:100%;
	text-align: right;
}
header.fix nav#menu-pc ul.menu {
	text-align:center;
}
header nav#menu-pc ul.menu li {
	display: inline-block;
	text-align: center;
	width: 110px;
	font-size: 1.3rem;
	line-height: 3rem;
	margin-top:20px
}
header.fix nav#menu-pc ul.menu li {
	line-height: 1.6rem;
	margin:0!important;
}
header.fix nav#menu-pc ul.menu li img {
	height: 30px;
}
header nav#menu-pc ul.menu li a img {
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	position: relative;
	top: 0;
}
header nav#menu-pc ul.menu li a:hover img {
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	position: relative;
	top: -5px;
}
header nav#menu-pc ul.menu li.menulogo {
	opacity: 0 !important;
	width: 0px;
}
header.fix nav#menu-pc ul.menu li.menulogo {
	opacity: 1 !important;
	width: 100px;
}
header nav#menu-pc ul.menu li.menulogo img {
	margin-top: 10px;
	height:auto;
}
header nav#menu-pc ul.menu li a, header .inline a {
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	color: #333;
	display: block;
}
header nav#menu-pc ul.menu li a:hover {
	opacity: 0.5;
}
header h1 {
	background: url(images/logo.png) no-repeat left top;
	width: 307px;
	height: 70px;
	top: 20px;
	left: 0%;
	position: absolute;
	background-size: contain;
	z-index: 10;
}
header.fix h1 {
	opacity: 0;
	top:-2000px
}
header h1 {
	margin: 0;
	overflow: hidden;
}
header h1 a {
	height: 100%;
	width: 0;
	padding-left: 100%;
	position: absolute;
	overflow: hidden;
}
/* ------------------------------
footer
------------------------------ */

.footerpic,.footerpic1{
	position:relative;
}
footer {
	clear: both;
	position: relative;
	padding-top: 4%;
	width: 100vw;
	line-height: 2.4rem;
	font-size: 1.5rem;
	z-index: 15;
	background:center top #fffae7;
}
footer #content {
	width: 100vw;
	max-width: 1080px;
	position: relative;
	margin: 0px auto 0;
}
.footerl {
	position: absolute;
	bottom: 3rem;
	left: 0
}
footer a {
	color: #333;
	outline: none;
	text-decoration: underline;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
footer a:link, footer a:visited, footer a:active {
	text-decoration: underline;
}
footer a:hover {
	text-decoration: underline;
	opacity: .5;
}
footer #logo a:hover {
	opacity: 1;
}
footer #logo {
	float: left;
}
footer nav ul {
	list-style: none;
	text-align: left;
	font-size: 0;
	position:relative;
	z-index:1;
	margin-left:45px;
	margin-top:15px
}
footer nav ul li { 
	line-height: 2.8rem;
	font-size: 1.5rem!important;
}
footer nav ul.nav2 li {
	display: inline-block;
	font-size: 1.5rem!important;
}
footer .copyright {
	width: 100%;
	text-align: center;
	line-height: 5rem;
	clear: both;
	background:#fffae7 center top;
}
.pagetopbox{
	position:fixed;
	bottom: 5%;
	z-index: 65;
	width: 1200px;
	max-width:100%;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%,0);
    text-align: right;
	pointer-events: none;	
}
.pagetop {
	display: inline-block;
	text-align: left;
	pointer-events: auto;
	border-radius: 50%;
}
.pagetop a {
	display: block;
	padding: 24px 8px 4px;
	margin: 0px;
}
.pagetop a:hover {
	opacity: 1;
}
.pagetop a img {
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	position: relative;
	top: 0;
}
.pagetop a:hover img {
	top: -20px;
}
.arrow {
	display: inline-block;
	width: 28px;
	height: 28px;
	margin: 0 10px;
	border-top: 4px solid #fff;
	border-left: 4px solid #fff;
	transform: rotate(45deg);
	position: relative;
	z-index: 60px;
	top: 0;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
a:hover .arrow {
	top: -10px
}
/* ------------------------------
common
------------------------------ */
.fb{
	font-weight:bold;
}
a[rel=prev]{
	font-size:1.5rem;
}
a[rel=next]{
	float: right;
	font-size:1.5rem;
}
a[rel=prev]::before{
	content: "\25C0\00a0";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
a[rel=next]::after{
	content: "\00a0\25B6";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

.bx-prev,.bx-next{
	position:absolute;
	background-color:#e52832;
	border-radius:50%;
	width:50px;
	height:50px;
	font-size:0;
	color:white
}
.bx-next{
	right:330px;
	bottom:50%;
}
.bx-prev{
	left:330px;
	bottom:50%;
}
.bx-prev::before,.bx-next::before{
	font-size:24px;
	text-align:center;
	line-height:54px;
	display:inline-block;
	width:50px;
}
.bx-next::before{
	content:"\025b6";
}
.bx-prev::before{
	content:"\025c0";
}
.bx-pager{
	padding:20px 0;
	text-align:center;
	position:relative;
}
.bx-pager-item{
	display:inline-block;
	font-size:0;
	margin: 0 3px;
}
.bx-pager-link{
	text-decoration: none !important;	
}
.bx-pager-item a:before{
	content:"●";
	color:#ccc;
	font-size:15px;
}
.bx-pager-item .active:before{
	content:"●";
	color:#e52832;
	font-size:15px;
}
.picsbox{
	width:1100px;
	position:relative;
}

.pics{
	overflow:hidden;
	position: relative;
	margin-top: 1px;
	height: 100%;
	margin-left: 50%;
}
.pics li{
	background-size:cover;
	position:absolute;
	background-position:center;
	max-width: 360px!important;
	margin-right: 180px;
	margin-left: -180px;
	padding:0 20px
}
.pics img{
	border-radius:30px;
	overflow:hidden;
}
.pics li p{
	text-align:center;
	padding-top:5px
}
.pics li:before{
}
.sankakup::before {
	content: "";
	width: 39px;
	position: absolute;
	height: 39px;
	right: 10px; 
	transform: translate(0%,-50%);
	top: 50%;
	position:absolute;
	clip-path:path('M19.3,0.1C8.7,0.1,0.1,8.6,0.1,19.3c0,10.6,8.6,19.2,19.2,19.2s19.2-8.6,19.2-19.2C38.5,8.6,29.9,0.1,19.3,0.1zM19.6,23.6v-2.8h-7.8v-2h7.8v-3.4l7.1,4.1L19.6,23.6z');
	background-color:white;
	
}
.sankakup2::before {
	content: "";
	width: 21px;
	position: absolute;
	height: 12px;
	right: 20px; 
	transform: translate(0%,-50%);
	top: 50%;
	position:absolute;
	clip-path:path('M20.2,5.7L11.8,0c-.3-.2-.5,0-.5.3v4.7H.9c-.5,0-.9.4-.9.9s.4.9.9.9h10.4v4.7c0,.3.2.4.5.3l8.4-5.6c.3-.2.3-.5,0-.6Z');
	background-color:white;
	
}

a .sankaku {
	text-decoration: none !important;
}
.sankaku::before {
	content: "\25B6\00a0";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.sankakua::after{
	right: 20px;
	position: absolute;
	content: "\00a0\25B6";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.sankakuu::before{
	content: "\025b2\00a0";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.sankakuau::after{
	right: 25px;
	position: absolute;
	content: "\00a0\025b2";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}       
.sankakud::before{
	content: "\025bc\00a0";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.sankakuad::after{
	right: 25px;
	position: absolute;
	content: "\00a0\025bc";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.sankakuax::after{
	right: 25px;
	position: absolute;
	content: "\00a0\02715";
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
/*Lightbox with PhotoSwipe skin  */
.pswp__bg{
	opacity:0.7!important
}
.line span{
	background: linear-gradient(rgba(0,0,0,0) 50%, #ffe3e2 0%);
	font-size:1.9rem;
}
.line{
	margin-bottom:5px
}
.blogbox p{
	margin-top: 0;
	margin-bottom: 1.4em;
	line-height: 160%;
}
.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
.pass * input,#pwbox-2{
	min-width:auto;
	padding: 0 10px;
    border-radius: 5px;
	line-height: 2.4rem;
	border: 1px solid #999;
}
.ib{
	display: inline-block;
} 
.fw,.fw *{
	font-weight:bold;
}
.backw100 {
	width: 104vw;
	position: absolute;
	left: -2vw;
	margin: 0 calc(50% - 50vw);
	height: 100%;
	top: 0;
	z-index:-1;
}
.boxw100{
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}
.maru{
	overflow:hidden;
	border-radius:50%;
}
.kadomaru{
	overflow:hidden;
	border-radius:15px;
}
.center{
	left:50%;
	transform:translate(-50%,0)
}
.mid{
	transform:translate(0,-50%)
}
/*Font--------------------------------  */
.font36{
	font-size:clamp(3.1rem, calc(2.85rem + 1vw), 3.6rem);
	line-height:clamp(4rem, calc(3.75rem + 1vw), 4.5rem);
}
.font32{
    font-size:clamp(2.7rem, calc(2.45rem + 1vw), 3.2rem);
	line-height: clamp(3.5rem, calc(2.2rem + 0.625vw), 4rem);
}

.font28{
	font-size:clamp(2.4rem, calc(2.2rem + 0.7999999999999998vw), 2.8rem);
	line-height:clamp(3.3rem, calc(3.05rem + 1vw), 3.8rem);
}
.font24{
	font-size:clamp(2rem, calc(1.8rem + 0.7999999999999998vw), 2.4rem);
	line-height:clamp(3rem, calc(2.7rem + 1.2000000000000002vw), 3.6rem);
}
.font20{
	font-size:clamp(1.75rem, calc(1.625rem + 0.5vw), 2rem);
	line-height:clamp(2.8rem, calc(2.5999999999999996rem + 0.8000000000000007vw), 3.2rem);
}
.font18{
    	font-size:clamp(1.5rem, calc(1.35rem + 0.6000000000000001vw), 1.8rem);
	line-height:clamp(2.5rem, calc(2.25rem + 1vw), 3rem);
}
.font16{
    	font-size:clamp(1.4rem, calc(1.2999999999999998rem + 0.40000000000000036vw), 1.6rem);
	line-height:clamp(2.3rem, calc(2.05rem + 1vw), 2.8rem);
}
ul.boxlist3,ul.boxlist4 {
	letter-spacing: -.4em;
}
ul.boxlist4 > li, ul.boxlist4 > a li {
	display: inline-block;
	width: 23.5%;
	margin: 0 2% 5rem 0;
	letter-spacing: normal;
}
ul.boxlist4 > li:first-of-type, ul.boxlist4 > a:first-of-type li,ul.boxlist4 > li:nth-of-type(4n), ul.boxlist4 > a:nth-of-type(4n) li {
	display: inline-block;
	width: 23.5%;
	margin: 0 2% 5rem 0;
	letter-spacing: normal;
}
ul.boxlist4 > li:nth-of-type(4n), ul.boxlist4 > a:nth-of-type(4n) li {
	display: inline-block;
	width: 23.5%;
	margin: 0 0 5rem;
	letter-spacing: normal;
}
ul.boxlist2 .boxlistpic ,ul.boxlist3 .boxlistpic ,ul.boxlist4 .boxlistpic {
	padding-top: 75%;
	width: 100%;
	background-position: center;
	background-size: cover;
}
ul.boxlist3 > li, ul.boxlist3 > a li {
	display: inline-block;
	width: 31%;
	margin: 0 3% 5rem 0;
	letter-spacing: normal;
}
ul.boxlist3 > li:first-of-type, ul.boxlist3 > a:first-of-type li,ul.boxlist3 > li:nth-of-type(4n), ul.boxlist3 > a:nth-of-type(4n) li {
	display: inline-block;
	width: 31%;
	margin: 0 3% 5rem 0;
	letter-spacing: normal;
}     
ul.boxlist3 > li:nth-of-type(3n), ul.boxlist3 > a:nth-of-type(3n) li {
	display: inline-block;
	width: 31%;
	margin: 0 0 5rem 0;
	letter-spacing: normal;
}
ul.boxlist2 {
	letter-spacing: -.4em;
}
ul.boxlist2 > li, ul.boxlist2 > a li {
	display: inline-block;
	text-align:left;
	width: 47%;
	margin: 0 3% 5rem 0;
	letter-spacing: normal;
}   
ul.boxlist2 > li:nth-of-type(2n), ul.boxlist2 > a:nth-of-type(2n) li {
	display: inline-block;
	width: 47%;
	margin: 0 0 5rem 3%;
	letter-spacing: normal;
}
ul.boxlist2 li p,ul.boxlist3 li p,ul.boxlist4 li p{
}
.gmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 35%;
	position: relative;
	z-index:1;
}
.gmap iframe,.gmap object,.gmap embed {
	position: absolute;
	left: 0;
	top: 0;
	height:calc(100% + 400px);
	width: 100%;
	margin-top:-200px;
}
.blog * img{
	height: auto;
}
.sankakuicon::before {
	content: "\25B6";
}
a[href$=".pdf"]::before{
	content:" ";
	display: inline-block;
	width: 36px;
	height: 40px;
	background: url(files/PDF_40.png) no-repeat;
	vertical-align: middle;
	padding-right:10px;
}
.noicon a[href$=".pdf"]::before{
	content:"";
	display:inline;
	width: auto;
	height:auto;
	background:none;
	vertical-align: none;
	padding-right:0;
	margin-top:0;
	position:absolute;
}
a[href^="tel:"] {
	pointer-events: none;
}
.boyo.move{   -webkit-animation: boyoyon 0.5s linear both .05s;
    animation: boyoyon 0.5s linear both .05s;
	
}
@-webkit-keyframes boyoyon {
  0%, 100% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  }
  10%, 90% {
    -webkit-transform: matrix3d(1.05, 0, 0, 0, 0, 1.05, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05, 0, 0, 0, 0, 1.05, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  }
  25%, 75% {
    -webkit-transform: matrix3d(1.1, 0, 0, 0, 0, 1.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.1, 0, 0, 0, 0, 1.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  }
  50% {
    -webkit-transform: matrix3d(1.15, 0, 0, 0, 0, 1.15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.15, 0, 0, 0, 0, 1.15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
  }
}

.effect li,.mover,.movel,.moveb,.movet{
	opacity: 0;
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}
.mover {
	position: relative;  
	transform:translatex(20px);
}
.movel {
	position: relative;
	transform:translatex(-20px);
}
.moveb {
	position: relative;
	bottom:-40px;
}
.movet,section .box,.effect li {
	transform:translatey(20px);
}
.mover.move,.movel.move {  
	transform:translatex(0px);
	opacity: 1 !important;
}
.movet.move,section .box.move,.effect li.move { 
	transform:translatey(0px);
	opacity: 1 !important;
}
.moveb.move{	
	opacity: 1 !important;
	bottom:0px !important;
}
.movedel li:nth-of-type(2){
	transition-delay: .3s !important
}
.movedel li:nth-of-type(3){
	transition-delay: .5s !important
}
.movedel li:nth-of-type(4){
	transition-delay: .7s !important
}
.sidebaer a{
	writing-mode: vertical-rl;
    background-color:#6ebd6e;
    font-size: 2rem;
    padding: 50px 10px;
    width: auto;
    position: fixed;
    right: 0;
    top:375px;
    z-index: 100;
}
.sidebaer1 a{
    background-color:#339133;
    top:150px;
    font-size: 1.6rem;
    padding: 20px 10px;
}
ul.indent li {
	padding-left: 1em;
	text-indent: -1em;
}
.listnum {
	margin-left: 50px;
	counter-reset: my-counter;
	list-style: none;
}
.listnum li {
	line-height: 3rem;
    font-size: 1.6rem;
    padding: 15px 0 15px 0px;
} 
.listnum li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	background-color: #ff5680;
	color: #fff;
	display: block;
	float: left;
	line-height: 46px;
	text-align: center;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	font-size: 2.7rem;
	margin: -5px 0 0 -50px;
}

.listdisc li {
	padding-left: 1em;
	margin-bottom: 5px;
}
.listdisc li:before {
	margin-left: -1em;
	content:"・";
}

.listdisc2 li {
	margin-left: 15px;
	list-style-type: none!important;
	display:list-item;
	padding: 3px 0;
}
.listdisc2 li:before {
	margin-left: -20px;
	content:"\025CF\00a0";
}
h2.maincolor {
	margin: 20px 0;
	padding-left: 5px;
	border-bottom: solid 1px;
	font-size: 1.8rem;
	line-height: 2.6rem;
	width: 100%;
}
html {
	font-size: 62.5%;
	background-color: #fff;
}
body {
	font-size: 1.4rem;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	-webkit-text-size-adjust: 100%;
}
html, body {
	font-family:'Zen Maru Gothic','Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
	_display: inline;
	_zoom: 1;
	width: 100vw;
	overflow-x: hidden;
	text-align: left;
	min-height: 100%;
	line-height: 2.4rem;
	color: #333;
}
.kugiri {
	margin-top: 0;
	width: 100%;
}
@font-face {
	font-family: 'dinot';
	src: url('files/dinm.ttf') format('truetype'), url('files/dinm.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.din {
	font-family: "dinot";
	transform: rotate(0.05deg);
}
.din * a {
	transform: rotate(0.05deg);
}
.sacramento {
	font-family: 'Sacramento', cursive;
}
.wf {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 500;
}
.wfr {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400;
}
@font-face {
	font-family: 'ftt';
	src: url('files/futuram.ttf') format('truetype'), url('files/futuram.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.ftt {
	font-family: 'ftt';
}
@font-face {
	font-family: 'ftth';
	src: url('files/futurah.ttf') format('truetype'), url('files/futurah.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.ftth {
	font-family: 'ftth';
}
@font-face {
	font-family: 'gill';
	src: url('files/gill.ttf') format('truetype'), url('files/gill.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.gill {
	font-family: "gill";
	transform: rotate(0.05deg);
}
@font-face {
	font-family: "gara";
	src: url('files/gara.ttf') format('truetype'), url('files/gara.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.gara {
	font-family: "gara";
	transform: rotate(0.05deg);
}
@font-face {
	font-family: "hel";
	src: url('files/hel.ttf') format('truetype'), url('files/hel.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
.hel {
	font-family: 'hel';
}
iframe {
	vertical-align: bottom;
	margin-bottom: -1px;
}
.clear {
	clear: both;
	pointer-events: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
article a {
	color: inherit;
	outline: none;
	text-decoration: underline;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
article a:link, article a:visited, article a:active {
	text-decoration: underline;
}
article a:hover {
	text-decoration: underline;
	opacity: .8;
}
article a div {
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
article a:hover div {
	text-decoration: underline;
	opacity: .8 !important;
}
article a li {
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
article a:hover li {
	opacity: .8 !important;
}

.ca a {
	text-decoration:none;
}
.ca a:link, .ca a:visited, .ca a:active {
	text-decoration:none;
}
.ca a:hover {
	text-decoration:none;
	opacity:1;
}
.ca a:hover div {
	text-decoration:none;
	opacity: 1 !important;
}
.ca a:hover li {
	opacity: 1 !important;
}
.pn {
    pointer-events: none;
}
.tc{
    text-align:center;
}
.tb{
	margin:0 auto;
	max-width:700px;
	display:table;
	text-align: left;
	overflow: visible
}
.dt{
	display:table;
	margin:0 auto;
}
.none {
	display: none;
}
.ff a {
	color: #fff;
	outline: none;
}
.ff a:link, .ff a:visited, .ff a:active {
	color: #fff;
	text-decoration: underline;
}
.ff a:hover {
	text-decoration: underline;
}
.nl * {
	text-decoration: none !important;
}
textarea {
	height: 10em !important;
}
section {
	position: relative;
	transition: .5s ease-in-out !important;
}

section .box {
	position: relative;
	transition: .5s ease-in-out !important;
}
.blog {
	display:inline-block;
	width:70%;
	margin-right:3%;
} 
img.alignright{
	display: block;
	margin: 0 0 0 auto;
}
img.alignleft{
	display: block;
	margin: 0 auto 0 0;
}
img.aligncenter{
	display: block;
	margin: 0 auto;
}  
.blog img{
	margin-bottom:5px;
}

aside {
	display:inline-block;
	width:26%;
	vertical-align: top;
}

.sidemenu {
	margin: 5px 0 40px;
}
.sidemenu ul li{
	display: inline-block;
	padding:0 10px 0px 0;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

ul.children li:before{
	content:"・";
	text-indent:1em
}
ul.children li{
	width: auto;
	display: block;
}
.pagenavi {
	padding: 20px 0;
	width: 100%;
}
.wp-pagenavi, .wp-pagenavi a, .wp-pagenavi span.pages, .wp-pagenavi span.extend {
	font-size: 1.2rem !important
}
/*wp-pagenavi 17*/

.wp-pagenavi {
	clear: both;
	text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: #333;
	background-color: #FFFFFF;
	padding: 0.8rem 1.5rem;
	margin: 0 2px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: thin solid #aaa;
}
.wp-pagenavi a:hover {
	color: #333;
	background-color: #ccc;
}
.wp-pagenavi span.current {
	color: #333;
	background-color: #eee;
}
h2.maincolor a:link, h2.maincolor a:visited, h2.maincolor a:active {
	text-decoration: none;
}
h2.maincolor a:hover {
	opacity: .5;
	text-decoration: underline;
}
.date {
	margin: 15px 0 0 0px;
	font-size: 1.1rem;
}
.date a:link, .date a:visited, .date a:active {
	text-decoration: none;
}
.date a:hover {
	text-decoration: underline;
}
.sub a:link, .sub a:visited, .sub a:active {
	text-decoration: none;
}
.sub a:hover {
	text-decoration: underline;
}
.cc a {
	outline: none;
	text-decoration: underline;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.cc a:link, .cc a:visited, .cc a:active {
	text-decoration: underline;
}
.cc a:hover {
	text-decoration: underline;
	opacity: .5;
}
.loader,
.loader::before,
.loader::after {
	border-radius: 50%;
	width: 2em;
	height: 2em;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation: load7 1.8s infinite ease-in-out;
	animation: load7 1.8s infinite ease-in-out;
}
.loader { 
	top: 55%;
	font-size: 10px;
	margin: 40px auto;
	position: relative;
	text-indent: -9999em;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
.loader::before,
.loader::after {
	content: '';
	position: absolute;
	top: 0;
}
.loader:before {
	left: -3em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.loader::after {
	left: 3em;
}
@-webkit-keyframes load7 {
	0%,
	80%,
	100% {
		box-shadow: 0 2em 0 -1.3em;
	}
	40% {
		box-shadow: 0 2em 0 0;
	}
}
@keyframes load7 {
	0%,
	80%,
	100% {
		box-shadow: 0 2em 0 -1.3em;
	}
	40% {
		box-shadow: 0 2em 0 0;
	}
}
#fade {
	background: url(images/logo.png) no-repeat center;
	width: 100vw;
	height: 100vh;
	min-height: 100vh;
	background-color: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 109;
	background-size: 300px auto;
	background-position: center 43%;
	
}
#submitb {
	height: 5rem !important;
	font-size: 1.8rem !important;
	margin: 3rem auto !important;
	border: none !important;
	color: #FFF !important;
	padding: 0 !important;
	display: block !important;
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
	min-width: 250px !important;
	width: 250px;
	text-shadow: 0 0 0 !important;
}
#submitb:hover, #submite:hover {
	opacity: .5 !important;
	cursor: pointer;
}
form#mailformpro label.mfp_not_checked {
	border: none !important;
}
.fix {
	position: fixed;
}
/* --------------------
for Debug
-------------------- */

article {
	filter: alpha(opacity=100)\9;
	/* ie lt 8 */
	-ms-filter: alpha(opacity=70)\9;
	/* ie 8 */
}
footer {
	filter: alpha(opacity=100)\9;
	/* ie lt 8 */
	-ms-filter: alpha(opacity=100)\9;
	/* ie 8 */
}

@media all and (-ms-high-contrast: none) {
  /* ここに書く */
	.pagetitle {
	opacity:1;
	}
	#fade {
		display:none;
	}
	.effect li,section{
		opacity:1
	}
}
nav#sm-menubox {
	display: none;
}

.padv {
	display: none;
}
.pcv {
	display: block;
}
.smv {
	display: none;
}
	/* ----------menu--------------------*/
	nav#sm-menubox {
		display: none;
		z-index: 70;
		top: 0;
		right: 0;
		width: 100%;
	}
	#sm-menu {
		width: 100%;
		position: absolute;
		display: none;
		top: 0px;
		left: 0;
		padding:60px 0 20px;		
		height:calc(100vh - 0px);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	#sm-menu::before,#sm-menu::after{
		content:"";
		background: #fff;
		height: 60px;
		width: 100vw;
		z-index: 0;
		top: 0px;
		right: 0;
		position: absolute;
		position: fixed;
	}
	ul.sm-menulist { 
		margin-top: 30px;
		width: 100%;
		overflow: hidden; 
		padding: 15px;
		text-align: left;
		font-size: 0;
		position: relative;
		display: grid;
		z-index: 1;
		display: -ms-grid;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
		gap: 15px;
	}
	ul.sm-menulist > a::after{
		content: "";
		display: block;
		padding-bottom: 100%;
	}
	ul.sm-menulist a{
		border-radius: 15px;
		line-height: 1.6rem;
		background-color:white;		
		-webkit-transition: .3s ease-in-out;
		transition: .3s ease-in-out;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		flex-direction: column-reverse;
	}
	ul.sm-menulist .menusub{
		width:300%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	ul.sm-menulist .menusub a{
		background: inherit;
		display: block;
		height:20%;
		margin: 5px 0;
		position: relative;
		left: -5px;
		text-align:left; 
		letter-spacing: -.5px;
	}
	ul.sm-menulist li {
		text-align: center;
		display: block;
		color: #333;
		text-decoration: none;
		margin: 1rem 0;
		position: absolute;
		font-size: 1.3rem!important
	}
	ul.sm-menulist a li img {
		margin: -5px 0 0px;
		height: 35px;
		display: block;
		margin: 0 auto 5px;
	}
	#toggle {
		width: 40px;
		height: 40px;
		position: absolute;
		right: 10px;
		top: 7px;
		z-index:2
	}
	#toggle a {
		position: absolute;
		right: 0;
		top: 0;
		width: 45px;
		height: 45px;
		background-size: cover;
		border-radius: 42%;
	}
	#panel-btn-icon {
		display: block;
		position: absolute;
		top: 23px;
		left: 22px;
		width: 20px;
		height: 2px;
		margin: -1px 0 0 -10px;
		background: #fff;
		transition: .2s;
	}
	#panel-btn-icon::before, #panel-btn-icon::after {
		display: block;
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 20px;
		height: 2px;
		background: #fff;
		transition: .3s;
	}
	#panel-btn-icon:before {
		margin-top: -7px;
	}
	#panel-btn-icon::after {
		margin-top: 8px;
	}
	#panel-btn .close {
		background: transparent;
	}
	#panel-btn .close::before, #panel-btn .close::after {
		margin-top: 0;
	}
	#panel-btn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#panel-btn .close::after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
	#panel-btn .close {
		background: transparent;
	}
	#panel-btn .close::before, #panel-btn .close::after {
		margin-top: 0;
	}
	#panel-btn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#panel-btn .close::after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
/* ------------------------------
------------------------------
------------------------------
979px
------------------------------
------------------------------
------------------------------ */

@media only screen and ( max-width:1079px) {
	/* ----------page--------------------*/
	.enkaihoutable td:nth-of-type(1){
		text-align:left;
	}
	.js-count{
		position:absolute;
		font-size: 2.8vw;
		line-height:2.8vw;
	}
	/* ----------top--------------------*/
	header::before {
		display:none
	}
	.midasi{
		width:100%!important;
	}
	.topkeybox::before{
		height: 20vw;
		bottom: -12vw;
		background-size: contain;
	}
	/* ----------common--------------------*/
	nav#sm-menubox {
		display: block;
	}
	.sw{
		margin: 0 -15px !important;
	}
	.w100{
		width:100%!important;
	}
	.p0{
		padding:0!important;
	}
	.m0{
		margin: 0 !important;
	}
	.ps{
		position:static!important;
		transform:none!important;
	}
	.pcv {
		display: none !important;
	}
	.padv {
		display: block !important;
	}
	.smv {
		display: none;
	}
	a[href^="tel:"] {
    	pointer-events: auto;
	}
	article #topcontent {
		width: auto;
		padding: 0px 20px 0px!important;
	}
	article #content {
		width: auto;
		padding: 0px 20px 0px!important;
	}
	.categorywaku{
		margin:0px 0 8px 8px!important;
	}
	body {
		position: relative;
	}
	.effect,section .box,.effect li{
		opacity: 1 !important;
	}
	.mover,.movel,.moveb,.movet,section .box,.effect li{	
		transform: none !important;
	}
	.moveb{
		bottom:0;
	}
	.blog {
		width:100%;
		margin-right:0;
	}
	aside {
		width:100%!important;
	}
	article {
		margin: 0;
	}
	header #content::before {
		z-index:2;
		content:"";
		position: fixed;
		top:0;
		width:100%;
		height:100px;
		background:linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
		pointer-events: none;
	}
	header.fix {
		top: 0;
	}
	header, header.fix {
		position: fixed;
		width: 100%;
		height: 60px;
		max-height: 60px;
		top: 0!important;
		background-color:unset
	}
	header a{
		pointer-events:auto
	}
	#menu-pc {
		display: none !important;
	}
	header h1, header.fix h1 {
		height:0;
		width:0;
	}
	header #content, header.fix #content {
		height: 100%!important;
		width: 100%!important;
	}
	header h1, header.fix h1 {
		height: 50px !important;
		top: 5px !important;
		left: 10px !important;
		transform: translate(0,0);
		width: calc(100% - 70px);
		background: url(images/logo.png) no-repeat left top;
		background-size: auto 100%;
	}
	header.fix h1 {
		opacity: 1;
	}
	footer #content {
		width: auto;
	}
	footer .copyright {
		line-height: 4.5rem;
		font-size: 1rem;
		text-align: center;
		padding-top:10px;
		background-size: auto 10px;
	}
	.pagetop {
		right: 0;
		bottom: 0;
	}
	section {
		width: auto;
	}
	table.list th, table.list td {
		width: 100%;
		float: left;
		font-size: 1rem
	}
	table.tablecontact td {
		float: left;		
		width: 100%!important;
		padding: 10px 0;
	}
	table.tablelist > tbody > tr > td {
		float: left;
		width: 100%!important;
		padding: 5px!important;
	}
	table.tablelist > tbody > tr > td:nth-of-type(2) {
		padding-bottom:35px!important;
	}
	table th, table td {
		padding-left: 5px !important;
	}
	a:hover {
		opacity: 1 !important;
		-webkit-transition: .3s ease-in-out;
		transition: .3s ease-in-out;
	}
	a:hover div {
		text-decoration: underline;
		opacity: 1 !important;
	}
	a:hover li {
		opacity: 1 !important;
	}
	label:hover {
		opacity: 1 !important;
	}
	.sidemenu ul li{
	}
	.pageimg {
		text-align: center !important;
	}
	input, textarea, select {
		font-size: 1.8rem;
	}
	.bx-next{
		right: -20px;
	}
	.bx-prev{
		left: -20px;
	}
}
/* ------------------------------
------------------------------
------------------------------
640px
------------------------------
------------------------------
------------------------------ */

@media only screen and (max-width: 640px) {
	/* ----------page--------------------*/
	.about1{
		margin:10px auto 5px;
	}
	.sta{
		text-align:center
	}
	/* ----------top--------------------*/
	.image-layers-wrapper {
		left: -50%;
		transform: scale(0.5);
		width: 200%;
		bottom:-180px
	}
	.topkeybox .moving-layer {
		animation: slide-right 8s linear infinite;
	}
	/* ----------common--------------------*/
	footer {
		padding-top: 0rem;
	}
	.sp1{
		  letter-spacing: 1px;
	}
	.nami{
		transform:translate(-50%,0) scale(0.5);
	}
	.topkey{
		max-height: 150vw;
	}
	.menulist {
		  margin: 0 -15px 30px!important;
	}
	.menulist .btn{
		min-width:100%;
		font-size:1.5rem!important
	}
	.menulist .btn::before{
		right: 0px;
		transform: translate(0%,-50%) scale(0.6);
	}
	ul.sm-menulist { 
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr;
	}
	.tb{
		max-width:100%
	}
	html, body {
		overflow: visible;
	}
	.blog img{
		margin-right:0px;
	}
	.picsbox{
		width: 100%;
	}
	.pics li{
		padding:0 10px
	}
	.pics li img{  
		max-height: none;
	} 
	.pagetop{
		transform: scale(0.7);
/*		transform-origin: right bottom; */
	}
	ul.flex{
		display:block!important
	}
	.gmap {
		padding-bottom: 100%;
	} 
	ul.boxlistsm a li,ul.boxlistsm > a:nth-of-type(2n) li,ul.boxlist2 > li, ul.boxlist2 > a li,ul.boxlist3 > li, ul.boxlist3 > a li{
		display: inline-block;
		width: 100%!important;
		margin: 0 0 5rem!important;
		letter-spacing: normal;	
	}   
	ul.boxlist4 > li, ul.boxlist4 > a li,ul.boxlistsm2 > li,ul.boxlistsm2 > a li{
		display: inline-block;
		width: 47%!important;
		margin: 0 2% 5rem 0!important;
		letter-spacing: normal;	
	}
	ul.boxlist4 > li:nth-of-type(2n), ul.boxlist4 > a:nth-of-type(2n) li,ul.boxlistsm2 > li:nth-of-type(2n),ul.boxlistsm2 > a:nth-of-type(2n) li {
		display: inline-block;
		width: 47%!important;
		margin: 0 0 5rem 2%!important;
		letter-spacing: normal;			
	} 
	ul.boxlistsm a li,ul.boxlistsm > a:nth-of-type(2n) li,ul.boxlistsm li,ul.boxlistsm > li:nth-of-type(2n){
		display: inline-block;
		width: 100%!important;
		margin: 0 0 5rem!important;
		letter-spacing: normal;	
	} 
	ul.boxlist4{
		letter-spacing:0	
	}  
	.tablesc{
		display: block;
		overflow-x:auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.sps{
		position:static!important;
		transform:none!important;
	}
	.sw100{
		width:100%!important;
		max-width:100%!important;
	}
	.sp0{
		padding:0!important;
	}
	.sm0{
		margin:0!important;
	}
	.padv {
		display: none !important;
	}
	.smv {
		display: block !important;
	}
	.blogbox {
		padding-left: 0px
	}
	aside {
		padding-right: 0px
	}
	#submitb {
		-webkit-transition: none;
		transition: none;
		max-width: 100% !important;
		min-width: 100% !important;
		width: 100%;
	}
	#submitb:hover, #submite:hover {
		opacity: 1 !important;
	}
	.kugiri {
		margin-top: 5rem;
	}
	.fl {
		float: none !important;
	}
	.fr {
		float: none !important;
	}
}