html {
	scroll-behavior: smooth;
}

body {
  color: #555;
}

h1 {
    color: #3e2d81;
    font-weight: bolder;
    font-size: 3rem;
    padding: 1rem;
}

h2 {
    margin: 2rem 0 0 0;
    border-bottom: dotted 1px #5c41c6;
    font-weight: bold;
    color: #5c41c6;
}

h3 {
    margin: 2rem 0 0 0;
    font-size: 1.8rem;
    font-weight: bold;
    border-top: solid 1px rgb(161 97 169 / 28%);
    border-bottom: solid 1px rgb(161 97 169);
}

h4 {
  font-size: 1.8rem;
}

table {
  margin-bottom: 5rem;
}

th {
  text-align: center;
}

td {
  vertical-align: top;
}
.txt-center {
  text-align: center;
}

header {
    position: relative;
    top: 0;
    left: 0;
    height: 30rem;
    background: linear-gradient(180deg, rgba(250, 250, 250, 1) 60%, rgba(114,183,153,1) 100%);
    margin: 0 auto;
    z-index: 7;
}

header::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 30rem;
    width: 75%;
    background-image: url(/img/base_head.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 7;
}

header nav {
    display: flex;
    margin: 0 auto;
    padding: 0 calc((100% - 100rem) / 2);
    padding-top: 2rem;
    justify-content: space-between;
}

nav.top::after {
    content: "";
    display: block;
    position: absolute;
    top: -8rem;
    left: calc((100% - 79rem) / 2);
    width: 50rem;
    height: 41rem;
    background-color: #ffffff;
    filter: blur(25px);
    border-radius: 50% 50%;
}

header nav li {
  position: relative;
	width: 15em;
	margin: 0.5rem 0;
	padding: 0.5rem 1rem;
	background-color: rgb(113 200 149);
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

header nav li:first-child {
  margin-top: 0;
}

header nav li a {
    font-size: 1.3rem;
    color: #000;
    padding-left: 1rem;
    width: inherit;
    display: block;
}

header nav .your-here::after {
	content: "";
	position: absolute;
	top: 0.6rem;
	left: 0;
	width: 0.75rem;
	height: 2.2rem;
	background-color: #f00;
}

header > .head-catch.to-small {
  display: none;
}

nav .head-catch {
    position: relative;
    text-align: center;
    z-index: 9;
}

.head-catch img {
    height: 7rem;
    width: auto;
}

.head-catch p {
  font-size: 2rem;
  font-weight: bold;
}

a.head-inq-btn {
    background-color: rgb(84 149 121);
    padding: 1rem 2rem;
    height: 4rem;
    color: #fff;
    z-index: 10;
}

article {
    position: relative;
    margin: 0rem auto 0 auto;
    padding: 0 calc((100% - 94rem) / 2);
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 1%, rgba(255, 255, 255, 1) 13%);
    z-index: 10;
    border-top: solid 5px rgb(0 73 69);
}

section {
	background-color: #ffffffb5;
	padding: 1rem 2rem 1rem 2rem;
}

section#select {
    background: url(/img/bk-imgs/sel.png) no-repeat;
    background-size: cover;
    height: 57rem;
    filter: saturate(0.1);
}

section > img {
    position: relative;
    display: block;
    margin-top: -15rem;
}

.layout {
  position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: flex-start;
	flex-direction: row;
  z-index: 1;
}

.layout > * {
    margin: 1rem;
    padding: 4rem;
    background-color: #fbfbfb63;
    border-top: solid 1px #d3d3d3;
    border-left: solid 1px #c0c0c0;
    border-radius: 58% 33% 38% 41% / 40% 48% 50% 56%;
}

.perf-cnt {
  color: #ff8400;
  font-size: 1.6rem;
}

.perf-cnt span {
    display: inline-block;
    margin-left: 1rem;
    font-size: 2.3rem;
    font-weight: 550;
    line-height: 1;
}

footer {
  margin-top: 3rem;
  padding: 2rem;
  border-top: solid 1px rgba(114,183,153,1);
  text-align: center;
}

footer > div[data-layout|="row"] {
  justify-content: space-around;
}

footer h3 {
	text-align: center;
	font-size: 1.6rem;
	margin: 0;
	padding: 0;
	color: #888;
}

footer img {
  width: auto;
  height: 100%;
}

footer address {
	font-size: 1.3rem;
	color: #777;
}

footer .to-inq-btm .cont-tel,
footer .to-inq-btm .cont-tel a {
  color: #777;
}

section a.to-inq-btn {
    display: block;
    background: url(/img/bk-imgs/inq.png) no-repeat right center #eed7bf;
    background-size: contain;
    height: 16rem;
    color: rgb(85 85 85);
    line-height: 16rem;
    text-align: center;
    font-size: 4rem;
}

footer .to-inq-btm a.btn {
	background-color: rgb(84 149 121);
	padding: 1rem 2rem;
	width: 100%;
	display: block;
	text-align: center;
	color: #fff;
}

footer .to-inq-btm a.btn {
  margin-top: -2rem;
}

footer .copyright {
  margin-top: 2rem;
  text-align: center;
  color: #777;
  font-size: 1.3rem;
}

#to-top {
	display: block;
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 50px;
	width: 50px;
	background-color: rgba(128, 125, 125, 0.25);
	cursor: pointer;
	padding: 10px;
  z-index: 15;
}

.svg-to-top {
    width: 30px;
    height: 35px;
}

#g-map {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1200 / 700;
	filter: grayscale(0.8) hue-rotate(230deg);
	margin: 0px auto;
	overflow: hidden;
	border-bottom: 1px solid rgb(137, 90, 71);
}

/*
  inquiry
*/
    form {
      margin: 0 auto;
    }

    form > div {
      margin-bottom: 2rem;
    }

    label {
      display: block;
    }

    input[type="text"], 
    input[type="tel"], 
    input[type="mail"] {
      width: 100%;
      padding: 0.25rem;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }
    input[type="submit"] {
      background-color: #549579;
      color: white;
      padding: 1rem 2rem;
      border: none;
      cursor: pointer;
    }
    select {
	  display: block;
		border: solid 1px #777;
		padding: 0.5rem;
	}
    #prv-in-form {
		height:23rem;
		padding: 0.75rem;
		margin: 1rem 0;
		border: solid 1px #999;
		overflow: auto;
	}

span.input-flag-req {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: #f98d8d;
    color: #fff;
    border-radius: 5px 5px 5px 5px;
}

span.input-flag-any {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: #9c9c9c;
    color: #fff;
    border-radius: 5px 5px 5px 5px;
}

div[data-status="error"]::after {
    content: attr(data-msg);
    position: absolute;
    left: 0;
    top: 0;
    color: #f98d8d;
}

div[data-status="error"] {
    position: relative;
    padding-top: 2rem;
    border: solid 1px #f00;
}

#ui-toggle {
  display: none;
}

.menu-open, .menu-close {
  display: none;
}

/*
  scroll navi
------------------------------------ */
header.scrl::before {
	width: 100%;
}

header.scrl nav {
	display: none;
}

header.scrl nav.top::after {
	display:none;
}

header.scrl nav li {
	width: auto;
}

header.scrl nav .head-catch {
	display: none;
}

header.scrl > .head-catch.to-small {
	display: block;
	position: relative;
	padding: 3rem 0 0 5rem;
	width: calc(100% - 10rem);
	z-index: 10;
}

header.scrl a.head-inq-btn {
	display: block;
	margin-top: 4rem;
	text-align: center;
}

header.scrl nav.top {
  transform: translate(100%, -100%);
  transition: all .2s ease-in-out;
}

header.scrl label.menu-open {
  display: block;
  position: fixed;
  top: 1em;
  right: 1em;
  width: 5rem;
  height: 6rem;
  z-index: 9;
  text-align: center;
  cursor: pointer;
}

header.scrl #ui-toggle:checked ~ [data-snippet|="ui-panel"] label.menu-close {
  display: block;
  position: fixed;
  top: 1rem;
  right: 5rem;
  width: 5rem;
  height: 6rem;
  z-index: 11; 
  text-align: center;
  cursor: pointer;
}

header.scrl #ui-toggle:checked ~ [data-snippet|="ui-panel"] {
    display: block;
    transform: translate(10%,0);
    position: fixed;
    top: 0;
    right: 0;
    padding: 7rem 7rem 0rem 4rem;
    height: 100vh;
    background-color: #fffffff2;
    z-index: 20;
}

header.scrl #ui-toggle:checked ~ [data-snippet|="ui-panel"] ul {
  display: block;
}

header.scrl label.menu-open i,
header.scrl label.menu-close i {
  font-size: 1.2rem;
  color: #4a4a4a;
}

header.scrl label.menu-open img,
header.scrl label.menu-close img {
  display: block;
  margin: auto;
  width: 4rem;
  height: 3.5rem;
}

header.scrl nav.bottom {
  display: block;
  position: fixed;
  background-color: #d9c9e0;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

header.scrl nav li {
		padding: 1rem 0;
}

header.scrl + article {
  z-index: 0;
}

/*
   < 1000px
=======================================================================*/
@media screen and (max-width: 1000px) {

  td {
    display: flex;
  }

  td:last-child {
    padding-left: 2rem;
  }

  header::before {
    width: 100%;
  }

  header nav {
    display: none;
  }

  header nav.top::after {
    display:none;
  }

  header nav li {
    width: auto;
  }

  header nav .head-catch {
    display: none;
  }

	header > .head-catch.to-small {
		display: block;
    position: relative;
    padding: 3rem 0 0 5rem;
    width: calc(100% - 10rem);
    z-index: 10;
	}

  header a.head-inq-btn {
    display: block;
    margin-top: 4rem;
    text-align: center;
  }

  article {
    padding: 1rem 2rem;
    z-index: 6;
  }

	footer .about {
			margin-bottom: 3rem;
	}

/*
  ナビゲーション
=======================================================================*/

header nav.top {
  transform: translate(100%, -100%);
  transition: all .2s ease-in-out;
}

header label.menu-open {
  display: block;
  position: fixed;
  top: 1em;
  right: 1em;
  width: 5rem;
  height: 6rem;
  z-index: 9;
  text-align: center;
  cursor: pointer;
}

header #ui-toggle:checked ~ [data-snippet|="ui-panel"] label.menu-close {
  display: block;
  position: fixed;
  top: 1rem;
  right: 5rem;
  width: 5rem;
  height: 6rem;
  z-index: 11; 
  text-align: center;
  cursor: pointer;
}

header #ui-toggle:checked ~ [data-snippet|="ui-panel"] {
    display: block;
    transform: translate(10%,0);
    position: fixed;
    top: 0;
    right: 0;
    padding: 7rem 7rem 0rem 4rem;
    height: 100vh;
    background-color: #fffffff2;
    z-index: 20;
}

header #ui-toggle:checked ~ [data-snippet|="ui-panel"] ul {
  display: block;
}

header label.menu-open i,
header label.menu-close i {
  font-size: 1.2rem;
  color: #4a4a4a;
}

header label.menu-open img,
header label.menu-close img {
  display: block;
  margin: auto;
  width: 4rem;
  height: 3.5rem;
}

header nav.bottom {
  display: block;
  position: fixed;
  background-color: #d9c9e0;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

}

@media screen and (max-width: 767px) {
	section {
		/*padding-top: 0;*/
	}
	
  section#select {
    height: auto;
  }
	
	section > img {
		margin-top: -6rem;
	}

	.layout {
		flex-wrap: wrap;
	}

  h1 {
    font-size: 2.4rem;
  }
	
	section a.to-inq-btn{
    height: auto;
    font-size: 1.8rem;
    text-shadow: 0px 1px 1px #fff;
    line-height: 15rem;
	}

	nav li {
			padding: 1rem 0;
	}

}