/* color */
:root {
  --blue: #0d6efd;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #d63384;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #198754;
  --teal: #20c997;
  --cyan: #0dcaf0;
  --black: #000;
  --white: #fff;
  --gray: #6c757d;
  --gold: #7e663d;
  --gray-dark: #343a40;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --bg-color: #E9E4F1;
  --main-color: #92C490;
}

:root {
  --backColor: #F2E0DE;
  --fontColor: var(--gray-800);
  --mainColor: var(--gray-800);
  --linkColor: var(--blue);
  --btnColor: var(--blue);
  --font-size: 16px;
  --gothic: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  --mincho: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  --marumozi: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
  --warp-size: 96vw;
  --logo_size_sp: 50px;
  --logo-size-pc: 62px;
}



/* -- REST CSS -- */
* {
  color: var(--mainColor);
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  font-kerning: auto;
  text-decoration: none;
  font-feature-settings: "palt";
}

html,
body {
  scroll-behavior: smooth;
  background-color: var(--backColor);
}

/* -- font-size-- */
html {
  /* font-family: var(--marumozi); */
  font-family: "M PLUS 1p", sans-serif;
  line-height: 1.6;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: calc((100vw - 1200px) / 140 + var(--font-size));
}

/* -- wrap-size -- */
.wrap {
  width: var(--warp-size);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width:800px) {
  html {
    font-size: calc((100vw - 600px) / 140 + (var(--font-size)*1.1));
  }

  .wrap {
    width: 98%;
  }
}

@media screen and (min-width:1280px) {
  html {
    font-size: 1em;
  }
}

a {
  text-decoration: none;
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;

}

a:hover,
a:focus,
a:active {
  outline: none;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  vertical-align: bottom;
  border-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

focus {
  outline: none;
}

input:hover,
input:focus,
input:active {
  outline: none;
}

textarea:hover,
textarea:focus,
textarea:active {
  outline: none;
}

button {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

button:hover,
button:focus,
button:active {
  outline: none;
}

button:hover {
  opacity: 0.5;
}

table,
thead,
tbody {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
  border-spacing: 0;
}

.textAlign-center {
  text-align: center;
}

.textAlign-left {
  text-align: left;
}

.textAlign-right {
  text-align: right;
}

.textAlign-justify {
  text-align: justify;
}

.opacity-1 {
  opacity: 1;
}

.opacity-8 {
  opacity: 0.8;
}

.opacity-6 {
  opacity: 0.6;
}

.opacity-4 {
  opacity: 0.4;
}

.opacity-2 {
  opacity: 0.2;
}

.opacity-0 {
  opacity: 0;
}

/* -- space -- */
.space1>*+* {
  margin-top: 1rem;
}

.space2>*+* {
  margin-top: 2rem;
}

.space3>*+* {
  margin-top: 3rem;
}

.space4>*+* {
  margin-top: 4rem;
}

.space5>*+* {
  margin-top: 5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mlr-auto {
  margin-left: auto;
  margin-right: auto;
}

.pt-1 {
  padding-top: 1rem;
}

.pt-2 {
  padding-top: 2rem;
}

.pt-3 {
  padding-top: 3rem;
}

.pt-4 {
  padding-top: 4rem;
}

.pt-5 {
  padding-top: 5rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.pb-5 {
  padding-bottom: 5rem;
}

.ptp-1 {
  padding: 1rem 0;
}

.ptp-2 {
  padding: 2rem 0;
}

.ptp-3 {
  padding: 3rem 0;
}

.ptp-4 {
  padding: 4rem 0;
}

.ptp-5 {
  padding: 5rem 0;
}

/* -- nav --*/
.nav10 ul li {
  margin: 0 10px;
  display: inline-block;
}

.nav15 ul li {
  margin: 0 15px;
  display: inline-block;
}

.nav20 ul li {
  margin: 0 20px;
  display: inline-block;
}

.nav25 ul li {
  margin: 0 25px;
  display: inline-block;
}

.nav10 ul li:first-child,
.nav15 ul li:first-child,
.nav20 ul li:first-child,
.nav25 ul li:first-child {
  margin-left: 0;
}

nav .active a,
nav .active {
  color: var(--linkColor);
  text-decoration: none;
  font-weight: bold;
}

/* -- form -- */
input[type=color],
input[type=range] {
  width: 100%;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=date],
input[type=url],
input[type=datetime-local],
input[type=password],
input[type=number],
textarea,
select {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: .8em .8em;
  border: 1px solid #dfdfdf;
  outline: none;
  -webkit-appearance: none;
  border-radius: 4px;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=datetime-local],
input[type=password],
input[type=number],
textarea {
  transition: all 0.3s ease;
}

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
  background-color: #fff !important;
  border: 1px solid #1e90ff;
  outline: 1px solid #1e90ff;
}

focus {
  outline: none;
}

input:hover,
input:focus,
input:active {
  outline: none;
}

textarea:hover,
textarea:focus,
textarea:active {
  outline: none;
}

button {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

button:hover,
button:focus,
button:active {
  outline: none;
}

button:hover {
  opacity: 0.5;
}

input[type=submit],
input[type=button],
input[type=reset],
button[type=submit],
button[type=button],
button[type=reset] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1.2em 1.2em;
  display: block;
  border: 1px solid #333;
  background-color: #000;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
  line-height: 100%;
}

input[type=submit][disabled],
input[type=button][disabled],
input[type=reset][disabled],
button[type=button][disabled],
button[type=reset][disabled],
button[type=submit][disabled] {
  border: 1px solid #ccc;
  background-color: #ccc;
  cursor: default;
}

#confirm input[type=text],
#confirm textarea,
#confirm select {
  pointer-events: none;
}

/* -- load object -- */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--main-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

/* アニメーションの定義 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#curtain {
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  position: fixed;
  top: 0;
  right: 0;
  transition-delay: 500ms;
  transition-duration: 1000ms;
  z-index: 5;
}

.head {
  text-align: center;
  margin-bottom: 7%;
}

.head h2 {
  font-size: 3em;
  letter-spacing: 0.1em;
}

.head p {
  text-align: center;
  font-size: 1em;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: var(--main-color)
}

.effect.opacity-text {
  opacity: 0;
  transition: opacity 2s ease;
}

.effect.opacity-text.loaded {
  opacity: 1;
}

.effect.up-text {
  margin-top: 20px;
  transition: margin-top 2s ease;
}

.effect.up-text.loaded {
  margin-top: 0px;
}


/* ---- header ---- */
header {
  position: relative;
  background-color: rgb(0 0 0);
}

header .img {
  opacity: .4;
  position: absolute;
  top: 0;
  left: 0;
  background-position: 50%;
  background-size: cover;
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  /* 初期はズームイン状態 */
  transition: transform 2s ease, opacity 1s ease;
}

header.loaded .img {
  transform: scale(1);
  /* 読み込まれたらズームアウト */
}

header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
  z-index: 2;
  position: relative;
}

.header-logo {
  width: 120px;
}

.header-logo a {
  display: flex;
  align-items: center;
  height: var(--logo-size-pc);
}

.header-nav ul {
  display: flex;
}

.header-nav ul a {
  padding: 2px 8px;
  letter-spacing: .03em;
  font-weight: bold;
  color: #fff;
}

header h2 {
  color: #fff;
  font-size: 2.5em;
  text-align: center;
  padding: 20% 0 25%;
  letter-spacing: .2em;
  margin-left: 5%;
  position: relative;
  z-index: 1;
}

/* ---- footer ---- */

footer {
  text-align: center;
  padding: 7% 0 5%;
}

footer .footer-nav ul li {
  display: inline-block;
}

footer .footer-nav ul li a {
  padding: 5px;
  font-size: .9em;
}

.border-left li+li {
  padding-right: 4px;
}

.footer-logo {
  width: 180px;
  margin: 0 auto 7%;
}

.border-left li+li:before {
  content: "";
  border-left: 1px solid #000000;
  padding-right: 10px;
}

footer .copylight {
  margin-top: 3%;
  font-size: .9em;
}

/* ---- message section ---- */

#message {
  padding: 20% 1%;
  text-align: center;
}

#message h3 {
  font-size: 3.4em;
  margin-bottom: 3%;
  margin-top: 20px;
  color: var(--main-color);
  /* font-weight: 500; */
}

#message p {
  line-height: 2.6em;
  /* letter-spacing:.1em; */
  font-size: 1.3em;
}

/* ---- service section ---- */

#service ul li {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: end;
}

#service ul li .img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: -15%;
  width: 85%;
  height: 100%;
  border-radius: 40px;
  background-position: 50%;
  background-size: cover;
  transform: scale(1.1);
  /* 初期はズームイン状態 */
  transition: transform 1.5s ease, opacity 2s ease;
  background-color: var(--main-color);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#service ul li.loaded .img {
  opacity: 1;
  transform: scale(.98);
  /* 読み込まれたらズームアウト */
}

#service ul li:nth-child(odd) .img {
  left: auto;
  right: -15%;
}

#service ul li+li {
  margin-top: 8%;
}

#service ul span.text {
  width: 100vw;
  z-index: 1;
  color: #000000;
  text-align: right;
  font-size: 1.8em;
  font-weight: bold;
  background: linear-gradient(70deg, #ffffff78, #ffffff, #ffffff);
  padding: 30px 8%;
  letter-spacing: 0.4em;
}

#service ul li:nth-child(odd) span.text {
  text-align: left;
  background: linear-gradient(-70deg, #ffffff78, #ffffff, #ffffff);
  padding: 30px 8%;
}

/* ---- company section ---- */

#company {
  padding: 20% 0;
}

#company dl {
  width: 80%;
  margin: 0 auto;
  display: flex;
  ustify-content: space-between;
  align-items: center;
}

#company dl+dl {
  margin-top: 2%;
  letter-spacing: .1em;
}

#company dt {
  width: 25%;
  font-weight: bold;
}

#company dd {
  border-left: 1px solid #000;
  padding-left: 9%;
  width: 60%;
}

/* ---- contact section ---- */

.contact-step ul {
  display: flex;
  justify-content: space-between;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.contact-step ul li {
  z-index: 1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  text-align: center;
  border-radius: 100%;
  padding: 13px 22px;
  border: 1px solid var(--main-color);
}

.contact-step ul::before {
  content: "";
  border-bottom: 1px solid var(--main-color);
  position: absolute;
  width: 100%;
  top: calc(50% - 1px);
  left: 0;
}

.contact-step ul li span {
  color: var(--main-color);
  width: 100%;
  font-weight: bold;
}

.contact-step ul .now {
  background-color: var(--main-color);
}

.contact-step ul .now span {
  color: #fff;
}

.contact-step p {
  margin: 50px 0;
  text-align: center;
}

.contact-wrap {
  width: 70%;
  margin: 0 auto;
  padding: 6%;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.contact-wrap dl {
  display: flex;
  justify-content: space-between;
}

.contact-wrap dl+dl {
  border-top: 1px solid #eee;
  margin-top: 4%;
  padding-top: 4%;
}

.contact-wrap dt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 28%;
}

.contact-wrap dd {
  width: 70%;
}

.contact-must {
  background: var(--main-color);
  ;
  color: #FFF;
  border-radius: 5px;
  padding: 6px 8px;
  margin-right: 5px;
  line-height: 1;
  font-size: 80%;
  display: inline-block;
  vertical-align: middle;
}

.error-alert {
  color: #ff0000;
  letter-spacing: .1em;
  margin-top: 1%;
  display: none;
}

form #submit {
  margin: 10% auto 0;
  width: 280px;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
}

.confirm_button {
  display: flex;
}

form #back_submit {
  margin: 10% auto 0;
  width: 240px;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
}

form .confirm_button #submit {
  margin: 10% auto 0;
  width: 240px;
}


@media screen and (max-width:800px) {

  .pc {display: none;}

  header h2 {
    font-size: 1.6em;
    letter-spacing: .3em;
    margin-left: 0%;
  }

  .head h2 {
    font-size: 2em;
  }

  .footer-logo {
    width: 110px;
    margin: 0 auto 7%;
  }
  
  #message {
    padding: 11%;
    padding-top: 5%;
  }

  #message h3 {
    font-size: 2.6em;
  }

  #message p {
    text-align: justify;
    line-height: 1.8em;
    font-size: 1em;
  }


  #service ul span.text {
    padding: 30px 8%;
    letter-spacing: 0.2em;
  }

  .contact-wrap {
    width: 80%;
    padding: 7%;
  }

  .contact-step p {
    text-align: justify;
  }

  .contact-wrap dl {
    display: inline-block;
    width: 100%;
  }

  .contact-wrap dt {
    justify-content: flex-start;
  }

  .contact-wrap dd {
    margin-top: 2%;
  }

  .contact-must {
    margin-left: 10px;
  }

  .contact-wrap dt,
  .contact-wrap dd {
    width: 100%;
  }

}

@media screen and (max-width:540px) {

  .menu-hamburger>* {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }

  .menu-hamburger {
    display: block !important;
    position: fixed;
    top: 15px;
    right: 0px;
    z-index: 5;
     margin-right: 16px;
    width: 32px;
    height: 30px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
  }

  .menu-hamburger>* {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
  }

  .menu-hamburger>*:nth-of-type(1) {
    top: 0px;
  }

  .menu-hamburger>*:nth-of-type(2) {
    top: 14px;
  }

  .menu-hamburger>*:nth-of-type(3) {
    bottom: 0px;
  }

  .menu-hamburger.add>*:nth-of-type(1) {
    transform: translateY(14px) rotate(-45deg);
  }

  .menu-hamburger.add>*:nth-of-type(2) {
    opacity: 0;
  }

  .menu-hamburger.add>*:nth-of-type(3) {
    transform: translateY(-14px) rotate(45deg);
  }

  .header-logo {
    margin-left: 15px;
    margin-top: -15px;
    width: 24%;
  }

  header h2 {
    font-size: 1.4em;
    letter-spacing: .1em;
    margin-left: 0%;
  }

  #company dl {
    width: 90%;
    padding: 0 3%;
    margin: 0 5%;
    display: inline-block;
  }

  #company dl+dl {
    margin-top: 3%;
    padding-top: 5%;
    letter-spacing: .1em;
    border-top: 1px solid #000;
  }

  #company dt {
    width: 100%;
    font-weight: bold;

  }

  #company dd {
    border-left: none;
    padding-left: 0%;
    margin-top: 2%;
    width: 100%;
  }


  .contact-wrap {
    width: 96%;
    padding: 4%;
  }

  .header-nav {
    pointer-events: none;
    opacity: 0;
    background: var(--main-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 0px;
    height: 100%;
    z-index: 2;
    transition: width 1s ease, opacity 1s ease;
  }

  .header-nav.add {
    opacity: 1;
    width: 100%;
    pointer-events: all;
  }

  .header-nav ul {
    display: inline-block;
    padding-top: 14%;
  }

  .header-nav ul li+li {
    margin-top: 10%;
  }

  .header-nav ul li a {
    display: block;
    padding: 5px 15%;
    letter-spacing: .4em;
    font-size: 1.2em;
  }

  form #confirm {
    width: 150px;
  }

  form .confirm #submit {
    width: 150px;
  }

  footer .footer-nav ul li a {
    padding: 4px;
    font-size: .7em;
  }

}