/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,*::before,*::after{box-sizing:border-box}*{margin:0}html,body{height:100%}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}#root,#__next{isolation:isolate}
/* end reset css */
#container {
  font-family: 'Noto sans JP', sans-serif;
  line-height: 2;
  font-size: 16px;
  position: relative;
  z-index: 0;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #3D2F29;
}
.br--pc-only {
  display: inline;
}
.br--sp-only {
  display: none;
}


/* mv */
section.mv{
  position: relative;
  z-index: 0;
}
.mv__content {
  background-image: url("img/mv.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 400px;
}
/* end mv */
/* message */
.message__top {
  position: relative;
}
.message__top__deco--left ,
.message__top__deco--right {
  position: absolute;
  z-index: -1;
  width: 250px;
}
.message__top__deco--left {
  left: 0;
  top: -50px;
}
.message__top__deco--right {
  right: 0;
  top: -70px;
}
.message__top__inner {
  max-width: 400px;
  margin: 0 auto;
  margin-top: 30px;
  display: flex;
}
.message__top__inner__heading {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  font-family: 'Noto serif JP', serif;
  text-align: center;
  margin: 0 auto;
  position: relative;
  display: inline-block;
  padding: 0 55px;
}
.message__top__inner__heading:before,
.message__top__inner__heading:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 106px;
  height: 4px;
  background-color: #3D2F29;
}
.message__top__inner__heading:before {
  left:-70px;
}
.message__top__inner__heading:after {
  right: -70px;
}
.message__top__inner__heading span{
  font-weight: 700;
}

.message__top__text {
  text-align: center;
  font-size: 16px;
}

.message__bottom {
  max-width: 960px;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}
.message__bottom__left {
  width: 40%;
  margin-right: 10px;
}
.message__bottom__left__img--pc {
  display: inline;
}
.message__bottom__left__img--sp {
  display: none;
}
.message__bottom__right {
  width: 60%;
  margin-left: 10px;
}
.message__bottom__right__heading {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 24px;
  font-style: normal;
  letter-spacing: 0.04em;
  border-bottom: 4px solid #3D2F29;
  padding-bottom: 10px;
}

.message__bottom__right__text {
  margin-top: 20px;
}

/* end message */

/* about */
.about {
  margin-top: 100px;
  margin-bottom: 70px;
  position: relative;
}
.about__deco {
  position: absolute;
  top: -100px;
  right: 0;
  z-index: 1;
  width: 150px;
}
.about__inner {
  display: flex;
  flex-direction: row;
}
.about__inner__left {
  width: 50%;
  background-image: url("img/img_about.jpg");
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.about__inner__left__heading {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 36px;
  text-align: center;
  font-weight: 700;
  z-index: 2;
}
.about__inner__right {
  width: 50%;
  background-color: #3D2F29;
  color: #fff;
  padding: 90px;
}
/* end about */

/* merit */
.merit__heading {
  font-weight: 700;
  font-size: 24px;
  font-family: 'Noto Sans JP';
  text-align: center;
  max-width: unset;
}
.merit__heading span {
  position: relative;
  padding-bottom: 15px;
  border-bottom: 4px solid #3D2F29;
  display: inline-block;
  font-weight: 700;
}
/* .merit__heading span:before {
  content: '';
  width: 100%;
  height: 4px;
  position: absolute;
  bottom: -15px;
  left: 0;
  background-color: #3D2F29;
} */
.merit__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 40px;
}
.merit__inner__item {
  width: 45%;
  padding-bottom: 50px;
}
.merit__inner__item:nth-child(2),
.merit__inner__item:nth-child(4) {
  padding-top: 80px;
}
.merit__inner__item__flex {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
}
.merit__inner__item__flex__num {
  font-size: 48px;
  font-weight: 700;
  color: #967856;
  padding-right: 40px;
  font-family: 'Noto serif JP', serif;
}
.merit__inner__item__flex__num p{
  font-weight: 700;
}
.merit__inner__item__flex__content h3 {
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 1.17em;
}
/* end merit */
/* inquire */
.inquire {
  background-color: #E5E1D8;
  padding-top: 60px;
  padding-bottom: 60px;
}
.inquire__heading {
  font-weight: 700;
  font-size: 24px;
  font-family: 'Noto Sans JP';
  text-align: center;
  max-width: unset;
}
.inquire__heading > span {
  position: relative;
  padding-bottom: 15px;
  border-bottom: 4px solid #3D2F29;
  display: inline-block;
  font-weight: 700;
}
.inquire__text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}
.inquire b{
  font-weight: 700;
}
.form {
  max-width: 800px;
  margin: 0 auto;
}
.form__inner__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
.form__inner__item label > span {
  background-color: #FF451D;
  color: #fff;
  border-radius: 4px;
  padding: 3px;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 700;
}
.form__inner__item__input {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.form input ,
.form textarea ,
.form select ,
.form button{
  border: none;
  border-radius: 6px;
  padding: 10px;
}
input[name="last_name"] ,
input[name="first_name"] ,
input[name="last_name_kana"] ,
input[name="first_name_kana"] {
  width: 48%;
}
input[name="email"] ,
input[name="tel"] {
  width: 70%;
}
.form__submitBtn {
  color: #fff;
  background-color: rgb(61, 47, 41);
  display: block;
  margin: 0 auto;
  border-radius: 0;
  width: 200px;
  padding: 15px;
}


/* end inquire */

/* confirmHeading */
.mainVis.confirm {
  margin: 0 auto;
  height: 240px;
}
.mainVis.confirm h1 {
  font-weight: 300;
  font-size: 36px;
}
.mainVis.confirm p {
  font-size: 12px;
  margin: 0 20px;
}
/* end confirmHeading */
/* confirmContents */
.confirmContents {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 0;
}
.confirmContents__heading {
  font-weight: 700;
  font-size: 24px;
  font-family: 'Noto Sans JP';
  text-align: center;
  max-width: 100%;
}
.confirmContents__heading > span {
  position: relative;
  padding-bottom: 15px;
  border-bottom: 4px solid #3D2F29;
  display: inline-block;
}
.confirmContents__text {
  text-align: center;
  margin: 40px 0;
}
.confirmItem {
  margin-bottom: 20px;
}
.confirmBtnWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;

}
.confirmContents .confirmBackBtn ,
.confirmContents .confirmSubmitBtn {
  border: none;
  padding: 5px;
  display: block;
  width: 150px;
}
.confirmContents .confirmSubmitBtn {
  margin-left: 30px;
  color: #fff;
  background-color: rgb(61, 47, 41);
}

/* end confirmContents */
/* thanksHeading */
.mainVis.thanks {
  margin: 0 auto;
  height: 240px;
}
.mainVis.thanks h1 {
  font-weight: 300;
  font-size: 36px;
}
.mainVis.thanks p {
  font-size: 12px;
}
/* end thanksHeading */
/* end thanksContents */
.thanksContents {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
}
.thanksContents__deco {
  text-align: center;
}
.thanksContents__deco img {
  display: inline;
  width: 150px;
}
.thanksContents h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
  text-align: center;
  max-width: 100%;
}
.thanksContents a {
  color: #fff;
  padding: 10px;
  display: block;
  background-color: #3D2F29;
  max-width: 200px;
  margin: 40px auto;
}
/* end thanksContents */

/* sp style */
@media screen and (max-width:480px){
  .br--pc-only {
    display: none;
  }
  .br--sp-only {
    display: inline;
  }

  .message__top {
    margin-top: 30px;
   }
  .message__top__deco--left,
  .message__top__deco--right {
    width: 80px;
  }
  .message__top__inner,
  .message__top__text {
    max-width: 95%;
    margin: 0 auto;
  }
  .message__top__inner__heading:before,
  .message__top__inner__heading:after {
    width: 40px;
  }
  .message__top__inner__heading:before {
    left: 0;
  }
  .message__top__inner__heading:after {
    right: 0;
  }
  .message__top__text {
    text-align: center;
  }
  .message__top__inner__heading {
    font-size: 38px;
  }
  .message__bottom {
    flex-direction: column;
    width: 100%;
  }
  .message__bottom__left,
  .message__bottom__right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .message__bottom__left {
    margin-bottom: 20px;
  }
  .message__bottom__left__img--pc {
    display: none;
  }
  .message__bottom__left__img--sp {
    display: inline;
  }
  .message__bottom__right {
    text-align: center;
  }
  .message__bottom__right__heading {
    font-size: 20px;
    padding-top: 20px;
  }
  .message__bottom__right__text {
    text-align: left;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .about__inner {
    flex-direction: column;
  }
  .about__inner__left ,
  .about__inner__right {
    width: 100%;
  }
  .about__inner__left {
    height: 300px;
  }
  .about__inner__right {
    padding: 40px 10px 40px 10px;
  }
  .merit__inner {
    flex-direction: column;
  }
  .merit__inner__item {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .merit__inner__item:nth-child(2),
  .merit__inner__item:nth-child(4) {
    padding-top: 0;
  }
  .merit__inner__item__flex {
    flex-direction: column;
    padding: 0;
  }
  .merit__inner__item__flex__num {
    font-size: 30px;
    text-align: center;
    padding: 0;
    line-height: 1.8;
  }
  .inquire__text {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .form {
    max-width: 90%;
    margin: 0 auto;
  }
  .thanksHeading__inner ,
  .confirmHeading__inner {
    width: 90%;
  }
  .mainVis.confirm,
  .mainVis.thanks{
    height: auto;
    padding: 8px 0 10px;
  }
  .mainVis.confirm h1,
  .mainVis.thanks h1{
    line-height: 1.25;
    font-size: 22px;
  }
  .mainVis.confirm p,
  .mainVis.thanks p{
    text-align: center;
  }
  .thanksContents ,
  .confirmContents {
    width: 90%;
  }
  .thanksContents p {
    text-align: left;
  }
}
/* end sp style */
