@charset "UTF-8";

/*
VARIABLES
================================================ */
:root {
  --green: #bed01c;
  --yellow-green: #6ab91c;
  --light-grey: #eee;
  --grey: #484A4e;
  --deep-gray: #27343c;
  --dark-grey: #222;
  --black: #000;
  --white: #fff;
}

/*
共通パーツ
================================================ */
.bg-title {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: var(--white);
  font-size: 2.5rem;
  font-size: 40px;
  filter: drop-shadow(1px 1px 10px #c0c0c0);
}

.title1 {
  width: 100%;
  text-align: center;
  color: var(--white);
  font-size: 2.5rem;
  font-size: 40px;
  filter: drop-shadow(1px 1px 10px #c0c0c0);
}

.title2 {
  display: inline-block;
  font-size: 2rem;
  font-size: 32px;
  border-bottom: solid 6px #e03131;
  margin-bottom: 70px;
}

.inner {
  /* wrapper */
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
}

#philosophy .inner2 {
  padding: 90px 16px;
}

.section03 dl,
.section04 dl {
  display: grid;
  grid-gap: 20px;
  align-items: flex-start;
  grid-template-columns: 20% auto;
  text-align: left;
  margin-top: 16px;
  line-height: 1.9;
}


@media (min-width: 800px) {
  .inner2 {
    max-width: 46%;
    margin: 0 auto;
    padding: 90px 16px 0px;
    font-size: 17px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .inner2 {
    max-width: 100%;
    margin: 0 auto;
    padding: 90px 16px 0px;
    font-size: 17px;
    text-align: center;
  }

  #philosophy .inner2 {
    max-width: 100%;
    margin: 0 auto;
    padding: 90px 16px;
    font-size: 17px;
    text-align: center;
  }
}

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

p.txt {
  line-height: 2;
  text-align: justify;
  /*均等割り付け*/
}

section {
  position: relative;
  z-index: 0;
}

ul,
dl {
  text-align: left;
}

/*
ローディング
================================================ */
#loading {
  background-color: var(--light-grey);
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
}

#loading p {
  font-size: 1.3rem;
  font-weight: bold;
}

/*
header
================================================ */
/* PC */
@media screen and (min-width: 960px) {
  .header-inner {
    display: grid;
    grid-gap: 30px;
    align-items: center;
    /*grid-template-columns: 260px auto 190px 190px;*/
    grid-template-columns: 292px auto;
    padding: 32px 40px;
    background-color: var(--deep-gray);
  }

  header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  nav li {
    margin-left: 30px;
  }

  .menu-list {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
  }

  nav a,
  .logo a {
    color: var(--white);
    font-weight: bold;
  }
}

/* SP */
@media screen and (max-width: 820px) {
  .logo a {
    color: var(--white);
    font-weight: bold;
    filter: drop-shadow(1px 1px 2px #121212);
  }

  .header-inner {
    padding: 0px 16px;
    background-color: var(--deep-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
}

/*
メイン画像
================================================ */
.main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  font-size: min(10vw, 7rem);
  color: var(--white);
  filter: drop-shadow(1px 5px 10px #c0c0c0);
}

.hero {
  height: 100vh;
  background-image: url("../img/mainvisual.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

/*
SP nav
================================================ */
/* スライドメニューパネル */
@media screen and (max-width: 820px) {
  .menu-list li {
    margin: 1.5rem 0;
  }

  .menu-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
  }

  /* スライドメニューパネルここから */
  .open .sp-nav {
    right: 0;
  }

  .sp-nav {
    position: fixed;
    top: 0%;
    right: -100%;
    width: max(32vw, 18rem);
    height: 100vh;
    background-color: var(--yellow-green);
    box-shadow: 0 0 2rem var(--dark-grey);
    transition: all 0.5s;
    z-index: 200;
    overflow-y: auto;
    padding: 8rem 2rem 2rem;
    opacity: 0.95;
  }

  .hamburger {
    position: relative;
    width: 27px;
    height: 15px;
    cursor: pointer;
    z-index: 300;
  }

  .open .hamburger__line {
    background-color: var(--white);
  }

  .hamburger__line {
    content: "";
    position: absolute;
    left: 0;
    width: 27px;
    height: 1px;
    background-color: var(--white);
    transition: all 0.5s;
  }

  .hamburger__line-1 {
    top: 0px;
  }

  .open .hamburger__line-1 {
    transform: rotate(-45deg);
    top: 11px;
  }

  .hamburger__line-2 {
    top: 7px;
  }

  .open .hamburger__line-2 {
    opacity: 0;
  }

  .hamburger__line-3 {
    top: 14px;
  }

  .open .hamburger__line-3 {
    transform: rotate(45deg);
    top: 11px;
  }

  .menuScroll {
    overflow: hidden;
  }
}

/* スライドメニューパネルここまで */

/*
parallax
================================================ */
.section {
  background-color: #fff;
  width: 100%;
  height: 100%;
  /*    display: inline flow-root list-item;*/
  display: inline-table;
  /*    justify-content: center;
    align-items: center;
    font-size: 30px;*/
}

.parallax {
  width: 100%;
  height: 300px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: -1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.parallax01 {
  background-image: url(../../assets/img/01.jpg);
}

.parallax02 {
  background-image: url(../../assets/img/02.jpg);
}

/*
section philosophy
================================================ */
/*
section information
================================================ */
@media screen and (max-width: 768px) {
  dl {
    display: grid;
    grid-gap: 20px;
    align-items: center;
    grid-template-columns: 20% auto;
  }
}

/*
section access
================================================ */
.map {
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
  height: 400px;
}

.map iframe {
  width: 100%;
  height: 400px;
}

@media screen and (max-width: 768px) {
  #access dl {
    padding: 0 16px;
  }
}


/*
top戻るボタン
================================================ */
.button_top {
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.button_top {
  background-color: var(--green);
  color: white;
  font-size: 16px;
  width: 65.75px;
  height: 65.75px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: .3s;
  font-size: 12px;
  font-weight: bold;
}

/*btn*/
.page-top {
  background: #37b998;
  bottom: 0;
  cursor: pointer;
  display: none;
  height: 85px;
  position: fixed;
  right: 20px;
  text-align: center;
  width: 85px;
}

.button_top::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(-45deg);
  transition: .3s;
}

@media screen and (max-width: 768px) {
  .page-top::before {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    height: 2.5vw;
    top: 2.375vw;
    width: 2.5vw;
  }
}

.page-top::before {
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
  content: "";
  height: 20px;
  left: 46%;
  position: absolute;
  top: 19px;
  -webkit-transform: rotate(-45deg) translateX(-50%);
  transform: rotate(-45deg) translateX(-50%);
  width: 20px;
}

@media screen and (max-width: 768px) {
  .page-top {
    height: 10.625vw;
    width: 10.625vw;
    right: 0;
    bottom: 11vw;
  }
}

@media screen and (max-width: 768px) {
  .page-top .text {
    padding-top: 5vw;
  }
}

@media screen and (max-width: 768px) {
  .page-top::before {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    height: 2.5vw;
    top: 2.375vw;
    width: 2.5vw;
  }
}

@media screen and (max-width: 768px) {
  .page-top .text {
    padding-top: 5vw;
  }
}

.page-top .text {
  color: #fff;
  font-size: 2.4rem;
  padding-top: 40px;
}

/*
footer
================================================ */
.footer-inner {
  margin-top: 90px;
  padding: 10px 0;
}

#footer {
  position: relative;
  font-size: 0.5rem;
  text-align: center;
}

/*
contact.html
================================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
  display: flex;
}

tbody {
  width: 800px;
  margin: 0 auto;
}

.formTable tr {
  display: flex;
  /*sp*/
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 16px;
}

.formTable th {
  text-align: left;
  width: 35%;
  padding-right: 16px;
}

.formTable th span {
  color: #fff;
  font-weight: bold;
  background: var(--green);
  padding: 0px 5px;
  float: right;
  border-radius: 5px;
}

.formTable td {
  width: 65%;
  text-align: left;
}

.formTable input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 5px;
}

.formTable textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  border-radius: 5px;
}

#formWrap {
  margin-top: 106px;
}

.formWrap__policy {
  max-width: 700px;
  width: 100%;
  height: 200px;
  margin: 14px auto 30px;
  overflow: auto;
  border: 1px solid #ccc;
  padding: 16px;
  border-radius: 5px;
  text-align: left;
}

.formWrap__botton__submit {
  background: var(--yellow-green);
  width: 300px;
  padding: 20px;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  border-radius: 10px;
}

.formWrap__botton {
  text-align: center;
  margin: 20px auto;
}

@media screen and (max-width: 700px) {
  #formWrap {
    margin: 0 auto 20px;
    padding: 0px 30px 0px;
  }

  .formWrap__h2 {
    margin-bottom: 0px;
  }

  .formWrap__h2 img {
    margin: 0 auto;
    text-align: center;
    display: block;
  }

  #formWrap h2 {
    font-size: 1.5rem;
    margin: 60px 0 54px;
  }

  .formTable th {
    width: 100%;
    display: block;
    padding: 0 0 5px;
  }

  .formTable .th2 {
    background: #eee;
  }

  .formTable td {
    width: 100%;
    display: block;
  }

  .formTable textarea {
    width: 100%;
    padding: 10px;
  }

  .formWrap__botton {
    text-align: center;
    margin: 20px auto;
  }

  .formWrap__botton__submit {
    width: 50%;
    padding: 15px;
    background-size: contain;
  }

  .formWrap__botton {
    text-align: center;
    margin: 20px auto;
  }

  .formWrap__policy {
    height: 150px;
  }

  .formWrap__policy p {
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1.5rem;
  }

  .formTable__sutxt {
    line-height: 1.0rem;
    margin-top: 3px;
  }

  /**/
  #formWrap2 {
    width: 100%;
    margin: 10px auto 50px;
  }

  .error_messe_h3 {
    font-size: 1.0rem;
  }

  .error_messe {
    margin: 0 auto 10px;
    width: 95%;
  }

  .form__error__back {
    font-size: 1.0rem;
    letter-spacing: 1px;
    border-radius: 10px;
    width: 50%;
    margin: 0 auto;
    display: block;
  }

  .form__error__next {
    font-size: 1.0rem;
    letter-spacing: 1px;
    border-radius: 10px;
    width: 50%;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .form__fix__h3__tx {
    padding: 0 20px;
  }

  #formWrap .formWrap__botton__check {
    width: 100%;
  }

  #formWrap .formWrap__back {
    padding: 10px 20px;
    font-size: 1.2rem;
    border: 0;
    border-radius: 15px;
    float: none;
    margin-top: 13px;
  }

  #formWrap .formWrap__botton__submit__float {
    float: none;
  }

  #formWrap h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  #formWrap .formWrap__txt {
    font-size: 0.9rem;
    line-height: 1.8rem;
    text-align: left;
  }

  #formWrap .formWrap__submitpage tr {
    display: block;
  }

  #formWrap .formWrap__submitpage th,
  #formWrap .formWrap__submitpage td {
    width: 100%;
    display: block;
    padding: 10px;
    border: none;
  }

  .form__submit {
    width: 100%;
    background: #FF6464;
    padding: 20px 0;
  }

  /*.form__submit  h2{color: #fff; font-weight: bold; text-align: center; letter-spacing: 3px; font-size: 1.0rem;}*/
  .form__submit__sub {
    margin: 20px auto 0;
    font-size: 1.0rem;
    letter-spacing: 1px;
    width: 80%;
    font-weight: bold;
  }

  .form__submit__txtarea {
    width: 95%;
    margin: 20px auto;
  }

  .form__submit__area {
    width: 100%;
    margin: 50px auto;
  }

  .thanks_pt {
    padding-top: 2px;
  }

}

/*プライバシーポリシー*/
.has-text-align-right {
  text-align: right;
}

.post-content ol {
  margin-left: 30px;
  list-style: decimal;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content dl,
.post-content blockquote,
.post-content pre,
.post-content table {
  margin-bottom: 2em;
}

.post-content table th,
.post-content table td {
  padding: 8px 10px;
  border: #ddd solid 1px;
}