/*
 Theme Name:   forma
 Description:  OnePress sample child theme
 Author:       FameThemes
 Template:     onepress
 Version:      1.0.0
 Text Domain:  onepress-child
*/


/****************************
全体
****************************/
html {
  scroll-behavior: smooth!important;
}
html, body, h1, h2, h3, h4, h5, ul, li, ol, span, p{
font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
font-weight: 300;
font-style: normal;
	color: #6e7b74;
	font-size: 16px;
} 
html, body, ul, li, ol, span, p{
	font-size: 16px;
} 
.site-content {
    border-top:none!important;
    margin-top:0px;
}
.site-header {
    background:none!important;
    box-shadow:none!important;
}
.site-header .site-branding {
    float: none;
    text-align: center;
}
.menu-text{
    position: fixed;
    z-index: 9999;
    top: 20px;
    right: 40px;
}
.menu-text ul{
	    list-style: none;
	    margin: 0;
    padding: 0;
}
.menu-text ul li{
	    position: relative;
}
.menu-text ul li a{
    font-family: cambria, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #d79c2d;
    display: block;
    width: 100%;
    height: 100%;
	    overflow: hidden;
}
.section{
	padding-top: 100px;
	padding-bottom: 100px;
	margin-top: -30px;
}
.gray{
	background: #6e7b74;
}
.white{
	background: #f6fbf8;
}

.gray h1, .gray h2, .gray h3, .gray h4, .gray h5, .gray ul, .gray li, .gray ol, .gray span, .gray p{
	color: #f6fbf8;
	font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
font-weight: 300;
font-style: normal;
	
}
.white h1, .white h2, .white h3, .white h4, .white h5, .white ul, .white li, .white ol, .white span, .white p{
	color: #6e7b74;
	font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
font-weight: 300;
font-style: normal;
}
table{
	border: none!important;
}
table > tbody > tr > th{
	border:none!important;
	font-size: 16px;
	color: #6e7b74;
	font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
font-weight: 300;
font-style: normal;
	    padding: 15px !important;
}
table > tbody > tr > td{
	border:none!important;
	font-size: 16px;
	color: #6e7b74;
	font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
font-weight: 300;
font-style: normal;
	    padding: 15px !important;
}
table > tbody > tr {
	    border-bottom: 1px solid #c4d1ca;
}
.margin-top60{
    margin-top: 60px;
}
.margin-top70{
    margin-top: 70px;
}
.margin-top140{
    margin-top: 140px;
}
.margin-top-60{
    margin-top: -60px;
}
.site-footer .btt a {
    display: none !important;
}
.site-footer .site-info {
    background: #c79a3a!important;
    color: #f6fbf8!important;
}

body.privacy-policy .menu-text{
	display: none;
}
body.page-id-78 .menu-text{
	display: none;
}
.privacyrow{
	    position: relative;
    z-index: 2;
}
.privacyrow p a:hover{
	    color: #59c08b;
}
.wpcf7-not-valid-tip {
    color: #c79a3a !important;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    color: #fff;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #fff;
}

/**************
ふわっと表示
**************/
.fade-up {
  transition: opacity 0.7s;
  -moz-transition: opacity 0.7s;
  -webkit-transition: opacity 0.7s;
  -o-transition: opacity 0.7s;
  transition: transform 0.7s;
  -moz-transition: transform 0.7s;
  -webkit-transition: transform 0.7s;
  -o-transition: transform 0.7s;
}



/****************************
トップページ
****************************/
/*キービジュアル*/
.keyvisual-box{
	    margin-top: -75px;
}
.video-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}
#myVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.keyvisual-box .text-box {
    position: absolute;
bottom:60px;
	left: 60px;
}
.hero {
    position: relative;
}
.keyvisual-box .text-box h2 span {
	font-family: cambria, sans-serif;
font-weight: 700;
font-style: normal;
	color: #fff;
	display: block;
	    font-size: 3em;
	line-height: 1em;
}
.keyvisual-box .text-box h2{
	position: relative;
	display: block;
}

.keyvisual-box .text-box h2 .sub-catch{
	    position: absolute;
    top: 15px;
    right: 0;
}
.keyvisual-box .text-box h2 .sub-catch p{
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.section-title{}
.section-title h2{
font-family: cambria, sans-serif;
    font-weight: 700;
    font-style: normal;
	font-size: 64px;
}
.section-lead{}
.section-lead h3{
	font-size: 36px;
}
.section-lead p{}
.cell-box{
	display: flex;
}
.cell{
position: relative;
    background: #f6fbf8;
    padding:60px 30px;
    margin-right: 30px;
	height: max-content;
	width: 100%;
}
.cell:last-child{
	margin-right: 0px;
}
.cell::before{
    content: "";
    background: #58c08b;
    position: absolute;
    height: 8px;
    width: 140px;
    top: 0;
    left: 0;
}
.cell::after{
    content: "";
    background: #58c08b;
    position: absolute;
    height: 8px;
    width: 140px;
    bottom: 0;
    right: 0;
	
}
.cell h3{
    color: #6e7b74;
    font-family: cambria, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 28px;
	    margin-bottom: 40px;
}
.cell p{
	color:#6e7b74;
}
p.cell-lead{
	    font-size: 24px;
}
.service-box{
	position: relative;
}
.service-box::before{
	content: "";
    background: #58c08b;
    position: absolute;
    height: 8px;
    width: 280px;
    top: 0;
    left: 0;
	z-index: 1;
}
.service-box::after{
	content: "";
    background: #58c08b;
    position: absolute;
    height: 8px;
    width: 280px;
    bottom: 0;
    right: 0;
	z-index: 1;
}
.service-box .text{
	    padding: 60px 30px;
}
.service-box .image{
	
}
.service-box .image img{
	    object-fit: cover;
    height: 100%;
    width: 50%;
    position: absolute;
}
.service-box .text h3{
	    color: #f6fbf8;
    font-size: 28px;
	margin-bottom: 40px;
}
.service-box .text p{
	color: #f6fbf8;
}

/****************************
問い合わせフォーム
****************************/
.formrow {
    width: 100%;
    border-bottom: 1px solid #a5a5a5;
    padding: 15px 10px;
    position: relative;
    z-index: 2;
}
.formlabel p{
	    margin-bottom: 0px;
}
.formlabel {
    flex-basis: 35%;
    padding-top: 7px;
}
.forminput {
    flex-basis: 65%;
}
.wpcf7-form label {
    width: 100%;
}
.hissu {
    background: #c79a3a;
    color: #ffffff;
    font-size: 0.8em;
    padding: 0px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 10px;
}
.mailform input[type="text"], input[type="tel"], input[type="email"], textarea, select, input[type="submit"] {
    width: 100%;
    font-size: 16px;
}
textarea:not(.editor-post-title__input), input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week] {
    width: 100%;
}
.privacycheck {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: -15px;
}
.privacycheck p{
	margin-bottom: 0;
}
.submitrow{
	border-bottom: none;
    margin-bottom: -50px;
}
.privacyrow p{
	font-size: 12px;
}


/* ==========================================================================
   レスポンシブ・
   ========================================================================== */
@media screen and (max-width: 1199px) {
	
}
@media screen and (max-width: 1140px) {
	#nav-toggle {
    display: none!important;
	}
	
}
@media screen and (max-width: 991px) {

}
@media screen and (max-width: 767px) {
	.service-box .image img {
    object-fit: cover;
    height: auto;
    width: 100%;
    position: relative;
    aspect-ratio: 3 / 2;
}
	.margin-top60 {
    margin-top: 0;
}
	.margin-top70 {
    margin-top: 0px;
}

	.margin-top140 {
    margin-top: 0px;
}
	.margin-top-60 {
    margin-top: 0px;
}
	.cell-box {
    display: flex;
    flex-wrap: wrap;
}
	.cell {
    position: relative;
    background: #f6fbf8;
    padding: 60px 30px;
    margin-right: 0px;
    height: max-content;
    width: 100%;
		        margin-bottom: 30px;
}
	.service-box .text {
    padding: 60px 30px;
    padding-top: 30px;
}
	.keyvisual-box .text-box {
    position: absolute;
    bottom: 10px;
    left: 30px;
}
	.keyvisual-box .text-box h2 .sub-catch p {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}
	.keyvisual-box .text-box h2 .sub-catch {
    position: absolute;
    top: 10px;
    right: 0;
}
	.menu-text{
		display:none;
	}
	
}
@media screen and (max-width: 520px) {
	
.keyvisual-box .text-box h2 span {
    font-size: 2.2em;
	}
	    .keyvisual-box .text-box h2 .sub-catch p {
        font-size: 10px;
    }
	    .keyvisual-box .text-box h2 .sub-catch {
        position: absolute;
        top: 5px;
        right: 0;
    }
	.section-title h2 {
    font-family: cambria, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 48px;
}
}

