@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Lato&family=Montserrat:wght@100..900&family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho:wght@700&display=swap');

*{ margin:0px; padding: 0px; box-sizing:border-box; }
 

 
html, body {
	font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    min-width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    line-height: 1.5;
    font-size: 62.5%;    
    color: #333;
  background-color: #fff;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #333;
	  background-color: #fff;
  }
	input, textarea,input[type="text"] {
  
  color: #333; /* テキストカラー */
  /* その他のスタイル */
	}
	input::placeholder, textarea::placeholder {
    color: #333; /* プレースホルダーテキストのカラー */
  }
	
	#cse-search-box input[type="text"] {
  color: black !important; /* テキスト色を黒に設定 */
 
}
	
}

div, span, object, iframe, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; font-style: normal; }

body.fixed {
    height: 100%;
    overflow: hidden;
}

a { text-decoration: none; }

ul, ol { list-style: none; }

input[type="text"], input[type="tel"], input[type="email"], textarea {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	border: solid 1px #bfbfbf;
    background-color: #f5f5f5;
    padding: 10px;
	box-sizing: border-box;
}

/*input選択時色変えない様に*/
input:-webkit-autofill { transition: background-color 5000s ease-in-out 0s !important; }
/*inputクリックで文字消す*/
input:focus::placeholder { color: transparent; }
select { min-height: 40px; border: solid 1px #bfbfbf; background-color: #f5f5f5; border-radius: 3px; box-sizing: border-box;}

@media not screen and (min-width: 1025px) {	
	input[type="text"], input[type="tel"], input[type="email"], textarea {
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		padding: 10px;
		box-sizing: border-box;
		width: 100%;
	}
}

.opa { transition: all 0.3s ease; backface-visibility: hidden; }
.opa:hover { opacity: 0.6; filter: alpha(opacity=60); backface-visibility: hidden;}

/* 1024px 未満 */
@media not screen and (min-width: 1025px) {
	.pc { display:none !important; }	
}
	
/*1025以上は非表示*/
@media screen and (min-width: 1025px) {
	.tub { display:none !important; }
}

/* 768px 未満は非表示 */
@media not screen and (min-width: 769px) {
	.tub { display:none !important; }
}

/*481以上は非表示*/
@media screen and (min-width: 481px) {
	.smp { display:none !important; }
}

.flex-wrap { display: flex; flex-wrap: wrap; }
[class^="flex-wrap-"] { display: flex; flex-wrap: wrap; }
.flex-wrap-center { justify-content: center; align-items: center;}
.flex-wrap-betw { justify-content: space-between; }

header {
	width: 100%;
    background: rgb(255,255,255,0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
	transition: all 3s ease;
}

.traslate img { display: initial!important; }
.header-inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* 768px 未満 */
@media not screen and (min-width: 1025px) {
	header {
		width: 100%;
		background: rgb(255,255,255,0.7);
	}
	.header-inner { width: 100%;  padding: 0px; }
}

.h_txt { background-color: #085239; width: 100%; }
.h_txt_inner { width: 1200px; margin: 0 auto; padding: 8px;display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.h_txt_inner > h1 { font-size: 2.2rem; font-family: "Shippori Mincho", serif; font-weight: 700; font-style: normal; color: #fff;  }

@media not screen and (min-width: 1025px) {	
	.h_txt_inner { width: 100%; justify-content: flex-start; }
	.h_txt_inner > h1 { margin-right: 20px; }
}

.h_logo { padding: 10px 0; display: flex; align-items: center; width: 35%;  }
.h_logo a { display: flex; align-items: center; transition: all .3s; }
.h_logo a:hover { opacity: 0.5; }
.h_logo a img { margin-right: 10px;}
.h_logo a h2 { font-family: serif; color: #000; font-weight: 900; font-size: 3.6rem; line-height: 2.6rem;}
.h_logo a h2 span { font-size: 2.4rem; font-family: "Shippori Mincho", serif; font-weight: 700; font-style: normal; }

@media not screen and (min-width: 1025px) {
	.h_logo { width: 100%;  }
	.h_logo a {
		display: flex;
		align-items: center;
		margin: 0 auto;
		justify-content: center;
	}
	.h_logo a img {
		margin: 0 10px 0 0;
		width: 90px;
	}
	.h_logo a h2 {
		font-size: 2.4rem;
	}
	.h_logo a h2 span {
		font-size: 2rem;
	}
}

.h_tel { padding: 0 10px;
    line-height: 1;
    display: flex;
    align-items: center; }
.h_tel a { font-family: 'Lato', sans-serif; color: #000; font-size: 1.8rem; font-weight: 700;}

.h_search_tel {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.search_box {
	box-sizing: border-box;
	position: relative;
	border: 1px solid #999;
	display: flex;
    padding: 5px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f5f5f5;
    align-items: center;
    margin-right: 10px;
}
.search_box input[type="text"]{
  border: none;
    font-size: 1.4rem;
	padding: 0;
}
.search_box input[type="text"]:focus {
  outline: 0;
}

.search_box form { display: flex; flex-wrap: wrap;}

.search_box input[type="submit"]{
  cursor: pointer;
    font-family: FontAwesome;
    font-size: 1.8rem;
    border: none;
    background: none;
    
    /* position: absolute; */
    width: 2rem;
   height: 2rem;
    right: 0;
	background-image: url("../images/search_bt.png");
	background-size: cover;
	background-repeat: no-repeat;
    /* top: -10px; */
    outline: none;
	color: #000!important;
}



.tel_bt { transition: all .3s ease; }
.tel_bt:hover { opacity: 0.5;}

@media not screen and (min-width: 769px) {
	/*.h_search_tel { display: none; }*/
	.search_box input[type="text"] {
    border: none;
    font-size: 1.4rem;
    padding: 0;
    width: 90%;
}
}

.scroll-bg { transition: all .5s ease; }



@media  screen and (min-width: 900px) {
	header.scroll-bg { position: fixed; transition: all 3s ease;animation: DownAnime 0.5s forwards;}	
}

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

@media  screen and (min-width: 900px) {	
	.scroll-bg .h_txt { display: none; }
	.scroll-bg nav {
		justify-content: center;
	}
	.scroll-bg .h_logo { padding: 3px 0; width: 25%; }
	.scroll-bg 	#h_tool { width: 75%; }
	
	.scroll-bg .h_logo img {
		margin-right: 10px;
		width: 70px;
	}
	.scroll-bg .h_logo h2 {
		font-size: 2.4rem;
		line-height: 1.8rem;
	}
	.scroll-bg .h_logo h2 span {
		font-size: 1.6rem;
	}
	.scroll-bg .nav li { height: 100%; }
	.scroll-bg .nav li a {
		font-size: 1.6rem;
		padding: 5px 15px;
		height: 100%;
	}	
}


/* 667px 未満 */
@media not screen and (min-width: 668px) {
	.h_tel_mail { display: none; }
}

nav {  display: flex; flex-wrap: wrap;   }

@media not all and (min-width: 1025px) {
	nav { width: 100%; justify-content: center; }
}

.nav {
	position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.nav li {  transition: all 0.3s ease; position: relative; margin: 0 5px;}
.nav li::before {
    border-bottom: solid 0px #085239;
    bottom: 0px;
    content: "";
    display: block;
    position: absolute;
    width: 100%;
}
.nav li::before { left: 0; }
.nav li:hover::before { width: 100%; border-bottom: solid 3px #085239;}

.nav li a {	
	font-family: "Shippori Mincho", serif;
    font-weight: 900;
    font-style: normal;
    color: #000;
    font-size: 1.8rem; 
    position: relative;
    box-sizing: border-box;
    display: flex;
    padding: 10px 5px;
    align-items: center;
}

.nav li a:hover { color: #666;  }
.nav li a img { transition: all 0.3s ease; }
.nav li a:hover img { opacity: 0.5; }


/* 1024px 未満 */
@media not screen and (min-width: 1025px) {
	.nav { width: initial; }
}

@media screen and (min-width: 1025px) {
	#h_tool { display: flex; flex-wrap: wrap; width: 65%;}
	.h_search_tel {
		margin-left: 20px;
	}
	.navbtn { display: none; }
}

/* 1024px 未満 */
@media not screen and (min-width: 1025px) {

	.h_tel { padding: 20px 0;}
	
	.nav {
		margin: 0 auto;
		padding: 10px 0;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	
	.nav li { padding: 20px 0; }
	
	.nav li a {
		padding: 10px 15px;
		border-bottom: solid 0 #fff;
	}
	 .navbtn {
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
		 top:10px;
        right: 0;
        cursor: pointer;
        width: 50px;
        height:50px;
		 background-color: #000;
    }
    /*×に変化*/
    .navbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 50%;
    }
    
    .navbtn span:nth-of-type(1) {
        top:15px;
    }
    .navbtn span:nth-of-type(2) {
        top:23px;
    }
    .navbtn span:nth-of-type(3) {
        top:31px;
    }
    .navbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .navbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .navbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
	
	#h_tool {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1;
		width: 100vw;
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background:rgba(255,255,255,0.8);
		pointer-events: none;
		opacity: 0;
		transform-origin: center;
		transform: scale(.5);
		transition: all .3s ease;
    }
	/*アクティブクラスがついたら透過なしにして最前面へ*/
    #h_tool.panelactive{
        display: flex;
        flex-wrap: wrap;
        z-index:999;
        overflow: scroll;
		pointer-events: auto;
		opacity: 1;
		transform: scale(1.0);
        
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    }
	
}

@media not screen and (min-width: 767px) {
	.navbtn {
		 top:50px;
    }
}

@media screen and (min-width: 1025px) {
	.foot_menu,.sns_side { display: none; }
}

/* 1024px 未満は非表示 */
@media not screen and (min-width: 1025px) {
	.pc { display:none !important; }
	.foot_menu {
		background-color:rgba(255,255,255,0.8);
		position: fixed!important;
		bottom: 0;
		left: 0;
		z-index: 10;
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.foot_menu li { width: 50%; padding: 10px; }
	.tel_bt {display: none; }
	
}

@media not screen and (min-width: 768px) {
	.form_bt { font-size: 1.2rem; }
	.tel_bt { font-size: 1.2rem; }
	.sns_side { position: fixed; bottom: 90px; right: 0; z-index: 20;}
}

/* 667px 未満 */
@media not screen and (min-width: 668px) {
	.foot_menu li {
		width: 50%;
		padding: 5px;
	}
}

/*フッター*/
#footer { width:100%; margin:0; font-size:1.4rem; background-color: #085239; }
#footer-inner {
	width: 1200px;
	padding: 40px 0;
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.f_logo a { padding: 10px 0; display: flex; align-items: center; color: #fff; transition: all .3s ease;}
.f_logo a:hover { opacity: 0.5;}
.f_logo a img { margin-right: 10px;}
.f_logo a h2 { font-family: serif; font-weight: 900; font-size: 3.6rem; line-height: 3.2rem;}
.f_logo a h2 span { font-size: 2.4rem; font-family: "Shippori Mincho", serif; font-weight: 700; font-style: normal; }

@media not screen and (min-width: 767px) {
.f_logo a h2 { font-size: 3.2rem; }
}

.f_tel {
    color: #fff;
    font-size: 2rem;
	margin: 15px 0;
	font-family: serif;
    font-weight: 700;
    font-style: normal;
}

.f_address {
	font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
	color: #fff;
    font-size: 2rem;
}
dl.f_address { display: flex; flex-wrap: wrap; }
.f_address dt { width: 15%; }
.f_address dd { width: 85%; }

.f_nav { margin: 15px 0; display: flex; flex-wrap: wrap; justify-content: flex-end; font-family: "Shippori Mincho", serif; font-weight: 700; font-style: normal; }
.f_nav li { margin:0 10px; }
.f_nav a {
	color: #fff;
	transition: all .3s ease;
	box-sizing: border-box;
	position: relative;
	padding-bottom: 5px;
	font-size: 1.8rem;
}
.f_nav li a::before {
    border-bottom: solid 1px #fff;
    bottom: 0px;
    content: "";
    display: block;
    position: absolute;
    transition: all .3s ease;
    width: 0;
}
.f_nav li a::before { left: 0; }
.f_nav li a:hover::before { width: 100%; }

.foot_link { width:30%; }
.foot_link h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 15px; }
.foot_link ul { border-left:solid 1px #000; padding-left: 15px; }
.foot_link ul li { margin-bottom: 10px;}
.foot_link ul li a { font-size: 1.2rem; color: #000; font-weight: 700; position: relative; }

.sns_link { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.sns_link li { margin: 0 10px; }
.sns_link li a img { transition: all .3s ease; }
.sns_link li a:hover img { opacity: 0.5;}

.address {
    text-align: center;
    padding: 5px;
    min-height: 42px;
    color: #fff;
    font-style: normal;
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media  screen and (min-width: 1025px) {
	.foot-nav { display: none; }
}

/* 1024px 未満 */
@media not screen and (min-width: 1025px) {
	#footer { padding-bottom: 45px; }
	#footer-inner {
        width: 100%;
		padding: 0 20px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		flex-direction: column;
    }	
	

	.f_nav { display: none; }
	.f_tel {
		font-size: 1.6rem;
		margin: 15px 0;
		font-weight: 400;
	}
	
	.f_address {
		font-size: 1.6rem;
		font-weight: 400;
	}
	.foot-nav {
		position: fixed;
		right: -1200px; /* スライドイン前の位置 */
		bottom: 0;
		transition: right 0.3s ease-in-out;
		z-index: 100;
		display: flex;
		flex-wrap: wrap;
		gap: 5px;
		width: 100%;
	}
	.foot-nav.scroll {
		right: 0; /* スライドイン後の位置 */
		bottom: 0;
	}
	.foot-nav  li {
		width: calc((100% - 5px * 1) / 2);
		text-align: center;
		display: flex;
		flex-wrap: wrap;
	}
    .foot-nav li a {
		width: 100%;
		min-height: 45px;
        padding: 10px;
        display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
        color: #fff;
		font-size: 1.6rem;
        font-weight: 600;
      }
	.foot-nav li a i { margin-right: 10px;}
	
	.foot-nav li.mail a {
		background: #004986;
	}
	
    .foot-nav li.tel a {
        background-color: #486a00;
	}
	
	.sns_link { padding: 20px 0;}
	.sns_link li { margin: 0 5px; }
	
	.sns_link a { display: inline-block; padding: 15px;}
	
}


@media not screen and (min-width: 767px) {
	.f_logo {
		width: 60%;
		margin: 20px 0;
	}
	.sns_link { padding: 30px 0 10px 0; }
	.sns_link a { padding: 12px;}
}

/* 667px 未満 */
@media not screen and (min-width: 668px) {
	.f_logo {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.f_logo img {
		width: 90px;
		margin-right: 10px;
	}
	.f_logo h2 {
		font-size: 3rem;
	}
	.f_logo h2 span {
		font-size: 2rem;
	}
	 .f_nav {
		 margin: 0;
		 width: 100%;
		 justify-content: flex-start;
	}
	.foot_link {
    width: 50%;
}
    
}

[class^="mainimage_"] {
	width: 100%;	
	margin: 0 auto;
	padding: 0;
	position: relative;
	background-image: url(../images/mainimage.jpg);
	background-size: cover;
    background-position: center 85%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mainimage_top {
	height: 80vh;
}

.mainimage_sub {
	height: 60vh;
}

.mainimage-inner {
	width: 1200px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}
.mainimage-inner h2 {
	font-family: serif;
	font-weight: 700;
	font-size: 8rem;
	color: #fff;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
	line-height: 1.5;
	text-align: center;	
}

.mainimage-inner .sub-title {
	text-align: center;
	font-size: 3rem;
	color: #fff;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.mainimage_top h2 { margin-bottom: 30px; }

@media not screen and (min-width: 1025px) {
	.mainimage-inner {
		width: 100%;
	}
	.mainimage-inner h2 {
		font-size: 4.8rem;
		padding: 20px;
	}
}

@media not screen and (min-width: 767px) {
	.mainimage-inner h2 {
		font-size: 4rem; padding: 40px 0 0px 0;
	}
}
/* 360px 未満 */
@media not screen and (min-width: 360px) {
    .tub {display: none; }
}

/*メイン*/
main { padding:0; margin:0 auto; width:100%; }
section { width:100%; margin:0 auto; text-align:left; line-height: 1.8;}
.main-content { width:1200px; margin:0 auto; padding: 40px 0; color: #000; font-size: 1.6rem; }

/* 1024px 未満 */
@media not screen and (min-width: 1025px) {
	.main-content { width:100%; padding: 20px; }
}

#about {
	margin-top: -100px;
    position: relative;
    z-index: 1;
}

.swiper-area {
	position: relative;
    padding-bottom: 60px;
}

.swiper-area .swiper-slide {
    height: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.swiper-area .swiper-slide:before{
  content: "";
  display: block;
  padding-top: 130%;
}
.swiper-area .swiper-slide img{
	position: absolute;
    top: 0;
    left: 0;
	    width: 100%;
	height: auto;
}

.swiper-area .swiper-slide .ttl {
    z-index: 1;
    color: #fff;
    text-align: center;
    font-weight: 900;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.swiper-area .swiper-slide .ttl span { font-size: 2.4rem; }

.swiper-pagination,.swiper-button-prev,.swiper-button-next {
    z-index: 1!important;
}

@media not screen and (min-width: 1025px) {
	.swiper-area { width: 90%; margin: 0 auto; }
}

@media not screen and (min-width: 767px) {
	.swiper-area { width: 100%; margin: 0 auto; }
}

.swiper-area .swiper-button-next,
.swiper-area .swiper-button-prev{ color: #085239 !important; }
.swiper-area .swiper-button-next::after,
.swiper-area .swiper-button-prev::after { font-weight: 900; }
.swiper-area .swiper-button-next {
    right: -40px!important;
}
.swiper-area  .swiper-button-prev {
    left: -40px!important;
}
.swiper-area .swiper-pagination-bullet-active { background: #085239!important;}

@media not screen and (min-width: 767px) {
	.swiper-area .swiper-button-next {
		right: -10px!important;
	}
	.swiper-area  .swiper-button-prev {
		left: -10px!important;
	}
}

#about h3 {
	margin: 30px 0;
    font-size: 2.4rem;
    text-align: center;
}

#baseSoil { background-color: #085239;}
#baseSoil .main-content {  color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}
#baseSoil h3 {
	font-size: 3rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
	margin-bottom: 30px;
}

#baseSoil .main-content p { margin-bottom: 30px;}

#baseSoil .txt-box { width: 40%; font-size: 2rem;}
#baseSoil .img-box { width: 55%; }

.service .txt-box { width: 60%;}
.service  .img-box { width: 35%; }

.service_subpage_box {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.service_subpage_box > .txt-box { width: 78%; }
.service_subpage_box > .img-box { position: relative; width: 20%; }
.service_subpage_box > .img-box:before{
  content: "";
  display: block;
  padding-top: 100%;
}
.service_subpage_box > .img-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

@media not screen and (min-width: 769px) {
	#baseSoil .txt-box { width: 100%; font-size: 2rem; }
	#baseSoil .img-box { width: 100%; }
	.service .txt-box { width: 100%;}
.service  .img-box { width: 100%; margin-bottom: 20px; }
	
	.service_subpage_box > .img-box {
    width: 60%;
    margin: 20px auto;
}
}

@media not screen and (min-width: 769px) {
	#baseSoil .txt-box { padding: 20px;  }
	#baseSoil .img-box img { margin: 20px auto; }
}

#contact .main-content { width: 100%; padding: 0; }
#contact h3 { font-weight: 900; text-align: center; font-size: 4.8rem;  margin: 60px 0; }

@media not screen and (min-width: 1025px) {
	#contact h3 { font-size: 3rem; }
}

#contact .img-box { position: relative; }
#contact .img-box::before {content: "";
  display: block;
  padding-top: 25%;
}
#contact .img-box img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

@media not screen and (min-width: 1025px) {
	#contact .img-box::before {
		 padding-top: 50%;
	}
}

#subpage h2.title {
      position: relative;
    /* padding: 0 65px; */
    /* text-align: center; */
    font-size: 4rem;
    margin-bottom: 3rem;
}

#subpage h2.title:before {
  position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 350px;
    height: 1px;
    content: '';
    background: #000;
}

#subpage h2.title span {
  position: relative;
    padding: 0 2rem 0 0;
    background: #fff;
}

#subpage h3.title { font-size: 3rem; border-bottom: 3px solid #085239; padding-bottom: 1rem; margin: 4rem 0 2rem 0; }

.subtitle {
	font-size: 2rem;
    padding: 15px 30px 15px 40px;
    position: relative;
    background: #eef1f2;
    border-radius: 10px;
    margin: 60px 0 20px 0;
}
.subtitle::before {
    position: absolute;
    top: 25%;
    left: 20px;
    width: 6px;
    height: 50%;
    content: '';
    border-radius: 3px;
    background: #085239;
}

@media not screen and (min-width: 767px) {
	#subpage h2.txt30 { font-size: 2.6rem; line-height: 1.5; }
	#subpage h3.title { font-size: 2.2rem; }
}

.mb30 { margin-bottom: 3rem; }

.about_us p { margin-bottom: 2rem; }

.genba_list { display: flex; flex-wrap: wrap; gap:20px; }
.genba_list li { width: calc((100% - 20px * 1) / 2); }
.genba_list li img { width: 100%; height: auto; }

.about_list { display: flex; flex-wrap: wrap; gap:20px; }
.about_list li { width: calc((100% - 20px * 2) / 3); }
.about_list li img { width: 100%; height: auto; }

@media not screen and (min-width: 1025px) {
	.greeting_box .txt_box { width: 68%}
	.greeting_box .img_box { width: 30%}
}

@media not screen and (min-width: 767px) {
	.greeting_box .txt_box { width: 100%}
	.greeting_box .img_box { width: 100%}
	.greeting_box .img_box img { margin: auto; }
}

/*table*/
.legal_notice {
	border-collapse: collapse;
	width: 100%;
	margin: 20px auto;
	padding: 0;
	border-top: 1px solid #ccc;
	border-left: 0px solid #e3e3e3;
}

.legal_notice  th {
	background: initial;
	color: #000;
	font-size: 1.6rem;
	text-align: left;
	vertical-align: middle;
    font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	padding: 13px 15px;
	border-right: 0px solid #e3e3e3;
	border-bottom: 1px solid #ccc;
	width: 20%;
}

.legal_notice  td {
	background: initial;
	color: #000;
	font-size: 1.6rem;
	padding: 13px 15px;
	border-right: 0px solid #e3e3e3;
	border-bottom: 1px solid #ccc;
}

.form {
	border-collapse: collapse;
	width: 100%;
	margin: 20px auto;
	padding: 0;
	border-top: 1px solid #ccc;
	border-left: 0px solid #e3e3e3;
}

.form th {
	background: initial;
	color: #000;
	font-size: 1.6rem;
	text-align: left;
	vertical-align: middle;
    font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	padding: 13px 15px;
	border-right: 0px solid #e3e3e3;
	border-bottom: 1px solid #ccc;
	width: 35%;
}

.form td {
	background: initial;
	color: #000;
	font-size: 1.6rem;
	padding: 13px 15px;
	border-right: 0px solid #e3e3e3;
	border-bottom: 1px solid #ccc;
}

.seibunTable {
	border-collapse: collapse;
	width: 100%;
	margin: 20px auto;
	padding: 0;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.seibunTable th {
	background: #f5f5f5;
	color: #000;
	font-size: 1.6rem;
	text-align: left;
	vertical-align: middle;
    font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	padding: 13px 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	 width: calc(100% / 3);
}

.seibunTable td {
	background: initial;
	color: #000;
	font-size: 1.6rem;
	padding: 13px 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.sup3_b { font-size: 2.2rem; }

@media not all and (min-width: 767px) {
	.legal_notice th { display: block; width: 100%; border-bottom: 0; padding:10px 0 0 0 ; }
	.legal_notice td { display: block; width: 100%; padding:10px 0; }
	.form th { display: block; width: 100%; border-bottom: 0; padding-bottom: 0; }
	.form td { display: block; width: 100%; }
}

/* ページトップへ戻る */
#page-top {
    position: fixed;
    bottom: 0;
    right: 0;
    font-size: 1.2rem;
	z-index: 999;
	margin: 0!important;
}
#page-top a {
    background: #000;
    text-decoration: none;
    color: #fff;
    width: 45px;
	height: 45px;
    display: flex;
	justify-content: center;
	align-items: center;
}

/* 1201px 以上 */
@media screen and (min-width: 1201px) {
	#page-top a:hover { text-decoration: none; background: #666; }
}

@media not screen and (min-width: 1025px) {
	#page-top { bottom: 45px; }
}

@media not screen and (min-width: 768px) {
	#page-top { bottom: 45px; }
}

[class^="bt-"] {
	font-size: 1.8rem;
	padding: 10px 30px;
	min-width: 200px;
	border-radius: 50px;
	font-weight: 600; 
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: all .3s;
	line-height: 1.2;
}
[class^="bt-"]:hover {  background-color: #b30022; color: #fff; }

.bt-01 {	
	background-color: #085239;
	color: #fff;
}

.bt-02 {	
	background-color: #fff;
	color: #085239;	
}

@media not screen and (min-width: 668px) {
	[class^="bt-"] { font-size: 1.4rem; }
}

.qr_code_list { display: flex; flex-wrap: wrap; gap:10px; }
.qr_code_list li { width: calc((100% - 10px * 5) / 6); }

@media not screen and (min-width: 668px) {
.gmap {
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

.flow {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
	margin: 30px 0;
}

.flow > li {
  list-style-type: none;
  width: calc((100% - 30px * 3) / 4);
  display: flex;
}

.flow > li .icon {
  line-height: 2;
  width: 2em;
  height: 2em;
  text-align: center;
  color: #fff;
  background: #085239;
  margin: 0 auto 10px;
  display: block;
  border-radius: 100vh;
  position: relative;
}

.flow > li .icon::before {
  content: "";
  border: solid transparent;
  border-width: 7px;
  border-top-color: #085239;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flow > li dl {
	width: 100%;
  padding: 30px 20px;
  margin: 0;
  border: 3px solid #085239;
  position: relative;
}

.flow > li:not(:first-child) dl::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  display: inline-block;
  border-top: 4px solid #085239;
  border-right: 4px solid #085239;
  position: absolute;
  top: calc(50% - 14px);
  left: -30px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.flow > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #085239;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  margin-bottom: 10px;
  text-align: center;
}

.flow > li dl dd {
  margin-left: 0;
	 font-size: 1.3em;
  font-weight: 600;
  color: #085239;
	text-align: center;
}

@media(max-width: 767px){
  .flow {
    gap: 20px;
  }
  .flow > li {
    max-width: unset;
    display: block;
	  width: 100%;
  }
  .flow > li:not(:first-child) dl::before {
    display: none;
  }
}

.link_list { display: flex; flex-wrap: wrap; }
.link_list li { margin-right: 10px;}
.link_list li a { display: inline-flex; background-color:  #085239; color: #fff; padding: 10px 20px; transition: all .3s; }
.link_list li a:hover { opacity: 0.5; }

@media not screen and (min-width: 1025px) {
	.link_list { display: flex; flex-wrap: wrap; justify-content: center; }
}
@media not screen and (min-width: 767px) {
	.link_list li { margin: 10px 0; width: 100%;}
.link_list li a { display: block; width: 100%; text-align: center; }
}
