﻿/*
Theme Name:tasheel
Theme URI: 
Version: 1.0
Author: matsumiya
Author URI: http://design.yoshida-sd.com/
License: matsumiya
*/

/**{font-family: "ヒラギノ明朝 ProN W6","HiraMinProN-W6","HG明朝E","ＭＳ Ｐ明朝","MS PMincho","MS 明朝",serif;}*/
/**{font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}*/
@font-face {
    font-family: 'LeagueSpartan';
    src: url(./font/LeagueSpartan-VariableFont_wght.ttf) format(truetype);
}
@font-face {
    font-family: 'Julius Sans One';
    src: url(./font/JuliusSansOne-Regular.ttf) format(truetype);
}
@font-face {
    font-family: 'KohSantepheap';
    src: url(./font/KohSantepheap-Light.ttf) format(truetype);
}
:root {
    --pc-min-width: 920px;
    --line-height: 140%;
    --font-size: 18px;
    --font-color: #00294C;
    --font-title-color: #368850;
    --font-link-color: #28663d;
    --font-foot-color: #333333;
    --dropdown-bgcolor2: #42a663;
}

* {
    font-family:'KohSantepheap',sans-serif,"google";
    font-size: var(--font-size);
    letter-spacing: 0;
}
body{
	position:relative;
	margin:0;
	width:100%;
	height:100%;
	letter-spacing: 2px;
background:#fff;
}

* html body{  
    overflow: hidden;  
	height: 100%;
}

/*各種クラス初期設定*/
.fixed{
  /*position: fixed;*/
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999;
}

.clear
{
clear:both;
}

a {  
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;  
}  
a:hover {  
    opacity: 0.6;  
    filter: alpha(opacity=80);  
}


.fade {  
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            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-weight:normal;
}

h3{
	margin-top:10px;
	margin-bottom:10px;
	letter-spacing:1px;
}



.page img{
	max-width:100%;
	height:auto;
}

ul{
margin:0;
padding:0;
list-style-type:none;
line-height:var(--line-height);
}

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

a:hover{
	/*color:#aaaaaa;
	text-decoration:underline;*/

	}

p{
	margin:15px 0 20px 0px;
	color:#00294C;
	line-height:var(--line-height);
	letter-spacing:0px;
}

p a{color:#168f82;}

.strong{
font-weight:bold;}

ol li{
margin:10px 0px;
line-height:var(--line-height);
}

.big{
font-size:115%;
font-weight:bold;
}

.v_big{
font-size:150%;
font-weight:bold;
}

.small{
font-size:85%;
}

.v_small{
font-size:70%;
}

hr{
border:none;
border-bottom:dotted 1px #0085B2;
margin:50px 0px;
}

.maplink{
    color: #fff;
    padding: 2px 6px;
    background: #0085b2;
    margin: 5px 0 5px 5px;
    vertical-align: top;
}

.address{
	position: absolute;
    left: 390px;
    color: #333333/*#388ccc*/;
    top: 53px;
    letter-spacing: 1px;
}

.red{
color:#bc3e3f;
}

/*テーブル設定*/

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


th{
    padding: 10px 5px 10px 7px;
    vertical-align: top;
    color: #111111;
    line-height:var(--line-height);
    width: 5%;
    text-align: left;
    border-bottom: 2px solid #c5c5c5;
}

td{
    padding: 10px 5px 10px 7px;
    vertical-align: top;
    color: #111111;
    line-height:var(--line-height);
    width: 15%;
    text-align: left;
    border-bottom: 1px solid #c5c5c5;
}



th span,td span{
    font-weight: bold;
    margin: 10px 0px;
    display: block;
}
/*
th p,td p{
font-size:100%;
}
*/

.pdf {
    background: url(img/pdficon.png) no-repeat;
    padding-left: 25px;
}

/*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;
    font-weight: bold;
    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{

}

.menu_table{
width:96%;
border:double 3px #ccc;
margin:20px auto;
}

.menu_table th,.menu_table td{
border:solid #ccc 3px;
}

.menu_table th{
background:#8de7ef;
font-weight:bold;
}


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

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

.maru{
border-radius:15px;
}

/*サイトヘッダー*/
#header{
width: 100%;
z-index: 50;
position:fixed;
top: 0;
left: 0;
background:#fff;
box-shadow: 1px 1px 5px #999;
}

#header:after {content : "";display : block;height : 0;clear : both;} 



.linkbox span {
position:relative;
    opacity: 1;
    color: #fff;
    padding-left: 18px;
    letter-spacing: 3px;
    font-weight: normal;
}
.linkbox span:before {
position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    left: 5px;
    box-sizing: border-box;
    width: 6px;
    height: 6px;
    border: 6px solid transparent;
    border-left: 6px solid #fff;
}


/*ロゴ*/

#header h1{
	white-space: nowrap;
	display: block;
	display: inline-block;
	position:absolute;
	bottom:3px;
	left:10px;
    z-index: 2;
}

#header h1 a{
	background:url(img/logo.jpg) no-repeat round;
	text-indent:105px;
	white-space:nowrap;
	display:table-cell;
	height: 70px;
	width: 105px;
    vertical-align: middle;
    font-size: 150%;
    font-weight: bold;
}

/*サイドメニュー*/
.drawer-menu * {
    font-weight: bold;
}
.drawer-dropdown {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
}
.drawer-dropdown > label,
.drawer-dropdown > ul a,
.drawer-menu-item {
    padding: 12px 0 12px 15px;
}
.drawer-dropdown label {
    display: block;
    margin: 0;
    line-height: 1;
    color :#fff;
    background :var(--dropdown-bgcolor2);
    cursor :pointer;
    position:relative;
    border-bottom:1px #fff solid;
}

.drawer-dropdown label:after{
	position: absolute;
	top: 50%;
	right:7px;
	content: '';
	margin-top: -5px;
	border: 7px solid transparent;
	border-top-width: 8px;
	border-bottom-width: 5px;
	border-top-color: #fff;
}

.drawer-dropdown a {
    display: block;
    box-sizing:border-box;
    text-decoration: none;
    color: var(--font-title-color);
    line-height: 1;
    border-bottom:1px solid var(--font-title-color);
}

.drawer-dropdown input {
    display: none;
}

.drawer-dropdown ul {
    margin: 0;
    padding: 0;
    background :#f4f4f4;
    list-style: none;
}

.drawer-dropdown li {
    max-height: 0;
    overflow-y: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#menu_bar01:checked ~ #links01 li,
#menu_bar02:checked ~ #links02 li {
    max-height: 61px;
    opacity: 1;
}



/*ヘッダーメニュー*/
#headercont{
    height: 75px;
    position: relative;
    width: 100vw;
    padding: 0px;
    display: table-cell;
    vertical-align: bottom;
    text-align: center;
}


#top_mainmenu {
    width: var(--pc-min-width);
    margin: 0 auto;
}
nav *,
#top_mainmenu * {
    font-family:'KohSantepheap','Noto Sans',sans-serif,"google";
}

#top_mainmenu ul{
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
}

#top_mainmenu li{
    display: inline-block;
    letter-spacing: 1px;
    padding: 0px 10px;
    color: #00294C;
}

#top_mainmenu li a{
    color: #00294C;
    padding: 0px;
    position:relative;
    line-height: 1.2;
    text-align: center;
    vertical-align: top;
}
#top_mainmenu li > ul > li > a {
	text-align: left;
}
/*#top_mainmenu li a:hover{
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #F15A24 0%, #ED1E79 100%);
    border-image-slice: 1;
}*/

#top_mainmenu li a::after {
  background: linear-gradient(#F15A24, #ED1E79);
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}

#top_mainmenu li a:hover::after {
  width: 100%;
}

/*#top_mainmenu li a:after{
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top: 8px solid #FDE73D;
    position: absolute;
    right: 0px;
    top: 7px;
}


.mihashira a:after{
border-top: 8px solid #FF9999!important;
}*/


.head_contact a{
    float: right;
    background-color: #DD4827;
    color: #fff;
    padding: 3px 10px;
    letter-spacing: 0.5px;
}

#top_mainmenu li:first-child{

}

#top_mainmenu li ul{
    box-sizing: unset;
}

#top_mainmenu li ul li {
border:none!important;
padding:0px;
border-bottom:none!important;
}

#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 1;
}
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  text-align: center;
  color: #ddd;
  z-index: 2;
}

/*headbutton*/
.head_button{
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 270px;
    z-index: 100;
}

.head_button li{
    width: 64px;
    height: 43px;
    display: inline-block;
	    margin: 0 7px;
}

.head_button li a{
display:block;

}

/*インフォ*/
.section{
width:100%;
padding:25px 0 25px;
}


.link_box {
    display: inline-block;
    border: 1px solid #0FACB9;
    color: #0FACB9;
    font-weight: bold;
    font-size: 115%;
    padding: 8px 20px;
border-radius: 30px;
margin:20px 0;
}

#page .link_box {
    display: inline-block;
    border: 2px solid #0FACB9;
    color: #0FACB9;
    font-weight: bold;
    font-size: 115%;
    padding: 8px 20px;
border-radius: 2px;
margin:20px 0;
}

.link_box:hover {

}

/*TOPページ*/
.about{
    background: url(img/bg_1.jpg) center;
    background-size: cover;
    height:440px;
    margin-top: 100px;
}

.about h3,.about p{
    color:#fff;
    text-align:center;
}

.about h3{
    font-size: 150%;
    font-weight: bold;
    padding: 30px 0 20px 0;
}

.about p{
    line-height:var(--line-height);
}

.btn{
    background: linear-gradient(#F15A24, #ED1E79);
    color: #fff;
    padding: 20px 40px;
    margin: 0 auto;
    display: inline-block;
    display: block;
    width: 250px;
    position:relative;
    margin-top: 43px;
}

.btn::after{
    content: '';
    left: 3px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 25px;
    /* right: 51px; */
    left: 86%;
}

.seminar{
    padding: 100px 0;
}

.seminar .main_h2{
    font-size: 180%;
    padding: 20px 0;
   }

.box1{
    width: 600px;
    margin: auto;
    position: relative;
}

.box1::before {
  content: '';/*ボックス作成*/
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #f2f2f2;
  z-index: -1;
  transform: skew(-27deg);
  box-shadow: 4px 4px 0px #00294C;
}

.seminar p{
    text-align: center;
    font-weight: bold;
    color: #00294C;
    font-size: 110%;
    margin: 40px 0 60px 0;
}

.seminar h3{
    background: #00294C;
    color: #fff;
    text-align: center;
    display: block;
    width: 60%;
    padding: 10px 0;
    margin: 0 auto;
    border-radius: 25px;
}

.recommend{
    text-align: center;
    margin-top: 30px;
}
.recommend ul li{
    display: inline-block;
    vertical-align: top;
    width: 15%;
}

.recommend h4{
    color: #00294C;
    margin: 10px 0 15px!important;
    font-weight: bold;
}
.recommend h4.other{
    position: relative;
    top: -5px;
    line-height: 100%;
}

.seminar .btn,.seminar_index .btn,.seminar_pages .btn{
    font-size: 180%;
    width: 40%;
    text-align: center;
    border-radius: 43px;
}

.seminar .btn::after,.seminar_index .btn::after,.seminar_pages .btn::after{
    top:42%;
}

.reason{
    background:url(img/bg_3.jpg) no-repeat center;
    background-size: cover;
}

.reason_why{
    height: 370px;
    background: #00294C;
    box-shadow: 12px 12px 0px #fff;
    -webkit-transition: 0.8s;
	-moz-transition: 0.8s;
	-o-transition: 0.8s;
	-ms-transition: 0.8s;
	transition: 0.8s;
}

.reason_why:hover{
    background: #fff;
    box-shadow: 12px 12px 0px #00294C;
}

.reason_why:hover > .main_h2{
    color: #00294C;
}

.reason_why:hover > .more{
    color: #00294C;
    border: 1px solid #00294C;
}


.reason .main_h2{
    color: #fff;
    margin-top: 50px;
}

.reason .main_h2 span{
    font-size: 67%;
    line-height: 400%;
}

.more{
    color: #fff;
    border: 1px solid #fff;
    padding: 7px 30px;
    display: block;
    width: 25%;
    text-align: center;
    margin: 0 auto;
}



.five_reason{
    float: right;
}

.gray li{
    height: 300px;
    background-size: contain;
}

.gray li a{
    color: #00294C;
    font-weight: bold;
}

.gray li a span{
    font-size: 75%;
}

.instructor{
    background:url(img/instructor.jpg) no-repeat center;
}

.voice{
    background:url(img/voice.jpg) no-repeat center;
}

.flow{
    background:url(img/flow.jpg) no-repeat center;
}

.panel_cont{
    height: 44px;
    background-color: #ffffffba;
    padding: 43px;
}




/*パネル*/
.panel{
text-align:center;
width:100%;
margin:0 auto;
max-width:100%;
display:block;
}

.panel li {
display:inline-block;
vertical-align:top;
margin:0 30px;
box-sizing:border-box;
}

.gray .panel li {
display:inline-block;
vertical-align:top;
margin:0 15px;
box-sizing:border-box;
padding: 83px 5%;
}

.panel li img{
max-width:100%;
text-align:center;
display:block;
}

.panel li img{  
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;  
} 
.panel li img:hover{  
    opacity: 0.6;  
    filter: alpha(opacity=80);  
}



/*サブパネル*/

.sub_panel{
background:#FFEDDB;
}

.sub_panel li{
border: #EB7925 solid 2px;
    border-radius: 3px;
    background: #fff;
    padding: 15px 10px;
    margin: 14px;
}

.sub_panel li .tel_title{
background: #eee;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
}
.sub_panel .tel_bg{
    background: #FFFBDF;
    padding: 5px 10px;
    margin: 5px;
    text-align: left;
    display: block;
}
.sub_panel .tel_bg .small{
display:block;
padding-left:35px;
}
.sub_panel .tel{
padding-left:35px;
background:url(img/tel_icon.png) no-repeat left;
font-weight:bold;
font-size:115%;
}

.sub_panel li img {
max-width:35%;
display:block;
margin:0 auto;
}

.sub_panel li p{
font-size:90%;
}

.sub_panel li .orange_button{
    background: #EB7925;
    border-radius: 20px;
    color: #fff;
    padding: 7px 0px;
    display: inline-block;
    width: 100%;
}

/*フッターインフォ*/

.foot_info{
background:url(img/bg.jpg);
padding:40px 0;
font-size:95%;
}

.foot_info_box{
background:url(img/white_bg.png);
width:96%;
box-sizing:border-box;
padding:10px 10px 20px;
max-width:1060px;
margin:0 auto;
color:#3181bc; 
letter-spacing:0px;
 }

.foot_info_box h2{
    font-size: 160%;
    padding: 10px 0 5px;
    margin: 20px auto 20px;
    text-align: center;
    color: #333333;
    font-weight: bold;
}

.foot_info_box h3{
    color: #0085B2;
    border-left: 7px solid #0085B2;
    padding: 0px 0 0px 20px;
    margin-bottom: 14px;
    margin: 0 0 10px;
    font-weight: bold;
}

.foot_info_box p{
color:#0085B2; 
font-weight:bold;
 margin: 18px 0px;
}

.foot_info_box .telbutton{
margin:10px 0 15px;
}

.foot_info_box .linkbox {
    width: 96%;
    padding: 6px;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    max-width: 390px;
}

.foot_info_box .three_box,.foot_info_box .seven_box{
margin:0px auto!important;
}


/*シェアボタン*/
#share{
		margin-bottom:10px;
		margin-right:3%;
		width:auto;
		padding-top:15px;
		top:15px;
		position:absolute;
		right:0;
		z-index:999;
				
	}

	#share .snsb{
		float:left;
		vertical-align:bottom;
		width:80px;
		margin-right:5px;
	}

	#share:after {
	     content : "";
	     display : block;
	     height : 0;
	     clear : both;
} 


/*見出し*/

h2{
font-size: 120%;
margin: 30px auto 20px;
text-align: left;
color: #fff;
}

.main_h2{
font-size: 120%;
    padding: 40px 0 20px;
    margin: 20px auto 20px;
    text-align: center;
    color: #00294C;
    font-weight: bold;
}



/*カバー*/
#cover{
width:100%;
position:absolute;
bottom:0;
    z-index: 10;
font-size:0px;
}


.linkbox{
    background: #388ccc;
    padding: 6px 50px;
    margin: 30px auto 30px;
    display: inline-block;
    color: #fff;
    font-size: 86%;
}

.linkbox span{
background:url(img/arrow.png) no-repeat left;
color: #fff;
padding-left:10px;
}

/*講座申込み*/

.button{
text-align:center;
}

.button li{
display:inline-block;
margin:15px;
}

/*TOPトピックス*/

.topics{
}

.ichiran{
    background: #00294C;
    color: #fff;
    padding: 5px 15px;
    font-size: 90%;
    display: inline-block;
    float: right;
    position: relative;
    bottom: 31px;
}

#list{
width:100%;
margin:0px auto 0px;
max-width:var(--pc-min-width);

}

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

.pctopics li {
    width: 100%;
    padding: 10px;
    list-style: none;
    margin: 5px 12px;
    position: relative;
    display: block;
    box-sizing: border-box;
    border-bottom: 1px solid #00294C;
}

.topics_cont{
    background: #f2f2f2;
}

#list ul li .topics{
color:#fff;
}
#list ul li .event{
color:#fff;
}


#list li h3{
display: inline-block;
margin: 5px 0px 3px;
}

#list li h3 a{
color:#333;

}

#list li .read{
background:#FEEF7D;
color:#fff;
padding:0px 30px;
font-size:85%;
margin:10px auto;
display:inline-block;
}

#list li .summary{
font-size:75%;
color: #666;
line-height: 170%;
}

#list li .footer{
margin-top:3px;
font-size:80%;
text-align: center;
}

#list li .footer{
border:1px solid #fff;
padding:3px 5px;
}

#list li p{
font-size:85%;
text-align:left;
}

#list li h2{
font-size:150%;
margin:0 auto;
text-align:center;
}

#list li img{
	/*position: absolute;*/
    display: block;
    width: 200px;
    height: auto;
}

#list .thumb{
 margin-top:10px;
 display:block;
 width:210px; /*トリミング後の横幅*/
 height:150px; /*トリミング後の縦幅*/
 overflow:hidden;
 position:relative;
 z-index:1;
 }

#list .thumb img{
    max-width: none;
    margin: 0px auto;
    text-align: center;
    display: block;
    top: 50%!important;
    left: 50%!important;
    position: relative;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

 p.thumb img{
 float:left;
 position:absolute;
max-width:250px;
height:auto;
 }

#list ul li  .date{
    color: #333;
    text-align: left;
    display: inline-block;
    padding: 3px 0px;
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
    text-align: justify;
}

#list ul li .cat-name{
    font-weight: normal;
    font-size: 80%;
    margin: 0 auto;
    display: inline-block;
    width: 90px;
    z-index: 100;
	text-align:center;
}

.date_box{
    display: inline-block;
}
.news_ttl{
display: inline-block;
}

.readmore{
    background: #FEEF7D;
    padding: 2px 5px;
}

.topicsall{
height:47px;
width:279px;
margin:10px auto;
text-indent:100%;
white-space:nowrap;
overflow:hidden;
display:block;
}

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

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

#page #list ul li{

margin:5px;
padding: 5px;
/*min-height: 140px;*/
}

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

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

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

.seven_box .cat-name{

    background: #00a5d9;
    /* font-weight: bold; */
    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;
position: relative;
}

.content{
max-width:100%;
width:var(--pc-min-width);
margin:0 auto;
padding:5px;
box-sizing:border-box;
}

#main_con{
max-width:100%;
width: 880px;
    vertical-align: top;
    display: inline-block;
    padding-left: 5px;
box-sizing:border-box;
}

/*共通BOX*/

.cont_box{
max-width:var(--pc-min-width);
width:100%;
margin:10px auto 15px;
}


.two_box,.three_box,.four_box,.five_box,.six_box,.seven_box{
padding:3px;
box-sizing:border-box;
}

.two_box{
width:23%;
max-width:100%;
margin:0px auto 15px;
display: inline-block;
vertical-align: top;
}

.eight_box{
width:78%;
max-width:100%;
margin:0px auto 15px;
display: inline-block;
vertical-align: top;
}

.seven_box{
width:68%;
max-width:100%;
margin:10px auto 10px;
display: inline-block;
vertical-align: top;
}

.seven_box h3{
margin-top:0px!important;
}

.seven_box img{
display: inline-block;
    vertical-align: top;
    text-align: center;
    /* height: 180px!important; */
    width: 90%;
    margin: 0 auto 5px;
}

.six_box{
width:58%;
max-width:100%;
margin:10px auto 10px;
display: inline-block;
vertical-align: top;
}

.four_box{
width:39%;
max-width:100%;
margin:10px auto 10px;
display: inline-block;
vertical-align: top;
text-align:center;
}

.four_box img{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: auto;
    margin: 0 5px;
}

.five_box{
width: 48%;
max-width: 100%;
margin: 10px 5px 10px;
display: inline-block;
vertical-align: top;
}

#page.five_box img{
    display: inline-block;
    vertical-align: top;
text-align:center;
    width: auto;
    margin: 0 5px;
}
#page .five_box img{
}

.three_box{
width:30%;
max-width:100%;
margin:10px auto 10px;
display: inline-block;
vertical-align: top;
}

.three_box img{
margin:8px auto;
display: inline-block;
vertical-align: top;
text-align:center;
width: auto;
}

/*単独ページの共通設定*/
#page .cont p{
	text-align:left;
padding:0 5px 20px 5px;
}

#page #main h2{

    margin: 10px 0;
    color: #fff;
    font-size: 130%;
    padding: 5px 10px;
    border-radius: 4px;
}

#page #main h3{
    color: #F15A24;
    border-left: 5px solid #F15A24;
    padding: 0px 0 0px 20px;
    margin: 80px 0 20px;
    font-weight: bold;
}

/*#page #main h3:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    left: 5px;
    box-sizing: border-box;
	width: 12px;
    height: 5px;
    border: 8px solid transparent;
    border-left: 8px solid #0c9ea9;
}*/

.page_title{
margin: 0px 0px 15px!important;
padding: 0px 0px 10px 30px!important;
}


#home h4{
    margin: 25px 0 15px;
}

#page #main h4{
margin:20px 0 10px;
font-weight:bold;
color:#333;
display:inline-block;
font-size: 120%;
}

#page #main h5{
	font-weight:bold;
	font-size:105%;
    color:#4d2200;
    padding: 2px 0px;
    margin:10px 0 15px;
}

#page #main h6{
font-size: 90%;
}

.page{
margin: 0px auto 0px;
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
}

.copy{
color: #565523;
font-size:110%;
}

.kuchikomi{
    border: none!important;
    font-size: 130%;
    padding: 0!important;
}


/*サイドバー */
#sidebar{
    margin-left: 20px;
    width: 240px;
    vertical-align: top;
    display: inline-block;
    padding-top:30px;
}

#sidebar h2{
    color: #0085B2;
    border-left: 7px solid #0085B2;
    padding: 0px 0 0px 20px;

    margin: 0 0 20px;
    font-weight: bold;
}

#sidebar .sideinfo{
margin:15px auto 5px;
 letter-spacing: 1px;
text-align:left;
}

.sideinfo span{
font-size:120%;
}

.fontchange{
text-align:center;
position:absolute;
bottom:10px;
right:5px;
}

.fontchange .comment{
border:none!important;
background:none!important;
font-size:10px!;
}

.fontchange li{
color:#0C4B6E;
padding:0px 2px;
display:inline-block;
margin:0px;
border:1px  solid #0C4B6E;
vertical-align:bottom;
letter-spacing: 0;
}

#fzS:hover,#fzM:hover,#fzL:hover{
background:#0C4B6E;
color:#fff;
}

.fontchange #fzS{
font-size:8px!important;
padding:0px 4px;
}
.fontchange #fzM{
font-size:10px!important;
padding:1px 6px;
}
.fontchange #fzL{
font-size:12px!important;
padding:2px 7px;
}

#sidebar .sidemenu ul{
    margin: 10px auto 20px;
}

#sidebar .sidemenu ul li{
    margin: 2px auto;
    padding: 12px 0;
    font-size: 100%;
    border-bottom: #0EACB8 solid 1px;
}

#sidebar .sidemenu ul li a{
color:#0EACB8;
padding:15px 0 15px 25px;
position:relative;
}
#sidebar .sidemenu ul li a:before{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  left: 5px;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 6px solid #0EACB8;
}

#sidebar img{
    text-align: center;
    display: block;
    margin: 15px auto;
}

#sidebar #list li {
font-size:85%;
}

#sidebar #list li .footer{
    border: 1px solid #ccc;
    padding: 1px 14px;
    display: inline-block;
}

#sidebar .side_contact{
    background: #39d4c4;
    border: 3px solid #7aecf5;
    border-radius: 4px;
    padding: 14px 10px;
    margin: 10px 0;
    font-weight: bold;
    box-sizing: border-box;
    color: #fff;
    display: block;
    text-align: center;
}

#sidebar #list li .thumb {
    display: inline-block;
    width: 30%;
    vertical-align: top;
}

#sidebar #list li .rightCon {
    width: 66%;
    padding: 0 10px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    line-height: 140%;
}

#sidebar .date {
    color: #888!important;
    background: none!important;
}

#sidebar #list ul li .cat-name{
    position: static;
    display: inline-block;
    background: #ccc;
    padding: 0px;
    vertical-align: top;
    margin: 0px;
}

#cont:after {content : "";display : block;height : 0;clear : both;} 

/*フッター*/
#footer{
	overflow:hidden;
	color:var(--font-foot-color);
    min-width: 100%;
    position:relative;
	bottom: 0px;
    background-color: #ffffff;
    border-top: 1px solid #c0c0c0;
}
#footer * {
	color:var(--font-foot-color);
    box-sizing: border-box;
}
#footer .cont {
	clear:both;
	line-height:var(--line-height);
    box-sizing:border-box;
    display: flex;
    align-items: center;
}
#footer .cont > *:nth-of-type(1) {
    min-width: calc((var(--pc-min-width) - (8em + 13em + 6em + 2px * 2 * 3)) / 2 + 80px);
    width:     calc((100vw               - (8em + 13em + 6em + 2px * 2 * 3)) / 2 + 80px);
 }
#footer .cont > *:nth-of-type(3) {
    min-width: calc((var(--pc-min-width) - (8em + 13em + 6em + 2px * 2 * 3)) / 2 - 80px);
    width:     calc((100vw               - (8em + 13em + 6em + 2px * 2 * 3)) / 2 - 80px);
}
#footer .cont .logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
#footer .cont .logo > span {
    display: inline-block;
    padding: 5px;
}

.footmenu {
    margin: 0;
    display: inline-block;
}

.footmenu ul,
.footmenu ul * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.footmenu ul{
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	text-align: left;
	margin: 0;
	width: calc(8em + 13em + 6em + 2px * 2 * 3);
}

.footmenu ul li{
    padding: 10px 0;
    display: inline-block;
}
.footmenu ul li:nth-of-type(1) { width:  8em; }
.footmenu ul li:nth-of-type(2) { width: 13em; }
.footmenu ul li:nth-of-type(3) { width:  6em; }
.footmenu ul li:nth-of-type(4) { width:  8em; }
.footmenu ul li:nth-of-type(5) { width: 13em; }

#footer div:has(.sns) {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
}
#footer div.sns {
    display: flex;
    flex-direction: column;
    width: 90px;
    justify-content: center;
}
#footer div.sns a {
    font-size: calc(var(--font-size) * 0.9);
    text-align:center;
    margin: 5px 0;
}
#footer div.sns a.instagram {
    background: url(./images/instagram.png) no-repeat no-repeat;
    background-size: 30px;
    background-position: center;
    width: 80px;
    height: 60px;
    overflow: hidden;
    text-indent: 100%;
}
#footer .ft_bottom {
    text-align: center;
    padding-bottom: 10px;
}
#footer .ft_bottom > p {
    padding: 0;
    margin: 0;
    font-size: calc(var(--font-size) * 0.8);
}
/*固定ページメインタイトル*/

#pageheader{
	width: 100%;
    padding: 180px 0 150px 0;
    background: url(img/東京タワー.png);
    margin: 0 auto;
    background-size: cover;
}

.pageheader_cont{
width:var(--pc-min-width);
max-width:90%;
margin:0 auto;
height:auto;
padding-left: 10px;
}

.pageheader_cont h2{
	color: #fff!important;
    font-size: calc(var(--font-size) * 2.2);
	margin:10px auto;
	padding: 0;
	border: none;
	font-weight: bold;
	letter-spacing: 3px;
	text-align: center;
/*	mix-blend-mode: difference; */
	text-shadow:  2px  2px 10px #777777,
	             -2px  2px 10px #777777,
	              2px -2px 10px #777777,
	             -2px -2px 10px #777777;
}

.pageheader_cont h2 span{
    color: #fff;
    display: block;
    font-size: 80%;
    font-weight: bold;
    margin: 5px 0 0;
}

.about_head {
    background: url(img/about_head.jpg) center !important;
    background-size: cover!important;
    height: 120px!important;
}
.info_head {
    background: url(img/about_head.jpg) center !important;
    background-size: cover!important;
    height: 120px!important;
}
.crayon_head {
    background: url(img/crayon_head.jpg) center !important;
    background-size: cover!important;
    height: 150px!important;
}




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


.post{
	padding:0px 0 20px 0px;
	z-index:1;
}

.entrytext{
padding:20px 0px 30px;
}

.post-foot{
/*	height:100px;
        margin-bottom:100px;*/
	
}

.pdf{
    background: url(img/pdficon.png) no-repeat;
padding-left: 25px;
    padding-top: 0px;
    display: block;

}

/*カテゴリー一覧設定*/

.cate_block{
border-top:1px dotted #8C6900;
border-bottom:1px dotted #8C6900;
width:100%;
max-width:100%;
text-align:center;
font-size:0;
margin:10px auto 20px;
}

.cate_left{
display:inline-block;
width:150px;
max-width:100%;
vertical-align:top;
padding:10px!important;

}

.cate_right{
vertical-align:top;
display:inline-block;
font-size:14px;
width:550px;
max-width:100%;
text-align:left;
padding:10px!important;
}

/*トピックス専用*/
.topics_h3{
    background: none!important;

    font-size: 120%!important;
    margin: 10px 0!important;
}

/* 各ページ設定 */



.seminar_index{
    text-align: center;
}

.seminar_index h3{
    color: #00294C!important;
    font-size: 200%;
    border-bottom: 6px solid #00294c;
    display: inline-block;
    border-left: none!important;
}



.seminar_pages p{
    line-height: 2;
    text-align: left;
}

.seminar_box{
    border: 1px solid #333;
    }

.seminar_box p{
    margin-top: -50px;
    text-align: justify;
    padding: 0 15px;
    min-height: 189px;
   }


#page #main .seminar_box h4{
    border-left:3px solid #F15A24;
    border-right:3px solid #ED1E79;
    padding: 0px;
    margin: 0 auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #E5004F;
    position: relative;
    bottom: 47px;
    background: #fff;
}

#page #main .seminar_box h4:after,#page #main .seminar_box h4:before{
    content:"";
    display:block;
    height:3px;
    width:100%;
	background: -webkit-gradient(linear, left top, right bottom, from(#f15a24), to(#ed1e79));
    background: -moz-linear-gradient(left, #f15a24, #ed1e79);
    background: linear-gradient(left, #f15a24, #ed1e79);
    margin: 15px 0;
}

.seminar_list{
    margin-top: 100px;
    text-align: center;
}

.seminar_box a{
    background: #eee;
    width: 80%;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
    padding: 3px 0;
    color: #dc2f08;
    box-shadow: 1px 1px 2px #777;
    font-weight: 600;
}

.greeting p {
    line-height: 2.5;
}

.greeting p span {
    float: right;
}

.kuchikomi_jisseki li{
    font-weight: bold;
    padding: 5px 0px;
    letter-spacing: 0;
}

.kuchikomi_cont{
    background: #fffff2;
    padding: 30px;
}

.kuchikomi_cont li{
    font-weight: bold;
    color: #0e5999;
    padding: 20px 0;
    font-size: 120%;
}

.kuchikomi_voice{
    padding: 30px;
    border: 2px solid #c6c6c6;
}

.kuchikomi_voice span{
    padding-top: 10px;
    display: block;
}

.saudiarabia{
    vertical-align: bottom;
}

/*ワードプレス設定*/
.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
}

.postnav{
	text-align:right!important;
}

.postnav a{
    background: #8C6900;
    padding: 5px 10px;
    border-radius: 3px;
    color: #fff!important;
}

.postnav a:hover{
color:#bbbbbb!important;
}

.more-link,.more-link:hover{
	color:#111111;
}

.catLabel{
	background:#666;
	display:inline-block;
	padding:1px 4px;
	color:#fff;
	font-weight:normal;
	margin-right:5px;
}

.catLabel a{
	color:#fff;
}



.gallery{
	clear:both;
}

/* =Widget Areas
-------------------------------------------------------------- */



.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0 0 18px 0;
}

.widget-container li
	{
	padding-top:3px;
	text-indent:29px;
	margin-left:0px;
}

.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	
	/*text-decoration: underline;*/
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#siderbar .widget-area ul {
	margin-left: 0;
	padding: 0 0px 0 0;
}
#siderbar .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* TOPページの挨拶 */
#hello{
line-height:150%;
clear:both;
}

#hello p{
margin:0 15px 10px 10px;
}

#hello img{
margin:0 15px 15px 0px;
border:3px solid #BBCDE1;
}


/* ここからが透過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 {
padding: 20px 0;  /*ボックス内の余白*/
margin-top:-50px;
border-radius: 20px}    /*ボックスを角丸に指定*/
 
.wpcf7-form span.hissu  {
color: #aa0000; /*必須の文字色指定*/
font-size: smaller} /*文字サイズを一回り小さく*/

.wpcf7-form textarea    {width:80%; height:150px;}   /*テキストエリア幅*/
 
.wpcf7-form p.submit    {text-align: left}    /*送信ボタンの場所*/
 
.wpcf7-form .wpcf7-submit   {width: 30%}/*送信ボタンの横幅指定*/

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

#page-top a:hover {
width: 45x;
margin-bottom: 0px;
height: 45px;
}
*/
#page-top a {
text-indent: -99999px;
	position: relative;
	display: inline-block;
	height: 40px;
	line-height: 0;
	width: 40px;
	text-align: center;
	border: 1px solid var(--font-title-color);
	text-decoration: none;
	background-color: var(--font-title-color);
	color: #ffffff;
	border-radius: 10%;
	opacity    : 0.8;
	filter     : alpha(opacity=80);
	visibility: visible;
}
#page-top a:nth-of-type(1):before {
	position: absolute;
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	top: calc((40px - 10px) / 2 - 3px);
	left: calc((40px - 10px) / 2);
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#page-top a:nth-of-type(1):after {
	position: absolute;
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	top: calc((40px - 10px) / 2 + 5px);
	left: calc((40px - 10px) / 2);
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
/*
#page-top a:hover {
	opacity    : 1.0;
	filter     : alpha(opacity=100);
}
*/

/*　スマイル消し　*/
img#wpstats{
    position:absolute;
    width:0px;
    height:0px;
    padding:0px;
    border:none;
    overflow:hidden;
}


#contactArea {

overflow: hidden;
width:230px;
border-bottom: 0px solid #02b6f1; 
background:url(img/contact.png);
z-index:9999;
position:relatibive;
}

#contactArea ul {
overflow:hidden;
margin-top:10px;
   /*display:inline; /* IE7 and below 
    *zoom:1; /* IE7 and below */
    padding-left:0;
width:220px;

}
#contactArea li {
font-size:67%;
overflow:hidden;
text-align:center;
width:200px;
float:left;
list-style-type:none;
text-align:center;
color:#333333;

margin:4px auto;
padding:4px;
border-bottom:1px #F1E4E4 dotted;
}

/*#contactArea li + li {
	
    margin-top:20px;
    
}*/

#contactArea li a{
	display:block;
    color:#703838;
    text-shadow: 2px 2px 4px #aaaaaa;

}

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

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

* {outline: 0; } 


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

}
.dropmenu li a{
  display: block;
}
.dropmenu li ul{
    position: absolute;
    top: 80px;
    left: 0;
    padding: 0;
    box-sizing: border-box;
    width: calc(17em + 20px * 2) !important;
    background: #ffffffa8;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.dropmenu li ul li{
  margin:0px!important;
  width: auto!important;
  line-height: 150%;
}
.dropmenu li ul li a{
    padding: 10px 20px 10px 20px!important;
    text-align: center;
    font-size: 100%;
    letter-spacing:1px;
    font-weight: normal;
    color:#333;
    position:relative;
    width: 17em;
}

.dropmenu li ul li a:hover{
border-bottom:#333;}

/*.dropmenu li ul li a::after {
  background: #DD4827;
  bottom: 0;
  content: '';
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}

.dropmenu li ul li a:hover::after {
  width: 100%;
}
*/


/*.dropmenu li ul li a:before{
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    left: 5px;
    box-sizing: border-box;
    width: 6px;
    height: 6px;
    border: 6px solid transparent;
    border-left: 6px solid #aaa;
}*/


.dropmenu li ul li a:after{
	content:none!important;
}

.dropmenu li:hover > a{
    border-bottom: 2px solid #DD4827!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;
}

.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%;
border-radius:15px;
}
#mapCas{
width:90%;
height:480px;
margin:10px auto;
}

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

#wrap > div.content * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#wrap > div.content > * {
	margin-top: 1em;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

/*パンくずリスト*/
#wrap > div.content .breadcrumbs {
    margin: 0 0 0 5px;
}
#wrap > div.content .breadcrumbs > span + span::before {
    content: '>';
    padding:0 7px;
}
#wrap > div.content .breadcrumbs > span > a > span,
#wrap > div.content .breadcrumbs > span {
    font-size: 75%;
}
#wrap > div.content .breadcrumbs > span {
    color: #333333;
}
h2, h3, h4, p {
	white-space: pre-wrap;
}

#wrap > div.content > h1 {
	display: inline-block;
    color: var(--font-title-color);
	border-bottom: 3px double var(--font-title-color);
	padding-left: 5px;
	padding-right: 5px;
    font-size:150%;
    font-weight: bold;
}
#wrap > div.content > h1.jp {
    font-size: 135%;
}
#wrap > div.content > p > span {
	display: block;
	padding-left: 1em;
}
#wrap > div.content > *:last-child {
	margin-bottom: 20px;
}
#wrap > div.content > ul.images {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    line-height: 0;
}
#wrap > div.content > ul.images > li {
    padding: 5px;
    display: flex;
    flex-direction: column;
}
#wrap > div.content > ul.images > li > a:nth-of-type(1) {
    height: 2em;
    line-height: 2em;
    background-color: #ececd0;
    text-align: center;
    margin-bottom: 5px;
}
#pageheader.travel2saudi { background:url(img/ラクダ.png); background-size: cover; background-position-y:center;  }
#pageheader.travel2japan { background:url(img/富士山・湖.png); background-size: cover; background-position-y:center; }
#pageheader.nanyskitchen { background:url(img/中東料理.png); background-size: cover; background-position-y:center;  }
#pageheader.contactus    { background:url(img/Contactus.png); background-size: cover; background-position-y:center;  }
#pageheader.p_policy     { background:url(img/Privacypolicy.png); background-size:cover; background-position-y:center;  }
#pageheader.scta         { background:url(img/特定商取引.jpeg); background-size:cover; background-position-y:center;  }

@keyframes fadeanime-fadein {
	  0% { opacity: 0; }
	 50% { opacity: 0; }
	100% { opacity: 1; }
}

.fadeanime {
    position: relative;
    margin: 60px 0 0 0;
    padding: 0;
	height: calc(100vw / 3 - 60px);
    max-height: 340px;
    overflow: hidden;
}

@keyframes fade {
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    20%{
        opacity: 1;
    }
    80%{
        opacity: 0;
    }
    100%{
        opacity: 0;
        z-index: 0;
    }
}
.fadeanime > img {
    position: absolute;
    left: 0;
    top: -100px;
    z-index: 10;
    opacity: 0;
    width: 100%;
    animation-name: fade;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite
}
.fadeanime:has(> img:nth-of-type(2)) > img {
    animation-duration: 10s;
}
.fadeanime:has(> img:nth-of-type(3)) > img {
    animation-duration: 15s;
}
.fadeanime:has(> img:nth-of-type(4)) > img {
    animation-duration: 20s;
}
.fadeanime:has(> img:nth-of-type(5)) > img {
    animation-duration: 25s;
}
.fadeanime > img:nth-of-type(2) { animation-delay:  5s; }
.fadeanime > img:nth-of-type(3) { animation-delay: 10s; }
.fadeanime > img:nth-of-type(4) { animation-delay: 15s; }
.fadeanime > img:nth-of-type(5) { animation-delay: 20s; }
.fadeanime > h2 {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
	animation: fadeanime-fadein 2s ease-in 1 both;
}
.fadeanime > h2 > span {
    font-size: calc(var(--font-size) * 2.2);
  text-shadow:  2px  2px 10px #777777,
               -2px  2px 10px #777777,
                2px -2px 10px #777777,
               -2px -2px 10px #777777;
}
.fadeanime > h2 > span:nth-of-type(1) {
    font-weight: bold;
}
.fadeanime > h2 > span:nth-of-type(2) {
    font-size: calc(var(--font-size) * 1.6);
}

.content .title > li {
    text-align: center;
    color: var(--font-title-color);
}
.content .title > li:nth-of-type(1) {
    font-size: calc(var(--font-size) * 1.26);
}
.content .title > li:nth-of-type(2) {
    margin-top: 5px;
    font-size: calc(var(--font-size) * 1);
}
.content .title > li:nth-of-type(3) {
    margin-top: 20px;
}
.content .title > li > img {
    width: 80%;
    max-width: 600px;
}
.content .title + div {
    text-align: center;
    font-weight: bold;
    color: var(--font-title-color);
    font-size: 1.1em;
}
.content.contact form *[hidden] {
	display: none;
}
.content.contact form input[type='text'] {
	width: 530px;
	max-width: calc(100vw - 30px);
}
.content.contact form textarea {
	width: 850px;
	max-width: calc(100vw - 30px);
}
.content.contact form span {
	color: #ff8080;
}
.content.contact form label {
	display: inline-block;
}
.content.contact form label > span {
	display: inline-block;
	margin: 0 10px;
	white-space: nowrap;
}
.content.contact form label + label {
	margin-top: 10px;
}
.content.contact form label:not(.active) > span {
	visibility: hidden;
}
.content.contact form label.invalid.active > span {
	visibility: visible;
}
.content.contact form button {
	margin-top: 10px;
	margin-right: 10px;
	padding: 5px 0;
	width: 120px;
}
.content.contact form button + label {
	border: 1px solid #ffcab0;
}
.content.contact form button + label > span {
	visibility: visible !important;
	white-space: nowrap;
	padding: 3px 2px 2px 5px;
	margin: 0;
}
.content.contact form button + label > span:nth-of-type(1) {
	margin-right: 1em;
}
.content.contact form button + label:not(.on) {
	visibility: hidden;
}

div.content > p.nary {
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
}
div.content > p.nary > span {
    background-image: url(img/Nany2.jpg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top 10px;
    background-size: 190px;
    padding: 10px 0 !important;
    padding-left: calc(190px + 10px) !important;
    min-height: calc(237px + 5px);
    margin: 0 auto;
    max-width: 750px;
}
div.content ol li {
    color: var(--font-color);
}

#wrap > div.content h3 {
    color: var(--font-color);
    font-weight: bold;
}
#wrap > div.content h3 + * {
    margin-top: 10px;
}
#wrap > div.content > div.history {
    display: table;
}
#wrap > div.content > div.history > * {
    display: table-row;
}
#wrap > div.content > div.history > * > * {
    display: table-cell;
    padding: 0 5px 0 0;
    color: var(--font-color);
}
#wrap > div.content > div.history > * > dt {
    white-space: nowrap;
}

#wrap > div.content p a {
    color: var(--font-link-color);
    padding: 0px;
    position:relative;
    line-height: 1.2;
	text-align: left;
    vertical-align: top;
    background: linear-gradient(transparent 60%, #73ffb9 60%);
}

#wrap > div.content p a::after {
  background: linear-gradient(var(--font-link-color), var(--font-link-color));
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}

#wrap > div.content p a:hover {
    opacity: 1;
}
#wrap > div.content p a:hover::after {
  width: 100%;
}
#wrap > div.content p a[href][target] > span:nth-of-type(2) {
	position: relative;
	width: 15px;
}
#wrap > div.content p a[href][target] > span:nth-of-type(2):after {
	display: inline-block;
	content: '';
	position: absolute;
	right: -15px;
	top: 6px;
	border: 1px solid var(--font-link-color);
	width: 0.35em;
	height: 0.5em;
}
#wrap > div.content p a[href][target] > span:nth-of-type(2):before {
	display: inline-block;
	content: '';
	position: absolute;
	right: calc(-15px + 3px + 0px);
	top: calc(6px + 3px + 0px);
	border-left: 2px solid var(--font-link-color);
	border-bottom: 2px solid var(--font-link-color);
	width: 0.35em;
	height: 0.5em;
}
a[href][target]:hover > span:nth-of-type(2):after {
	background-color: var(--font-link-color);
}
