@charset "utf-8";

/*reset*/
* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}

ol,
ul {
  list-style: none;
}

i {
  font-weight: normal;
}

a {
  transition: 0.3s;
  text-decoration: none;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* layout */
/* common */
body {
  color: #33322c;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.1rem;
  font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
}

.wrap {
  margin: 0 auto;
  width: 96%;
  max-width: 1200px;
}

h2 {
  font-size: 2rem;
  font-weight: normal;

}

.damion {
  font-family: 'Damion', cursive;
}

.sp {
  display: none;
}

@media screen and (max-width: 900px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

.br400 {
  display: none;
}

@media screen and (max-width: 400px) {
  .br400 {
    display: block;
  }
}

.br700 {
  display: none;
}

@media screen and (max-width: 700px) {
  .br700 {
    display: block;
  }
}

.br900 {
  display: none;
}

@media screen and (max-width: 900px) {
  .br900 {
    display: block;
  }
}

/* end@common */
/* start@header */
.header {
  width: 100%;
  position: relative;
  height: 100vh;
  background-image: url(/img/bg/bg_top.png);
  background-repeat: no-repeat;
  background-size: cover;

}

.navBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  position: fixed;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.75);
  width: 100%;
}

h1 {
  height: 60px;
  padding-left: 2%;
}

h1 img {
  width: 50%;
  ;
}

#g-nav {
  width: 50%;
  padding-right: 2%;
}

#g-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: yellow; */
}

#g-nav ul {
  /* font-weight: bold; */
  font-size: 1.6rem;
  text-align: center;
}

#g-nav ul a {
  color: #33322c;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

#g-nav ul a::after {
  position: absolute;
  bottom: 8px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

#g-nav ul a:hover::after {
  transform: scale(1, 1);
}

.absoImgBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

}

.absoImgBox .topLeft,
.absoImgBox .topRight {
  margin-top: 60px;
  width: 21%;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.absoImgBox .topLeft {
  padding-right: 2.5%;
  background-color: rgba(255, 255, 255, 0.75);
}

.absoImgBox .topRight {
  padding-left: 2.5%;
  background-color: rgba(255, 255, 255, 0.75);
}

.absoImgBox img {
  width: 100%;
}

.topLeft,
.topRight {
  width: 21%;
}

.catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 100;
  width: 100%;
  text-align: center;

}

.catch p {
  font-size: 3.6rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.75);
  border-bottom: 3px solid #FFAE0C;
  box-shadow: 1px 5px 0px -1px #fff;
  display: inline-block;
}



.animate {
  margin: 100px 0 0;
  border-bottom: 3px solid #FFAE0C;
  background-color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  box-shadow: 1px 5px 0px -1px #fff;
  display: inline-block;

}

.animate span {
  display: inline-block;
}

.animate span:nth-of-type(2) {
  animation-delay: .05s;
}

.animate span:nth-of-type(3) {
  animation-delay: .1s;
}

.animate span:nth-of-type(4) {
  animation-delay: .15s;
}

.animate span:nth-of-type(5) {
  animation-delay: .2s;
}

.animate span:nth-of-type(6) {
  animation-delay: .25s;
}

.animate span:nth-of-type(7) {
  animation-delay: .3s;
}

.animate span:nth-of-type(8) {
  animation-delay: .35s;
}

.animate span:nth-of-type(9) {
  animation-delay: .4s;
}

.animate span:nth-of-type(10) {
  animation-delay: .45s;
}

.animate span:nth-of-type(11) {
  animation-delay: .5s;
}

.animate span:nth-of-type(12) {
  animation-delay: .55s;
}

.animate span:nth-of-type(13) {
  animation-delay: .6s;
}

.animate span:nth-of-type(14) {
  animation-delay: .65s;
}

.animate span:nth-of-type(15) {
  animation-delay: .7s;
}

.animate span:nth-of-type(16) {
  animation-delay: .75s;
}

.animate span:nth-of-type(17) {
  animation-delay: .8s;
}

.animate span:nth-of-type(18) {
  animation-delay: .85s;
}

.animate span:nth-of-type(19) {
  animation-delay: .9s;
}

.animate span:nth-of-type(20) {
  animation-delay: .95s;
}

.four span {
  color: #33322c;
  opacity: 0;
  transform: translate(0, -100px) rotate(360deg) scale(0);
  animation: revolveDrop .3s forwards;
}


@keyframes revolveDrop {
  30% {
    transform: translate(0, -50px) rotate(180deg) scale(1);
  }

  60% {
    transform: translate(0, 20px) scale(.8) rotate(0deg);
  }

  100% {
    transform: translate(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}



/* end@header */
/* start@service */
#service {
  position: relative;
  padding-top: 60px;
  ;
}

.h2Box1 {
  background-image: url(/img/bg/orangeline1.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 60px;
  text-align: center;
  margin-bottom: 30px;
}

.serviceTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
}

.serviceCenter {
  padding: 0 2%;
  text-align: justify;
}


.gridWrap {
  margin: 0 auto;
  display: grid;
  grid-gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  justify-items: center;
  align-items: center;
  padding-bottom: 30px;
}

.item {
  background-color: #807f8d;
  height: 245px;
  width: 330px;
  position: relative;
}

.item .check {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
}

h4 {
  text-align: center;
  margin-top: 27px;
  margin-bottom: 7px;
  color: #fff;
}

hr {
  width: 90%;
  margin: 0 auto;

}

.item p {
  color: #fff;
  padding: 20px 15px;
  text-align: justify;
}

.gridIcon {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  width: 60px;
}

.underbg {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

/* end@service */
/* start@info */
.info {
  background-image: url(/img/bg/bg_cInfo.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 60px;
  padding-bottom: 90px;
}

.h2Box2 {
  background-image: url(/img/bg/orangeline2.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 60px;
  text-align: center;
  margin-bottom: 30px;
}

.h2Box2 h2 {
  color: #fff;
  ;
}

.infoCenter {
  background-color: rgba(255, 255, 255, 0.75);
  width: 700px;
  height: 280px;
  margin: 0 auto;
  border-radius: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.infoCenter li {
  font-weight: bold;
}

.infoSpwrap {
  display: none;
}

.bold {
  font-weight: bold;
}

/* end@info */
/* start@contact */
#contact {
  padding-top: 60px;
  background-color: #cac7b0;
  position: relative;
}

.h2Box3 {
  background-image: url(/img/bg/orangeline3.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 60px;
  text-align: center;
  margin-bottom: 30px;

}

.wain {
  position: absolute;
  top: 0;
  right: 0;
  width: 15%;
  padding: 60px 5%;
}

#formWrap {
  padding-bottom: 30px;
  ;
}

.formTable {
  margin: 0 auto;
}

.formTable tr {
  height: 47px;
  width: 20%;
}

.formTable td {
  width: 62%;
}

.formTable .second {
  width: 18%;
}

.formTable tr th {
  text-align: left;
}

.formTable tr th span {
  color: #fff;
  padding-right: 1rem;
  font-size: 2.5rem;
  font-weight: 100;
}

.formTable tr td input,
.formTable tr td textarea {
  /* height: 45px; */
  padding: 13px;
  border: 2px solid #807f8d;
  border-radius: 5px;
  ;
}

.formTable tr td textarea {
  margin-top: 11px;
}

.formTable tr td .w1 {
  width: 55%;
}

.formTable tr td .w2 {
  width: 45%;
}

.formTable tr td .w3 {
  width: 90%;
}

.caption {
  color: #fff;
  text-align: center;
  padding-bottom: 5px;
}

.submit {
  text-align: center;
}

.button {
  padding: 10px 25px;
  border-radius: 5px;
  background-color: #FFAE0C;
  color: white;
  font-size: 1.2rem;
  font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
  transition: 0.3s;
}

.button:hover {
  color: #FFAE0C;
  background-color: #fff;

}

.footer {
  text-align: center;
  color: #fff;
  height: 100px;
  background-color: #807f8d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.footer .pLink {
  color: #fff;
  transition: 0.3s;
}

.footer .pLink:hover {
  color: #000;
}

#pagetop {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 25px;
}

#pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: #cac7b0;
  text-align: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  line-height: 50px;
}

/* responsive */
@media screen and (max-width: 1660px) {
  .catch p {
    font-size: 3rem;
  }

  .animate {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 1430px) {
  .catch p {
    font-size: 2.5rem;
  }

  .animate {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 1190px) {
  .catch p {
    font-size: 2rem;
  }

  .animate {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 970px) {
  .catch p {
    font-size: 1.8rem;
  }

  .animate {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 900px) {
  h2 {
    font-size: 1.5rem;
  }

  .navBox {
    width: 100%;
    justify-content: space-between;
    align-items: center;

  }

  .infoCenter {
    display: none;
  }

  .absoImgBox {
    display: none;
    ;
  }

  .catch {
    font-size: 1rem;
  }

  .serviceTop {
    flex-direction: column;

  }

  .serviceCenter {
    margin: 30px auto;
  }

  .serviceCenter h3 {
    border-bottom: 2px solid #FFAE0C;
  }

  .infoSpwrap {
    display: block;

    margin: 0 auto;
    text-align: center;
  }

  .infoSp {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.75);
    text-align: left;
    padding: 5px 2%;
    border-radius: 5px;
  }

  .formTable {
    width: 100%;
  }

  #formWrap .formTable th,
  #formWrap .formTable td {
    display: block;
  }

  .formTable tr {
    width: 90%;
  }

  .formTable th {
    width: 90%;
  }

  .formTable td {
    width: 90%;
    margin: 0 auto;
  }

  .formTable .second {
    width: 90%;
  }

  .formTable tr td .w1 {
    width: 90%;
  }

  .formTable tr td .w2 {
    width: 90%;
  }

  .formTable tr td .w3 {
    width: 90%;
  }

  /*========= ナビゲーションのためのCSS ===============*/

  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
  }

  #g-nav ul {
    flex-direction: column;
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*リストのレイアウト設定*/

  #g-nav li {
    list-style: none;
    text-align: center;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn1 {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}

@media screen and (max-width: 330px) {
  .gridWrap {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 5px;
  }

  .item {
    width: 300px;
  }
}