@charset "UTF-8";

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

:root {
  font-size: 16px;
  line-height: 2em;
  color: #505050;
}


/* 共通仕様 */
/* メイン */
.main {
  background-color: #FCFCFC;
}

.sub-page {
  margin-top: 97px;
}

.scroll-fade-in {
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
}


/* ボタン */
.btn {
  width: 170px;
  height: 45px;
  background: linear-gradient(to bottom right, #50D5FF, #51C0E3);
  border-radius: 25px;
  box-shadow: 0px 0px 8px #00000010;
  transition: scale .1s ease-in, transform .3s ease;
}

.btn a {
  width: 100%;
  height: 100%;
  padding: 0 12%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn__text {
  color: #FCFCFC;
  font-weight: 500;
  font-size: 1.2rem;
}

.btn__icon {
  display: block;
  width: 9px;
  height: 9px;
  border-right: solid 2px #FCFCFC;
  border-bottom: solid 2px #FCFCFC;
  transform: rotate(-45deg);
}

.btn:hover {
  background: linear-gradient(to bottom right, #FCFCFC, #FCFCFC);
  border: solid 1px #51c0e5;
  scale: 1.01;
}

.btn:hover .btn__text {
  color: #51c0e5;
}

.btn:hover .btn__icon {
  border-right: solid 2px #51c0e5;
  border-bottom: solid 2px #51c0e5;
}

.btn.white-btn {
  background: linear-gradient(to bottom right, #FCFCFC, #FCFCFC);
  border: solid 1px #51c0e5;
}


.btn__text.white-btn {
  color: #51c0e5;
}

.btn__icon.white-btn {
  border-right: solid 2px #51c0e5;
  border-bottom: solid 2px #51c0e5;
}

.btn.white-btn:hover {
  background: linear-gradient(to bottom right, #50D5FF, #51C0E3);
  border: solid 1px #51c0e5;
}

.btn.white-btn:hover .btn__text {
  color: #FCFCFC;
}

.btn.white-btn:hover .btn__icon {
  border-right: solid 2px #FCFCFC;
  border-bottom: solid 2px #FCFCFC;
}

.btn.scroll-fade-in {
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}

.btn.scroll-fade-in.visible {
  transition-delay: .1s;
  opacity: 1;
}


/* コンテンツ */
.outer {
  padding: clamp(30px, 5vw, 75px) 5vw;
}

.inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* タイトル */

.contents-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(15px, 10%, 80px);
}

.contents-main-title {
  font-size: 2.1rem;
  font-weight: 600;
}

.contents-sub-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #3BACD0;
}

.sub-page .contents-title {
  font-size: 2.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 30;
  transform: translate(-50%, -50%);
  margin: 0;
  background-color: #fcfcfc60;
}

.sub-page .contents-sub-title {
  font-size: 1.1rem;
}


/* ヘッダー */
.header {
  padding: 9px 3vw 4px;
  background-color: #fcfcfc7c;
  box-shadow: 0px 0px 8px #00000010;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: background-color 0.5s ease;
}

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

.header__logo {
  display: block;
  width: 100px;
  height: auto;
  padding: 5px;
  transition: opacity .3s ease;
}

.header-logo__img {
  width: 100%;
}

.header__logo:hover {
  opacity: .8;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.header-nav__contact {
  margin: 0 20px 7px 0;
}

.header-nav__subpage {
  display: flex;
}

.header-subpage__btn:not(.nav-works) {
  border-right: solid 1px #bbefff;
}

.header-subpage__btn {
  transition: opacity .3s ease;
}

.header-subpage__btn:hover {
  opacity: .8;
}

.header-subpage__btn a {
  padding: 0 30px;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3BACD0;
}

.hum-menu {
  display: none;
}


/* フッター */
.footer {
  padding: 10px 0 0;
  background: linear-gradient(to bottom right, #6f6f6f, #505050);
  margin-top: 1vw;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}

.footer-btn {
  background: linear-gradient(to bottom right, #50D5FF, #51C0E3);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 30px;
  border-radius: 3px;
  transition: opacity .3s ease;
}

.footer-btn:hover {
  opacity: .8;
}



.footer-btn__icon {
  display: block;
  width: 9px;
  height: 9px;
  border-right: solid 2px #FCFCFC;
  border-bottom: solid 2px #FCFCFC;
  transform: rotate(-135deg);
}

.copy-right {
  color: #cfcfcf;
  font-size: .7rem;
}


/* トップページ（ファーストビュー）、下層ページ （タイトルエリア） */
.sub-page .first-view {
  height: 200px;
  position: relative;
  background-color: #f3f3f32a;
}

.first-view__anim {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.first-view__anim.back {
  z-index: 10;
}

.first-view__anim.front {
  z-index: 15;
}



@media(max-width:780px) {


  /* 共通仕様 */
  :root {
    font-size: 14px;
  }

  /* メイン */
  .sub-page {
    margin-top: 72.45px;
  }

  .sub-page .contents-title {
    font-size: 2.5rem;
  }

  .sub-page .contents-sub-title {
    font-size: 1.1rem;
  }


  /* ヘッダー */
  .header {
    padding-right: 4vw;
  }

  .header.active {
    background-color: #fcfcfc;
  }

  .header__logo {
    width: 80px;
  }

  .header-nav__subpage {
    display: none;
  }

  .header-nav__contact {
    display: none;
  }

  .hum-icons {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hum-icon {
    width: 35px;
    height: 3px;
    background: linear-gradient(to bottom right, #50D5FF, #38a6c7);
    border-radius: 3px;
    transition: transform .5s ease;
  }

  .hum-icons.active .icon_01 {
    transform: translateY(150%) rotate(-45deg);
  }

  .hum-icons.active .icon_02 {
    display: none;
  }

  .hum-icons.active .icon_03 {
    transform: translateY(-150%) rotate(45deg);
  }

  .hum-menu {
    display: block;
    width: 100%;
    height: calc(100vh - 72.45px);
    position: fixed;
    top: 72.45px;
    left: 100%;
    z-index: 90;
    background-color: #FCFCFC;
    padding-top: 10%;
    transition: transform .5s ease;
  }

  .hum-menu.active {
    transform: translateX(-100%);
  }

  .hum-menu-inner {
    display: flex;
    flex-direction: column;
  }

  .hum-menu__nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: clamp(80px, 10vh, 120px);
  }

  .hum-menu__text {
    font-size: 1.7rem;
    font-weight: 600;
    color: #25a5cb;
  }


  /* トップページ（ファーストビュー）、下層ページ （タイトルエリア） */
  .sub-page .first-view {
    height: 130px;
    position: relative;
  }



}