@charset "utf-8";
:root {
    --main-color: #99CC33;/*緑*/
    --text-color: #6D5641;/*茶*/
    --link-color: #99CC33;
    --linkhover-color: #FF6600;
    --back-color: #CBDF5B;/*少し薄い緑*/
    --light-yellow: #FDE277;
    --light-blue: #9EDDF8;
    --dark-color: #fff;
}
body {
	font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	overflow-x: hidden;
	color:var(--text-color);
	line-height:1.6em;
	margin:0;
	padding:0;
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
img.img_r{
	clear: left;
	float: right;
	margin-left: 1em;
}
@media screen and (max-width: 600px){
img.img_r{
	clear: both;
	float: none;
	margin-left: 0em;
	text-align: center;
	display: block;
	margin-top: 0.5em;
}
}

a {
    color: var(--link-color);
}
a:hover { 
    color: var(--linkhover-color);
}
a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.8;
}
p{
	margin:0;
	padding: 0.2em 0;
}
hr{
	background-color: var(--main-color);
	height: 2px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
h1,h2,h3,h4{
	font-family: "Helvetica Neue","Lexend Tera", "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
}
h2{
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: var(--main-color);
	position:relative;
	padding-left:30px;
	font-size: 2.5em;
	line-height: 1.1em;
	margin-top: 0;
	margin-bottom:20px;
	padding-top: 1em;
	padding-right: 0px;
	padding-bottom: 0px;
	z-index:0;
	margin-left:20px
}
h2 span{
	font-size:1.2rem;
	font-weight:normal;
	line-height: 1em;
	vertical-align: text-botom;
	margin-left:0.5em;
}
h2:before{
	content:'';
	width:50px;
	height:50px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	position:absolute;
	bottom:-6px;
	left:-23px;
	background-image: url(../img/midasi.png);
	z-index:-1;
}
h2:after{
content:'';
width:calc(100% + 25px);
height:3px;
position:absolute;
bottom:-7px;
left:-25px;
background-color: var(--main-color);
}
@media screen and (max-width: 900px){
h2{
	font-size: 1.8em;
}
}

.sub h2{
margin-bottom:0;}
.sub h3 {
  position: relative;
  font-size:150%;
  line-height:1.1em;
  padding: 0.6em;
  background: var(--main-color);
  border-radius: 1em;
  color:#FFFFFF;
  margin-top:2em;
  padding-left:1em;
}
.sub h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 3em;
  border: 10px solid transparent;
  border-top: 10px solid var(--main-color);
  width: 0;
  height: 0;
}
.sub h4 {
  border-bottom: solid 4px var(--back-color);
  position: relative;
  padding-left:0.5em;
  font-size:130%;
  line-height:1.2em;
  margin-top:2em;
  margin-bottom:0.5em;
}
.sub h4:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px var(--main-color);
  bottom: -4px;
  width: 10%;
  left:0;
}


header{
position:relative;
}
.head p,.foot p{
padding:0;
	line-height:1.3em;
}

a.btn{
	border: 1px solid #fff;
	border-radius: 1.5em;
    background-color: var(--text-color);
	color: #fff;
	font-size: 1em;
	position:relative;
	text-decoration: none;
	padding-top: 0.3em;
	padding-right: 1.3em;
	padding-bottom: 0.3em;
	padding-left: 2em;
	font-weight: bold;
}
a.btn:after{
	content: '\f0da';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding: 0 7px 0 0;
	font-size: 1.25em!important;
	line-height: normal;
	position:absolute;
	left:0.7em;
	top:0.1em;
}

a.btn.est{
    background-color: var(--light-yellow);
	color:var(--text-color);
	margin-left:1em;
	font-size:1.3em;
	padding-right: 2.3em;
	margin-top:0.5em;
}
a.btn.est:after{
	content: '\f101';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding: 0 7px 0 0;
	font-size: 1.25em!important;
	line-height: normal;
	position:absolute;
	right:0;
	left:auto;
	top:0.3em;
}

.big_120{
	font-size: 120%;
	line-height: normal;
}
.big_140{
	font-size: 140%;
	line-height: normal;
}
.big_160{
	font-size: 160%;
	line-height: normal;
}

.text-red{
	color: #FF0000;
}

#map{
width:100%;
height:350px;
margin-top:1em;}


fieldset{
	border-radius:1em;
	border: 3px solid var(--main-color);
	margin-bottom:1em;
	width:auto;
	clear: both;
	float: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 1em;
	padding-right: 2em;
	padding-bottom: 1em;
	padding-left: 2em;
}
fieldset legend{
color:var(--main-color);
font-size:130%;
font-weight:bold;
text-align:center;
padding:0 1em;}


.clearfix::after {
   content: "";
   display: block;
   clear: both;
}


@media screen and (min-width: 901px){
.mb_none{
display:block;}
.pc_none{
display:none;}
}
@media screen and (max-width: 900px){
.mb_none{
display:none;}
.pc_none{
display:block;}
}

.tel,.mail{
	position:relative;
}
.tel:before {
	content: '\f2a0';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding: 0 7px 0 0;
	font-size: 1.5em;
	line-height: normal;
	position:absolute;
	left:0.5em;
	top:0.2em;
}
.mail:before {
	content: '\f0e0';
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	padding: 0 7px 0 0;
	font-size: 1.5em!important;
	line-height: normal;
	position:absolute;
	left:0.5em;
	top:0;
}

/*構成*/
section{width:auto;}
.head section,.foot section{
  padding:0;
}
@media screen and (min-width: 1200px){
section{width:1200px;
margin:0 auto;
padding:2em 0em;
}
}


/*ナビ*/
.head {
  background-color: var(--back-color);
	width: 100%;
	background-image: url(../img/main.png);
	background-repeat: no-repeat;
	background-position: 80% 50%;
	background-size: 55%;
	padding-bottom:150px;
	position:relative;
	z-index:0;
}
.sub .head {
	background-image: none;
}
.head:after{
content:'';
  background: #fff;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  height: 200px;
  margin-left: -100px;
  margin-right: -100px;
  padding-left: 100px;
  padding-right: 100px;
  width:100%;
  position:absolute;
  bottom:-100px;
  left:0;
  z-index:0;}

.h_btn{
text-align:right;}
.h_btn a.tel,.h_btn a.mail{
	border-radius: 0 0 10px 10px;
	display:inline;
	width:5em;
	text-decoration: none;
	color: var(--text-color);
	line-height: 2em;
	padding-top: 0.5em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-left: 2.5em;
	margin-left:0.5em;
}
.h_btn a.tel{
background-color: #fff;}
.h_btn a.tel:before{
font-size:1.3em;}
.h_btn a.mail{
background-color: var(--light-yellow);}
.h_btn a.mail:before{
margin-top:0.2em;}

.hnav {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index:1;
}

.head h1.logo {
	text-align:left;
	font-size: 1.5rem;
	line-height:1em;
	font-weight: normal;
}
.head h1.logo span {
	font-size: 3.7rem;
	display: block;
	font-weight: 600;
	margin-top:0.2em;
}
.head .logo a {
display:block;
color:var(--text-color);
text-decoration: none;
}
.head nav{
	width: 100vw;
	margin-left: calc(100% - 35vw);
	margin-right: calc(100% - 50vw);
}
.hnav_list {
	box-sizing: border-box;
	display: flex;
	margin: 0;
	padding: 0;
	position: relative;
	padding-left:1em;
	  margin-top:1em;
	  padding-right:1em;
}
.hnav_list:before{
	content:'';
	position:absolute;
	left:-27px;
	bottom:0;
	width:55px;
	height:45px;
	background-image: url(../img/nav_head.png);
	background-repeat: no-repeat;
	background-position: center center;
	
}
.hnav_list:after{
	content:'';
	background-color: #FFF;
	height: 2px;
	width: 100%;
	position:absolute;
	right:0;
	bottom:0;
}
.hnav_list li{
	list-style: none;
	text-decoration: none;
	font-size:1.1em;
	line-height: 1em;
	font-weight:bold;
}
.hnav_list li a{
  color: #fff;
  display: block;
  margin-left: 1.7em;
  text-decoration: none;
  padding: 10px 0px;
}
.hnav_list li a:hover {
	color:var(--text-color);
}
@media screen and (max-width: 1300px) {
.head {
	background-position: 50% 80px;
	background-size: 90%;
	padding-bottom:5em;
}
.head nav{
	width: 100%!important;
	margin:0!important;
	margin-left:auto;
}
.head h1.logo {
padding-left:0.5em;
}
}
@media screen and (max-width: 900px) {
.head {
	background-position: 50% 5em;
	background-size: 90%;
	padding-bottom:5em;
	
}
.sub .head{
z-index:4;
height:100px;
margin:0;
padding:0;}
.sub .head:after{
  height: 60px;
  width:100%;
  bottom:-1em;}


.head nav{
width:auto;
}
.head h1.logo {
	font-size: 1.2rem;
}
.head h1.logo span {
	font-size: 2.5rem;
}
.hnav_list {
    background-color: #fff;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    right: 0;
    position: absolute;
    transform: translateY(-100%);
    transition: 0.3s;
    top: 0;
	opacity: 0;
    padding: 1em;
	width:100%;
}
.hnav_list li{
  border-bottom:#CCCCCC;
  border-bottom-style:solid;
  border-bottom-width:1px;
  width:100%;
}
  .hnav_list li a {
  color:var(--text-color)!important;
  margin-left: 0em;
  }
.hnav_list:before,.hnav_list:after{
	content:'';
}

  #hamburger:checked ~ .hnav_list {
    transform: translateY(0%);
    transition: 0.3s;
	margin-top:5em;
	opacity: 1;
  }

}
.hnav_input {
  display: none;
}
.hnav_bg {
  background-color: #fff;
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
#hamburger:checked ~ .hnav_bg {
  display: block;
}
.hnav_button {
  display: none;
}
.hnav_button-mark {
  background-color: var(--text-color);
  display: block;
  height: 3px;
  transition: 0.3s;
  width: 35px;
}

@media screen and (max-width: 900px) {
  .hnav_button {
    align-items: center;
    appearance: none;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 7px;
    height: 40px;
    justify-content: center;
    width: 40px;
	margin:5px;
	padding:5px;
	border-radius:5px;
  }
  #hamburger:checked
    ~ .hnav_button
    .hnav_button-mark:nth-of-type(1) {
    transform: translate(2px, -2px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked
    ~ .hnav_button
    .hnav_button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .hnav_button
    .hnav_button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}


/*トピックス*/
.topics{
border-radius:0.5em;
background-color: rgb(255 255 255 / 0.7);
width:35%;
margin:1.5em 0;
padding:1.5em;
}
.topics header{
	font-size:120%;
	font-weight:bold;
	line-height: 1em!important;
  line-break: strict!important; /* 禁則処理を厳格に適用 */
  word-break: keep-all;
  overflow-wrap: break-word;}
.topics h3{
font-size:1.6em;
margin-top:0.7em;
padding:0;
margin-bottom:0.1em;}
.topics ul,.topics ul li{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
.topics ul{
	margin-bottom:1.5em;
	padding:0.4em;
	height:200px;
	overflow: auto;
}
.topics ul li{
	border-left-width: 6px;
	border-left-style: solid;
	border-left-color: var(--text-color);
	margin-bottom:0.8em;
	font-weight:bold;
	padding-left:0.3em;
	line-height: 1.2em;
	position:relative;
}
.topics ul li .date{
display:block;
font-weight:normal;
}
.topics ul li:after{
content:'';
height:1px;
background-color:#FFFFFF;
position:absolute;
bottom:-5px;
width:101%;
left:-7px;}
.topics ul li a{
	display:block;
	color:var(--text-color);
	text-decoration: none;
}
.topics ul li:hover a{
background-color:var(--light-yellow);
}

.topics ul li a:after{
	content: '\f101';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position:absolute;
	top:50%!important;
	right:0;
	font-size:1em;
	margin-top:-0.75em;
	background-color:var(--main-color);
	color:#FFFFFF;
	border-radius:1.5em;
	height:1.5em;
	line-height: 1.5em;
	padding-right: 0.25em;
	padding-left: 0.25em;
}

.topics .info{
padding:1em;
border-radius:0.5em;
background-color:#fff;
position:relative;
}
.topics .info:after{
	content:'';
	width:120px;
	height:200px;
background-image:; 	background-image: url(../img/chara.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	bottom:-2em;
	right:-2.5em;
	position:absolute;
}

.topics .tel,.topics .mail{
	padding-left:2.5em;
	line-height: normal;
	font-weight: bold;
}
.topics .tel span{
	font-size:1.8em;
	display:block;
}
.topics .mail:before {
	top:0.15em;
}

.topics hr{
margin:0.8em 0;
}


@media screen and (max-width: 900px) {
.topics{
width:90%;
margin-left:auto;
margin-right:auto;
margin-top:300px;
}
.topics ul{
height:auto;}
}


/*本文*/

main{
margin:0;
margin-top:-4em;
position:relative;
z-index:3!important;}

main section{
padding-top:1em;
padding-bottom:2em;
}
main header{
padding-bottom:0.5em;
}
main header .det{
position:absolute;
right:0;
bottom:2.5em;}

@media screen and (max-width: 1200px){
main section{padding:0.5em;
margin-bottom:2em;
width:auto;
}
}


/*FLOW*/
.flow, .flow li{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
.flow{
display: flex;
gap: 10px 20px;
}
.flow li{
	width:100%;
	text-align: center;
	background-color: var(--light-blue);
	border-radius:8px;
	position:relative;
	transition: all 0.3s;
 }

.flow li:nth-child(even){
	background-color:var(--light-yellow);
}
.flow li:after{
content:'';
position:absolute;
height:30px;
margin-top:-15px;
top:50%;
left:-1px;
  background: #ffffff;
  height: calc(tan(60deg) * 30px / 2);
  width: 15px;
 clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.flow li:first-child:after{
content:none;
}
.flow li a{
	font-weight:bold;
	font-size:1.3em;
	line-height:3em;	
color:var(--text-color);
text-decoration:none;
display:block;
	height:3em;
}
.flow li:hover{
background-color:var(--link-color);
}
.flow li:hover a{
color:#FFFFFF;
}


@media screen and (max-width: 900px) {
	.flow {flex-wrap: wrap;}
	.flow li {width: 31%;	font-size:1em;
}
}
@media screen and (max-width: 600px) {
	.flow li {width:47%;}
}

/*SERVICE*/
.service{
display: flex;
width:100%;
gap:25px;
}
.service figure,.service figure figcaption{
margin:0;
padding:0;}
.service figure{
	position:relative;
}
.service figure img{
object-fit: cover;
width:100%;
height:350px;
	border-radius:0.5em;
	margin:0;
	padding:0;
}
.service figure figcaption{
position:absolute;
font-weight:bold;
font-size:1.8em;
line-height:1.2em;
bottom:0px;
left:0px;
background-color: rgb(255 255 255 / 0.7);
width:100%;
height:3em;
display: flex;
align-items:center;
}
.service figure figcaption p{
margin:0;
pdding:0;
padding-left:1.2em;
position:relative;
line-height:1.2em;
margin-left:0.5em;
}

.service figure a{
color:var(--text-color);
	text-decoration: none;
}

.service figure figcaption p:before{
	content: '\f0da';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	line-height: normal;
	position:absolute;
	left:0em;
	top:50%;
	margin-top:-0.55em;
	background-color: var(--main-color);
	color:#fff;
	width:0.75em;
	padding-left:0.25em;
	height:1em;
	border-radius:0.5em;
	line-height:1em;
}
@media screen and (max-width: 900px){
.service{
flex-wrap: wrap;}
.service figure{width:47%;}
.service figure figcaption{
font-size:1.3em;
}
.service figure img{
height:200px;
}
}
@media screen and (max-width: 600px) {
.service figure{width:100%;}
}

.message{
font-size:120%;
line-height:1.8em;}

.inq{
display: flex;
align-items: flex-end;
width:80%;
margin-left:auto;
margin-right:auto;
gap:25px;
}
.inq .box_tel,.inq .box_mail{
width:50%;
	text-align:center;
}
.inq .box_tel a,.inq .box_mail a{
height:4em;
line-height:3em;
font-size:1.2em;
color: var(--text-color);
	display:block;
	border-radius:8px;
	text-decoration: none;
background-color:var(--light-blue);
}
.inq .box_mail a{
background-color:var(--light-yellow);
line-height:4em;
}
.inq .tel,.inq .mail{
margin:0;
padding:0;
display:inline;
font-size:1.5em;
position:relative;
z-index:0;
}
.inq span{
	font-size:0.7em;
	position:absolute;
	top:0.6em;
	left:0;
	z-index:1;
	font-weight: normal;
}
.inq .tel:before,.inq .mail:before{
left:-1.3em;
font-size:2rem!important;
}
.inq .mail:after{
content:none;
}
@media screen and (max-width: 900px) {
.inq{
display: flex;
width:100%;
gap:25px;
}
}
@media screen and (max-width: 600px) {
.inq{
display: block;
width:90%;
}
.inq .box_tel,.inq .box_mail{
width:100%;
margin-top:0.7em;
}
}


/*サブページ*/
.flow_sub,.flow_sub li{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
.flow_sub{
	width:100%;
}
.flow_sub li{
	margin-bottom:2em;
	padding: 1em;
	position:relative;
	padding-right:120px;
}
.flow_sub > li:not(:last-child) {
  border-bottom: 3px solid var(--text-color);
  position: relative;
}

.flow_sub > li:not(:last-child)::before,
.flow_sub > li:not(:last-child)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow_sub > li:not(:last-child)::before {
  border-width: 22px;
  border-top-color: var(--text-color);
}
.flow_sub > li:not(:last-child)::after {
  border-width: 18px;
  border-top-color: #fff;
}

.flow_sub > li .tit {
	font-size: 1.3em;
	font-weight: 600;
	border-bottom: 2px dotted var(--text-color);
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	display: flex;
	line-height: 1.1em;
}
.flow_sub > li .det {
margin-bottom:1em;
}

.flow_sub > li .icon {
	font-size: 0.6em;
	color: #fff;
	background: var(--main-color);
	padding: 5px 10px;
	display: inline-block;
	margin-right: 0.5em;
	line-height: 1em;
}
.flow_subwak img.img_r{
	position:absolute;
	z-index:5;
	width: 120px;
	top: 0;
	right: 0px;
}

.flow_img{
display: flex;
flex-wrap: wrap;
margin:0;
padding:0;
margin-top:1em;
}
.flow_img li{
  position: relative;
  display: inline-block;
  padding:0;
  z-index:11;
  text-align:left;
  width:30%;
margin:0;
  margin-right: 25px;
  margin-bottom:5px;
}
@media screen and (max-width: 900px) {
.flow_img li{
  width:40%;
}
}
.flow_img li:before {
  content: '';
  width: 12px;
  height: 12px;
  border: 0;
  border-top: solid 4px var(--main-color);;
  border-right: solid 4px var(--main-color);;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: -15px;
  bottom: 0;
  margin: auto;
  margin-top:-12px;
}
.flow_img li:last-child:before{
content: none;}

.images_g{
display: flex;
flex-wrap: wrap;
gap:10px;
padding-top:0.5em;
}
.images_g a{
width: calc(25% - 10px);
cursor: zoom-in;
}
.images_g a img{
    object-fit: cover;
    height: 150px;
    width: 100%;
}
@media screen and (max-width: 900px) {
.images_g a{
width: calc(50% - 10px);
}
}
.result{
display: flex;
flex-wrap: wrap;
gap:20px;
margin-top:20px;
}
.result figure{
width:49%;
position:relative;
height:200px;
margin:0;
padding:0;
}
@media screen and (max-width: 900px) {
.result figure{
width:100%;
}
}
.result .before,.result .after  {
  height: 200px;
  width: 56%;
  position:absolute;
  top:0;
  left:0;
  object-fit: cover;
  z-index:1;
}
.result .after {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  left:auto;
  right:0;
  z-index:2;
}
.result figcaption{
position:absolute;
left:0;
bottom:0;
width:100%;
text-align:center;
background: rgba(255,255,255,0.7);
z-index:3;
padding:0.5em;
line-height:1.2em;
color:#000000;}
.result figure:before,.result figure:after{
font-size:0.8em;
position:absolute;
display:block;
content:"着手前";
width:4em;
background-color:var(--text-color);
color:#FFFFFF;
height:4em;
border-radius:2em;
top:-0.3em;
left:-0.3em;
z-index:10;
line-height:4em;
text-align:center;
font-weight:bold;
}
.result figure:after{
background-color:var(--main-color);
left:auto;
right:-0.3em;
content:"完 成";
}

/*問い合わせ*/
table.form {
	width:100%;
	max-width: 1000px;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
table.form td,table.form th {
padding:0.5em;}
table.form th{
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999999;
}

table.form input[type="text"],table.form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
table.form input[type="text"]:focus,table.form textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}
table.form input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007BFF;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}

table.form input[type="radio"]:checked {
    background-color: #007BFF;
    border-color: #007BFF;
}
input[type="submit"],input[type="button"] {
    background-color: var(--main-color);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 auto;
}
input[type="submit"]:hover,input[type="button"]:hover {
    background-color:var(--text-color);
	color:#fff;
}
input[type="submit"]:active,input[type="button"]:active {
    background-color: var(--text-color);
	color:#fff;
    transform: scale(0.98);
}


/*footer*/
footer section{
background-color:var(--back-color);
	position:relative;
	margin-top:80px;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
	padding-right: 70px;
	padding-left: 70px;
}
footer section:before{
	position:absolute;
	content:'';
	top:-15px;
	right:left;
	width:calc(100% - 225px);
	height:2px;
background-color:var(--main-color);
}
footer section:after{
	position:absolute;
	content:'';
	top:-76px;
	right:30px;
	width:143px;
	height:85px;
	background-image: url(../img/footer.png);
	background-repeat: no-repeat;
	background-position: right center;
}
footer .f_logo{
	font-weight: bold;
	position:relative;
	line-height:1em;
	padding-left:50px;
	margin-bottom:10px;
}
footer .f_logo:before{
content:'';
width:45px;
height:45px;
background-image:url(../img/logo_m.png);
background-size: contain;
position:absolute;
left:0;
top:50%;
margin-top:-25px;
}
footer address{
	font-style: normal;
	line-height: 1.2em;
}
.fnav{
display: flex;
align-items: flex-end;
}
.fnav>div:last-of-type{
    margin-left: auto;
}
ul.fnav_list,ul.fnav_list li{
	margin: 0px;
	padding: 0px;
}
ul.fnav_list{
	display: flex;
	list-style-type: none;
	gap:15px;
	justify-content: center;
	margin-bottom:1em;

}
ul.fnav_list{
margin-top:1em;}
ul.fnav_list a{
	color: var(--text-color);
	text-decoration: none;
	padding:0.5em;
	display:block;
	line-height: 1em;
}
footer .bn_wak img{
	margin: 10px;
	padding: 0px;

}
.copy{
	text-align:center;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	color: #FFFFFF;
	margin-top: 10px;
}

.totop{
	position: fixed;
	display: block;
	right: 20px;
	bottom: 20px;
	width: 80px;
	height: 80px;
  background: var(--main-color);
	border: none;
	border-radius: 50%;
	cursor: pointer;
  transition: .2s;
	text-align: center;
	z-index:999;
}
.totop a {
	position: absolute;
	display: block;
	width:80px;
	right: 0px;
	bottom: 20px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	letter-spacing: 1px;
	text-decoration: none;
	line-height: 1em;
}


#scroll-fadein {
  visibility: hidden;
  opacity: 0;
  transition: .5s;
}

#scroll-fadein.fadein {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1200px) {
.fnav{
display: block;
text-align:center;
height:auto;
}
footer .f_logo{
width:12em;
margin-left:auto;
margin-right:auto;
}
footer section{
	padding-right: 0px;
	padding-left: 0px;
	padding-top:1em;
	padding-bottom:0;
	margin-bottom:0;
}
footer section:before{
	width:calc(100% - 145px);
}
ul.fnav_list{
display:none;
}

footer .bn_wak .check{
    display: none;
}
footer .bn_wak label{
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding-top: 10px;
    position: relative;
	border-bottom:solid #FFFFFF 2px;
	text-align:left;
	padding-left:2em;
	cursor:pointer;
}
footer .bn_wak label:after{
    box-sizing: border-box;
    content: '\f0da';
    display: block;
    font-family: "Font Awesome 5 Free";
	font-size:1.5em;
    height: 1.5em;
	width:1.5em;
    position: absolute;
    left: 0.5em;
    top: 10px;
		font-weight:900;
}
footer .bn_wak .bn_det{
    display: none;
    padding: 0 10px;
	height:0;
    transition: .5s;
}
footer .bn_wak .check:checked + label:after{
    content: '\f0d7';
	    font-family: "Font Awesome 5 Free";
		font-weight:900;

}
footer .bn_wak .check:checked + label + .bn_det{
    padding: 10px;
	display:block;
	height:auto;
}
}