@charset "utf-8";
/*
theme Name: yskj
Author: yskj
Description: original theme
version： 1.0.0
*/
body {
	font-family:"Noto Sans JP","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-size: 15px;
	line-height: 1.56;
	color: #666;
	min-height: 100vh;
}
input, textarea, select, button {
	font-family:"Noto Sans JP","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-size: 16px;
	transition: 0.5s;
	outline: none;
}
.flex {
	display: flex;
}
.space-between {
	justify-content: space-between;
}
.flex-2 > * {
	width: 50%;
}
img {
	max-width: 100%;
	height: auto;
}
.container {
		margin: 0 auto;
		width: 1280px;
		max-width: 100%;
		box-sizing: border-box;
}

a {
	transition: 0.5s;
	color: #666;
	text-decoration: none;
}

/*---------------
form
---------------*/
input[type="text"],input[type="email"],input[type="tel"],input[type="submit"],select,button {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	font-size: 15px;
	box-sizing: border-box;
	padding: 8px;
	border-radius: 5px;
	display: block;
	border:none;
}
/*---------------
flex style
---------------*/
@media screen and (max-width:767px) {
	.showPc {
		display: none;
	}
}

@media screen and (min-width:768px){
	.showSp {
		display: none;
	}
	.flex-pc {
		display: flex;
	}
	.flex-pc-space-between {
		display: flex;
		justify-content: space-between;
	}
}

/*---------------
iframe
---------------*/
.iframe {
    position: relative;
    width: 100%;    /* 左右に余白が必要なら値を変更してもOK */
    height: 0;
    padding-bottom: 56.25%;    /* padding-topでもOK */
    overflow: hidden;
}
.iframe iframe,
.iframe object,
.iframe embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* 必要であれば!importantを付けてください */
    height: 100%;    /* 必要であれば!importantを付けてください */
}

/*---------------
table
---------------*/
table.table1,table.table2 {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}
table.table1 th, table.table1 td {
	vertical-align: top;
	box-sizing: border-box;
    padding: 10px;
    font-size: 15px;
	font-weight: normal;
}
table.table1 th {
	width: 25%;
	position: relative;
}
table.table1 th span {
	font-size: 13px;
	display: block;
}

table.table2 th, table.table2 td {
	vertical-align: top;
	box-sizing: border-box;
    padding: 10px;
    font-size: 15px;
	font-weight: normal;
	border-bottom: 1px solid #EEE;
	text-align: left;
	line-height: 170%;
}
table.table2 th {
	width: 25%;
}
@media screen and (max-width:767px) {
	table.table1 th, table.table1 td {
		display: block;
		width: 100%;
		clear: both;
	}
	table.table2 th {
		width: 30%;
		}
	table.table1 th {
		padding-top: 15px;
		padding-bottom: 0;
		font-size: 13px;
	}
	table.table1 th span {
		font-size: 11px;
		display: block;
	}
	table.table1 td {
		padding-bottom: 15px;
		border-bottom: 1px solid #CCC;
	}
}
@media screen and (min-width:768px) {
	table.table1 th, table.table1 td,table.table2 th, table.table2 td {
    padding: 15px;
	}
	table.table1 th:after {
		content: "";
		background: #CCC;
		height: calc(100% - 30px);
		top: 15px;
		right: 0;
		width: 1px;
		position: absolute;
	}
}
/*---------------
header style
---------------*/
header#header {
	position: fixed;
	background: #f9f9f9;
	top:0;
	left: 0;
	width: 100%;
	z-index: 100;
}
header#header h1 {
	background-image: url('/wp-content/themes/yksj/img/logo.png');
	background-repeat: no-repeat;
}
header#header a {
	text-decoration: none;
}
header#header a:hover {
	color: #777;
}
header#header a {
	
}
@media screen and (max-width:767px) {
	header#header .headerTitle{
		height: 8vh;
		position: relative;
		}
	header#header h1 {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		width: 60%;
		text-align: center;
		box-sizing: border-box;
		margin: 0 auto;
		line-height: 8vh;
		font-size: 3.3vw;
		background-size: auto 80%;
		background-position: 0%;
	}
	header#header h1 img {
		height: 7vh;
		padding-top: 0.5vh;
	}
	.menubar {
		width: 14%;
		line-height: 8vh;
		font-size: 5vw;
		box-sizing: border-box;
	}
	#nav-open {
    font-size: 18px;
    padding: 0 10px;
	}
	.menubar a {
		font-size: 22px;
		display: block;
	}
}
@media screen and (min-width:768px)  {
	header#header {
		box-sizing: border-box;
		padding:10px;
		height: 100%;
		overflow-y: auto;
		bottom: 0;
	}
	header#header h1 {
		text-align: center;
		padding:40px 0 15px;
		background-size: 25px;
		background-position: 50%;
	}
	header#header h1 img {
		width: 60%;
	}
}

@media screen and (min-width:768px) and (max-width:1024px) {
	header#header {
		width: 200px;
	}
	header#header h1 {
		font-size: 16px;
	}
}
@media screen and (min-width:1025px) {
	header#header {
			width: 280px;
	}
	header#header h1 {
		font-size: 16px;
	}
}

/*---------------
gnav style
---------------*/

	nav.mainMenu ul > li a {
		text-decoration: none;
		display: block;
		padding: 10px 10px 10px 20px;
		color: #666;
		position: relative;
  		transition: color .2s ease;
	}
	nav.mainMenu ul > li a:after,nav.mainMenu ul > li a:before {
		content: ''; 
		position: absolute;
		top: calc(100% - 5px);
		width: 0;
		height: 1px;
	}
	nav.mainMenu ul > li a:hover:after,nav.mainMenu ul > li a:hover:before {
		width: calc(100% - 40px);
		left: 20px;
		right: 20px;
	}
	nav.mainMenu ul > li a:hover {
		color: #888;
	}
	nav.mainMenu ul > li a:hover:after {
		transition: width .2s cubic-bezier(0.29, 0.18, 0.26, 0.83);
   		background: #CCC;
	}
	nav.mainMenu ul > li a:hover:before {
		transition: width .4s cubic-bezier(0.51, 0.18, 0, 0.88) .1s;
    	background: #EEE;
	}
	nav.mainMenu ul li {
		position: relative;
	}
	nav.mainMenu ul li.hasChild ul li {
		font-size: 14px;
	}
	nav.mainMenu ul li.hasChild .toggleBtn {
		position: absolute;
		top: 8px;
		left: 10px;
		width:40px;
		height: 30px;
		transition: 0.5s;
	}
	nav.mainMenu ul li.hasChild .toggleBtn:hover:before {
		color: #666;	
	}
	nav.mainMenu ul li.hasChild .toggleBtn:before {
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		line-height: 30px;
		content: "\f107";
		cursor: pointer;
		color: #666;
	}
	nav.mainMenu ul li.hasChild .toggleBtn.open:before {
		content: "\f106";
	}

	nav.mainMenu ul li.hasChild ul {
			display: none;
	}

div.tel {
    display: block;
    margin: 0px 30px 0;
    font-size: 14px;
    padding-top: 20px;
}
div.tel a {
	display: block;
	padding-left: 15px;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	margin-bottom: 10px;
	border: 1px solid #CCC;
	border-radius: 100px;
	transition: 0.5s;
}
div.tel a:hover {
	background: #EEE;
}
@media (max-width: 767px) {
	.mainMenu {
		margin-bottom: 0px;
		overflow: hidden;
	}
	input.hidden {
	  display:none;
	}
	#nav-close {
		color: #666;
		padding: 10px 10px;
		width: 80%;
		border: 1px solid #666;
		margin: 40px auto 0;
		text-align: center;
		display: block;
	}
	#nav-content {
		overflow: auto;
		position: fixed;
		top: 8vh;
		left: 0;
		background: #f2f2f2;
		z-index: 9999;/*最前面に*/
		width: 85%;/*右側に隙間を作る*/
		height: 100%;
		transition: .3s ease-in-out;/*滑らかに表示*/
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);/*左に隠しておく*/
	}
	nav.mainMenu ul li.hasChild .toggleBtn {
		left: 0px;
		padding-left: 10px;
		display: block;
		height: 40px;
	}
	#nav-input:checked ~ #nav-content {
		webkit-transform: translateX(0%);
		transform: translateX(0%);/*中身を表示*/
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	form.search {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
	}
	form.search input {
		padding:10px 15px;
		border-radius: 20px;
	}
	form.search input[type="text"] {
		width: 100%;
		margin-bottom: 10px;
	}
	form.search input[type="submit"] {
		width:8em;
		text-align: center;
		margin: 0 auto;
		background:#777777;
		color: #FFFFFF;
	}
}
@media screen and (min-width:768px){
	#nav-content {
		position: fixed;
        top: 150px;
        left: 0;
        z-index: 1000;
        overflow: scroll;
        width: 280px;
        height: calc(100% - 150px);
	}
	label#nav-close {
		display: none;
	}
}
@media screen and (min-width:768px) and (max-width:1024px) {
	#nav-content {
		width: 200px;
	}
}
/*---------------
wrapper style
---------------*/
@media screen and (min-width:768px){
	.wrapper {
		position: absolute;
		top: 0;
		overflow: scroll;
	}
}
@media screen and (min-width:768px) and (max-width:1024px) {
	.wrapper {
		width: calc(100% - 200px);
		left:200px;
	}
}
@media screen and (min-width:1025px){
	.wrapper {
		width: calc(100% - 280px);
		left:280px;
	}
}
@media screen and (max-width:767px){
	.wrapper {
		margin-top: 0vh;
	}
}
/*---------------
article style
---------------*/
article#main header{
	position: relative;
	height: 50vh;
	background-size: cover;
    background-position: center center;  
	background-image: url('/wp-content/themes/yksj/img/pagebg.jpg');
}
article#main header.home {
	background-image: url('/wp-content/themes/yksj/img/homebg.jpg');
	height: 100vh;
}
article#main header .headerBg {
	bottom: 0;
	height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
	background-color: rgba(0,0,0,0.1);
}
article#main header .shadow {
	height: 100%;
    position: relative;
	background-color: rgba(0,0,0,0.3);
}
article#main header .headerTitle {
	display: flex;
	align-items: center;
	text-align: center;
	font-weight: 600;
	position: absolute;
	top: 0;
	bottom: 0;
	height: 100%;
	margin: auto 0;
	width: 100%;
}
body.home article#main header .headerTitle h1 {
}
article#main header .headerTitle h1 {
	font-weight: normal;
	position: relative;
	margin: 0 auto;
	padding-bottom: 20px;
	}
article#main header .headerTitle h1:after {
	content: "";
	bottom: 0;
	left: 0;
	right: 0;
	margin: 10px auto 0;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-color: #CCC;
    width: 100px;
    display: block;
}
article#main header.white h1 {
	color: #FFFFFF;
}
article#main header a {
	color: #FFFFFF;
	width: 1em;
	position: absolute;
	bottom: 10px;
	font-size: 40px;
	right: 0;
	left: 0;
	margin:0 auto;
	text-align: center;
}

.mainTextWrap {
}
.mainTextWrap h2.style1 {
	padding:20px 10px 10px;
	color:rgba(133,114,81,1);
	font-size: 35px;
	text-align: center;
}
.breadcrumb {
    text-align: right;
    font-size: 12px;
    padding: 10px 3%;
    color: #666;
}
.breadcrumb a {
	color: #666;
}
@media screen and (max-width:767px) {
	body.home article#main header {
		margin-top:-8vh;
	}
	article#main header{
	height: 50vh;
	}
	article#main header h1 {
		font-size: 30px;
		padding: 0;
		max-width: 90%;
	}
	.mainTextWrap {
		position: relative;
	}
	.mainTextWrap #mainText {
		position: absolute;
		top: -8vh;
	}
	.mainTextWrap h2.style1 {
		font-size: 20px;
	}
}
@media screen and (min-width:768px) and (max-width:1024px) {
	article#main header{
		height: 30vh;
	}
}
@media screen and (min-width:768px){
	article#main header h1 {
		width: 700px;
		max-width: 95%;
		letter-spacing: -0.9px;
		line-height: 1.26;
	}
}
@media screen and (min-width:768px) and (max-width:1024px){
	article#main header h1 {
		font-size: 30px;
	}
	article#main header .headerTitle {
		height: 100px;
	}
}
@media screen and (min-width:1025px){
		article#main header h1 {
		font-size: 40px;
		}
}
/*---------------
section style
---------------*/

.paragraph {
	overflow: hidden;
}
.paragraph.bgColor {
	background-color: #f5f5f5;
}
.paragraph h2 {
	margin-bottom: 20px;
}
.paragraph h2.style2 {
    background: #666;
    padding: 30px 3%;
    color: #FFFFFF;
	margin: 0;
    font-size: 35px;
}
.paragraph h3 {
    padding-top: 12px;
    font-size: 18px;
    margin-bottom: 10px;
}
.paragraph h3.style1 {
    color: rgba(133,114,81,1);
    font-size: 23px;
    }
.paragraph ul, .paragraph ol {
    margin-left: 0;
    padding-left: 20px;
    list-style-position: outside;
}
.paragraph ul li,.paragraph ol li {
	padding-top: 5px;
	padding-bottom: 5px;
}
.philosophytext{
    margin:2em 0 60px;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 1px #777;
    border-bottom: solid 1px #777;
}
.philosophytext:before, .philosophytext:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 1px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #777;
}
.philosophytext:before {left: 10px;}
.philosophytext:after {right: 10px;}
.paragraph .philosophytext p {
    font-family: "Sawarabi Mincho";
    margin: 0!important;
    text-align: center;
    font-size: 18px;
    padding: 20px 0;
    line-height: 32px!important;
}
.home .philosophytext {
	text-align: center;
	margin-top: 20px;
}
.paragraph p {
    margin-bottom: 1.1em;
	line-height: 170%;
}
.paragraph a {
    color: #666;
}
.paragraph a:hover {
	text-decoration: none;
	color: #777;
}
.paragraph a.morelink {
    border: 1px solid #CCC;
    display: inline-block;
    padding: 4px 5px 4px 5px;
}
.paragraph a.morelink:hover {
	background: #f5f5f5;
}
.paragraph a.morelink:before {
	font-family: "Font Awesome 5 Free";
	content: "\f105";
	margin-right: 5px;
	font-weight: 900;
}
.paragraph .plaintext h2 {
	margin-top: 40px;
}
.paragraph .plaintext h2:first-child {
	margin-top: 0;
}
.paragraph .img {
	text-align: center;
}
.paragraph .img img.mb {
	margin-bottom: 10px;
}

@media screen and (max-width:767px) {
	.paragraph h2 {
		font-size: 22px;
	}
	.flex-pc-space-between .text {
		padding: 10px;
		margin-bottom: 20px;
	}
	.paragraph .plaintext {
		padding: 10px;
	}
	.paragraph h2.style2 {
		background: rgba(116,102,77,1);
		padding: 20px 10px;
		color: #FFFFFF;
		font-size: 20px;
	}
}

@media screen and (min-width:768px){
	.paragraph h2 {
		font-size: 25px;
		font-weight: 700;
	}
	.paragraph .container {
		padding:40px 3%;
	}
	.flex-pc-space-between.reverse {
		flex-direction: row-reverse;
	}
	.flex-pc-space-between .text {
		width: 55%;	
	}
	.flex-pc-space-between.imgEx > div {
		width:33%;		
	}
	.flex-pc-space-between.imgEx > div:last-child {
		width:65%;
	}
	.flex-pc-space-between.imgR .img,
	.flex-pc-space-between.imgL .img {
		width: 41%;
	}
	.flex-pc-space-between.imgSmall .text {
		width: 70%;
	}
	.flex-pc-space-between.imgR.imgSmall .img,
	.flex-pc-space-between.imgL.imgSmall .img {
		width: 26%;
	}
	.container.flex-pc-space-between.imgR2 .img {
    	padding-left: 1%;
	}
	.paragraph img.grow {
		width: 100%;
	}	
}

/*---------------
form style
---------------*/
.contactform input[type="text"],
.contactform textarea,
.contactform input[type="email"],
.contactform input[type="tel"],
.contactform input[type="submit"],
.contactform select,
.contactform button {
    width: 100%;
    box-sizing: border-box;
    background: #f5f5f5;
    border: none;
    padding: 10px;
	border-radius: 5px;
	border:2px solid #f5f5f5;
}
.contactform input[type="text"]:focus,
.contactform textarea:focus,
.contactform input[type="email"]:focus,
.contactform input[type="tel"]:focus,
.contactform select:focus{
	background: #FFFFFF;
	border:2px solid #f5f5f5;
}

.paragraph .contactform p {
    text-align: center;
}
.paragraph .contactform p small {
	font-size: 14px;
}
form.wpcf7-form sup {
    color: #ff0000;
}
.contactform input.wpcf7-form-control.wpcf7-submit,.contactform input.wpcf7-form-control.wpcf7-confirm {
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 15px;
    background:#333;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.contactform input.wpcf7-form-control.wpcf7-submit:hover {
    background: #666;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #be4c03;
    padding: 10px;
    text-align: center;
    color: #be4c03;
    background: #fef0d5;
}
div.wpcf7-mail-sent-ok {
	border: 2px solid #be4c03;
    padding: 10px;
	background: #fef0d5;
	text-align: center;
    border: 2px solid #4d7466;
    color: #4d7466;
}
span.wpcf7-not-valid-tip {
    color: #FF0000!important;
    margin-top: 5px!important;
	font-size: 13px!important;
}

/*---------------
inview
---------------*/
.fadeup {
	transition: .8s;
	opacity: 0;
	transform: translate(0,60px); 
	-webkit-transform: translate(0,60px); 
}
.inview{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}


/*---------------
footer style
---------------*/
footer#footer {
	position: relative;
    background-position: 0;
    font-size: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
    text-align: center;
	padding: 60px 10px 20px;
}
/*footer#footer .footerBg {
	height: 100%;
	box-sizing: border-box;
	padding: 60px 10px;
    overflow: hidden;
    position: absolute;
    top: 0;
	 left: 0;
    width: 100%;
}
*/
footer#footer a {
	color: #666;
	display: block;
	margin-bottom: 20px;
}
footer#footer small {
	font-size: 13px;
	color: #666;
}

@media screen and (max-width:767px) {
	footer#footer small {
		font-size: 10px;
	}
}

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

/* Twitter */
.twittertimeline {
    margin-top: 0px;
    padding: 10px 10px 10px 20px;
    height: 300px;
    overflow: scroll;
}
.SandboxRoot .env-bp-820 .timeline-Tweet-text {
	font-size: 13px!important;
}