﻿/*
Theme Name: Understrap child
Version: 1.1.0
Template: understrap
*/

/*小デバイス（横向きモバイル, 576px 以上）sm*/
@media (min-width: 576px){

}

/*中デバイス（タブレット, 768px 以上）md*/
@media (min-width: 768px){

}

/*大デバイス（デスクトップ, 992px 以上）lg*/
@media (min-width: 992px){

}

/*特大デバイス（ワイド・デスクトップ, 1200px 以上）xl*/
@media (min-width: 1200px){

}

body{

}

.fc_00549F{
	color:#00549F;
}

.fc_00549F{
	color:#00549F;
}

.fc_FF002A{
	color:#FF002A;
}

.fs_20b{
	font-size:1.25rem;
	font-weight:bold;
}

.fs_18b{
	font-size:1.125rem;
	font-weight:bold;
}

.fs_13{
	font-size:0.8125rem;
}

a.text_link{
	color:#000000;
	text-decoration: none !important;
}

a.text_link_00549F{
	color:#00549F;
}

a.text_link_00549F:hover{
	color:#00549F;
}

nav#main-nav{
	z-index: 100;
}

h1.navbar-brand{
	margin:0;
	padding:0;
}

h1.navbar-brand a{
	font-size:1.25rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;

}

h1.navbar-brand a:hover{
	text-decoration: none;
}

h1.navbar-brand a img{
	margin-right:1rem;
	width:90px;
}

@media (min-width: 768px){
	h1.navbar-brand{
		margin:0;
		padding:0;
	}

	h1.navbar-brand a{
		font-size:1.25rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;

	}

	h1.navbar-brand a:hover{
		text-decoration: none;
	}

	h1.navbar-brand a img{
		margin-right:1rem;
		width:auto;
	}

	header#wrapper-navbar.HeightMin h1.navbar-brand a img{
		margin-right:1rem;
		width:90px;
	}
}



.header_image{
	background-position: center;
	background-size: cover;
	width:100%;
	height:300px;
	border-radius: 10px;
	margin-bottom:1rem;
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 1) !important;
}
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
  color: rgba(0, 0, 0, 1) !important;
}
.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 1) !important;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: rgba(0, 0, 0, 1) !important;
}
.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 1) !important;
}

li.menu-item{
	color:#000000 !important;
	font-size:1rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	/*padding:0 0.5rem;*/
	padding:0 0.5rem 1rem 0.5rem;
}

li.menu-item a small:after{
	content: '　';
}

@media (min-width: 768px){

li.menu-item a{
	text-align:center;
	padding:0 0.5rem 1rem 0.5rem;
}

li.menu-item a small{
	
}

li.menu-item a small:after{
	content: '\A';
	white-space: pre;
}

}

li#menu-item-128 a{
	background-color:#00B8EE;
	color:#FFFFFF !important;
	font-size:1rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	border-radius: 5px;
	padding:0.25rem 0.5rem;
	margin-top:0.25rem;
}

li#menu-item-128 a::before {
	content:"\f0e0";
	font-family: "Font Awesome 5 Free";
	color:#FFFFFF !important;
	margin-right:0.25rem;
}


.the_time,
.the_author{
	font-size:0.875rem;
	margin-bottom:1rem;
}

nav.container.navigation.post-navigation{
	display: none;
}


h1.entry-title.entry_title_h1,
h2.entry-title.entry_title_h2{
  padding: 1rem 1rem;
  border-bottom: 3px solid #000;
  /*background: #f4f4f4;*/
	font-size:1.75rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
}


h2.entry-title.entry_title_h2 a{
	color:#333333;
}

h2.std{
	font-size:1.25rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	letter-spacing: 0.1rem;
	margin-bottom:2rem;
}

h2.std:before {
	content: '\f1b0';
	font-family: "Font Awesome 5 Free";
	font-size:2rem;
	color:#FBCA00;
	margin-right:0.5rem;
}

h2.std small{
	font-size:1rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	margin-left:1rem;
}

@media (min-width: 768px){
	h2.std{
		font-size:1.875rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		letter-spacing: 0.1rem;
		margin-bottom:2rem;
	}

	h2.std:before {
		content: '\f1b0';
		font-family: "Font Awesome 5 Free";
		font-size:2rem;
		color:#FBCA00;
		margin-right:0.5rem;
	}

	h2.std small{
		font-size:1.125rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		margin-left:1rem;
	}
}

h3.h3_side{
  position: relative;
  padding: 0.5rem 1rem;
  border-bottom: 3px solid #000;
  border-left: 3px solid #000;
  border-radius: 0 0 0 20px;
	font-size:1.25rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	margin-bottom:2rem;
}

h3.h3_side:before {
  position: absolute;
  right: 50px;
  bottom: -21px;
  width: 0;
  height: 0;
  content: '';
  border-width: 21px 21px 0 0;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

h3.h3_side:after {
  position: absolute;
  right: 54px;
  bottom: -14px;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 14px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* pagetitle */
h1.entry-title.page_title,
h1.page-title{
	font-size:1.5rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	border-bottom:1px solid #000000;
	padding-top:16px;
	padding-bottom:0.5rem;
	background-image:url(images/pagetitle_image.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size:20%;
}

h1.entry-title.page_title small,
h1.page-title small{
	font-size:1rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
}

h1.entry-title.page_title small:before,
h1.page-title small:before{
	white-space: pre;
	content: '\A'
}

h1.page-title{
	margin-bottom:2rem;
}

@media (min-width: 768px){
	h1.entry-title.page_title,
	h1.page-title{
		font-size:2.125rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		border-bottom:1px solid #000000;
		padding-top:110px;
		padding-bottom:0.5rem;
		background-image:url(images/pagetitle_image.jpg);
		background-position: right bottom;
		background-repeat: no-repeat;
		background-size:auto;
	}

	h1.entry-title.page_title small,
	h1.page-title small{
		font-size:1.5rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
	}

	h1.entry-title.page_title small:before,
	h1.page-title small:before{
		white-space: pre;
		content: ''
	}

	h1.page-title{
		margin-bottom:2rem;
	}
}

/* side */
ul.recently_list{
	list-style: none;
	padding:0;
	margin-bottom:2rem;
}

ul.recently_list li{
	border-bottom:1px dotted #CCCCCC;
	padding-bottom:0.5rem;
	margin-bottom:0.5rem;
}

ul.recently_list li a{
	color:#333333;
}

/* post */
.article_inner{
	border: 3px solid #000000;
	border-radius: 20px;
	padding:1rem;
	margin-bottom:3rem;
}

/* footer */
.copyright{
	font-size:0.75rem;
	text-align:center;
}

.footer_nav ul{
	text-align:center;
	padding:0;
}

.footer_nav ul li{
	display: inline-block;
	text-align:center;
	margin:0.5rem 1rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;

}

.footer_nav ul li a{
	color:#333333;
}

@media (min-width: 768px){
	.footer_nav ul li{
		display: inline-block;
		text-align:center;
		margin:0 1rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;

	}
}

/*  */
.inquiry_btn_wrap{
	border:4px solid #00B8EE;
	border-radius: 10px;
	height:170px;
	background-color:#FFFFFF;
	padding:1rem;
	position: relative;
}

.inquiry_btn_wrap a{
	display: inline-block;
	width:100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}

.inquiry_btn_text{
	font-size:20px;
	font-weight:bold;
	margin-bottom:1rem;
}

.inquiry_btn_mail{
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size:25px;
	text-align: center;
}

.inquiry_btn_mail .fa-envelope{
	position: relative;
	top:5px;
}

.inquiry_btn_tel{
	font-family: "Arial";
	font-weight:700;
	font-size:40px;
	text-align: center;
}

.inquiry_btn_mail i,
.inquiry_btn_tel i{
	color:#00B8EE;
	font-size:40px;
}

.inquiry_btn_text_small{
	text-align: center;
	font-size:1rem;
}

@media (min-width: 768px){
	.inquiry_btn_mail{
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		font-size:30px;
		text-align: center;
	}
}

/* モバイルのみ電話番号リンク有効 */
@media (min-width: 751px) {
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
}

/* 背景色 */

.bgcolor_FFFFFF{
	background-color: #FFFFFF;
	padding:60px 0;
}

.bgcolor_F0F0E8{
	background-color: #F0F0E8;
	padding:60px 0;
}

@media (min-width: 768px){
	.bgcolor_FFFFFF{
		background-color: #FFFFFF;
		padding:120px 0;
	}

	.bgcolor_F0F0E8{
		background-color: #F0F0E8;
		padding:120px 0;
	}
}

/* ボタン */
.btn_01_wrap{
	background-color:#00549F;
	color:#FFFFFF;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size:1.125rem;
	border:1px solid #00549F;
	border-radius: 10px;
	height:56px;
	text-align:center;
	position: relative;
	transition: all  0.3s ease;
}

.btn_01_wrap:hover{
	background-color:#FFFFFF;
	color:#00549F;
	border:1px solid #00549F;
}

.btn_01_wrap a{
	display: inline-block;
	width:100%;
	height:100%;
	position: absolute;
}

/* トップ */

.carousel-item{
	min-height:300px;
}

@media (min-width: 576px){
	.carousel-item{
		min-height:300px;
	}
}

/*中デバイス（タブレット, 768px 以上）md*/
@media (min-width: 768px){
	.carousel-item{
		min-height:300px;
	}
}

/*大デバイス（デスクトップ, 992px 以上）lg*/
@media (min-width: 992px){
	.carousel-item{
		min-height:400px;
	}
}

/*特大デバイス（ワイド・デスクトップ, 1200px 以上）xl*/
@media (min-width: 1200px){
	.carousel-item{
		min-height:620px;
	}
}

  /* アニメーション */
.carousel-item p{
  animation: fadeIn 2s linear;
  animation-fill-mode: both;
}
/* ---------------------------- */
/* --- Animation --- */
/* ---------------------------- */
@keyframes fadeIn{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

.slide_inner{
	position: relative;
}

.slide_copy{
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size:3.5vw;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 800;
	color:#00549F;
	cursor : pointer;
	position: absolute;
	top:5%;
	right:1%;
	letter-spacing: 0.5vw;
	line-height:160%;
}

.slide_copy_text{
	white-space: nowrap;
	position: relative;
}

.slide_copy_text:hover:before{
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  border-right:2px solid #000000;
  animation: border_anim 0.2s linear forwards;
}

@keyframes border_anim {
  0%{
    height: 0%;
  }
  100%{
    height: 100%;
  }
}

.slide_copy_text_active{
	border-right:2px solid #000000;
	white-space: nowrap;
	position: relative;
}

.slide_copy_text_active:before{
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  border-right:2px solid #000000;
}

.slide_copy_text:after,
.slide_copy_text_active:after{
	content: " ";
	margin-bottom: -0.5vw;
}

.slide_copy_text:hover{
	/*color:#FF002A;*/
}

@media (min-width: 576px){
	.slide_copy{
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		font-size:1.25rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 800;
		color:#00549F;
		cursor : pointer;
		position: absolute;
		top:5%;
		right:1%;
		letter-spacing: 0.5rem;
		line-height:160%;
	}

	.slide_copy_text:after,
	.slide_copy_text_active:after{
		content: " ";
		margin-bottom: -0.5rem;
	}
}

/*中デバイス（タブレット, 768px 以上）md*/
@media (min-width: 768px){
	.slide_copy{
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		font-size:1.75rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 800;
		color:#00549F;
		cursor : pointer;
		position: absolute;
		top:5%;
		right:1%;
		letter-spacing: 0.5rem;
		line-height:160%;
	}

	.slide_copy_text:after,
	.slide_copy_text_active:after{
		content: " ";
		margin-bottom: -0.5rem;
	}
}

/*大デバイス（デスクトップ, 992px 以上）lg*/
@media (min-width: 992px){
	.slide_copy{
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		font-size:2.5rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 800;
		color:#00549F;
		cursor : pointer;
		position: absolute;
		top:5%;
		right:1%;
		letter-spacing: 0.6rem;
		line-height:160%;
	}

	.slide_copy_text:after,
	.slide_copy_text_active:after{
		content: " ";
		margin-bottom: -0.6rem;
	}
}

/*特大デバイス（ワイド・デスクトップ, 1200px 以上）xl*/
@media (min-width: 1200px){
	.slide_copy{
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		font-size:2.75rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 800;
		color:#00549F;
		cursor : pointer;
		position: absolute;
		top:5%;
		right:1%;
		letter-spacing: 1rem;
		line-height:160%;
	}

	.slide_copy_text:after,
	.slide_copy_text_active:after{
		content: " ";
		margin-bottom: -1rem;
	}
}



.top_cat_wrap{
	background-color:#00549F;
	color:#FFFFFF;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size:1rem;
	border:1px solid #00549F;
	border-radius: 10px;
	height:100px;
	text-align:center;
	position: relative;
	transition: all  0.3s ease;
}

.top_cat_wrap:hover{
	background-color:#FFFFFF;
	color:#00549F;
	border:1px solid #00549F;
}

.top_cat_wrap small{
	font-size:0.875rem;
	letter-spacing: -0.05rem;
}

.top_cat_wrap a{
	display: inline-block;
	width:100%;
	height:100%;
	position: absolute;
}

.four_eyes_wrap{
	border:2px solid #000000;
	border-radius: 10px;
	background-color:#FFFFFF;
	min-height:144px;
	padding:1.5rem 1.5rem 1.25rem 1.5rem;
	position: relative;
}

.four_eyes_wrap div{
	position: absolute;
	top:-0.875rem;
	left:1rem;
	background-color:#FFFFFF;
	padding:0 0.5rem;
	color:#00549F;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size:1.25rem;
}

.four_eyes_wrap p{
	margin-bottom:0;
}

.news_wrap{
	border:2px solid #000000;
	border-radius: 10px;
	background-color:#FFFFFF;
	height:200px;
	padding:1.5rem 1.5rem 1.25rem 1.5rem;
	position: relative;
}

.news_wrap i.fa-hand-point-right{
	font-size:2rem;
	color:#00549F;
	position: absolute;
	right:1rem;
	bottom:1rem;
	transition: all  0.3s ease;
}

.news_wrap:hover i.fa-hand-point-right{
	position: absolute;
	right:0.5rem;
	bottom:1rem;
}

.news_wrap a{
	display: inline-block;
	width:100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}

.news_wrap div.news_date{
	font-weight: bold;
	font-size:1rem;
	margin-bottom:1rem;
}

.news_wrap p{
	margin-bottom:0;
}

.colum_wrap{
	background-color:#F0F0E8;
	border-radius: 10px;
	position: relative;
}

.colum_wrap a{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:100;
}

.colum_wrap i.fa-hand-point-right{
	font-size:2rem;
	color:#00549F;
	transition: all  0.3s ease;
	position: absolute;
	right:2rem;
	bottom:1rem;
}

.colum_wrap:hover i.fa-hand-point-right{
	position: absolute;
	right:1.5rem;
	bottom:1rem;
}

.columtitle{
	font-size:1.0625rem;
	font-weight:bold;
	margin-left:1rem;
}

.link_wrap{
	background-color:#FFFFFF;
	border:1px solid #E2E1D0;
	border-radius: 10px;
	padding:1rem;
	position: relative;
}

.link_wrap a{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/* サービス */
.service_link_wrap{
	background-color:#EEEEEE;
	border-radius: 10px;
	padding:1rem;
}

.service_link_wrap a{
	color:#000000;
	text-decoration: none;
}

/* リフォーム */
ul.slider{
	padding-left:0 !important;
}

ul.slider li{

}

.reform_wrap{
	padding:1rem;
	position: relative;
}

.reform_wrap a{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


@media (min-width: 576px){
	.reform_wrap p{
		height:50px;
	}
}

.reform_photo{

}

.reform_text{
	display: none;
}

/* お問い合わせ */
table.mailform_table{
	border:2px solid #000000;
	border-radius: 1rem;
	width:100%;
	border-collapse: separate;
	border-spacing: 0;
}

table.mailform_table th{
	font-weight:normal;
	border-bottom:2px solid #000000;
	background-color:#F0F0E8;
	padding: 1rem 1.5rem 1rem 1.5rem;
	vertical-align: top;
	display: block;
	width:100%;
}

table.mailform_table td{
	border-bottom:2px solid #000000;
	padding: 1rem 1.5rem 1rem 1.5rem;
	display: block;
	width:100%;
}

table.mailform_table tr:first-child th:first-child{
  border-radius: 1rem 1rem 0 0;
}
table.mailform_table tr:first-child td:last-child{
  border-radius: 0 0 0 0;
}
table.mailform_table tr:last-child th:first-child{
  border-radius: 0 0 0 0;
  border-bottom:none;
}
table.mailform_table tr:last-child td:last-child{
  border-radius: 0 0 1rem 1rem;
  border-bottom:none;
}

@media (min-width: 768px){
	table.mailform_table{
		border:2px solid #000000;
		border-radius: 1rem;
		width:100%;
		border-collapse: separate;
		border-spacing: 0;
	}

	table.mailform_table th{
		font-weight:normal;
		border-bottom:2px solid #000000;
		background-color:#F0F0E8;
		padding: 1rem 1.5rem 1rem 1.5rem;
		vertical-align: top;
		display: table-cell;
		width:auto;
	}

	table.mailform_table td{
		border-bottom:2px solid #000000;
		padding: 1rem 1.5rem 1rem 1.5rem;
		display: table-cell;
		width:auto;
	}

	table.mailform_table tr:first-child th:first-child{
	  border-radius: 1rem 0 0 0;
	}
	table.mailform_table tr:first-child td:last-child{
	  border-radius: 0 1rem 0 0;
	}
	table.mailform_table tr:last-child th:first-child{
	  border-radius: 0 0 0 1rem;
	  border-bottom:none;
	}
	table.mailform_table tr:last-child td:last-child{
	  border-radius: 0 0 1rem 0;
	  border-bottom:none;
	}
}

input,
textarea{
  width:100% !important;
}

textarea{
  height:180px !important;
}

input[type="checkbox"]{
  width:auto !important;
}

/* 会社案内 */
.message_copy{
	font-size:1rem;
	color:#00549F;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	margin-bottom:3rem;
}

@media (min-width: 768px){
	.message_copy{
		font-size:1.875rem;
		color:#00549F;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		margin-bottom:3rem;
	}
}

a i.fa-map-marked-alt{
	color:#00549F;
}

table.company_table{
	border:2px solid #000000;
	border-radius: 1rem;
	width:100%;
	border-collapse: separate;
	border-spacing: 0;
}

table.company_table th{
	font-weight:normal;
	border-bottom:2px solid #000000;
	background-color:#F0F0E8;
	padding: 1rem 1.5rem 1rem 1.5rem;
	vertical-align: top;
	display: block;
	width:100%;
}

table.company_table td{
	border-bottom:2px solid #000000;
	padding: 1rem 1.5rem 1rem 1.5rem;
	display: block;
	width:100%;
}

table.company_table tr:first-child th:first-child{
  border-radius: 1rem 1rem 0 0;
}
table.company_table tr:first-child td:last-child{
  border-radius: 0 0 0 0;
}
table.company_table tr:last-child th:first-child{
  border-radius: 0 0 0 0;
  border-bottom:none;
}
table.company_table tr:last-child td:last-child{
  border-radius: 0 0 1rem 1rem;
  border-bottom:none;
}

@media (min-width: 768px){
	table.company_table{
		border:2px solid #000000;
		border-radius: 1rem;
		width:100%;
		border-collapse: separate;
		border-spacing: 0;
	}

	table.company_table th{
		font-weight:normal;
		border-bottom:2px solid #000000;
		background-color:#F0F0E8;
		padding: 1rem 1.5rem 1rem 1.5rem;
		vertical-align: top;
		display: table-cell;
		width:auto;
	}

	table.company_table td{
		border-bottom:2px solid #000000;
		padding: 1rem 1.5rem 1rem 1.5rem;
		display: table-cell;
		width:auto;
	}

	table.company_table tr:first-child th:first-child{
	  border-radius: 1rem 0 0 0;
	}
	table.company_table tr:first-child td:last-child{
	  border-radius: 0 1rem 0 0;
	}
	table.company_table tr:last-child th:first-child{
	  border-radius: 0 0 0 1rem;
	  border-bottom:none;
	}
	table.company_table tr:last-child td:last-child{
	  border-radius: 0 0 1rem 0;
	  border-bottom:none;
	}
}

/*==================================================
ギャラリーのためのcss
===================================*/
.gallery{
columns: 4;/*段組みの数*/
padding:0 15px;/*ギャラリー左右に余白をつける*/
  margin:0;
  padding: 0;
  list-style: none;
}

.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
  width:100%;
  height:auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/}

/*　横幅900px以下の段組み設定　*/
@media only screen and (max-width: 900px) {
  .gallery{
  columns:3;
  } 
}

@media only screen and (max-width: 768px) {
  .gallery{
  columns: 2;
  } 
}

/*画像を出現させるアニメーションCSS*/

.flipLeft{
animation-name: flipLeft;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity: 0;
}

@keyframes flipLeft{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

.slick-prev,
.slick-next{
    z-index: 100 !important;
}

.slick-prev
{
    left: 2rem !important;

}

.slick-next
{
    right: 2.75rem !important;
}

.slick-prev:before,
.slick-next:before
{
    font-size: 40px !important;
}

/*========= ページトップのためのCSS ===============*/

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}
#page-top a {
    text-decoration: none;
    text-align: center;
    display: block;
    color:#333333;
}

#page-top a i{
	font-size:3rem;
}

#page-top a:hover {
    text-decoration: none;
}

/*========= スクロール途中からヘッダーの高さが小さくなるためのCSS ===============*/
@media (min-width: 768px){
	#wrapper-navbar{
	  height: 132px;
	  width:100%;
	}
}


/*HeightMinというクラス名がついたら高さを小さく、上部固定に*/
#wrapper-navbar.HeightMin{
  position: fixed;
    z-index: 999;/*最前面へ*/
  height:100px;
  animation: DownAnime 0.5s forwards;
  width:100%;
}

@keyframes DownAnime{
  from {
    opacity: 0;
  transform: translateY(-170px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 猫と暮らす住まいづくり */
.renovation_flow_01{
	border:3px solid #007400;
	border-radius: 1rem;
	padding:1rem;
	margin-bottom:2rem;
	position: relative;
}

.renovation_flow_01:after {
  position: absolute;
  bottom: -20px;
  left: calc(50% - 10px);
  width: 0;
  height: 0;
  content: '';
  border-width: 20px 20px 0 20px;
  border-style: solid;
  border-color: #007400 transparent transparent transparent;
}

.renovation_flow_02{
	border:3px solid #FF7F00;
	border-radius: 1rem;
	padding:1rem;
	margin-bottom:2rem;
	position: relative;
}

.renovation_flow_02:after {
  position: absolute;
  bottom: -20px;
  left: calc(50% - 10px);
  width: 0;
  height: 0;
  content: '';
  border-width: 20px 20px 0 20px;
  border-style: solid;
  border-color: #FF7F00 transparent transparent transparent;
}

.renovation_flow_02.end:after {
	display: none;
  /*position: absolute;
  bottom: -20px;
  left: calc(50% - 10px);
  width: 0;
  height: 0;
  content: '';
  border-width: 20px 20px 0 20px;
  border-style: solid;
  border-color: #FF7F00 transparent transparent transparent;*/
}

.renovation_flow_01_text{
	color:#007400;
	font-size:1.25rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	text-align:center;
	margin-bottom:0.5rem;
}

.renovation_flow_02_text{
	color:#FF7F00;
	font-size:1.25rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	text-align:center;
	margin-bottom:1rem;
}

.renovation_flow_text{
	color:#000000;
	font-size:1.5rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	text-align:center;
	margin-bottom:0.5rem;
}

@media (min-width: 768px){
	.renovation_flow_text{
		color:#000000;
		font-size:1.75rem;
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 700;
		text-align:center;
		margin-bottom:0.5rem;
	}
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.slick-disabled{
	display: none !important;
}