/*
Theme Name: 平屋スタイル
Text Domain: hiraya-style.com
Author: R-design
*/



.sp {
  display: none;
}

:root {	
--main-color: #b43b3a;/*メイン赤色*/
--main-color2: #7f201f;/*濃い赤*/
--main-color3: #ff0000;/*赤*/
--sub-color: #e6dfcd;/*薄いベージュ*/
 }

body{
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.en{
	font-family: "Inter", sans-serif;
  font-style: normal;
	font-weight: 800;
}
.no-no{font-size:20px;text-align:center;padding-top:20px;}

#head{
	padding:5px;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
#head h1{
	width:15%;
	height:80px;
}
#head h1 img{
	max-height:80px;
	width:auto;
}
.navi{
	width:85%;
	max-width:1000px;
	display:flex;
	flex-wrap:wrap;
	justify-content: flex-end;
	font-weight:600;
}
.navi ul{
	width:80%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-around;
	line-height:80px;
	position:relative;
}
.navi ul a{
	position: relative;
	transition:0.5s;
	display:block;
}
.navi ul a:hover{
	color:(--main-color);
}
/*.navi ul a::after{
	content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 2px;
    background:var(--main-color);
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: center top;
}
.navi ul a:hover::after{
	transform: scale(1, 1);
}*/
/*下の階層を持っているulの指定*/
.navi li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;

	top:70px;
	z-index: 4;
    /*形状を指定*/
	background:#f2f2f2;
	width:250px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
	flex-wrap:wrap;
}

/*hoverしたら表示*/
.navi li.has-child:hover > ul,
.navi li.has-child ul li:hover > ul,
.navi li.has-child:active > ul,
.navi li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
.navi li.has-child ul li{
	/*border-bottom:solid 1px rgba(255,255,255,0.6);*/
	border-bottom:solid 1px var(--main-color);
	width:250px;
	padding:0 20px;
	text-align:left;
	transition:0.5s;
}

.navi li.has-child ul li:last-child > a{
 border-bottom:none;
 }

.navi li.has-child ul li:hover,
.navi li.has-child ul li:active,
.navi li.has-child ul li:visited{
	background:var(--main-color);
	color:#fff;
}

.navi li.has-child ul li:hover a{
	color:#fff;
}
.navi .entry-bt{
	width:20%;
	display:flex;
	flex-wrap:wrap;
	padding:10px;
}
.navi .entry-bt a{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:0 10px;
	color:#fff;
	text-align: center;
	line-height:60px;
}

.navi .entry-bt a.new{
	width:65%;
	background-color: var(--sub-color);
	color:#333;
	border-radius: 30px 0 0 30px;
	transition: 0.5s;
	font-size:clamp(0.938rem, 0.845rem + 0.46vw, 1.25rem);
}
.car{
	width:100%;
	background-color: var(--main-color);
	border-radius: 30px ;
	transition: 0.5s;
}
.car:hover{
	background-color: var(--main-color3);
}
.navi .entry-bt img{
	width:34px;
	height:34px;
	align-self:center;
}

main{

}

.topslider li img{
	width:100%;
	height:auto;
	border-radius: 20px;
	padding:7px;
}
main p{
	text-align:center;
}
main p img{
	width:100%;
	height:auto;
}
section{
	padding:30px 0;
}





/***********footer**************************/

footer{
	background-color: var(--sub-color);
}

.footer-waku{
	max-width:1300px;
	margin:0 auto;
	padding:30px 10px;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.footer-waku .logo{
	width:40%;
	height:auto;
	padding-top:30px;
	font-weight:600;
}
.footer-waku .logo img{
	width:100%;
	max-width:278px;
	height:auto;
}
.footer-waku .logo p img{
	height:30px;
	width:auto;
	margin:10px;
}
.footer-waku .listwaku{
	width:50%;
	display:flex;
	flex-wrap:wrap;
}
.footer-waku .list{
	width:50%;
	padding-top:30px;
	text-align: left;
	list-style:none;
}
.footer-waku .list a{
	line-height: 200%;
}
.footer-waku .list a:hover{
	color:var(--main-color);
}

.copy{
	font-size:14px;
	text-align: center;
	padding:10px;
}

/*********************
TOP contact
*********************/
.contact{
	background-color:var(--sub-color);
	padding:50px 10px;
}
.apply-set{
	display:flex;
	flex-wrap:wrap;
	border:3px solid var(--main-color2);
	border-radius:30px;
	max-width:1100px;
	margin:0 auto;
	background-color:#fff;
}
.apply-set .img{
	width:50%;
	background-color:var(--sub-color);
	border-radius:30px;
}
.apply-set .img img{
	width:100%;
	height:auto;
	border-radius:30px 0 0 30px;
}
.apply-set .text{
	width:50%;
	padding:50px 50px 0;
	font-size:clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}
.apply-set .text h2{
	font-size:clamp(1rem, 0.545rem + 2.27vw, 2.25rem);
	font-weight:800;
	padding-bottom:20px;
	text-align:center;
}
.apply-set .text a{
	display:flex;
	flex-wrap:wrap;
	gap:0 20px;
	padding:0 15px;
	margin-bottom:10px;
	border-radius:10px;
	line-height:64px;
	font-weight:700;
}
.apply-set .text a img{
	width:34px;
	height:34px;
	align-self:center;
}
.apply-set .text a.tel{
	font-size:clamp(1.625rem, 1.443rem + 0.91vw, 2.125rem);
	background-color:var(--sub-color);
}
.apply-set .text a.form{
	background-color:var(--main-color);
	color:#fff;
	transition:0.5s;
}
.apply-set .text a span{
	flex:1;
	text-align:center;
}
.apply-set .text a.form:hover{
	background-color:var(--main-color3);
}
/*********************
TOP
*********************/

.section-title{
	text-align:center;
	font-size:clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
	padding:30px 10px 50px;
}
.section-title h2{
	font-size:clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
	font-weight:800;
	padding-bottom:20px;
	position:relative
}
.section-title h2::after{
	content:"";
	position: absolute;
	place-self: center;
	inset: 0;
	width:70px;
	height:70px;
	background:url(image/top/icon_event.png) no-repeat center / cover;
	z-index:-1;
}
/*********************
TOP EVENT
*********************/
#event{
	max-width:1100px;
	margin: 0 auto;
}
.event-flex{
	display:flex;
	flex-wrap:wrap;
	gap:20px 6%;
}
.event-box{
	width:47%;
	border:1px #555 solid;
}
.event-box img{
	width:100%;
	height:auto;
}
.event-box .text{
	padding:20px 30px;
	text-align:left;
}
.event-box .text h3{
	font-size:clamp(0.938rem, 0.778rem + 0.8vw, 1.375rem);
	padding-bottom:20px;
	font-weight:500;
}
.event-box .text li{
	display:flex;
	flex-wrap:wrap;
	border:#777 solid 1px;
	margin-bottom:7px;
}
.event-box .text li:first-child{
	border:none;
}
.event-box .text li .tt{
	width:23%;
	padding:5px;
}
.event-box .text li .aa{
	width:77%;
	border-left:solid #777 1px;
	padding:5px 5px 5px 10px;
}
.event-bt{
	display:flex;
	flex-wrap:wrap;
	gap: 0 1%;
	margin-top:15px;
	justify-content: flex-end;
}
.event-bt p{
	width:49%;
	border:solid 1px #000;
	border-radius: 5px;
	text-align: center;
	transition: 0.5s;
}
.event-bt p a{
	display:block;
	position: relative;
	padding:10px 0;
}
.event-bt p a:after{
	content: '';
	display: block;
	background: url("image/top/arrow-right.svg");
	background-size: 100%;
	width:20px;
	height:20px;
	position: absolute;
	top:calc(50% - 10px);
	right:5px;
}
.bg-sub{
	background-color: var(--sub-color);
}
.bg-main{
	background-color: var(--main-color);
	color:#fff;
}
.event-bt p:hover{
	background-color: var(--main-color3);
}
a.more{
	display:block;
	width:250px;
	margin:50px auto;
	background-color:var(--main-color);
	color:#fff;
	font-size:clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
	font-weight:800;
	border-radius:30px;
	text-align:center;
	padding:15px;
	transition:0.5s;
}

a.more:hover{
	background-color:var(--main-color3);
}
/*********************
TOP LINEUP
*********************/

#lineup{
	background-color:var(--sub-color);
	padding:50px 10px;
}
#lineup-a{
	padding:50px 10px;
}
#lineup .section-title h2::after{
	background:url(image/top/icon_lineup.png) no-repeat center / cover;
}
#lineup .section-title h2{
	z-index:2;
}

.lineup-flex{
	width:90%;
	max-width:1500px;
	margin: 0 auto;
	display:flex;
	flex-wrap:wrap;
	gap:15px 3%
}
.lineup-box{
	width:31%;
	text-align:center;
}
.lineup-box img{
	width:100%;
	height:auto;
}
.speech {
  position: relative;
  display: inline-block;
  margin: 20px auto 10px;
  padding: 15px;
  border: 2px solid #000000;
  border-radius: 9999px;
  background-color: #ffffff;
  font-size: clamp(0.938rem, 0.869rem + 0.34vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
	min-width:200px;
}

.speech::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}

.speech::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}

/*********************
TOP VOICE
*********************/
#voice{
	padding:80px 10px;
	width:90%;
	max-width:1500px;
	margin:0 auto;
}
#voice .section-title h2::after{
	background:url(image/top/icon_voice.png) no-repeat center / cover;
}

.voice-flex{
	display:flex;
	flex-wrap:wrap;	
	gap:0 3%;
}
#voice .text{
	width:42%;
	align-self:center;
}
#voice .img{
	position:relative;
	width:55%;
	padding:10px;
}
#voice .img img{
	border:3px solid var(--main-color);
	border-radius:30px;
	width:100%;
	height:auto;
}

#voice .img p{
	position:absolute;
	bottom:23px;
	left: 23px;
	font-size:clamp(0.938rem, 0.824rem + 0.57vw, 1.25rem);
	border:solid 3px var(--main-color);
	border-radius:10px;
	background-color:#fff;
	padding:10px;
	
}

/*********************
TOP SERVICE
*********************/

#top-contents .section-title h2::after{
	background:url(image/top/icon_service.png) no-repeat center / cover;
}

#top-contents{
	padding:50px 10px;
	max-width:1200px;
	margin:0 auto;
}

ul.anshin {
	display: flex;
	flex-wrap: wrap;
	gap:10px 1%;
	list-style: none;
}

.anshin li {
	width: 32%;
	height: 245px;
	border-radius: 10px;
}


.anshin li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	padding: 20px;
	background-color: var(--main-color);
	color:#fff;
	border-radius:10px;
	transition:0.5s;
}
.anshin li a:hover {
	background-color:var(--main-color2);
}

.anshin li figure {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 64px;
}

.anshin li a h3 {
	margin-top: 10px;
	font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
	text-align: center;
	flex: auto;
	color: #fff;
	transition: 0.5s;
	font-weight:700;
}



.anshin li a span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 70%;
	height: 34px;
	background: var(--sub-color);
	color: #000;
	border-radius: 3px;
	transition: 0.5s;
}

.anshin li a:hover span {
	background: #fff;
}
.anshin li a span.sp {
	display:none;
}

.anshin img {
	width: 100px;
	height: 100px;
}
	
/*********************
TOP STAFF
*********************/

#staff{
	background-color:var(--sub-color);
	padding:50px 10px;
}
#staff .section-title h2::after{
	background:url(image/top/icon_staff.png) no-repeat center / cover;
}
#staff .section-title h2{
	z-index:2;
}
.staff-flex{
	width:90%;
	max-width:1400px;
	margin:0 auto;
	display:flex;
	flex-wrap:wrap;
	gap:0 1%;
}

.staff-flex2 {
    max-width: 1400px;
    margin: 0 auto;
}

.staff-flex p{
	width:19%
}
.staff-flex p img{
	width:100%;
	height:auto;
	border:2px solid #fff;
}
.staff-flex2 p img{
	width:100%;
	height:auto;
	padding:7px;
}

/*矢印の設定*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: calc(50% - 25px);
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    height: 50px;
    width: 50px;
	background:url(image/top/arrow-left2.svg) no-repeat center / cover; 
	z-index:1;
}
.slick-prev {/*戻る矢印の位置と形状*/
    left: -3.5%;
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -3.5%;
	transform: rotate(-180deg);
}

/*矢印の設定*/
.slick-prev2, 
.slick-nex2 {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    height: 30px;
    width: 30px;
}
.slick-prev2 img, 
.slick-next2 img{
	width: 50px; /* 矢印幅 */
  height: 50px; /* 矢印高さ */  
}
.slick-prev2 {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next2 {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}


/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:12px;/*ドットボタンのサイズ*/
    height:12px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

/*********************
TOP BLOG
*********************/

#topblog{
	padding:50px 10px;
	width:90%;
	max-width:1200px;
	margin: 0 auto;
}
#topblog .section-title h2::after{
	background:url(image/top/icon_blog.png) no-repeat center / cover;
}
.topblog-flex{
	display:flex;
	flex-wrap:wrap;
	gap:10px 6%;
}
.topblog-box{
	width:47%;
	background-color: rgba(255, 255, 255, 1);
	background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(180, 59, 58, 0.62) 3px, rgba(180, 59, 58, 0.62) 6px );
	background-repeat: no-repeat;
	transition:0.5s
}
.topblog-box:hover{
	background-color:var(--main-color);
}
a.topblog-box-box{
	width: 98%;
    height: 95%;
	padding:10px;
	border:solid 1px var(--main-color);
	background-color:#fff;
	display:flex;
	flex-wrap:wrap;
	gap:0 3%;
}

.topblog-box .img{
	width:30%;
}
.topblog-box .img img{
	width:100%;
	height:auto;
	border:solid 1px var(--main-color);
}
.topblog-box .text{
	flex:1;
}
.topblog-box span{
	display:inline-block;
	padding:3px 10px;
	background-color:var(--main-color);
	color:#fff;
}
.topblog-box p{
	padding-top:10px;
}
.topblog-box h3{
	padding:20px 0;
	font-size:clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

/*********************
下層ページ
*********************/
#subtitle{
	width:100%;
	position:relative;
	background-color:var(--sub-color);
}

#subtitle-box{
	padding:4vw 10vw 1vw ;
	z-index:2;
}
#subtitle-box h2{
	font-size:clamp(2.25rem, 1.432rem + 4.09vw, 4.5rem);
	font-weight:900;
	color:var(--main-color);
	text-align: left;
	padding-bottom:30px;
}
#subtitle-box h2 span{
	display:block;
	font-size:clamp(1.25rem, 0.886rem + 1.82vw, 2.25rem);
	font-weight:900;
}
#sublink{
	padding:7px 0;
	text-align: left;
	font-size:clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
}

#sub-img{
	max-width:1300px;
	height:auto;
	margin:0 auto;
}
#sub-img img{
	width:100%;
	height:auto;
	border-radius:20px;
}
section.kotei{
	padding:80px 0 ;
	max-width:1100px;
	margin:0 auto;
}

/*****company*****************/
#company{
	background: url("image/company/bg_company.webp") no-repeat center top;
}
.bg-grey{background-color:#f2f2f2;}
.company-cara{
	width:25%;
}
.company-cara img{
	width:100%;
	height:auto;
}
.company-midashi{
	width:75%;
	padding:50px 0;
	font-size:clamp(1.063rem, 0.903rem + 0.8vw, 1.5rem);
	font-weight:800;
	line-height:180%;
}
.company-flex{
	display:flex;
	flex-wrap:wrap;
	max-width:1200px;
	margin:0 auto;
}
.company-flex .img{
	width:50%;
	padding:50px;
}
.company-flex .img img{
	width:100%;
}
.company-flex .text{
	width:50%;
	padding:50px 0;
	line-height:180%;
	font-size:18px;
}
.company-flex .text .name{
	display:block;
	text-align: right;
	padding:50px 0 30px;
}
.company-flex .text .name span{
	font-size:22px;
	padding-left:10px;
}


.company-flex dt{
	width:30%;
	padding:20px 10px 20px;
	border-bottom:solid 1px var(--main-color);
	font-weight:700;
}
.company-flex dd{
	width:70%;
	padding:20px 10px 20px;
	border-bottom:solid 1px #999;
}
.map{
    margin:30px auto 80px;
}
.midashi2{
	max-width:1200px;
	margin:0 auto;
	padding:50px 10px;
}
.midashi2 h3{
	font-size:clamp(1.75rem, 1.523rem + 1.14vw, 2.375rem);
	font-weight:900;
	padding-left:20px;
	position: relative;
}

.midashi2 h3:before {
    background-color: var(--main-color);
    border-radius: 5px;
    content: "";
    display: inline-block;
	width:10px;
    height: 44px;
	position: absolute;
	left:0;
	top:10px;
}
/*********************************
 お問い合わせ
*********************************/

#apply{
	padding:30px 0 80px;
    
}
  
#apply-box{
    max-width:1200px;
    margin-inline:auto;
	padding:50px;
    display:flex;
    flex-wrap:wrap;
	font-size:18px;
	border-radius: 20px;
	margin-bottom:20px;
}   
#apply-box .apply-box-l{
    width:35%;
    border-bottom:1px solid var(--main-color);
    padding:20px 10px;
}
#apply-box .apply-box-l span{
    background-color:var(--main-color);
    color:#fff;
    padding:5px 10px;
    margin-right:10px;
    border-radius: 5px;
    font-size:14px;
}
#apply-box .apply-box-l .nini{
	background-color:#999;
}
#apply-box .apply-box-r{
    width:65%;
    border-bottom:1px solid #ccc;
	padding:20px 10px;
	font-family:  'Noto Sans JP',
	"Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "BIZ UDPGothic",
    Meiryo,
    sans-serif;
}
 /* テキストフォームの設定 */
.wpcf7-datetime{
  padding: 7px;
  width: 260px;
  color: #636063;
  font-size: 13px;
  background-color:#F9F9F9;
  border:solid 1px #CCCCCC;
  }

 /* テキストフォームの設定 */
.wpcf7-text{
  padding: 7px;
  width: 100%;
  color: #636063;
  background-color:#F9F9F9;
  border:solid 1px #CCCCCC;
  }

.kazukazu input{width:30px!important;
margin-left:3px;
margin-right:3px;}
 
  /* テキストフォームのフォーカス時の設定 */
.wpcf7-text:focus{
  background-color:#FFFFCC;
  }
 
  /* テキストエリアの設定 */
.wpcf7-textarea{
  padding: 7px;
  width: 100%;
  height: 100px;
  color: #636063;
  background-color:#F9F9F9;
  border:solid 1px #CCCCCC;
  }
 
 /* テキストエリアのフォーカス時の設定 */
.wpcf7-textarea:focus{
background-color:#FFFFCC;
}
 
  /* 送信ボタンの設定 */
.wpcf7-form-control.wpcf7-submit{
display: block;
width: 260px;
border: none;
padding:20px;
background-color:#DD1F30;
color:#fff;
	border-radius:5px;
	font-size:24px;
  }
 
/* 送信ボタンのフォーカス時の設定 */
.wpcf7-form-control.wpcf7-submit:hover{
filter: alpha(opacity=80);
 opacity: .6;
 -moz-transition: all 0.7s ease;
 -webkit-transition: all 0.7s ease;
 }
 
/* リストの縦並び（チェックボックス・ラジオ） */
span.wpcf7-list-item {
display: block!important;
	margin-bottom:10px!important;
}
 
/* セレクト */
select{
padding: 5px;
width:420px;
color: #636063;
font-size: 16px;
background-color:#F9F9F9;
border:solid 1px #CCCCCC;
}
input[type=checkbox] {
	transform: scale(2);
	margin: 0 6px 0 0;
}
.apply-check{
	text-align:center;
	display:block;
	width:100%;
	margin-top:20px;
}
.wpcf7-form-control-wrap .waku {
    border: 2px solid #777;
    border-radius: 5px;
}
.center{
	text-align:center;
	display:block;
	margin:10px auto;
}
.form-small {
    width: 100px;
}

#thx{
	max-width:800px;
	margin:10px auto 80px;
	padding:10px;
	color:#000;
	font-size:20px;
	line-height:180%;
	text-align:center;
}


/**************************************************************
ページネーション
**************************************************************/
.wp-navi{
	margin:30px auto ;
	height:50px;
	text-align:center;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #BFBFBF;
	padding: 10px!important;
	margin: 2px;
}
wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: var(--main-color)!important;
	background-color:var(--main-color)!important;
	color:#fff!important;
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #afafaf!important;
	background-color:#afafaf!important;
	color:#fff!important;
}
/**************************************************************
ブログ
**************************************************************/

#blog{
	max-width:1200px;
	margin: 20px auto;
}
#blog-s{
	max-width:1100px;
	margin:30px auto;
}
#blog-waku{
	padding:5%;
	border: 1px solid var(--main-color);
    border-radius: 20px;
	margin:10px;
}
#blog-waku h2{
	font-size:clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
	text-align:center;
	padding:10px;
	border-bottom: dotted var(--main-color) 5px;
	margin-bottom:20px;
	font-weight:700;
}
.blog-tt{
	font-size: clamp(1.125rem, 0.898rem + 1.14vw, 1.75rem);
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 60px;
    font-weight: 800;
    text-align: center;
	position: relative;
	color:var(--main-color);
}

.blog-tt:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -25px;
  width: 100%;
  height: 10px;
  background: -webkit-repeating-linear-gradient(-45deg, #b43b3a, #b43b3a 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #b43b3a, #b43b3a 2px, #fff 2px, #fff 4px);
}
.blog-cont{
	text-align:left;
	margin-bottom:100px;
	font-size:16px;
	line-height:190%;
}

.blog-cont li + li {
  border-left: none!important;
}

.blog-cont li{
	margin-left:35px;
	font-size:14px;
	line-height:170%;
	margin-bottom:13px;
}

.blog-cont ol{
	margin-top:25px;
	margin-bottom:25px;
}




.blog-cont .alignright{
	padding-left:15px!important;
	background-color:#fff!important;
	float:right;
}

.blog-cont .alignleft{
	padding-right:15px!important;
	background-color:#fff!important;
	float:left;
}

.blog-cont .aligncenter{
    display: block;
    margin: 0 auto 20px;
    text-align: center;
}

.blog-cont h1{
	font-size:30px;
	color:#000000;
	padding:10px 5px;
	margin-bottom:15px;
	margin-top:30px;
	font-weight: 700;
}

.blog-cont h2{
	font-size:1.3rem;
	color:var(--main-color);
	padding:.2rem 0;
	border-bottom:solid 2px var(--main-color);
	margin-bottom:15px;
	margin-top:30px;
	font-weight: 600;
}

.blog-cont h3{
	font-size:18px;
	background-color:var(--sub-color);
	padding:7px;
	margin-top:30px;
	margin-bottom:15px;
	font-weight: 600;

}
.blog-cont h4{
	font-size:18px;
	color:#000;
	padding:7px 3px;
	border-bottom:solid 1px #000;
	margin-bottom:15px;
	margin-top:30px;
	font-weight: 600;
}

.blog-cont h5{
	font-size:12px;
	color:#000;
	padding:5px;
	background-color:#ececec;
	margin-bottom:15px;
	margin-top:30px;
	font-weight: 600;
}

.blog-cont p{margin-bottom:15px;}

.blog-cont img{padding-bottom:15px;
padding-top:10px;
max-width:100%;
height:auto;}

#staff-s .blog-cont img{
	width:100%;
}

.blog-cont iframe{max-width:750px; height: 422px;}

.blog-cont hr{
	margin-bottom:15px;
		margin-top:15px;
	background-color: #fff;
	border-top: 2px dashed var(--sub-color);
}


/*---------------------------------------
商品プラン---------------------------------
QVE---------------------------------------*/

#lineup-s{
	max-width:1024px;
	margin:0 auto;
}
.plan-tt{
	margin-bottom: 60px;
}

.planh2{
	color: #fff!important;
	background-color: #241a09!important;
	text-align: center!important;
	padding: 30px!important;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif!important;
	width: 50%;
	margin: 0 auto!important;
	margin-bottom: 60px!important;
	border-bottom:none!important;
	
}

.maintext{
	font-weight:600;
		font-size: 36px;
	margin-bottom: 16px;
}

.subtext{
	font-size: 14px;
	font-weight: 300!important;
}

.qva-frame{
	overflow: hidden;
	clear: both;
	margin-bottom: 60px;
}

.qva-frame-l{
	width: 68%;
	float: left;
}

.qva-frame-l img{
	width: 100%;
	height: auto;
}

.qva-frame-r{
	width: 30%;
	float: right;
}

.qva-frame-r h3{
		padding: 0px!important;

	font-size: 18px!important;
	font-family: 'Noto Sans Japanese', sans-serif!important;
	font-weight: 600!important;
	border-bottom: solid 2px #000!important;
	padding-bottom: 10px!important;
	margin-bottom: 7px!important;
    margin-top: 7px!important;	
	background-color:#fff!important;

}

.qva-frame-r p{
	margin-bottom: 0px!important;
	margin-left: 0px!important;
	padding: 3px!important;
	border-bottom: solid 1px #ccc!important;
	font-size: 12px!important;
}

.plan-tt2{
	margin-bottom: 30px;
}

.plan-qbox-frame{
	overflow: hidden;
	clear: both;
	margin-bottom: 60px;
}
.plan-qbox-frame .box{
	width: 500px;
	margin: 5px;
	border: solid 1px #ccc;
	float: left;
	overflow: hidden;
	background-color: #241a09;
}

.plan-qbox-frame .box .box-l{
	width: 55%;
	float: left;
}

.plan-qbox-frame .box .box-l img{
	padding-bottom: 0;
    background-color: none!important;
	width: 100%!important;
	height: auto!important;
	margin-bottom:0!important;
	padding-top:0!important;
	
}

.plan-qbox-frame .box .box-r{
	width: 38%;
	float: right;
	padding: 15px;
}

.plan-qbox-frame .box .box-r .tt{
	font-size: 16px;
	color: #ffb12a;
	border-bottom: solid 1px #ffb12a;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.plan-qbox-frame .box .box-r .tt2{
	font-size: 12px;
	text-align: right;
	font-weight: normal;
	color: #fff;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.plan-qbox-frame .box .box-r p{
	font-size: 13px;
	line-height: 140%;
	margin-top: 12px;
	font-weight: normal;
	color: #fff;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/*---------------------------------------
商品プラン---------------------------------
スタンダード---------------------------------------*/

.plan-st-midashi{
	overflow: hidden;
	font-weight: 600;
	    display: flex;
	font-size: clamp(0.938rem, 0.824rem + 0.57vw, 1.25rem);
	margin-bottom: 15px;
}
.plan-st-midashi .numb{
	width: 20%;
	background-color: var(--main-color);
	padding: 10px;
	text-align: center;
	color: #fff;
}
.plan-st-midashi .plan-name{
	width: 80%;
	padding: 10px;
	background-color: var(--sub-color);
}

.plan-st-img{
overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    width: 100%;
    justify-content:space-between;
    align-items: center;
}
.plan-st-img-l{
	width: 48%;
	float: left;
}

.plan-st-img-l img{
	width: 100%;
	height: auto;
}
.plan-st-img-r{
	width: 48%;
	float: right;
}

.plan-st-img-r img{
	width: 100%;
	height: auto;
}

.plan-st-ex{
	overflow: hidden;
	background-color: #f3f3f3;
	padding: 30px 50px;
	margin-bottom: 70px;
	display:flex;
	flex-wrap:wrap;
	gap:0 6%;
}

.plan-st-ex p{
	margin-left:0!important;
	margin-bottom:0!important;
}



.plan-st-ex-l{
	width: 34%;
}
.plan-st-ex-r{
	width: 60%;
}

.st-line{
	padding: 15px 10px;
	border-bottom: dashed 1px #ccc;
	font-weight: 600;
	display:flex;
	flex-wrap:wrap;
}
.st-line2{
	padding: 15px 10px;
	border-bottom: solid 1px #000;
	font-weight: 600;
	display:flex;
	flex-wrap:wrap;
}

.st-line3{
	padding: 15px 10px;
	font-weight: 600;
	display:flex;
	flex-wrap:wrap;
}
.st-line-l{
	width: 40%;
	font-size: 15px;
}
.st-line-r{
	width: 60%;
	font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
	text-align: right;
}

.plan-st-hensai{
	padding: 15px;
	background-color: #dc0000;
	color: #fff;
	font-size: 40px;
			font-family: 'Noto Sans Japanese', sans-serif;
	font-weight: 600;
	text-align: center;
	margin-bottom: 15px;
}

.plan-st-hensai .ss{
	font-size: 18px;
}

.plan-st-hensai .sss{
	font-size: 13px;
	margin-top: 5px;
}

.plan-st-come{
font-size: 13px;
}

.come-tt{
	background-color: #989898;
	padding: 1px;
	font-size: 10px!important;
	color: #fff;
	width: 100px;
	text-align: center;
	margin-bottom: 5px;
	margin-top: 5px;
}

.sns-box{position:relative; padding-left:2rem !important;}
img[src$="sns_instagram.svg"],img[src$="sns_youtube.svg"] {
	position:absolute;
	left:0;
  width: 1.8rem;
  height: auto;
	padding-right:.5rem;
}

/***********************************************
 EVENT
***********************************************/
#event-s{
	max-width:1100px;
	margin: 0 auto;
	gap:0 5%;
}
#event-s .event-box{
	width:100%;
	border:none;
	display:flex;
	flex-wrap:wrap;
}
#event-s .event-box .img{
	width:48%;
}
#event-s .event-box .img img{
	width:100%;
	height:auto;
}
#event-s .event-box .text{
	width:47%;
}
#event-s #apply-box{
	background-color: #f2f2f2;
}
#event-s .midokoro{
	padding:20px 0;
	line-height:150%;
}
/***********************************************
 VOICE
***********************************************/

#voice-a{
	padding:50px 10px;
	max-width:1200px;
	margin:0 auto;
	display:flex;
	flex-wrap:wrap;
	gap:30px 6%;
}

.voice-a-img{
	width:47%;
}
.voice-a-img img{
	border:3px solid var(--main-color);
	border-radius:30px;
	width:100%;
	height:auto;
	aspect-ratio: 5 / 3;
    object-fit: cover;
}

.voice-a-img p{
	font-size:clamp(0.938rem, 0.824rem + 0.57vw, 1.25rem);
	padding:10px;
}
#voice-s{
	padding:50px 10px;
}
#voice-top{
	max-width:1200px;
	margin:0 auto;
	display:flex;
	flex-wrap:wrap;
	gap:10px 4%;
	padding: 20px;
    border: solid 3px var(--main-color);
    border-radius: 20px;
}
#voice-top .img{
	width:54%;
}
#voice-top .img img{
	width:100%;
	height:auto;
	border-radius:20px;
}
#voice-top .text{
	width:42%;
}
#voice-top .text h3{
	font-size:clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
	padding:15px;
	margin-bottom:30px;
	font-weight:600;
	color:#fff;
	border-radius:3px;
	background-color:var(--main-color);
}
#voice-top .text p{
	
}
.speech-box{
	max-width:1100px;
	margin:50px auto;
	font-size:clamp(0.938rem, 0.915rem + 0.11vw, 1rem);
	  line-height: 180%;
}
.speech-box .qqq{
	font-size:clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
	padding:20px 0 20px 70px;
	position:relative;
	font-weight:800;
	line-height:130%;
	color:var(--main-color);
}

.speech-box .qqq:before{
	content:'Q';
	background-color:var(--main-color);
	padding:10px 13px;
	position:absolute;
	left:0;
	bottom:10px;
	border-radius:50%;
	color:#fff;
	font-size:clamp(1.5rem, 1.273rem + 1.14vw, 2.125rem);
	font-weight:800;
}

.aaa-flex{
	display:flex;
	flex-wrap:wrap;
}
.aaa-flex img{
	width:100px;
	height:100px;
	margin-right:20px;
	border-radius:50%;
}
.speech-box .aaa01, .speech-box .aaa02{
	flex:1;
  position: relative;
  display: inline-block;
  margin:0 0 30px 0;
  padding: 50px;
  border-radius: 20px;
  font-weight: 400;
	background-color:var(--sub-color);
}

.speech-box .aaa01::after, .speech-box .aaa02::after  {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  border-style: solid;
  border-width: 8px 16px 8px 0;
  border-color: transparent var(--sub-color) transparent transparent;
  translate: -100% -50%;
  transform: skew(0, 4deg);
  transform-origin: right;
}


.aaa-img{
	width:100%;
	height:auto;
}
/***********************************************
 STAFF
***********************************************/
.staff-s-flex{
	max-width:1200px;
	display:flex;
	flex-wrap:wrap;
	gap:20px 4%;
	margin:0 auto;
	
}
.staff-s-flex li{
	width:22%;
}
.staff-s-flex li img{
	width:100%;
	height:auto;
}
.staff-s-flex li h3{
	font-size:16px;
	font-weight:600;
	padding:15px 0;
	text-align:center;
}
#staff-s{
	max-width:1200px;
	padding:50px 10px;
	margin:0 auto;
}
#staff-s .staffbox-flex{
	display:flex;
	flex-wrap:wrap;
	background-color:var(--sub-color);
	border-radius:20px;
	padding:50px;
	gap:0 5%;
}
#staff-s .staffbox-flex .img{
	width:45%;
}
#staff-s .staffbox-flex .img img{
	width:100%;
	height:auto;
}
	
#staff-s .staffbox-flex .text{
	width:50%;
}
#staff-s .staffbox-flex .text h3{
	font-size:clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem);
	padding:10px;
	border-bottom:3px solid var(--main-color);
	margin-bottom:20px;
	font-weight:700;
	color:var(--main-color);
}
#staff-s .staffbox-flex .text p{
	line-height:180%;
}


/***********************************************
 SECRET
***********************************************/
.main-img img{
	width:100%;
	height:auto;
}
.main-text{
	font-size:18px;
	padding:20px 0;
	margin-bottom:30px;
	line-height:180%;
}

.kotei-flex{
	display:flex;
	flex-wrap:wrap;
	gap: 15px 5%;
	padding:30px;
	border-radius: 3px;
	border:12px solid #f2f2f2;
	margin:0 0 30px;
}
.kotei-flex .img{
	width:38%;
}
.kotei-flex .img img{
	width:100%;
	height:auto;
}
.kotei-flex .text{
	width:57%;
	line-height:180%;
}
.kotei-flex .text h3{
	font-size:clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
	font-weight:700;
	padding:20px 0 30px;
	color:var(--main-color);
}
/***********************************************
 Structure
***********************************************/

section#structure{
	padding:0;
}
#structure section.kotei{
	padding:0 0 50px;
}
#s-main{
	background: url("image/structure/main.webp") no-repeat center / cover;
	height:596px;
	width:auto;
	margin-bottom:80px;
}
.s-main-text{
	max-width:1200px;
	padding:70px 0 50px 30px;
	margin:0 auto;
}
.s-title{
	font-size:clamp(1rem, 0.773rem + 1.14vw, 1.625rem);
	line-height:180%;
	padding-bottom:26px;
	font-weight:700;
}
.s-title span{
	color:var(--main-color);
}

.s-midashi{
	position:relative;
	font-size:clamp(1.375rem, 0.966rem + 2.05vw, 2.5rem);
	font-weight:800;
	padding:30px;
}
.s-midashi p{
	font-size:18px;	
	padding-top:30px;
	font-weight:500;
}
.s-midashi:before{
	position:absolute;
	content:"Safety";
	color:var(--sub-color);
	font-size:clamp(3.75rem, 2.386rem + 6.82vw, 7.5rem);
	font-weight:800;
	top:-30px;
	left:0;
	z-index:-1;
}
.s-midashi:after{
	position:absolute;
	content:"";
	width: 15px;
    height: 60px;
	border-radius:5px;
    background-color: var(--main-color);
    top: 30px;
	left:-10px;

}
.s-midashi2:before{
	position:absolute;
	content:"Ecology";
}

/***********************************************
 Afterfollow
***********************************************/
#after .main-img{
	max-width:400px;
	height:auto;
	border:35px solid var(--main-color);
	margin: 0 auto;
}

.s-midashi3:before{
	position:absolute;
	content:"Afterfollow";
}
.after-flex{
	display:flex;
	flex-wrap:wrap;
	gap:0 6%;
}
.after-box{
	width:47%;
	padding:0 10px 20px;
}
.after-box h3{
	font-size:20px;
	font-weight:700;
	padding:10px;
	margin:20px 0;
	background-color:var(--sub-color);
}
.hyo{
	max-width:800px;
	margin:0 auto 30px;
}
.hyo img{
	width:100%;
	height:auto;
	
}
/***********************************************
inspection
***********************************************/
section#inspection{
	padding:0;
}
#inspection section.kotei{
	padding:0 0 50px;
}
#in-main{
	background: url("image/inspection/main.webp") no-repeat center / cover;
	height:596px;
	width:auto;
}
.in-main-text{
	max-width:1200px;
	padding:70px 0 50px 30px;
	margin:0 auto;
}
.in-title{
	font-size:clamp(1rem, 0.773rem + 1.14vw, 1.625rem);
	line-height:180%;
	padding-bottom:26px;
	font-weight:700;
}
.in-title span{
	color:var(--main-color);
}
#inspection .main-text{
	text-align:center;
}
#inspection .main-text h2{
	font-size:clamp(1.5rem, 1.364rem + 0.68vw, 1.875rem);
	color:#fff;
	padding:15px 25px;
	font-weight:700;
	background-color:var(--main-color);
	display:inline-block;
	border-radius:10px;
	margin:20px;
}
.s-midashi-in:before{
	position:absolute;
	content:"Confirm";
}
/***********************************************
ローン借入事例
***********************************************/

.loan-flex{
	max-width:1200px;
	margin:50px auto;
	display:flex;
	flex-wrap:wrap;
	gap: 20px 2%;
}
.loan-flex li{
	width:31%;
	background-color: var(--sub-color);
	border-radius:10px;
}

.who{
	display: inline-block;
	background-color: var(--main-color);
	text-align: center;
	min-width:40%;
	padding:5px 10px;
	color:#fff;
	border-radius:10px 0 10px 0;
}
.loan-title{
	font-size:20px;
	text-align: center;
	padding:20px ;
}
.tsuki{
	background-color: #fff;
	font-size:18px;
	font-weight:900;
	display:flex;
	flex-wrap:wrap;
	align-items: center;
	text-align: center;
	border-radius:10px;
	margin:0 15px 20px;
	padding:7px 0;
}
.tsuki .shiharai{width:45%;}

.tsuki .kingaku{
	width:55%;
	color:red;
	font-size:24px;
}
.loan-info{
	display:flex;
	flex-wrap:wrap;
	margin:0 15px;
	gap: 0 3%
}

.loan-info img{
	width:36%;
	height:auto;
	object-fit: cover;
  	aspect-ratio: 1 / 1;
	border-radius:10px;
	margin-bottom:7px;
}
.loan-info dl{
	width:61%;
	display:flex;
	flex-wrap:wrap;
	gap: 0 2%;
}
.loan-info dt{
	width:33%;
	background-color: #434242;
	border-radius:5px;
	text-align: center;
	margin:0 0 7px;
	color:#fff;
	font-size:14px;
	display:flex;
	justify-content:center;
	align-items:center;
}
.loan-info dd{
	width:65%;
	margin-bottom:7px;
	padding-left:7px;
}
.loan-come{
	background-color: #fff;
	margin:15px;
	padding:15px;
	font-size:14px;
	border-radius: 10px;
	line-height:170%;
}
.loan-come span{
	display:block;
	color:red;
	font-weight:700;
}