@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #121212;
  font-family: 'Noto Sans JP', sans-serif;
}
a {
  color: #121212;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
/* サイドメニューの横幅分だけ左にmarginをとる */
.container {
  margin-left: 300px;
}
/* コンテンツ幅を設定するための共通クラス */
.wrapper {
  max-width: 900px;
  padding: 80px 20px;
  margin: 0 auto;
}
.site-title {
  width: 200px;
  line-height: 1px;
  margin-bottom: 30px;
}
.site-title a {
  display: block;
}
/*
セクションタイトル用の共通クラス
両サイドの線は疑似要素で作成して、Flexboxで横並びに配置
※beforeが左の線、afterが右の線
*/
.sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.75rem;
  margin-bottom: 60px;
  text-align: center;
}
.sec-title::before,
.sec-title::after {
  border-top: 1px solid;
  content: "";
  width: 28%;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  width: 300px;
  height: 100%;
  background-color: #fff;
  padding: 40px 50px 30px 45px;
  position: fixed;
  top: 0;
  /* 画面の高さが低くてメニューが隠れてしまった場合に、縦スクロールが出るよう設定 */
  overflow-y: auto;
}
#header .nav-menu {
  margin-bottom: 60px;
}
#header li {
  font-size: 0.875rem;
  padding: 8px 0;
}

/*-------------------------------------------
Video
-------------------------------------------*/
/*
動画を全画面表示
*/
#video video {
  width: 100%;
  height: calc(100vh - 160px);
  object-fit: cover;
  object-position: center top;
}
/*
「position: fixed;」で動画を固定し、「top: -220px;」で表示位置を調整
z-indexでマイナスを設定して、他のコンテンツの下に隠れるようにする
*/
/* #video .bg-video {
  position: fixed;
  top: -60px;
  z-index: -10;
} */

/*-------------------------------------------
Work
-------------------------------------------*/
#work {
  background-color: #fff;
  padding-top: 40px;
}
#work .title {
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: bold;
}
#work .title_2 {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: bold;
}
#work .text {
  margin-bottom: 24px;
}
#work .pics {
  text-align: center;
}
#work .pics .gazou {
  width: 55%;
  margin-bottom: 60px;
}
#work .pics .full_gazou {
  width: 100%;
  margin-bottom: 60px;
}
#work .pics .movie {
  margin-bottom: 60px;
}
#work .pics .movie iframe {
  width: 85%;
  height: auto;
  aspect-ratio: 16 / 9;
}
#work .pics .clip {
  width: 85%;
  margin-bottom: 60px;
}
#work .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}
#work .list li {
  width: 50%;
  margin-bottom: 60px;
}
#work .list li .right {
  margin-left: 80px;
}
#work .list li .name {
  font-size: 0.75rem;
  position: absolute;
  bottom: 4px;
  left: 7px;
  z-index: 5;
}
#work .list li .title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}
#work .list li .detail {
  text-align: left;
}
#work .list_half {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#work .list_half li {
  width: calc((100% - 10%) / 2);
  margin-right: 5%;
  margin-bottom: 60px;
}
#work .list_half li:nth-child(2n) {
  margin-right: 0;
}
#work .list_three {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#work .list_three li {
  width: calc((100% - 10%) / 3);
  margin-right: 5%;
  margin-bottom: 60px;
}
#work .list_three li:nth-child(3n) {
  margin-right: 0;
}
#work .list_three li .title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

/*-------------------------------------------
Top
-------------------------------------------*/
#top {
  background-color: #fff;
  padding-top: 40px;
}
#top .list {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 10px;
}
#top .list .title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 32px;
}
#top .list .text {
  margin-bottom: 24px;
}

/*-------------------------------------------
Statement
-------------------------------------------*/
#statement {
  background-color: #fff;
  padding-top: 40px;
  height: 85%;
  /* margin-bottom: 240px; */
}
#statement .list {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 10px;
}
#statement .list p {
  margin-bottom: 8px;
}
#statement .list .title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 60px;
}
#statement .list .text {
  margin-bottom: 48px;
}
#statement .list .text_2 {
  margin-bottom: 240px;
}

/*-------------------------------------------
History
-------------------------------------------*/
#history {
  background-color: #fff;
  padding-top: 40px;
}
#history .step {
  display: flex;
  margin-top: 60px;
}
#history .description {
  margin-left: 5%;
}
#history .description dt {
  border-bottom: solid 1px #121212;
  font-size: 1.25rem;
  padding-bottom: 8px;
  margin-bottom: 10px;
  position: relative;
}
#history .description dd {
  margin-bottom: 40px;
}
#history .description dd:last-child {
  margin-bottom: 0;
}
#history .description .text {
  margin-bottom: 12px;
}

/*-------------------------------------------
Contact
-------------------------------------------*/
#contact {
  background-color: #fff;
  padding-top: 40px;
}
#contact .info {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-align: left;
}
#contact label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 48px 0;
}
#contact .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: flex-start;
  padding-top: 8px;
  width: 240px;
  font-size: 1.1rem;
}
#contact .required {
  padding: 8px;
  color: #ffffff;
  line-height: 1;
  background-color: #122a88;
  border-radius: 4px;
  font-size: 0.75rem;
}
#contact input[type="text"],textarea {
  display: block;
  background-color: #dfdfdf;
  padding: 16px;
  width: calc(100% - 240px - 30px);
  box-shadow: 0 0 0 1px #ccc inset;
  border-radius: 4px;
}
#contact textarea {
  height: 240px;
}
#contact .btn {
  display: inline;
  width: 200px;
  padding: 8px;
  margin: 0 24px;
  background-color: #122a88;
  color: #f0f0f0;
  border-radius: 4px;
}
#contact .btn:hover {
  opacity: 0.8;
}
#contact p {
  text-align: center;
}
#contact .thanks {
  height: calc(100vh - 480px);
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  background-color: #121212;
  color: #fff;
  padding: 20px 0;
}
#footer .menu {
  display: flex;
  justify-content: center;
  margin: 30px 0 60px 0;
}
#footer .menu li {
  border-right: solid 1px #fff;
  font-size: 0.875rem;
  padding: 0 20px;
}
#footer .menu li:last-child {
  border-right: none;
}
#footer .menu li a {
  color: #fff;
}
#footer .copyright {
  font-size: 0.75rem;
  text-align: center;
}

/*-------------------------------------------
トップへ戻るボタン
-------------------------------------------*/
/*
右下に固定で配置
表示・非表示の切り替えはjQueryで行うため、詳細は「main.js」のコメントを参照
*/
#to-top {
  width: 50px;
  height: 50px;
  background-color: #121212;
  border: solid 1px #fff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
  bottom: 25px;
}
/*
中の三角は疑似要素で作成
*/
#to-top::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  position: relative;
  left: 17px;
  bottom: 3px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 960px) {
  .container {
    margin-left: 0;
  }
  .wrapper {
    padding: 80px 20px;
  }
  .site-title {
    width: 180px;
    margin-bottom: 0;
    position: relative;
    left: 18px;
    top: 10px;
  }
  .sec-title {
    font-size: 1.25rem;
    margin-bottom: 30px;
  }
  .sec-title::before,
  .sec-title::after {
    width: 18%;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    width: 100%;
    height: 72px;
    padding: 0;
    z-index: 10;
  }
  /*
  ハンバーガーメニュー
  ※ハンバーガーメニューの説明は他の課題と重複するため割愛
  */
  #navi {
    width: 300px;
    background: #fff;
    padding: 25px;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    opacity: 0;
    overflow-y: auto;
    transition: 0.5s;
    z-index: 20;
  }
  .open #navi {
    left: 0;
    opacity: 1;
  }
  #navi ul.nav-menu {
    margin-bottom: 30px;
  }
  #navi ul li {
    padding: 10px 0;
  }
  .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 18px;
    transition: 0.5s;
    z-index: 20;
  }
  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: #121212;
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }
  .hamburger span:nth-child(1) {
    top: 4px;
  }
  .hamburger span:nth-child(2) {
    top: 14px;
  }
  .hamburger span:nth-child(3) {
    bottom: 4px;
  }
  .open .hamburger span {
    background-color: #fff;
  }
  .open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  .open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }
  #mask {
    display: none;
    transition: 0.5s;
  }
  .open #mask {
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

  /*-------------------------------------------
  Video
  -------------------------------------------*/
  /*
  スマホの場合は、動画が見切れすぎないよう高さを調整
  */
  #video video {
    height: 100%;
    margin-top: 80px;
    margin-bottom: 48px;
  }
  #video .bg-video {
    height: 50vh;
    /* width: 100%; */
    /* height: 100%; */
    /* height: 100vh;
    top: 72px;
    left: 0;
    right: 0; */
    /* margin: 0 auto; */
  }

  /*-------------------------------------------
  Work
  -------------------------------------------*/
  #work .pics .gazou {
    width: 100%;
  }
  #work .list {
    flex-direction: column;
  }
  #work .list li {
    width: 100%;
  }
  #work .list li .right {
    margin-left: 0;
  }
  #work .list_half {
    flex-direction: column;
  }
  #work .list_half li {
    width: 100%;
  }
  #work .list_three {
    flex-direction: column;
  }
  #work .list_three li {
    width: 100%;
  }

  /*-------------------------------------------
Statement
-------------------------------------------*/
#statement {
  margin-bottom: 8px;
}
#statement .list {
  font-size: 1.1rem;
}
#statement .list .title {
  font-size: 1.4rem;
  margin-bottom: 32px;
}
#statement .list .text {
  margin-bottom: 36px;
}

/*-------------------------------------------
History
-------------------------------------------*/
#history .description {
  margin-left: 1%;
}

/*-------------------------------------------
  Contact
  -------------------------------------------*/
  #contact {
    padding-bottom: 24px;
  }
  #contact label {
    flex-direction: column;
    margin: 24px 0;
  }
  #contact .title {
    justify-content: flex-start;
    width: 100%;
    font-size: 1.1rem;
  }
  #contact .required {
    margin-left: 8px;
  }
  #contact input[type="text"],textarea {
    width: 100%;
  }
  #contact .btn {
    margin: 8px 0;
  }

  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  #footer .menu {
    flex-wrap: wrap;
  }
  #footer .menu li {
    margin-bottom: 10px;
  }
}