@charset "utf-8";

:root {
  --mc: #006841;
  --sc: #e80057;
  --tc: #333;
  --line: #ccc;
  --main_bg: #ebe8e1;
  --bg01: #f4f4f4;
  --ff: #fff;
  --error-bg: #fce5ee;
  --t4: 400;
  --t7: 700;
  --font_08_64_09: clamp(.8rem, calc(.8rem + ((1vw - .64rem) * .4692)), .9rem);
  --font_09_48_1: clamp(.9rem, calc(.9rem + ((1vw - .48rem) * .625)), 1rem);
  --font_1_48_12: clamp(1rem, calc(1rem + ((1vw - .48rem) * 1.25)), 1.2rem);
  --font_11_48_14: clamp(1.1rem, calc(1.1rem + ((1vw - .48rem) * 1.875)), 1.4rem);
  --font_2_48_24: clamp(2rem, calc(2rem + ((1vw - .48rem) * 2.5)), 2.4rem);
}

/* Font */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');

/* Anime */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(60px);
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
  }
}
.inup01 {
  animation: fadeInUp .6s ease-in-out 0s 1 forwards;
}
.elem01,
.elem02 {
  opacity: 0;
}
/* ALL */
html,
body {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 100%;
  background: var(--main_bg);
}
#container {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
/* header */
header {
  position: fixed;
  width: 100%;
  height: 60px;
  background: var(--mc);
  z-index: 100;
}
header h1 a {
  color: var(--ff);
  font-size: 30px;
  line-height: 60px;
  margin: 0 50px;
}
/* footer */
#footer {
  position: relative;
  bottom: 0;
  margin-top: auto;
  width: 100%;
  height: 30px;
  background: var(--tc);
}
#footer p {
  color: var(--ff);
  font-size: .7rem;
  font-weight: var(--t4);
  text-align: center;
  line-height: 30px;
}
/* topback */
#topback {
  position: fixed;
  right: 2%;
  bottom: 2%;
  width: 40px;
  height: 40px;
  background: rgba(0,104,65,.6);
  border: 1px solid var(--line);
  z-index: 9998;
  cursor: pointer;
}
#topback::after {
  position: absolute;
  content: '';
  top: 17px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--ff);
  border-right: 3px solid var(--ff);
  transform: rotate(-45deg);
}
/* main */
main {
  position: relative;
  padding: 60px 0 0;
}
.content {
  position: relative;
  width: min(96%, 1200px);
  margin: 0 auto;
  z-index: 10;
}
/* page */
section.page {
  margin: 5% auto 10%;
  padding: 1em;
  background: var(--ff);
}
/* error */
section.page.error {
  width: min(96%, 500px);
  margin: 10% auto 0;
  padding: 2em;
}
/* txt style */
.content h2 {
  position: relative;
  width: 100%;
  margin: 0 0 1em;
  padding: .3em;
  color: var(--tc);
  font-size: var(--font_11_48_14);
  min-height: 0vw;
  font-weight: var(--t7);
  line-height: 1.4;
  border-bottom: 2px solid var(--line);
}
.content h2::after {
  position: absolute;
  content: '';
  bottom: -2px;
  left: 0;
  width: 20%;
  height: 2px;
  background: var(--mc);
  z-index: 2;
}
ul.basic {
  list-style: outside;
  list-style-type: disc;
  margin: 0 1.5em;
}
.content p,
ul.basic li,
ul.basic li a {
  color: var(--tc);
  font-weight: var(--t4);
  font-size: var(--font_09_48_1);
  min-height: 0vw;
  line-height: 1.65;
}
.content p {
  padding: 1em 0;
}
/* table */
table.basic {
  width: 100%;
  border-collapse: collapse;
}
table.basic tr {
  border-bottom: 1px solid var(--line);
}
table.basic tr th,
table.basic tr td {
  color: var(--tc);
  font-size: var(--font_09_48_1);
  min-height: 0vw;
  font-weight: var(--t4);
  line-height: 1.8;
}
table.basic tr th {
  width: 25%;
  padding: 1.5em 1em 1.5em 1.5em;
  white-space: nowrap;
  text-align: left;
}
table.basic tr td {
  padding: 1.5em 1em 1.5em 1.5em;
  vertical-align: middle;
}
.content p a,
ul.basic li a,
table.basic tr td a {
  color: var(--tc);
  text-decoration: underline;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
/* btn */
a.btn_w {
  display: block;
  position: relative;
  width: min(80%, 300px);
  height: 60px;
  margin: 2em auto;
  line-height: 60px;
  font-family: 'BIZ UDPGothic', sans-serif;
  color: var(--tc);
  font-size: var(--font_09_48_1);
  min-height: 0vw;
  font-weight: var(--t7);
  text-align: center;
  background: var(--ff);
  border: solid 1px #eee;
  z-index: 5;
}
a.btn_w::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 5%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--tc);
  border-right: 2px solid var(--tc);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
a.btn_w::after {
  position: absolute;
  content: '';
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mc);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
  z-index: -1;
}
a.btn_w::after {
  background: var(--sc);
}
#submit_btn,
#back_btn {
  display: block;
  position: relative;
  width: 95%;
  background: var(--mc);
  height: 60px;
  font-size: 1.1rem;
  color: var(--ff);
  line-height: 60px;
  text-align: center;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  cursor: pointer;
}
#back_btn {
  color: var(--tc);
  background: var(--ff);
  border: solid 1px var(--line);
}
ul#btnbloc {
  width: min(80%, 800px);
  margin: 2% auto;
}
ul#btnbloc li {
  margin: 1em 0;
}
/* hover */
a.btn_w:hover {
  color: var(--ff);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
a.btn_w:hover::before {
  border-top: 2px solid var(--ff);
  border-right: 2px solid var(--ff);
}
a.btn_w:hover::after {
  transform: scale(1, 1);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
/* contact entry */
input[type="text"],
textarea {
  border: 1px solid var(--line);
  margin: 3px 0;
  padding: 5px;
  width: 95%;
  border-radius: 4px;
  color: #333;
  font-size: 1rem;
  font-weight: 300;
}
input[name="zip00_s"],
input[name="zip01_s"] {
  width: 30%;
}
input[type="checkbox"] {
  margin: 0 1.2em 0 0;
  -ms-transform: scale(1.2, 1.2);
  -webkit-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-width: 1px;
  border-style: solid;
  -webkit-box-shadow: 0 0 8px rgba(235, 232, 225,.5);
  box-shadow: 0 0 8px rgba(235, 232, 225,.5);
  border-color: rgba(235, 232, 225,.5) !important;
}
.red {
  color: var(--sc);
}
#errormessages {
  display: none;
  width: 100%;
  margin: .5em 0;
  padding: .5em;
  color: var(--sc);
  font-size: var(--font_08_64_09);
  min-height: 0vw;
  font-weight: 500;
  text-align: center;
  background: var(--error-bg);
  border: 1px solid var(--sc);
}
#errormessages p {
  color: var(--sc);
  font-size: var(--font_08_64_09);
  min-height: 0vw;
  font-weight: 500;
  text-align: center;
}
label.error {
  display: block;
  width: 100%;
  margin: .5em 0;
  padding: .5em;
  color: var(--sc);
  font-size: var(--font_08_64_09);
  min-height: 0vw;
  font-weight: 500;
  background: var(--error-bg);
}
input[type="text"].error,
textarea.error {
  border: 1px solid var(--sc);
}
::placeholder {
  color:#d6d6d6;
}
::-webkit-input-placeholder {
  color:#d6d6d6;
}
:-ms-input-placeholder {
  color:#d6d6d6;
}
@media all and (max-width: 767px) {
  /* table */
  table.basic,
  table.basic tbody,
  table.basic tr,
  table.basic tr th,
  table.basic tr td {
    display: block;
  }
  table.basic tr th {
    width: 100%;
    padding: .5em 1em;
    background: #eee;
    border-bottom: 1px solid var(--line);
  }
  .flexarea div {
    margin: 5% 0;
  }
}
@media all and (min-width: 768px) {
  .flexarea {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .flexarea div {
    flex-basis: calc(98% / 2);
  }
  ul#btnbloc {
    display: flex;
    justify-content: center;
  }
  ul#btnbloc li {
    flex-basis: calc(90% / 2);
  }
}
/* style */
.mt {
  margin: 5% 0 0 !important;
}
.mb {
  margin: 0 0 5% !important;
}
.mtb {
  margin: 5% 0 !important;
}
.mtba {
  margin: 3% auto !important;
}
.ptb {
  padding: 3% 0 !important;
}
.tc {
  text-align: center !important;
}
.tr {
  text-align: right !important;
}
.tmin {
  font-size: .8em !important;
}
.tbold {
  font-weight: bold !important;
}