@charset "UTF-8";
/*** The new CSS reset - version 1.5.1 (last updated 1.3.2022) ***/
*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  /* scroll-behavior: smooth; */
}

a,
button {
  cursor: revert;
}

ol,
ul,
menu {
  list-style: none;
}

img {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

table {
  border-collapse: collapse;
  word-break: break-all;
  word-wrap: break-all;
}

textarea {
  white-space: revert;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #585858;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.1rem;
}

body p {
  line-height: 2;
}

.btn {
  position: relative;
  border: 3px solid #58975c;
  display: block;
  width: 90%;
  background: #fff;
  border-radius: 5rem;
  text-align: center;
  color: #58975c;
  padding: 12px 0;
  font-weight: bold;
  margin: 30px auto 0;
  -webkit-box-shadow: 3px 3px 0px #e4e4e4;
  box-shadow: 3px 3px 0px #e4e4e4;
  max-width: 350px;
}

.btn::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  border-top: 2px solid #7a0;
  border-right: 2px solid #7a0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-size: contain;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.pc {
  display: none !important;
}
@media screen and (min-width: 700px) {
  .sp {
    display: none !important;
  }
  .pc {
    display: block !important;
  }
}

.contact a {
  display: block;
  text-align: center;
  /* margin-block: 60px; */
  width: 96%;
  max-width: 376px;
  margin-inline: auto;
}

#mainvisual {
  background: #fafafa;

  padding-top: 86px;
}

.main_bottom {
  max-width: 100%;
  margin-inline: auto;
}
.banner {
  position: relative;
}
.banner .ctrbtn {
  position: absolute;

  bottom: 20%;
  left: 50%;
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  width: 80%;
}

#sec01 {
}

#sec02 {
}

#sec03 {
}

#sec04 {
}

#sec05 {
}
#contact {
  background: #f0f0f0;
  padding-bottom: 50px;
}

#contact .title {
  display: block;
  margin-inline: auto;
}
@media screen and (min-width: 700px) {
  .main_bottom {
    background: url(../img/image01_bk.jpg);
    background-size: cover;
    padding: 50px 0;
  }
  .main_bottom img {
    width: 95%;
  }
  .banner {
    background: url(../img/image01_bk.jpg);
    background-size: cover;
    padding: 50px 0 250px;
  }
  .banner .ctrbtn {
    max-width: 600px;
  }
  #sec02 {
    background: #f0f0f0;
  }
  #sec04 {
    background: #f0f0f0;
  }
}

/*-----form-------*/
form {
  margin: 0 auto;
  max-width: 800px;
  width: 95%;
  font-weight: bold;
}
form .box {
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.05);
  color: #1e1e1e;
  padding: 20px;
  margin: 20px 0;
}

form span {
  color: #bb0c0c;
}

form input,
form textarea {
  border: 2px solid #d6d6d6;
  border-radius: 5px;
  padding: 4px;
  width: 100%;
  margin-bottom: 20px;
}

form input[type="submit"] {
  -webkit-appearance: none;
  background: #1e1e1e;
  border-radius: 100px;
  width: 250px;
  text-align: center;
  color: #fff;
  margin-inline: auto;
  display: block;
  padding-block: 10px;
  font-size: 18px;
  margin: 40px auto;
}
@media screen and (min-width: 700px) {
  form .box {
    padding: 50px 100px;
  }
}

/* ----menu---- */
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  top: 0px;
  right: 0;
  z-index: 100;
  cursor: pointer;
  width: 80px;
  height: 80px;
  border-radius: 0 0 0 20px;
  position: fixed;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: "";
  display: block;
  height: 4px;
  width: 34px;
  border-radius: 3px;
  background: #4898bb;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
}

.drawer_open:after {
  position: absolute;
  content: "";
  bottom: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
.sp_navbtn.open .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
.sp_navbtn.open .drawer_open span::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sp_navbtn.open .drawer_open span::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 100%;
  left: 0%;
  /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-align: center;
  padding: 20px;
}

.nav_list {
  list-style: none;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
}

/* アイコンがクリックされたらメニューを表示 */
.nav_content.open {
  bottom: 0;
  /* メニューを画面に入れる */
}

/*ハンバーガーメニュー内容*/
@media screen and (max-width: 699px) {
  .nav_content ul.sp {
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 20px;
  }

  .nav_content ul.sp a {
    color: #b5b5b5;
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 3px;
  }

  .nav_content ul:first-child a {
    display: block;
    border-bottom: 1px dashed #e3e3e3;
    width: 90%;
    margin: 0 auto;
    padding: 6px 0;
    font-size: 18px;
    color: #000000;
  }
  .nav_content .sp img {
    padding: 30px 0 15px;
  }
}

/* ----header---- */
header {
  position: fixed;
  background: #fff;
  width: 100%;
  z-index: 100;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05); /*これを付け足し*/
}
header div.flexbox {
  display: flex;
  margin-left: 2%;
}
h1#logo img {
  max-width: 200px;
  margin-block: 15px;
}
.top_btn {
  display: flex;
  margin-block: auto;
}
.top_btn img {
  max-width: 250px;
}

@media screen and (min-width: 700px) {
  header {
    width: 100%;
    position: fixed;
    margin-inline: auto;
    padding: 0;
    z-index: 2;
    top: 0;
  }
  h1#logo img {
    max-width: 250px;
    margin-block: 15px;
  }

  .drawer_open {
    display: none;
  }
  .nav_content {
    position: unset;
    margin: 0 auto;
    padding-right: 1%;
    padding-left: 1%;
  }

  .nav_content ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 0 0 auto;
    /* row-gap: 10px; */
  }

  .nav_content a {
    color: #000000;
    border-right: 1px solid #000000;
    padding: 0 10px;
    font-size: 15px;
    letter-spacing: 0.15em;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .nav_content li:nth-child(4) a {
    /* border-right: none; */
  }

  .nav_content li:last-child a {
    border-right: none;
  }
}

/* ----footer---- */
footer {
  background: url(../img/image01_bk.jpg);
  background-size: cover;
}
footer .f_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  margin-bottom: 10px;
}
footer img {
  display: block;
  width: 90%;
  max-width: 300px;
  padding: 40px 0;
}

footer > p {
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 0;
  margin-top: 15px;
}

footer .f_nav a {
  color: #fff;
  border-right: 1px solid #fff;
  padding: 0 10px;
  font-size: 15px;
  letter-spacing: 0.15em;
  font-weight: bold;
  letter-spacing: 1px;
}

footer .f_nav li:last-child a {
  border-right: none;
}

#formWrap {
  border: #1e1e1e solid 1px;
  border-radius: 10px;
  max-width: 800px;
  margin-inline: auto;
  width: 96%;
  padding: 10px;
  background-color: #fff;

  font-size: 14px;
}
#formWrap p {
  padding-bottom: 10px;
}
#formWrap h4 {
  color: red;
}
#formWrap input[type="button"] {
  background: #fff;
  border: 1px solid #000;
  border-radius: 30px;
  display: block;
  margin-inline: auto;
  width: 250px;
  padding-block: 15px;
  font-size: 16px;
  margin: 40px auto;
  text-align: center;
}

td {
  padding: 10px 0 10px 5px;
}
@media screen and (min-width: 700px) {
  #formWrap {
    font-size: 16px;
    padding: 20px;
  }
}
