@charset "UTF-8";
/* CSS Document */

/*------------------共通部分----------------------*/
:root{
	--main_color: #5c3b1e;
  	--sub_color: #e28d33;
	--font: "Shippori Mincho", serif;
}
html{
	font-size: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}
body{
	font-family: var(--font);
	font-weight: 500;
	color: #333;
	font-size: 16px;
	background: #fff;
	-webkit-font-smoothing: antialiased;/*アンチエイリアスを滑らかに*/
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.9;
}
p{
	font-size: 1rem;
	letter-spacing: 0.08em;
	margin: 5px 0;
}
h1,h2,h3,h4,h5,h6{
	font-weight: 500;
	line-height: 1.7;
}
a{
	text-decoration: none;
	color: #333;
	transition: .4s;
}
ul,ol{
	list-style: none;
	padding: 0;
}
svg{
	padding: 0;
	margin: 0;
	vertical-align: bottom;
	min-height: 0%;
}
img{
  	line-height: 1;
	vertical-align: top;
	max-width: 100%;
	transition: .4s;
	font-size: 0;
}
.img{
	min-height: 0%;
}
.img img{
	display: block;
	width: 100%;
}
.img a{
	display: block;
	width: 100%;
}
.img a:hover img{
	opacity: .8;
}
.logo img{
	pointer-events: none;
}

.inner{
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
}
.inner.wide{
	max-width: 1400px;
}
.inner.max{
	max-width: none;
}

.mg100{
	margin-bottom: 100px !important;
}
.mg50{
	margin-bottom: 50px !important;
}
.mg30{
	margin-bottom: 30px !important;
}
.mg20{
	margin-bottom: 20px !important;
}
.mg10{
	margin-bottom: 10px !important;
}

span.red{
	color: #f05742;
}
.overwrap{
	overflow: hidden;
}



/*---------メインタイトル--------------*/
.main_ttl {
	font-size: 2rem;
	letter-spacing: 0.1em;
	text-align: center;
	color: var(--main_color);
	font-weight: 500;
    position: relative;
}

.main_ttl:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--sub_color);
}




.main_ttl2{
	font-size: 2.5rem;
	letter-spacing: 0.1em;
	color: var(--main_color);
	writing-mode: vertical-rl;
}


@media(max-width:768px){
	.main_ttl{
		font-size: 1.5rem;
		letter-spacing:0.15em;
	}
	.main_ttl2{
		font-size: 1.5rem;
		letter-spacing:0.15em;
		writing-mode: horizontal-tb;
		position: relative;
	}
	.main_ttl2:before {
		content: '';
		display: inline-block;
		position: absolute;
		bottom: -10px;
		left: 50%;
		transform: translateX(-50%);
		width: 80px;
		height: 4px;
		background-color: var(--sub_color);
	}
}

@media(max-width:550px){
	.main_ttl{
		font-size: 1.3rem;
	}
	.main_ttl2{
		font-size: 1.3rem;;
	}
}


/*--------サブタイトル----------*/

.sub_ttl{
    padding:0 .4em .2em;
    border-bottom: 0.5px solid #333;
    color: #333;
	font-size: 1.3rem;
	letter-spacing: 0.15em;
}
.sub_ttl::first-letter{
	font-size: 1.5rem;
	color:var(--sub_color);
}

.sub_ttl2 {
    font-weight: bold;
    padding: 0.5em 1em;
    background-color: #5e5e5e;
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}
.sub_ttl2::after {
    content: '';
    background-color: #fff;
    opacity: 0.3;
    transform: rotate(-65deg);
    position: absolute;
    bottom: -250px;
    right: -250px;
    width: 300px;
    height: 500px;
}



.point_ttl {
	position: relative;
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	font-weight:600;
	text-align: left;
	color: var(--main_color);
	
}
.point_ttl span {
	display: flex;
	align-items: center;
	color: var(--sub_color);
	font-size: 1.2rem;
}
.point_ttl span::before {
	content: '';
	display: inline-block;
	margin-right: 20px;
	width: 40px;
	height: 1px;
	background-color: var(--sub_color);
}

@media(max-width:580px){
	.point_ttl {
		font-size: 1.3rem;
	}
}




.text{
	text-align: left;
	letter-spacing: 0.15em;
}
.txt_left{
	text-align: left
}
.txt_right{
	text-align: right;
}
.center{
	text-align: center;
}
.pc_center{
	text-align: center;
}
@media (max-width: 768px){
	.pc_center{
		text-align: left;
	}
}

.w960{
	max-width: 960px;
	margin: auto;
}


/*--------ボタン--------*/
.btn01{
	padding-top: 30px;
}
.btn01 a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
	gap:10px;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #333;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.btn01 a:after {
	content: "";
	position: absolute;
	top: 50%;
	bottom: 0;
	right: 2rem;
	font-size: 1.2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: right 0.3s;
	width: 6px;
	height: 6px;
	border-top: solid 2px currentColor;
	border-right: solid 2px currentColor;
	transform: translateY(-50%) rotate(45deg);
}
.btn01 a:hover {
	background: var(--sub_color);
	color: #fff;
}
.btn01 a:hover:after {
 	right: 1.4rem;
}


.btn01_wh{
	padding-top: 30px;
}
.btn01_wh a {
    background: #fff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #333;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.btn01_wh a:after {
	content: "";
	position: absolute;
	top: 50%;
	bottom: 0;
	right: 2rem;
	font-size: 1.2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: right 0.3s;
	width: 6px;
	height: 6px;
	border-top: solid 2px currentColor;
	border-right: solid 2px currentColor;
	transform: translateY(-50%) rotate(45deg);
}
.btn01_wh a:hover {
	background: var(--sub_color);
	color: #fff;
}
.btn01_wh a:hover:after {
 	right: 1.4rem;
}


/*---------インスタアイコンボタン--------*/
.insta_btn {
	color: #fff;/*文字・アイコン色*/
	border-radius: 100%;
	position: relative;
	display: block;
	height: 45px;
	width: 45px;
	font-size: 1rem;
	text-align: center;
	padding-top: 9px;/*上側との余白*/
	box-sizing: border-box;
	border: 1px solid #333;
	overflow: hidden;
	text-decoration:none;
	transition: all .5s ease;
	margin-left: 10px;

}
.insta_btn i{
	font-size: 1.5rem;
	transition: all .5s ease;
	color:#333;
}

.insta_btn:hover{
	background: var(--sub_color);
	color: #333;
	border: 1px solid var(--sub_color);
}
.insta_btn:hover.insta_btn i{
	color: #fff;
}


.sbtn{
	width: 300px;
	margin: 0 auto;
}
.sbtn a{
	display: block;
	border:1px solid #333;
	text-align: center;
	width: 100%;
	padding: 15px 0;
	letter-spacing: 0.15em;
	font-size: 0.9rem;
	transition: all .5s ease;
	
}
.sbtn a:hover{
	color: #fff;
	background: var(--sub_color);
	border: 1px solid var(--sub_color);
}
.sbtn.wh a{
	background:#fff;
	color: #333;
	border: 1px solid #333;
}
.sbtn.wh a:hover{
	color: #fff;
	background: #000;
	border: 1px solid #fff;
}
.sbtn.bk a{
	background:#333;
	color: #fff;
	border: 1px solid #333;
}
.sbtn.bk a:hover{
	color: #333;
	background: #fff;
	border: 1px solid #fff;
}

.sbtn p{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 5px;
}
.sbtn p::before,
.sbtn p::after{
	content: '';
	background: #005897;
	height: 1px;
	flex-grow: 1;
	opacity: 0.5;
}
.sbtn p::before{
	margin-right: 1em;
}
.sbtn p::after{
	margin-left: 1em;
}

.sbtn.left{
	margin: 0 auto 0 0;
}
.sbtn.long a{
	width: 100%;
}
.m_contact a{
	min-width: 280px;
}


/*2行の基本Table*/
.info_table{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
.info_table tr{
	border: 1px solid #ccc;
}
.info_table th,
.info_table td{
	padding: 15px 10px;
	letter-spacing: 0.08em;
}
.info_table th{
	background: #eee;
	color: #333;
	width: 30%;
	border-right: 1px solid #ccc;
	font-weight: 500;
}
.info_table td{
	background: #fff;
	width: 70%;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
@media (max-width: 768px){
	.info_table th,
	.info_table td{
		display: block;
		width: 90%;
		margin: auto;
		border: none;
		text-align: left;
	}
	.info_table tr{
		border: none;
	}
	
	.info_table{
		font-size: 0.9rem;
	}
}

/*ver2*/
.info_table02{
	width: 100%;
	table-layout: fixed;
	border-spacing: 0 6px;
}
.info_table02 tr{
}
.info_table02 tr:last-child{
	border-bottom: none !important;
}
.info_table02 th,
.info_table02 td{
	padding: 18px 0;
	letter-spacing: 0.08em;
	font-size: 0.95rem;
}
.info_table02 th{
	position: relative;
	background: #626262;
	width: 200px;
	font-weight: 500;
	color: #fff;
}
.info_table02 th::after{
    position: absolute;
    top: calc(50% - 10px);
    right: -8px;
    display: block;
    width: 0;
    height: 0;
    content: "";
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #626262;
}
.info_table02 td{
	padding-left: 20px;
	padding-right: 20px;
	background: #f8f8f8;
}
@media (max-width: 768px){
	.info_table02 tr{
		border-width: 4px;
	}
	.info_table02 th,
	.info_table02 td{
		padding: 18px 0;
		font-size: 0.9rem;
	}
	.info_table02 th{
		width: 120px;
	}
	.info_table02 td{
		padding-left: 20px;
		padding-right: 20px;
	}
}

.info_table03{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-bottom: 1px solid rgba(196,196,196,.43);
}
.info_table03 tr{
	border-top: 1px solid rgba(196,196,196,.43);
}
.info_table03 th,
.info_table03 td{
	padding: 40px 0;
	text-align: left;
	vertical-align: top;
	letter-spacing: 0.08em;
}
.info_table03 th{
	width: 20%;
	padding-left: 40px;
	font-weight: 500;
}
.info_table03 td{
	width: 80%;
	padding-left: 20px;
}
@media (max-width: 768px){
	.info_table03 th,
	.info_table03 td{
		padding: 40px 0;
	}
	.info_table03 th{
		width: 25%;
		padding-left: 20px;
	}
	.info_table03 td{
		width: 75%;
		padding-left: 20px;
	}
}
@media (max-width: 450px){
	.info_table03{
		font-size: 0.9rem;
		padding: 30px 0;
	}
	.info_table03 th{
		width: 30%;
		padding-left: 10px;
	}
	.info_table03 td{
		width: 70%;
		padding-left: 10px;
	}
}



/*list*/
ul.check_list li{
/*	border-bottom: 1px solid #ddd;*/
	margin-bottom: 5px;
	padding-left: 2px;
	letter-spacing: 0.08em;
}
ul.check_list li::before{
	font-family: "Font Awesome 6 Free";
	content: "\f058";
	font-weight: bold;
	display: inline-block;
	color: var(--sub_color);
	margin-right: .5em;
	font-size: 1rem;
	transform: translateY(-2px);
}
ul.check_list02 li{
	letter-spacing: 0.08em;
	margin-bottom: 5px;
}
ul.check_list02 li::before{
	font-family: "Font Awesome 6 Free";
	content: "\f14a";
	font-weight: bold;
	display: inline-block;
	color: #333;
	margin-right: .5em;
	font-size: 1rem;;
}
ul.check_list02_wh li{
	letter-spacing: 0.08em;
	margin-bottom: 5px;
}
ul.check_list02_wh li::before{
	font-family: "Font Awesome 6 Free";
	content: "\f14a";
	font-weight: bold;
	display: inline-block;
	color: #fff;
	margin-right: .5em;
	font-size: 1rem;;
}



ul.check_list li:last-child,
ul.check_list02 li:last-child,
ul.check_list02_wh li:last-child{
	margin-bottom: 0;
}
ul.check_list02.row,
ul.check_list02_wh.row{
	display: flex;
	flex-wrap: wrap;
}
ul.check_list02.row li,
ul.check_list02_wh.row li{
	margin-right: 40px;
	margin-bottom: 10px;
}
@media (max-width: 768px){
	ul.check_list02.row,
	ul.check_list02_wh.row{
		display: block;
	}
	ul.check_list02.row li,
	ul.check_list02_wh.row li{
		margin-right: 0;
	}
}

ul.check_list03{
	display: flex;
	flex-wrap: wrap;
}
ul.check_list03 li{
	width: 31%;
	letter-spacing: 0.08em;
	margin: 0 1%;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 2px dotted #f7b525;
}
ul.check_list03 li::before{
	font-family: "Font Awesome 6 Free";
	content: "\f14a";
	font-weight: bold;
	display: inline-block;
	color: #f7b525;
	margin-right: .5em;
	font-size: .9em;
}
@media (max-width: 960px){
	ul.check_list03{
		justify-content: space-between;
	}
	ul.check_list03 li{
		width: 48%;
		margin: 0 0 10px;
	}
}
@media (max-width: 768px){
	ul.check_list03 li{
		width: 100%;
	}
}


ul.dot_list li{
	letter-spacing: 0.08em;
	margin-bottom: 5px;
}
ul.dot_list li::before{
	content: '・';
	color: #08A6A6;
	margin-right: 5px;
}

ul.care_list li{
	letter-spacing: 0.08em;
	margin-bottom: 5px;
	font-size: 0.8rem;
}
ul.care_list li::before{
	content: '※';
	color: #f05742;
	font-weight: bold;
}

ul.text_list li{
	border-bottom: 1px solid #ddd;
	margin-bottom: 5px;
	padding-left: 2px;
	letter-spacing: 0.08em;
}

ul.single_list{
}
ul.single_list li{
	border-bottom: 1px solid rgba(170, 170, 170, 0.3);
	padding: 0 2px;
	padding-bottom: 6px;
	margin-bottom: 8px;
	font-size: 0.9rem;
}
ul.single_list li:last-child{
	margin-bottom: 0;
}
ul.single_list li::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: "\f105";
	font-weight: bold;
	margin-right: 6px;
	font-size: 0.6rem;
	transform: translateY(-2px);
	color: #08A6A6;
}
ul.single_list.non li::before{
	display: none;
}

/*--------------info_flexbox---------------*/
/*画像 + テキスト 通常のflex*/
.info_flexbox{
	display: flex;
	justify-content: space-around;
	align-items: center;
	position: relative;
}
.info_flexbox .img{
	width: 48%;
}
.info_flexbox .text{
	width: 48%;
}

@media (max-width: 768px){
	.info_flexbox{
		flex-direction: column;
/*		gap:30px;*/
	}
	.info_flexbox.reverse{
		flex-direction: column-reverse;
	}
	.info_flexbox .img{
		width: 90%;
	}
	.info_flexbox .text{
		width: 100%;
		margin-top: 20px;
	}
}

/*階段型*/
.stairs_img2{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.stairs_img2 .img{
	width: 48%;
}
.stairs_img2 .img:nth-child(1){
	margin-top: 20px;
}

.stairs_img3{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.stairs_img3 .img{
	width: 32%;
}
.stairs_img3 .img:nth-child(2){
	margin-top: 20px;
}
.stairs_img3 .img:nth-child(3){
	margin-top: 40px;
}
@media (max-width: 768px){
	.stairs_img3 .img{
		width: 90%;
		margin-bottom: 20px;
	}
	.stairs_img3 .img:nth-child(2){
		margin: 0 auto 20px auto;
	}
	.stairs_img3 .img:nth-child(3){
		margin: 0 0 0 auto;
	}
}

.map{
	position: relative;
	aspect-ratio: 600 / 450;
	width: 100%;
	max-height: 510px;
	overflow: hidden;
}
.map iframe{
	vertical-align: top;
	width: 100%;
	height: 100%;
}


.text{
    width: 95%;
    margin: auto;
}


/*===// 共通部分ここまで ===========*/






/*===ヘッダー==============================*/
.site_header{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: 0.6s;
	padding: 15px 0;
}
.site_header::after{
	content: "";
    display: block;
    width: 110%;
    height: 130px;
    position: absolute;
	left: -5%;
    top: -10%;
    background: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 100%);
    filter: blur(10px);
    z-index: -1;
	box-shadow: 0px 8px 16px -2px rgba(10,10,10,0.1), 0px 9px 5px 6px rgba(255,255,255,0.5);
}





.site_header .inner{
/*	background-color: rgba(36,133,203,0.79);*/
	max-width: none;
}

.sticky{
	position: sticky;
	top: 0;
	left:0;
	right:0;
	z-index: 100;
}

.site_header .flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

.site_header h1{
/*	width: 35%;*/
	transition: 0.6s;
	font-size: 1.5rem;
	letter-spacing: 0.2em;

/*
	background-image: url("../img/logo.png");
	background-repeat: no-repeat;
	background-size: contain;
*/
}
.logo{
	position: relative;
	
}
.logo_wh{

}
.logo_bk{
	opacity: 0;
	
}
.site_header h1 a{
	display: flex;
	color: #333;
	align-items: center;
	gap:20px;
	
/*	width: 50%;*/
}
.site_header h1 a img{
	display: block;
	width: 80px;
	transition: .4s;
}
.site_header h1 a:hover img{
	opacity: .6;
}

.site_header .info{
/*
	position: absolute;
	top:27%;
	right:5%;
*/
}
.site_header .tr{
	display: flex;
	justify-content: right;
	align-items: center;
	margin-bottom: 5px;
}
.site_header .tr .sbtn{
	margin: 0;
    margin-left: 20px;
    width: 200px;
}
.site_header .tr .sbtn a{
	padding: 10px 0;
	line-height: normal;
}
.sbtn span{

}

@media(max-width:1200px){
	.site_header h1{
		width: 40%;
	}
}

@media(max-width:960px){
	.site_header h1 a img{
		width:  50px;
	}
	.site_header::after{
		height: 80px;
	}
}
@media(max-width:460px){
    .site_header .flex{
        padding: 0;
    }
}

/*---------------global_nav----------------*/
.global_nav{
	width: 100%;
	height: 50px;
	padding-top: 10px;
}
.global_nav ul{
	margin: 0 0 0 auto;
	display: flex;
	justify-content: right;
	width: -moz-fit-content;
	width: fit-content;
}
.global_nav ul li{
	margin-left: 40px;
	transition: .4s;
	height: 0;
}
.global_nav ul li a{
	display: block;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.2em;
	text-align: center;
	color: #333;
	position: relative;
}
.global_nav ul li a span{
	display: block;
	font-size: 0.8rem;
	color: #333;
	letter-spacing: 0.1em;
	padding-bottom: 5px;
}
.global_nav ul li a::after{
	content: '';
	display: block;
	width: 0;
	height: 1px;
	background: var(--sub_color);
	margin: 5px auto;
	transition: all 0.2s ease-in;
}
.global_nav ul li:hover a::after{
	width: 50px;
}
@media (max-width: 1200px){
	.global_nav ul li{
		margin-left: 20px;
	}
	.global_nav ul li a{
		font-size: 0.8rem;
	}
}
@media (max-width: 960px){

	.site_header .info{
		display: none;
	}
	

}
/*---------------ヘッダー変化----------------*/

.site_header.transform_header{
	width: 100%;
	background-color: rgba(255, 255, 255,1);
	padding: 15px 0;
	box-shadow: 0px 8px 16px -2px rgba(10,10,10,0.1), 0px 5px 8px 2px rgba(10,10,10,0.2);
}

.site_header.transform_header::after {
	display: none;
}

@media(max-width:960px){
	.site_header.transform_header{
		padding: 10px 0;
	}
	.site_header h1{
		width: 85%;
		font-size: 1.1rem;
		letter-spacing: 0.1em
	}
}
/*
.site_header.transform_header h1 a{
	color:#fff;
}
.transform_header .global_nav{
	padding-bottom: 30px;
}
.transform_header .global_nav ul li a{
	color:#fff;
}

.transform_header .global_nav ul li a span{
	color:#fff;
}

.transform_header .global_nav ul li a::after{
	background: #fff;
}

.transform_header .sbtn a{
	color:#fff;
	border: 1px solid #fff;
}
.transform_header .sbtn a:hover{
	background: #fff;
	color: #333;
}
.transform_header .insta_btn{
	color: #fff;
	border: 1px solid #fff;
}
.transform_header .insta_btn:hover{
	color:#333;
	background: #fff;
	border: none;
}
*/



/*---------装飾 背景-----------*/

.bg_black{
	background: #1d1d1d;
}

.bg_gray{
	background:#f3f3f3;
}

.bg_blue{
	background: #B3E4FF;
}


.bg_flame01{
	border-radius: 47% 53% 38% 62% / 41% 44% 56% 59% ;
	width: 100%;
	height: 100%;
}

.bg01{
	background:url("../img/bg001.webp");
	object-fit: cover;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	opacity: 0.7;
}

.bg02{
	background:url("../img/bg002.webp");
	object-fit: cover;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	opacity: 0.7;
	width: 80%;
    height: 10%;
    position: absolute;
    left: 0;
    bottom: 0;
	z-index: -1;
}

.illust001{
	background:url("../img/illust001.svg");
	object-fit: cover;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 10%;
    min-width: 150px;
	overflow: hidden;
	opacity: 1;
	z-index: -1;
    top: 5%;
    right: 5%;
    aspect-ratio: 4 / 3;
    position: absolute;
}

.illust002{
	background:url("../img/illust002.svg");
	object-fit: cover;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 15%;
    min-width: 150px;
	overflow: hidden;
	opacity: 1;
	z-index: -1;
	bottom: 5%;
	left:2%;
    aspect-ratio: 4 / 3;
    position: absolute;
}

@media(max-width:768px){
	.illust002{
		bottom: 0;
		min-width: 100px;
	}
	
}
@media(max-width:560px){
    .illust001{
        right: 0;
        top:2%;
        min-width: 100px;
    }
}


/*-----背景右寄-----*/
.bg_right{
    width: 80%;
    height: 20%;
    position: absolute;
    right: 0;
	bottom: 5%;
	z-index: -1;
}

.bg_right2{
    width: 50%;
    height: 80px;
    position: absolute;
    right: 0;
	bottom: 0;
	z-index: -1;
}


/*-----背景左寄-----*/
.bg_left{
	width: 80%;
    height: 20%;
    position: absolute;
    left: 0;
    bottom: 5%;
	z-index: -1;
}

/*-----背景上寄-----*/
.bg_top{
    width: 100%;
    height: 250px;
    position: absolute;
    top: 0;
	z-index: -1;
}
/*-----背景下寄-----*/
.bg_bottom{
    width: 100%;
    height: 150px;
    bottom: 0;
	z-index: -1;
	margin-top: 50px
}

.sp_br{
	display: none;
}
.sp_none{
	display: contents;
}
@media(max-width:460px){
	.sp_br{
		display: block;
	}
	.sp_none{
		display: none;
	}
}


.sp_br2{
	display: none;
}
@media(max-width:580px){
	.sp_br2{
		display: block;
	}
}
/*--------------------imgフレーム imgタグにつける-----------------------*/
.photo_flame01{
	width: 100%;
	object-fit: cover;
	border-radius: 29% 71% 24% 76% / 59% 31% 69% 41% ;
}

.photo_flame02{
	width: 100%;
	object-fit: cover;
	border-radius: 84% 16% 70% 30% / 50% 50% 50% 50% 
}

/*--------------------SVGフレーム-----------------------*/


.deco001{
overflow:hidden;
position:relative;
	height: 100px;
}
.deco001::before{
content:'';
position: absolute;
bottom: -1px;
left: -1px;
right: -1px;
top: -1px;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat; 
background-size: 100% 57px;
background-position: 50% 0%;    
background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23fff0f8"/></svg>'); 
}

/*
@media (min-width:768px){
.deco001::before{
background-size: 100% 83px;
background-position: 50% 0%;   
}  
}
*/
 
@media (min-width:1025px){
.deco001::before{ 
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 83px;
background-position: 50% 0%;  
}
}
@media (min-width:2100px){
.deco001::before{
background-size: 100% calc(2vw + 83px);
}
}
 
 

.deco002{
	overflow:hidden;
	position:relative;
	height: 100px;
}
.deco002::before{
	content:'';
	position: absolute;
	bottom: -1px;
	left: -1px;
	right: -1px;
	top: -1px;
	z-index: 3;
	pointer-events: none;
	background-repeat: no-repeat; 
	background-size: 100% 63px;
	background-position: 50% 0%;    
	background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ffffff"/></svg>'); 
}

@media (min-width:768px){
	.deco002::before{
		background-size: 100% 84px;
		background-position: 50% 0%;   
	}  
}
 
@media (min-width:1025px){
	.deco002::before{ 
		bottom: -0.1vw;
		left: -0.1vw;
		right: -0.1vw;
		top: -0.1vw; 
		background-size: 100% 71px;
		background-position: 50% 0%;  
	}
}
@media (min-width:2100px){
	.deco002::before{
		background-size: 100% calc(2vw + 71px);
	}
}
 
/*------画像フィルター------*/

.img_filter {
	   filter: blur(2px) grayscale(80%);
}

.img_btn .img_filter{
	transition:1s all;
}
.img_btn .img_filter:hover{
	filter: none;
	transition:1s all;
}


/*-------流れる文字--------------- */
.flowimg::before, .flowimg::after {
	content: ".CO.,LTD.";
	position: absolute;
	bottom: 35px;
	width: 100%;
	height: auto;
	font-size: 12rem;
	line-height: 1.0;
	text-align: center;
	white-space: nowrap;
	color: rgba(50,63,197,0.8);
	font-weight: 400;
	pointer-events: none;
	z-index: 1;
}
.flowimg::before {
  left: 0;
  animation: flowimg 35s linear infinite;
}
.flowimg::after {
  left: 3000px;
  animation: flowimg 35s linear infinite;
}
@keyframes flowimg {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3000px);
  }
}
@media (max-width: 550px) {
  .flowimg::before, .flowimg::after {
    font-size: 5rem;
  }
  .flowimg::after {
    left: 1115px;
  }
  @keyframes flowimg {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1115px);
    }
  }
}






/*-------------loading------------*/
.loading {
	position: fixed;
	width: 100%;
	height: 100%;
	/* 背景色の設定 */
	background-color: #333;
	z-index: 100;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
}
.load_logo{
	width: 450px;
	text-align: center;
}

.load_logo img{
	width: 80%;
	margin: auto;
}

.loading p{
	font-size:1.5rem;
	display: block;
	text-align: center;
	padding-bottom: 50px;
}
	

/* HTML: <div class="loader"></div> */
.loader {
  width: fit-content;
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  color: #0000;
  -webkit-text-stroke: 1px #000;
  --l:#0000 45%,#000 0 55%,#0000 0;
  --g:0/300% 100% no-repeat text;
  background: 
    linear-gradient(-60deg,var(--l)) var(--g),
    linear-gradient( 60deg,var(--l)) var(--g);
  animation: l7 4s linear infinite;
}
.loader:before {
  content: "Loading";
}
@keyframes l7 {
  0%  {background-position: 100%,0   }
  50% {background-position: 0   ,0   }
  to  {background-position: 0   ,100%}
}



/*---------アニメーション---------------------------------*/

/* ---テキストアニメ-- */
.eachTextAnime span{
	opacity: 0;
}
.eachTextAnime.appeartext span{ 
	display: inline-block;
	animation:text_anime_on 1s 3s ease forwards; 
	backface-visibility: hidden;
	perspective: 1000px;
}
@keyframes text_anime_on {
	0%,30% {
		transform: translateY(1.5rem) rotate(10deg);
		opacity:0;
	}
	to {
		transform: translateY(0rem) rotate(0deg);
		opacity:1;
	}
}

/*------フェードイン-------*/
.fadeIn_up {
	opacity: 0;
	transform: translate(0, 30%);
	transition: 2s;
}
.fadeIn_right {
	opacity: 0;
	transform: translate(30%, 0);
	transition: 2s;
}
.fadeIn_left {
	opacity: 0;
	transform: translate(-30%, 0);
	transition: 2s;
}

.inview {
	transform: translate(0, 0);
	opacity: 1;
}

/*------ふわふわ-------*/
.fuwafuwa {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}


/*------かくかく-------*/
.kakukaku {
  animation: kakukaku 1s steps(2, start) infinite;

}
@keyframes kakukaku {
  0% {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(-10deg);
  }
}

.kakukaku2 {
  animation: kakukaku2 1s steps(3, start) infinite;

}
@keyframes kakukaku2 {
  0% {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(-10deg);
  }
}



.slide_in_top_right{
	
}

.slide_in_top_right.is-show {
	animation:slide-top-right 1s linear both;
} 
@keyframes slide-top-right{
	0%
	{
		transform:translateY(300px) translateX(-300px);
		opacity: 0;
	}100%{
		transform:translateY(0) translateX(0);
		opacity: 1;
	}
}

.slide_in_top_left{
	
}


.slide_in_top_left.is-show {
	animation:slide-top-left 1s linear both;
} 
@keyframes slide-top-left{
	0%
	{
		transform:translateY(300px) translateX(300px);
		opacity: 0;
	}100%{
		transform:translateY(0) translateX(0);
		opacity: 1;
	}
}




/*-----------------swipe---------------------*/

.swipe{
	position: relative;
	overflow: hidden;
}
.swipe::after{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top:0;
	left: 0;
	background: #323fc5;
	pointer-events: none;
	z-index: 1;
	transform: translateX(-100%);
	transition: 2s ease;
}
.swipe .swipe_in{
	opacity: 0;
	transition: opacity 1.4s, transform 1s;
	transition-delay: 0.6s;
	transform: scale(1.1) translate(-10px, 10px);
}
.swipe.inview::after{
	transform: translateX(101%);
}
.swipe.inview .swipe_in{
	opacity: 1;
	transform: scale(1) translate(0, 0);
}




.swipe1{
	position: relative;
	overflow: hidden;
}
.swipe1::after{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50px;
	left: 0;
	background: #005897;
	pointer-events: none;
	z-index: 1;
	transform: translateX(-100%);
	transition: 2s ease;
}
.swipe1 .swipe_in{
	opacity: 0;
	transition: opacity 1.4s, transform 1s;
	transition-delay: 0.6s;
	transform: scale(1.1) translate(-10px, 10px);
}
.swipe1.inview::after{
	transform: translateX(101%);
}
.swipe1.inview .swipe_in{
	opacity: 1;
	transform: scale(1) translate(0, 0);
}



/*-----スクロールダウンアニメーション------*/
.scroll {
	border: 1px solid #000;
	border-radius: 50%;
	display: inline-block;
	width: 50px;
	height: 50px;
	margin-top: 50px;
	position: absolute;
	bottom: -15%;
	left: 40%;
}
/* 矢印 */
.scroll span {
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 33%;
  transform: rotate(-45deg);
  width: 10px;
}
/* アニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(237, 134, 12, .5);
  content: "";
  height: 50px;
  left: 0;
  margin: auto;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
}
/* アニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 20px rgba(237, 134, 12, .5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}



/*--------FVスライダー使う場合--------------*/
.top_slider{
	position: relative;
	overflow: hidden;
	height: 100vh;
	display: flex;
}
.slider{
	width: 80%;
}
.top_slider .slider li{
	width: 100%;
	height: 100vh;
	min-height: 400px;
	background-size: cover;
	background-position: center center;
}
.top_slider .slider li.top01{
	background-image: url(../img/top01.jpg);
}
.top_slider .slider li.top02{
	background-image: url(../img/top02.jpg);
}
.top_slider .slider li.top03{
	background-image: url(../img/top03.jpg);
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 拡大率 */
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}

.slide_items img{
	width: 100%;
    height: calc(100vh - 160px);
    object-fit: cover;
}

@media(max-width:560px){
	.top_slider .slider li{
		height: 45vh;
		min-height: 250px;
		margin-top: 80px;
	}
}


/*----------キャッチ----------------*/
.top_slider .catch{
	position: relative;
	font-size:1.2rem;
	writing-mode: vertical-rl;
	color: #333;
	pointer-events: none;
	z-index: 2;
	animation: apper 1.5s ease-in-out;
	margin: auto;
}
.top_slider .catch h2{
	margin: auto;
}
.top_slider .catch h2 span{
	display: block;
	text-align: left;
}
.top_slider .catch h2 span:nth-child(2){
	margin-top: 1.5rem;
}
.top_slider .catch h2 span:nth-child(3){
	margin-top: 4rem;
}
.top_slider .catch a{
	pointer-events: auto;
}


.top_slider .catch2{
	position: absolute;
	color: #fff;
	font-size: 1.5rem;
	top: calc(100% / 2 + 130px);
	left: 40%;
	transform:  translate(-40%,calc(100% / 2 - 200px));
	pointer-events: none;
	text-align: center;
	z-index: 2;
	animation: apper 1.5s ease-in-out;
}
@keyframes apper {
	0% {
		opacity: 0;
	}
	50%{
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@media(max-width:1200px){
	.top_slider .catch{
		font-size: 1rem;
	}
	.top_slider .catch2{
		left: 35%;
		font-size: 1.3rem;
	}
}
@media(max-width:1024px){
	.top_slider .catch h2 span:nth-child(2){
		margin-top: 1rem;
	}
	.top_slider .catch h2 span:nth-child(3){
		margin-top: 3rem;
	}
	.top_slider .catch{
		font-size: 0.8rem;
	}
	.top_slider .catch2{
		font-size: 1.1rem;
	}
}
@media (max-width: 768px){
	.top_slider .catch2{
		font-size: 0.8rem;
	}

}
@media (max-width: 560px){
/*
	.slider{
		width: 100%;
	}
*/
    .top_slider{
        height: 60vh;
    }
	.top_slider .catch{
		position: absolute;
		top: 25%;
        right: 3%;
		font-size:0.5rem;
	}
	.top_slider .catch2{
		font-size: 0.6rem;
        bottom: -20%;
	
	}
	.scroll{
        display: none;
    }

}


.mask{
	mask-image: url(../img/mask.png);
    mask-size: 100% calc(100vh - 160px);
    mask-repeat: no-repeat;
}





/*---TOPメイン--------------*/
main{
	display: block;
	position: relative;
}
main section{
	padding: 100px 0;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
	
/*
@media (max-width: 768px){
	main section{
		padding: 60px 0;
	}
}
*/

.inner.white{
	background-color: #fff;
	padding: 40px;
	border-radius: 10px;
}
	
@media (max-width: 768px){
	.inner.white{
		padding: 40px 20px;
	}
}

.info_wrap{
	background-color: #fff;
	padding: 40px 30px;
	border-radius: 10px;
}
@media (max-width: 768px){
	.info_wrap{
		padding: 30px 15px;
	}
}

.shadow{
	text-shadow: 5px 4px 3px rgba(36, 133, 203, 0.8);
}

.u_line{
	background: linear-gradient(transparent 70%, var(--sub_color) 90%);
	font-size: 1.3rem;
}




/*-------TOP ごあいさつ----------------------*/
.t_greeting .info_flexbox .text{
	width: 70%;
	text-align: left;
}
@media(max-width:768px){
	.t_greeting .info_flexbox .text{
		width: 90%;
	}
}
@media(max-width:560px){
	.t_greeting{
		padding-top: 50px;
	}
}


/*-------TOP 事業内容----------------------*/
.card_wrap{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap:30px;
}

.card{
	width: calc((100% - 60px) / 3);
	position: relative; 
	overflow: hidden
}
.card img{
	width: 100%;
	filter: brightness(50%) grayscale(100%);
	transition:  .8s ease;
}
.card img:hover{
	transform: scale(1.2);
	filter: none;
}
.card h3{
	position: absolute;
	letter-spacing: 0.2em;
	font-size: 2rem;
    text-align: center;
	color: #fff;
	top: 50%;
	left:50%;
	transform: translate(-50% , -50%);
	z-index: 1;
	pointer-events: none;
	width: 100%;
}
.card h3 i{
	color:#fff;
	display: block;
}
.arrow {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 50%;
	margin: auto;
}

.arrow::before,
.arrow::after {
	content: "";
	position: absolute;
	top: 50%;
    left: 14px;
	width: 20px;
	height: 2px;
	border-radius: 50%;;
	background-color: #fff;
	transform-origin: calc(100% - 1px) 50%;
}

.arrow::before {
	transform: rotate(30deg);
}

.arrow::after {
	transform: rotate(-30deg);
}


@media(max-width:960px){
	.card{
		width: calc((100% - 60px) / 2);
	}
	.card h3{
		font-size: 1.5rem;
	}
}
@media(max-width:580px){
	.card{
		width: 90%;
		flex-direction: column;
	}
	.card h3{
		font-size: 1.5rem;
	}
}





/*-------TOP 失敗しないお墓づくりのために----------------------*/

.t_point .info_flexbox{
	position:relative;
}
.point_img {
	width: 50%;
	position: relative;
	aspect-ratio: 4 / 3;
}

.point_img img {
	position: absolute;
	width: 70%;
	border-radius: 10px;
}

.point_img img:first-child {
	top: 0;
	left: 0;
	z-index: 1;
}

.point_img img:last-child {
	bottom: 0;
	right: 0; 
	z-index: 2;
}
.point_wrap{
	width: 100%;
	max-width: 1200px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap:30px;
	position: relative;
	
}

.point_text{
	text-align: left;
	margin: 30px 10px; 
}





/*-------TOP メニュー コンテンツ----------------------*/
.t_contents .info_flexbox{
	display: flex;
  	gap: 20px; /* 任意の余白 */
	align-items: stretch; 
}

.t_contents .info_flexbox .text{
	display: flex;
	flex-direction: column;
	flex: 1;	
	justify-content: space-between; /* 上下の余白を均等に */
	box-sizing: border-box; /* padding/margin含めてサイズを制御 */
	padding: 20px;
	box-sizing: border-box;
}
.t_contents .text img{
	width: 80%;
	margin: auto;
	display: block;
	border-radius: 15px;
    margin-bottom: 20px;
}
.t_contents .text p{
    flex: 1;
}
.t_contents .info_flexbox .text .btn01_wh {
	margin-top: auto;
}

/*-------TOP 新着情報--------------------------*/
.news_area .info_flexbox{
	justify-content: center;
	gap:30px;
	align-items: stretch;
}

@media(max-width:768px){
    .news_area .info_flexbox{
        flex-direction: column;
    }
}

/*===フッター==============================*/
.footer_top{
	position: relative;
	z-index: 1;
	background: url(../img/footer.jpg);
    vertical-align:middle;
    object-fit: cover;
	background-size: cover;
	background-position: top;
	padding: 100px 0;
	text-align: center;
	color: #fff;
	background-attachment: fixed;
}
/*Safariのみ*/
::-webkit-full-page-media, :future, :root .footer_top{
	background-attachment: scroll;
}
.footer_top::after{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
	z-index:-1;
}



.footer_top .main_ttl span{
	color: #fff;
	background: #fff;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

}


.footer_top .text{
	text-align: center;
}
.footer_top .text p{
	color: #333;
}

.footer_top .sbtn{
	width: 300px;
	margin: 0;
}
.footer_top .sbtn a{
	font-size: 1rem;
	letter-spacing: 0.2em;
	font-weight: 500;
/*	width: 260px;*/
}


.footer_flex{
	width: 100%;
	display: flex;
	justify-content: center;
	gap:100px;
}

.footer_text{
	padding: 0;
	width: 100%;
}
.footer_text p{
	margin: 0;
	color: #333;
}
.footer_text h3{
	display: block;
	color: #333;
	width: 100%;
	font-size: 1.5rem;
	font-weight: 500;
}
.footer_text h3 span{
	font-size: 1.2rem;
	font-weight: 400;
}
.footer_text img{
	width: 100px;
}
.transform .inner .main_ttl::before{
	color: #fff;
}
.footer_middle{
	text-align: center;
	position: relative;
	padding:50px 0; 

}

.footer_contact{
	padding-top: 100px;
	position: relative;

}

.footer_flex .sbtn a{
	color:#fff;
	border: 1px solid #fff;
}
.footer_flex .sbtn a:hover{
	background: #fff;
	color: #333;
	border: 1px solid #fff;

}
@media(max-width:768px){
	.footer_flex{
		flex-direction: column;
		gap:30px;
		align-items: center;
	}
}

.copyright{
	text-align: center;
	padding: 10px 0;
	color: #fff;
	letter-spacing: 0.08em;
	background: var(--main_color);
}
.copyright p{
	font-size: 0.8rem;
	
}
@media(max-width:580px){
	.copyright p{
		font-size: 0.5rem;
	}
}


/*-------トップに戻る----------*/
.page_top{
	opacity: 0;
	pointer-events: none;
  	width: 60px;
	aspect-ratio: 1 / 1;
  	position: fixed;
  	right: 3%;
  	bottom: 4%;
	border-radius: 50%;
	transition: 1s;
	background: var(--sub_color);
  	z-index: 50;
}
.page_top a{
	display: block;
	position: relative;
	z-index: 10;
  	width: 100%;
	height: 100%;
	border-radius: 50%;
	
}
.page_top a i{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
  	font-weight: 900;
  	font-size: 10px;
  	color: #fff;
}
.page_top.is_animation{
	opacity: 1;
	pointer-events: all;
}
.page_top.is_animation:hover{
	transform: translateY(-5px);
}
@media (max-width: 768px){
	.page_top{
		width: 45px;
		height: 45px;
		right: 10px;
		bottom: 10px;
	}
}



/*-----------------------------下層トップ-------------------------*/
.kasou_top{
	position: relative;
	z-index: 1;
	background: url("../img/kasou_top.jpg");
	background-size: cover;
	background-position: center;
	width: 100%;
	padding: 130px 0;
	padding: 180px 0 100px;
}

.kasou_works{
	background: url("../img/kasou_works.jpg");
	background-size: cover;
	background-position: center;
}
.kasou_contact{
	background: url("../img/kasou_about.jpg");
	background-size: cover;
	background-position: center;
}
.kasou_news{
	background: url("../img/kasou_about.jpg");
	background-size: cover;
	background-position: center;
}
.kasou_top::before{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
    opacity: 0.3;
	pointer-events: none;
	z-index:-1;
}

@media (max-width: 450px){
	.kasou_top::after{
		background-size: 1px 1px;
		opacity: 0.5;
	}
}
.kasou_top h2{
	position: relative;

	z-index: 3;
	text-align: center;
	font-size: 2.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #fff;
	margin-bottom: 8px;
}
@media (max-width: 768px){
	.kasou_top{
		padding: 150px 0 100px;
	}
	.kasou_top h2{
		font-size: 1.9rem;
	}
}


/*パンくず*/
.breadcrumb{
	position: relative;
	z-index: 3;
	font-size: 11px;
	color: #fff;
	text-align: center;
	letter-spacing: 0.05em;
	padding: 0;
}
.breadcrumb li {
	display: inline;
	list-style: none;
}
.breadcrumb li:after {
	content: '>';
	padding: 0 0.2em;
	vertical-align: top;
}
.breadcrumb li:last-child:after {
	display: none;
}
.breadcrumb li a {
	text-decoration: none;
	color: #fff;
}
.breadcrumb li:first-child a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f015';
	font-weight: bold;
}
.breadcrumb li a:hover{
	opacity: 0.7;
}

/*---サービス内容-------------------------*/
#service_02::before,
#service_03::before,
#service_04::before,
#service_05::before,
#service_06::before {
  content: "";
  display: block;
  height: 100px; /* ← 固定ヘッダーの高さに調整してね */
  margin-top: -100px;
}
.service{
    padding: 50px 0;
}
.service .flow_design .flow{
    width: 80%;
    max-width: 800px;
    margin: auto;
    background: rgba(255,255,255,0.8);
    padding: 0 50px;
}
.service .info_flexbox{
    justify-content: center;
    gap : 0;
}
.service .info_flexbox{
    gap : 50px;
}

.ttl .text{
    margin: inherit;
    width: 80%;
}

.service_item{
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service_item a{
    width:23%;
}


/* --------- PC表示 横並び --------- */

.before_after_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
	margin-bottom: 50px;
}

.before_box, .after_box {
  text-align: center;
}

.before_box {
    flex: 0 0 40%;
    opacity: 0.7;
    transform: scale(0.9);
    transition: transform 0.3s, opacity 0.3s;
}

.after_box {
    flex: 0 0 55%;
    transform: scale(1);
    transition: transform 0.3s;
}

.before_box img, .after_box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.before_box:hover, .after_box:hover{
    transform: scale(1.05); /* ← 少し拡大（5%） */
    opacity: 1;    
  }

.label {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* === モバイル表示：重ねてズラすスタイル === */
.image_stack_wrapper {
  display: none;
}

.area_text{
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
}




@media (max-width: 768px) {
  /* --- PC用横並びレイアウトは非表示にする --- */
  .before_after_container {
    display: none;
  }

  /* --- モバイル用：画像を重ねて表示する枠 --- */
  .image_stack_wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 4 / 3; /* 画像比率に合わせる */
    cursor: pointer;
    overflow: visible; /* はみ出しを見せたいので visible に */
  }

  /* --- 共通：画像ボックススタイル（重ねて表示） --- */
  .image_box {
    position: absolute;
    transition: all 0.4s ease; /* スムーズな切り替え */
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  /* --- 初期状態：Before は左にズレて奥に見せる --- */
  .before_image {
    width: 90%;
    height: 90%;
    top: 10px;
    left: -10%; /* ← 左に10%ズラす！ */
    z-index: 1;  /* 奥に配置 */
    opacity: 0.8;
  }

  /* --- 初期状態：After は中央に大きく表示（手前） --- */
  .after_image {
    width: 100%;
    height: 100%;
    top: 80%;
    left: 10%;
    z-index: 2; /* 手前に配置 */
    opacity: 1;
  }

  /* --- タップ後：Before が中央に来て手前に出る --- */
  .responsive_before_after_wrapper.active .before_image {
    width: 100%;
    height: 100%;
    top: 0;
    left: -10%;
    z-index: 3; /* 一番手前に */
    opacity: 1;
  }

  /* --- タップ後：After が右にズレて奥に残る --- */
  .responsive_before_after_wrapper.active .after_image {
    width: 90%;
    height: 90%;
    top: 80%;
    left: 10%; /* ← 右に20%ズラす！Beforeと対称！ */
    z-index: 1;
    opacity: 0.8; /* 少し透明にして奥感を出す */
  }
    .responsive_before_after_wrapper{
        margin-bottom: 300px;
    }
  /* --- 画像そのものの見た目を整える --- */
  .image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }

  /* --- ラベル（Before / After）表示スタイル --- */
  .image_box .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
  }
    
    
    .service .info_flexbox .text{
        background: rgba(255,255,255,0.9);
        padding: 10px;
    }
    .service .flow_design .flow{
        width: 100%;
        padding: 0 10px;
    }
    .service_item{
        row-gap: 30px;
    }
    .service_item a{
        width: 40%;
    }
    .service .info_flexbox{
        gap : 0;
    }
    .ttl .text{
        width: 95%;
    }
}



@media (max-width: 580px){
    .image_stack_wrapper {
        max-width: 360px;
      }
    .service_item a{
        width: 80%;
    }
}
@media (max-width: 450px){

    .image_stack_wrapper {
        max-width: 300px;
      }
}





/*---施工実績----------------------------------*/
.gallery_container{
}
.gallery_container .wrapper{
	margin-bottom: 100px;
}
.gallery_container .wrapper:last-child{
	margin-bottom: 0 !important;
}
.gallery_container .wrapper .flex{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -20px;
}
.gallery_container .wrapper .flex .item{
	width: calc(100% / 4 - 8px);
	margin: 4px;
	margin-bottom: 20px;
}
.gallery_container .wrapper .flex .item a{
	display: block;
	width: 100%;
	position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 3px;
	background-color: #f4f4f4;
}
.gallery_container .wrapper .flex .item a::before{
	content: '';
    display: block;
    padding-top: 70%;
}
.gallery_container .wrapper .flex .item a img{
	display: block;
	object-fit: cover;
	object-fit: contain;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: all 0.3s ease;
}
.gallery_container .wrapper .flex .item a:hover img{
	transform: scale(1.1);
}
.gallery_container .wrapper .flex .item p{
	text-align: center;
}
@media (max-width: 960px){
	.gallery_container .wrapper{
		margin-bottom: 60px;
	}
	.gallery_container .wrapper .flex .item{
		width: calc(100% / 2 - 8px);
	}
}
@media (max-width: 450px){
	.gallery_container .wrapper .flex .item p{
		font-size: 0.8rem;
	}
}

/*---初めての方へ----------------------------------*/
/*---ご依頼の流れ------------*/
.flow_design {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow {
    padding-left: 0;
}

.flow > li {
    list-style-type: none;
    display: flex;
}

.flow > li:not(:last-child) {
    margin: 0 0 50px;
}

.flow > li .icon07 {
    width: 90px;
    box-sizing: border-box;
    padding: 20px 10px 10px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    background: #5e5e5e;
    border-radius: 5px 5px 0 0;
    position: relative;
    line-height: 125%;
    margin: 0;
}
.flow > li .icon07::after {
    content: ' ';
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 20px solid #5e5e5e;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.flow > li dl {
    padding: 0 0 0 30px;
    width: calc(100% - 115px);
}

.flow > li dl dt {
    padding: 0 0 5px;
    margin: 0 0 15px;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    border-bottom: 4px solid #CCCCCC;
    position: relative;
}
.flow > li dl dt::after {
    content: '';
    width: 20%;
    height: 4px;
    position: absolute;
    bottom: -4px;
    left: 0;
    background-color: var(--sub_color);
}

.flow > li dl dd {
    margin: 0;
}

.flow_fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.flow_fade.is-show {
    opacity: 1;
    transform: translateY(0);
}

/*---よくある質問------------*/
.qa_1 {
    width: 100%;
    margin: auto;
    max-width: 1200px;
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
    background: #fff;
}

.qa_1 summary::-webkit-details-marker {
  display: none; /* Safariの独自矢印を消す */
}
.qa_1 summary {
     list-style: none; /* デフォルトの矢印を無効化 */
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa_1 summary::before,
.qa_1 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa_1 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa_1 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa_1[open] summary::after {
    transform: rotate(225deg);
}

.qa_1 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    text-align: left;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa_1[open] p {
    transform: none;
    opacity: 1;
}

.qa_1 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}
/*---下層ページ-------------------------*/


/*---霊園紹介-------------------------*/

.intro_wrap{
    width: 100%;
    position: relative;
}

.intro_wrap ul{
    width: 100%;
    justify-content: flex-start;
    display: flex;
    column-gap: 30px;
    padding: 20px 10px;
    flex-wrap: wrap;
}

/*---お問い合わせ-------------------------*/
.about .text p:nth-child(3)::first-letter{
    color:#e28d33;

}
.about .text p:nth-child(4)::first-letter{
    color:#e28d33;
 
}
.about .text p:nth-child(3),.about .text p:nth-child(4){
    font-size: 1.2rem;
}

.dl{
	padding-bottom: 0;
}
.btn_flex{
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.slider01 {
  margin: 0 -10px; /* 全体のpadding調整用 */
}

.slider01 .slick-slide {
  padding: 0 10px; /* 画像間の余白（左右10px → 合計20px） */
  box-sizing: border-box;
}

.slider01 .slide_item {
  aspect-ratio: 4 / 3;
  width: 100%; /* ここでは固定幅を指定しない（Slickが制御） */
  overflow: hidden;
}

.slider01 img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/*===お問い合わせページ==============================*/
.contact .tel_contact{
	text-align: center;
	
	padding: 10px 0;
	margin: 0 auto;
	max-width: 600px;
}
.contact .tel_contact a{
	display: block;
	font-size: 2rem;
	white-space: nowrap;
    color: var(--main_color);
}
.contact .tel_contact a:hover{
	opacity: 0.6;
}
.contact .tel_contact i{
    color:var(--sub_color);
}
.contact .tel_contact p{
	font-size: .8rem;
}
.tel_contact i{
	color: #333;
	padding-left: 10px;
}

.contact_flexbox{
	display: flex;
	justify-content: space-around;
	width: 80%;
	margin: auto;
	border-top: 2px solid;
	border-bottom: 2px solid;
	border-image: linear-gradient(to right, #008bc8 0%, #005897 50%, #1d2087 100%) 1;
}
@media (max-width: 768px){
	.contact_flexbox{
		flex-direction: column;
		gap:50px;
	}
	.contact .tel_contact a{
		font-size: 2rem;
	}
}

/*-------メールフォーム---------------------------*/
.mailform{
	margin: 0 auto;
	max-width: 960px;
}
.mailform .row{
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}
.mailform .row:not(.last){
	border-bottom: 1px dotted #cccccc;
}
.mailform .row div:nth-child(1){
	width: 28%;
	letter-spacing: 0.08em;
	font-size: 0.9rem;
    text-align: left;
}
.mailform .row div:nth-child(2){
	width: 70%;
	line-height: 1.5;
    text-align: left;
}
.mailform .row span{
	padding: 5px;
	margin-right: 5px;
	font-size: 11px;
	border-radius: 2px;
	vertical-align: middle;
}
.mailform .row span.hissu{
	color: #fff;
	background: var(--sub_color);
}
.mailform .row span.ninni{
	border: 1px solid var(--sub_color);
	color: var(--sub_color);
/*	background: linear-gradient(90deg, rgba(0,139,200,1) 0%, rgba(0,88,151,1) 50%, rgba(29,32,135,1) 100%);*/

}
.mailform .row small{
	display: block;
	margin-top: 3px;
}
.mailform .box, .mailform textarea{
	border: 1px solid #ddd;
  	padding: 5px;
  	width: 100% !important;
  	border-radius: 0;
	-webkit-appearance: none;
	margin-bottom: 5px;
	background: #fff;
}

.selectbox {
/*	width: 100% !important;*/
	border: 1px solid #ddd;
  	padding: 5px;
	-webkit-appearance: none;
	margin-bottom: 5px;
	background: #fff;
    display: inline-flex;
    align-items: center;
    position: relative;
}
.selectbox::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
/*    pointer-events: none;*/
}
.selectbox select {
    appearance: none;
    width: 100%;
/*    padding: .4em calc(.8em + 30px) .4em .8em;*/
    border: none;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}
.selectbox select:focus {
    outline: none;
}


.mailform .box.mini{
	width: 120px !important;
}
.mailform .postal_btn{
	padding: 2px 10px;
	background: #f4f4f4;
	border-radius: 2px;
	margin-left: 5px;
	border: 1px solid #ccc;
}
.mailform .postal_btn:hover{
	opacity: 0.7;
}
.mailform button{
	display: block;
	text-align: center;
	transition: .6s;
	font-size: 1rem;
	padding: 8px 5px;
	margin: 0 auto;
	width: 250px;
	background:var(--sub_color);
	border: 1px solid var(--sub_color);
/*	border-radius: 25px;*/
	color: #fff;
}
.mailform button:hover{
	background: #fff;
	color: var(--sub_color);
	border: 1px solid var(--sub_color);
}
.mailform button::before{
	font-family: "Font Awesome 6 Free";
	content: "\f0e0";
	font-weight: 700;
	margin-right: 10px;
}

@media (max-width: 768px){
	.mailform .row{
		padding: 20px 0;
		flex-direction: column;
	}
	.mailform .row div:nth-child(1){
		width: 100%;
		margin-bottom: 20px;
	}
	.mailform .row div:nth-child(2){
		width: 100%;
	}
}

/*------------チェックボックス-----------------------------*/
input[type=checkbox] {
    display: none;
}
input[type=checkbox] + label{
    display: inline-block;
	padding-left: 20px;
	position:relative;
	margin-right: 20px;
	margin-bottom: 10px;
	cursor: pointer;
}
input[type=checkbox] + label::before{
    background: #fff;
    border: 1px solid #999;
    content: '';
    display: block;
	position: absolute;
	top: 55%;
	transform: translate(0,-50%);
  	left: 0;
    width: 15px;
  	height: 15px;
	border-radius: 3px;
}
input[type=checkbox] + label::after{
    border-right: 3px solid var(--sub_color);
    border-bottom: 3px solid var(--sub_color);
    content: '';
    display: block;
    height: 15px;
    left: 8px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 36%;
    width: 5px;
	transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
	transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}
input[type=checkbox]:checked + label::after{
    opacity: 1;
	transform: rotate(45deg) scale3d(1,1,1);
}
@media (max-width: 768px){
	input[type=checkbox] + label{
		display: block;
	}
}

/*ラジオボタン*/
input[type=radio]{
	display: none;
}
input[type=radio] + label{
    display: inline-block;
	padding-left: 20px;
	position:relative;
	margin-right: 20px;
	margin-bottom: 10px;
	cursor: pointer;
}
input[type=radio] + label::before {
	content: "";
	display: block;
	position: absolute;
	top: 55%;
	transform: translate(0,-50%);
  	left: 0;
    width: 15px;
  	height: 15px;
	background: #f4f4f4;
	border-radius: 100%;
	border: 1px solid #b4b4b4;
	cursor: pointer;
	text-align: center;
	transition: all 250ms ease;
}
input[type=radio]:checked + label::before {
	background-color: #dd7e52;
	box-shadow: inset 0 0 0 2px #f4f4f4;
}
input[type=radio]:focus + label::before{
	outline: none;
	border-color: #dd7e52;
}
input[type=radio]:disabled + label::before {
	box-shadow: inset 0 0 0 2px #f4f4f4;
	border-color: #b4b4b4;
	background: #b4b4b4;
}
input[type=radio] + label:empty::before{
	margin-right: 0;
}
@media (max-width: 768px){
	input[type=radio] + label{
		display: block;
	}
}


.contact_info ul li{
	margin-bottom: 5px;
	text-align: center;
	font-size: 0.85rem;
}

/*---------プライバシーポリシー--------------------------*/
.privacy{
}
.privacy li{
}
.privacy li .privacy_wrap{
	
}
.privacy li .privacy_wrap .privacy_subject{
	text-align: center;
	cursor: pointer;
	width: -moz-fit-content;
	width: fit-content;
	margin: 0 auto;
	text-decoration: underline;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}
.privacy li .privacy_wrap .privacy_subject:hover{
	text-decoration: none;
}
.privacy li .privacy_wrap .privacy_subject.area_close{
}

/*アコーディオンで現れるエリア*/
.privacy li .privacy_wrap .privacy_box{
	position: relative;
	display: none;/*はじめは非表示*/
	padding: 20px;
	background-color: #e6e6e6;
}

.privacy_flame{
	height: 250px;
	overflow-y: scroll;
}
.privacy_flame p{
	padding: 10px;
	font-size: 0.8rem;
}
.privacy_flame p span{
	display: block;
	color: #333;
	font-size: 0.9rem;
}
.privacy_flame p span::before{
	content: "■";
	display: inline-block;
	font-size: 0.6rem;
	margin-right: 0.5em;
	transform: translateY(-2.5px);
}
.privacy_flame ul li{
	font-size: 0.8rem;
}

/*スクロールバー*/
.privacy_flame::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #fafafa;
}
.privacy_flame::-webkit-scrollbar-button {
    display: none;
}
.privacy_flame::-webkit-scrollbar-thumb, .privacy_flame::-webkit-scrollbar-corner {
    background: #433c2e;
}

/*===サンクスページ===*/
.thanks .inner .small p{
	font-size: 0.8rem;
}
.thanks .sbtn a{
	margin-bottom: 20px;
}

/*===倉庫==============================*/
@media (max-width: 960px){
}
@media (max-width: 768px){
}
@media (max-width: 450px){
}

