@charset "utf-8";

/* 共通設定 */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7rem;
  color: #121212;
  margin: 0 auto;
}

.wrapper {
  max-width: 1240px;
  padding: 0 1rem;
  margin: 0 auto;
}

a {
  text-decoration: none;
  user-select: none;
  color: #121212;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
}

.title-md {
  font-size: 2.25rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 35px;
}

.font-md {
  font-size: 0.9rem;
  font-weight: 400;
}

.font-sm {
  font-size: 0.75rem;
  font-weight: 400;
}

.fadein {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* 共通設定ここまで */

/* ヘッダー */
#header {
  height: 80px;
  padding: 40px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background: #fff;
}

#header h1 {
  line-height: 80px;
  position: absolute;
  top: 8px;
  left: 45px;
}

#toggle-btn {
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: fixed;
  top: 25px;
  right: 45px;
  z-index: 1001;
}

#toggle-btn span {
  background: #121212;
  width: 30px;
  height: 2px;
  transition: all 0.5s;
  position: absolute;
}

#toggle-btn span:nth-child(1) {
  top: 5px;
}
#toggle-btn span:nth-child(2) {
  top: 15px;
}
#toggle-btn span:nth-child(3) {
  top: 25px;
}


#toggle-btn.close span:nth-child(1) {
  background: #fff;
  transform-origin: center;
  transform: translateY(10px) rotate(315deg);
}
#toggle-btn.close span:nth-child(2) {
  opacity: 0;
}
#toggle-btn.close span:nth-child(3) {
  background: #fff;
  transform-origin: center;
  transform: translateY(-10px) rotate(-315deg);
}

/* ナビゲーションメニュー */
.mask {
  opacity: 0;
  min-width: 100vw;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(300vw);
}

.show {
  opacity: 1;
  transform: translateX(0);
}

#nav-menu {
  width: 300px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-x: hidden;    /* 横にスクロールさせない（レイアウト崩れ対策） */
  overflow-y: auto;      /* 縦に必要なときだけスクロールバー表示 */
  -webkit-overflow-scrolling: touch; /* モバイルでなめらかスクロール */
  z-index: 1001;
  background: #121212;
  padding: 60px 25px;
  opacity: 0;
  transform: translateX(-300px);
  transition: all 0.5s;
}

.mask.show #nav-menu {
  opacity: 1;
  transform: translateX(0);
}

#main-nav li {
  padding: 22px 0;
  border-bottom: #fff 1px solid;
}

#main-nav li:first-child {
  border-top: #fff 1px solid;
}

#nav-menu a {
  color: #fff;
}

#sns-nav {
  margin-top: 60px;
}

#sns-nav li {
  padding: 8px 0;
}
/* ナビゲーションメニューここまで */
/* ヘッダーここまで */

/* ビデオ */
#video {
  margin-top: 80px;
  text-align: center;
}

#video video {
  max-width: 100%;
  width: 100vw;
  max-height: 960px;
  margin-bottom: 100px;
  object-fit: cover;
}

/* ビデオここまで */

/* pickup */
#pickup {
  opacity: 0;
  transition: all 0.5s;
  margin-bottom: 100px;
}

#pickup #carousel li {
  padding: 0 30px;
}

#pickup #carousel img {
  transition: all 0.3s;
}

#pickup #carousel img:hover {
  opacity: 0.7;
  cursor: pointer;
}
/* pickupここまで */

/* feature */
#feature {
  opacity: 0;
  transition: all 0.5s;
  margin-bottom: 60px;
}

#feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-item {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.feature-item:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
  cursor: pointer;
}

.feature-item>img {
  opacity: 0;
  transition: all 0.7s ease-out;
  transform: translateY(50px);
}

.feature-item .feature-read {
  padding: 25px 30px 30px 30px;
}

.feature-item .feature-read p {
  margin: 20px 0;
  text-align: justify;
}

.feature-item .feature-read span:nth-of-type(2) {
  display: block;
  text-align: right;
}
/* featureここまで */

/* コンタクト */
#contact {
  opacity: 0;
  transition: all 0.5s;
  width: 100%;
  background: #121212;
  color: #fff;
  padding: 60px 0;
}

#contact-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10%;
}

#contact-read p {
  text-align: justify;
}

#contact-form label {
  display: block;
}

#contact-form .input {
  display: block;
  background: #fff;
  height: 44px;
  width: 100%;
  margin-bottom: 20px;
}

#contact-form textarea {
  background: #fff;
  width: 100%;
  height: 68px;
  margin-bottom: 20px;
}

#contact-form .submit-btn {
  border: 1px solid #fff;
  color: #fff;
  width: 200px;
  height: 50px;
  transition: all 0.3s;
}

#contact-form .submit-btn:hover {
  color: #121212;
  background: #fff;
}
/* コンタクトここまで */

/* フッター */
#footer {
  background: #121212;
  padding-bottom: 15px;
}

#footer small {
  display: block;
  text-align: center;
  color: #fff;
}
/* フッターここまで */

@media screen and (max-width: 984px) {

  #feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホビュー */
@media screen and (max-width: 658px) {

  #feature-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 600px) {

  #contact-flex {
    grid-template-columns: repeat(1,1fr);
  }
}