@charset "utf-8";

/* ---------------------------
			main
---------------------------*/
.section-wrapper:not(.gallery_list_outer) {padding: 0 25px;}
.section-wrapper:not(:last-child) {margin-bottom: 50px;}

.content-repeat-wrapper {
    display: flex;
    justify-content: space-between;
}
.allocation-one-block .content-repeat-box {width: 100%;}
.reset-margin .content-repeat-box + .content-repeat-box {margin-left: 0;}

/*　(画像+小見出し+本文)縦並び　*/
.allocation-two-blocks .content-repeat-box {width: calc(50% - 15px);}
.allocation-three-blocks .content-repeat-box {width: calc(33.33% - 17.5px);}
.allocation-four-blocks .content-repeat-box {width: calc(25% - 11.25px);}

.layout-tandem .content-repeat-box > *:not(:last-child){margin-bottom: 30px;}

/*　(画像+小見出し+本文)横並び　*/
.layout-side {
	display: flex;
	justify-content: space-between;
}
.layout-side-image img {
	object-fit: cover;
	height: 100%;
}

.layout-side.allocation-one-block .content-repeat-box {
	width:100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.layout-side.allocation-two-blocks .content-repeat-box {
	width:calc(50% - 15px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.layout-side .layout-side-image,
.layout-side .layout-side-child {
	flex: 1;
}
.layout-side .content-repeat-box > * + * {margin-left: 15px;}

/*　共通　*/
.layout-side-child,
.layout-tandem .content-repeat-box {
	display: flex;
	flex-direction: column;
}
.layout-side-child > *,
.layout-tandem .content-repeat-box > * {min-height: 0%; /* For IE */}

.has-button .visual-text {margin-bottom: 30px;}
.layout-side-child .content-child-button {margin-top: auto;}
.layout-tandem .content-child-button {margin: 0 auto;}


@media screen and (min-width: 1101px) {
	/*　(画像+小見出し+本文)縦並び　*/
	.reset-margin .allocation-two-blocks .content-repeat-box {flex: 1 1 50%;}
	.reset-margin .allocation-three-blocks .content-repeat-box {flex: 1 1 33.33%;}
	.reset-margin .allocation-four-blocks .content-repeat-box {flex: 1 1 25%;}
}
@media screen and (min-width: 768px) and ( max-width: 1100px) {
	/*　(画像+小見出し+本文)縦並び　*/
	.allocation-two-blocks .content-repeat-box {width: calc(50% - 15px);}
	.reset-margin .allocation-two-blocks .content-repeat-box {flex: 1 1 50%;}

	.allocation-three-blocks .content-repeat-box {width: calc(33.33% - 15px);}
	.reset-margin .allocation-three-blocks .content-repeat-box {flex: 1 1 33.33%;}

	.content-repeat-wrapper {flex-wrap: wrap;}
	.allocation-four-blocks .content-repeat-box:nth-child(n + 3) {margin-top: 30px;}
	.allocation-four-blocks .content-repeat-box {width: calc(50% - 15px);}
	.reset-margin .allocation-four-blocks .content-repeat-box {
		width: 50%;
		margin-top: 0;
	}
}
@media screen and (min-width: 768px) {
	/*　(画像+小見出し+本文)横並び　*/
	.reset-margin .layout-side .content-repeat-box:first-child {border-right-width: 0;}
	.reset-margin .layout-side .content-repeat-box:last-child {border-left-width: 0;}
}
@media screen and (max-width: 767px) {
	.section-wrapper:not(.gallery_list_outer) {padding: 0 12.5px;}
	
	/*　(画像+小見出し+本文)縦並び　*/
	.content-repeat-wrapper {flex-wrap: wrap;}
	
	.content-repeat-wrapper .content-repeat-box {width: 100%;}
	
	.margin-set + .margin-set {margin-top: 25px;}
	.reset-margin .content-repeat-box {margin-top: 0;}
	
	.layout-side.allocation-two-blocks .content-repeat-box {
		width:100%;
	}
	
	/*　(画像+小見出し+本文)横並び　*/
	.reset-margin .layout-side .content-repeat-box:first-child {border-bottom-width: 0;}
	.reset-margin .layout-side .content-repeat-box:last-child {border-top-width: 0;}
	
}

/* ---------------------------
         ギャラリー
---------------------------*/
/*　サムネイル付きギャラリー　*/
.gallery-slider {margin-bottom: 30px;}
.gallery-slider img {
    max-height: 400px;
    object-fit: contain;
}

.trimming {
	overflow: hidden;
	position: relative;
	padding-top: 56.25%;
}
.trimming img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}
.slider-nav .slick-slide {margin-left: 15px;}

/*　帯状ギャラリー　*/
.gallery_list_outer {overflow: hidden;}
.gallery_list_wrapper {display: flex;}
.gallery_list {display: flex;}
.gallery_list:nth-child(2) {margin-left: 0;}
.gallery_list img {
	height: 200px;
	width: auto;
}

@media screen and ( max-width: 767px) {
	.slider-nav .slick-slide {margin-left: 7.5px;}
}

/* ---------------------------

ページ独自コンテンツ

---------------------------*/
/*  トップページ　独自コンテンツ  */
.top-blog-wrapper p {margin-left: 30px;}
.top-blog-wrapper li:first-child {border-top: 1px dotted #999;}
.top-blog-wrapper li {border-bottom: 1px dotted #999;}

.top-blog-wrapper a {
	padding: 15px 10px;
	display: flex;
	align-items: center;
	color: #222;
}
.top-blog-wrapper time {
	font-weight: 600;
}
.top-blog-wrapper span {
	border: 1px solid #222;
	padding: 0px 10px;
	font-size: 1.2rem;
	min-width: 120px;
	text-align: center;
	margin-left: 20px;
}
@media (max-width: 767px) {
	.top-blog-wrapper p {
		margin-left: 0;
		width: 100%;
		margin-top: 10px;
	}
	.top-blog-wrapper a {flex-wrap: wrap;}
	.top-blog-wrapper span {
	font-size: 1.0rem;
	min-width: 100px;
	margin-left: 10px;
	}
}

/* カスタム投稿一覧　*/

.custom-list-display-side {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.custom-list-display-side .custom-list-child {
	display: flex;
    flex-direction: column;
	width: calc(33.3% - 10px);
}
.custom-list-display-tandem .custom-list-child + .custom-list-child {margin-top: 50px;}

.custom-list-display-side .term_name {
    background: #2959bf;
    color: #fff;
    display: inline-block;
    padding: 2px 10px;
    font-size: 1.2rem;
	margin-bottom: 5px;
}

.custom-list-display-side .custom-list-image img {
    height: 160px;
    object-fit: cover;
}
.custom-list-display-side .custom-list-image {
	margin-bottom: 10px;
}

.custom-list-display-tandem .custom-list-child + .custom-list-child {margin-top: 50px;}
.custom-list-display-tandem h4 {
	width: 100%;
	flex: 1 1 100%;
}
.custom-list-display-tandem .custom-list-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.custom-list-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.custom-list-display-side .custom-list-content .custom-list-button {margin-top: auto;}

.custom-list-display-tandem .custom-list-image {width: 40%;}
.custom-list-display-tandem .custom-list-image + div {margin-left: 30px;}

.custom-list-content .custom-list-text {
	margin-bottom: 30px
}
@media screen and (min-width: 1101px) {
	.custom-list-display-side .custom-list-child:not(:nth-child(3n+1)) {margin-left: 15px;}
	.custom-list-display-side .custom-list-child:nth-child(n+4) {margin-top: 30px;}
}

@media screen and (min-width: 768px) and ( max-width: 1100px) {
	.custom-list-display-side .custom-list-child {width: calc(50% - 7.5px);}
	.custom-list-display-side .custom-list-child:nth-child(2n) {margin-left: 15px;}
	.custom-list-display-side .custom-list-child:nth-child(n+3) {margin-top: 30px;}
}

@media screen and ( max-width: 767px) {
	.custom-list-display-side .custom-list-image img {height: 100px;}
	.custom-list-display-tandem .custom-list-image + div {margin: 15px 0 0 0;}
	.custom-list-display-tandem .custom-list-image {width: 100%;}
	
	.custom-list-display-side .custom-list-display h4 {margin-bottom: 10px;}
	
	.custom-list-display-side .custom-list-child {width: calc(50% - 7.5px);}
	.custom-list-display-side .custom-list-child:nth-child(2n) {margin-left: 15px;}
	.custom-list-display-side .custom-list-child:nth-child(n+3) {margin-top: 30px;}
}

/* ---------------------------
         その他パーツ
---------------------------*/
/* パララックス */
.section-parallax {
    display: flex;
    align-items: center;
}

.section-parallax .content-wrapper {
	padding: 30px 0;
	width: 100%;
}

@media screen and ( max-width: 767px) {
	.section-parallax {
		height: auto !important;
	}
}

/*　動画コンテンツ　*/
.modal-container a:before {
	transition: 0.5s;
	font-family: "Font Awesome 5 Brands";
	content: "\f167";
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-size: 5.0rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	color: #222;
	z-index: 10;
} 
.modal-container a:hover:before {color: #ff0000;}
.modal-container {position: relative;}

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*　ビフォーアフター　*/
.before-after-wrapper ul {
    display: flex;
    justify-content: space-between;
}
.before-after-wrapper li {width: 45%;}
.before-after-wrapper .bf-arrow:before {
	transition: 0.5s;
	font-family: "Font Awesome 5 Free";
	content: "\f061";
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-size: 7.0rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	color: #777;
}
.before-after-wrapper .bf-arrow {
	width: 10%;
	position: relative;
}
@media screen and ( min-width: 768px) and ( max-width: 1100px) {
	.before-after-wrapper .bf-arrow:before{font-size: 5.0rem;}
}
@media screen and ( max-width: 767px) {
	.before-after-wrapper .bf-arrow:before{font-size: 2.2rem;}
}