@charset "UTF-8";

/*----------------------------------------
  Base
----------------------------------------*/
html,
body {
  height: 100%;
  font-family: "noto-sans-cjk-jp", sans-serif;
}

h3 {
  font-family: var(--sub-font_1);
}

p {
  color: var(--main-color);
}

:root {
  --main-color: #141414;
  --sub-color: #1B1310;
  --main-font: "noto-sans-cjk-jp", sans-serif;
  --sub-font_1: "Roboto", sans-serif;
  --sub-font: "hiragino-kaku-gothic-pron", sans-serif;
}

/*----------------------------------------
  Layout
----------------------------------------*/


/*----------------------------------------
  Header
----------------------------------------*/
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  height: 55px;
  padding: 0 4%;
  background: var(--sub-color);
  border-bottom: 1px solid #fff;
}

.site-logo {
  width: 45px;
  height: auto;
}

/*----------------------------------------
  hamburger
----------------------------------------*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0;
  /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: var(--sub-color);
  /*動き*/
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}

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

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

#g-nav.panelactive ul {
  display: block;
}

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

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

#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--sub-font_1);
  font-weight: bold;
  line-height: 3.5;
  transition: 0.3s;
}

#g-nav li a:hover {
  color: #7e7e7e;
  transition: 0.3s;
}


/*========= ボタンのためのCSS ===============*/
.openbtn {
  width: 100%;
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 5px;
  right: 10px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: var(--sub-color);
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 11px;
  height: 2px;
  background-color: #fff;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 11px;
}

.openbtn span:nth-of-type(2) {
  top: 20px;
}

.openbtn span:nth-of-type(3) {
  top: 30px;
}

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

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

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

.active {
   overflow: hidden;
}

/*========= g--nav.spでは非表示 ===============*/
@media screen and (min-width: 577px) {
  .openbtn {
    display: none;
  }
}

/*----------------------------------------
  Main
----------------------------------------*/
.site-visual {
  width: 100%;
  position: relative;
}

.main-visual__sp {
  width: 100%;
  height: 590px;
  object-fit: cover;
}

.main__title {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title__logo {
  width: 300px;
  height: auto;
  padding: 0 10px;
  opacity: 0.5;
  /*itemCの不透明度を50％に指定*/
}

@media screen and (max-width: 575px) {
  .main-visual__pc {
    display: none;
  }
}

/*========= about ===============*/
.about .container {
  padding: 0 4%;
  margin: 0 auto;
}

.about h3 {
  padding-top: 100px;
  font-size: 2.25rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
}

.about h4,
.service h4 {
  padding-top: 70px;
  flex-direction: column;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 2.2px;
  line-height: 2;
}

.about p {
  padding-top: 30px;
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 1.6px;
  line-height: 2;
}

/*========= service ===============*/
.service .container,
.news .container,
.contact .container {
  padding: 0 4%;
  margin: 0 auto;
}

.service h3,
.news h3 {
  padding-top: 150px;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-align: center;
  letter-spacing: 2px;
}

.service .wrapper {
  align-items: center;
}

.service h4 br {
  display: block;
}

.service .line-break {
  display: block;
}


.service .service__item_reverse h4 {
  padding-top: 50px;
}

.service p {
  padding: 30px 0 40px 0;
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 2;
}


.service__item_1,
.service__item_2 {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/*========= news ===============*/
.news h3 {
  padding-bottom: 70px;
  letter-spacing: 1.2px;
}

.news .news__wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}

.news__items {
  box-shadow: 0 0 5px 1px #707070;
}

.nesw__item {
  height: auto;
}

.news dt img {
  width: 100%;
  height: auto;
}

.news dd {
  margin: 26px 35px;
  font-family: var(--sub-font);
  font-size: 0.875rem;
  font-weight: 600;
}

/*========= contact(info) ===============*/

.contact h3 {
  font-family: var(--main-font);
  padding-top: 150px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-align: center;
  letter-spacing: 2px;
}

.info__wrappe {
  padding-top: 71px;
}

.info__wrappe p {
  font-family: var(--sub-font);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}


/*========= フォームボタン ===============*/
.info__wrappe .input {
  height: 30px;
  border: 1px solid #000;
}

.input,
input {
  width: 100%;
  height: 30px;
  margin-bottom: 25px;
  padding: 0 4%;
  border: 1px solid #000;
}


textarea {
  width: 100%;
  height: 171px;
  margin-top: 5px;
  border: 1px solid #000;
}

input[type="submit"] {
  display: inline-block;
  width: 62.67%;
  height: 60px;
  background: var(--main-color);
  border-radius: 30px;
  text-align: center;
  color: #fff;
  font-family: avenir-lt-pro, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  box-shadow: 0 0 8px #1B1310;
  margin: 50px 0;
  transition: 0.2s;
}

.info__wrappe p:last-child {
  text-align: center;
}


/*----------------------------------------
  Footer
----------------------------------------*/
.footer {
  max-width: 100%;
  height: 60px;
  padding: 20px 0;
  color: #fff;
  background: var(--sub-color);
  font-family: var(--sub-font_1);
  font-size: 0.8125rem;
  text-align: center;
  letter-spacing: 1px;
}

/*========= hb.pcでは非表示 ===============*/

@media screen and (max-width: 576px) {
  #main-nav {
    display: none;
  }
}


/*----------------------------------------
  レスポンシブ /* 画面幅576px以上の場合に適用するスタイル */
/*========= header ===============*/
@media(min-width: 576px) {
  #header {
    height: 74px;
    align-items: center;
  }

  #header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 8.33%;
  }

  .site-logo {
    width: 80px;
  }

  #main-nav menu {
    display: flex;
    font-family: var(--sub-font_1);
    font-weight: 600;
    gap: 55px;

  }

  #main-nav menu li a {
    color: #fff;
    transition: 0.3s;
  }


  #main-nav menu a:hover {
    color: #4e4e4e;
    transition: 0.3s;
  }

  .title__logo {
    width: 50%;
  }

  /*========= main_v ===============*/
  .main-visual__pc {
    width: 100%;
  }

  /*========= main ===============*/

  .main-visual__sp {
    display: none;
  }

  /*========= about pc ===============*/

  .about .container,
  .news .container,
  .service .container .contact .container {
    max-width: 100%;
    padding: 0 5%;
  }

  h3 {
    max-width: 1030px;
    font-size: 2.25rem;
    margin: auto;

  }

  .about h4 {
    max-width: 1030px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.5rem;
  }

  .about p {
    max-width: 1030px;
    padding-top: 41px;
    margin: auto;
  }

  /*========= Service pc ===============*/
  .service .wrapper {
    width: 100%;
    margin: auto;
  }

  .service h3,
  .news h3 {
    display: block;
    padding-bottom: 70px;
  }

  .service .line-break {
    display: block;
  }

  .service h4 {
    max-width: 1030px;
    padding-top: 0;
    margin: 0 auto;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }

  .service__item_1,
  .service__item_2,
  .item__wrapper {
    width: 480px;
    height: auto;
    object-fit: cover;

  }

  .service__item {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    max-width: 1030px;
    gap: 70px;
    margin: 0 auto;
  }

  .service__item p {
    padding-bottom: 0;
  }

   .service p {
    padding-top: 41px;
   }

  .service__item_reverse p {
    padding-bottom: 0;
  }

  .service .service__item_reverse h4 {
    padding-top: 0;
  }

  .service__item_reverse {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    max-width: 1030px;
    gap: 70px;
    margin: 0 auto;
    padding-top: 50px;
  }

  /*========= news pc ===============*/
  .news .news__wrapper {
    max-width: 1030px;
    justify-content: space-between;
    flex-direction: row;
    gap: 34px;
    padding: 0;
    margin: auto;
  }

  .news dd {
    margin: 25px 32px;
    font-size: 0.8125rem;
  }

  /*========= contact pc ===============*/

  .info__wrappe {
    max-width: 700px;
    padding: 0 5.9%;
    margin: 0 auto;
  }

  input[type="submit"]:hover {
    background: #4e4e4e;
  }

  /*========= footer pc ===============*/
  .footer {
    height: 79px;
    font-size: 0.875rem;
  }
}

/*----------------------------------------
  レスポンシブ /* 画面幅992px以下の575px以上の場合に適用するスタイル 
/*----------------------------------------*/

@media screen and (min-width:425px) and (max-width: 845px) {

  .container {
    padding: 0 3%;
  }

  .news dd {
    margin: 18px 25px;
    font-size: 0.8125rem;
  }

  /*========= Service ===============*/
  .service__item,
  .service__item_reverse {
    gap: 34px;
  }
  .service h4:nth-child(2) {
  padding-top: 50px;
}
  .service__item,
  .service__item_reverse {
    flex-direction: column;
    align-items: center;
  }

  .service__item_reverse {
    padding-top: 70px;
    gap: 34px;
  }

  .service__item_1,
  .service__item_2,
  .item__wrapper {
    width: 100%;
  }

  .news .news__wrapper {
    max-width: 100%;
    flex-direction: column;
    gap: 50px;
  }


}

