@charset "utf-8";

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

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

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 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;
    flex-direction: column;
    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;
  font-size: 14px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

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

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

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

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

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

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  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: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

@media screen and (min-width: 1024px) {
  .openbtn {
    position: none;
    z-index: -9999; /*ボタンを最前面に*/
    top: 0;
    right: 0;
    width: 0;
    height: 0;
  }
}

/*Base style*/
body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding: 0;
  /* background-color: #001728; */
}

/* header */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: #f1f1f1;
  /* background-color: transparent; */
}

.header-logo img {
  width: 80px;
  color: transparent;
}

.header-logo {
  margin: 5px;
}
.header-logo > a {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 28px;
  /* font-family: "Courgette", cursive; */
  /* font-family: "Eczar", serif; */
  font-family: "Hina Mincho", serif;
  /* font-family: "Noto Sans JP", sans-serif; */
}

.header-navlist {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-navitem > a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}

.header-navitem > a:hover {
  border-bottom: 2px solid #333;
}

/*
タイトル 
 */
.border {
  /*コレ*/
  /* border-top: 3px solid #333; */
  /*コレ*/
  border-bottom: 3px solid #333;
  padding: 7px;
  background: white;
  animation: slideIn 1s ease-out;
}

.slide-in-title {
  margin-top: 130px;
  font-size: 50px;
  line-height: 0.6em;
  font-weight: bold;
  text-align: center;
  animation: slideIn 1s ease-out;
}

.slide-in-title p {
  font-size: 25px;
  font-weight: lighter;
  color: #666666;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media screen and (max-width: 480px) {
  .slide-in-title {
    font-size: 30px;
  }

  .slide-in-title p {
    font-size: 16px;
  }
}

main {
  margin-top: 100px;
}

/*
お問い合わせフォーム
*/

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
    width: 70%;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(4) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #2c7cff;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #2c7cff;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 60px;
  border: none;
}

.Form-Btn:hover {
  opacity: 0.7;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
/*
sns
*/
.sns_list {
  margin: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 0 auto;
}

.sns_list img {
  width: 30px;
}

.sns_icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sns_icons .lineContact,
.InstagramContact,
.YoutubeContact,
.FacebookContact,
.TiktokContact {
  margin: 10px;
}

/*モバイル表示*/
@media screen and (max-width: 480px) {
  .sns_list img {
    width: 20px;
  }
  .sns_icons .lineContact,
  .InstagramContact,
  .YoutubeContact,
  .FacebookContact,
  .TiktokContact {
    margin: 5px;
  }
}

/*
フッター 
 */
footer {
  background-color: #333;
  color: whitesmoke;
  /* color: darkkhaki; */
}

.footer-menu {
  height: 60px;
}

.footer-menu-list {
  list-style: none;
  text-align: center;
  line-height: 60px;
  color: whitesmoke;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.footer-menu-list li {
  margin: 5px;
  display: inline;
}

.footer-logo img {
  width: 80px;
  color: transparent;
}

.footer-logo {
  text-align: center;
  padding-top: 20px;
}

.footer-logo > a {
  display: block;
  text-decoration: none;
  color: whitesmoke;
  font-size: 28px;
  /* font-family: "Courgette", cursive; */
  /* font-family: "Eczar", serif; */
  font-family: "Hina Mincho", serif;
  /* font-family: "Noto Sans JP", sans-serif; */
}

.copyright {
  text-align: center;
  padding-bottom: 15px;
}

/*モバイル表示*/
@media screen and (max-width: 480px) {
  .footer-logo img {
    width: 80px;
  }
  .copyright {
    font-size: 10px;
  }
}
