a {
  text-decoration: none;
}

ul,li {
  list-style: none;
} 

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  /* height: 100vh; */
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

:root {
  /* --sstart-scroll-snap-start: */
  --scroll-scroll-snap-type: y proximity;
  --padding: 10vw 10px 4vw 5vw ;
}

.title {
  font-size: 25px;
}

.subtitle {
  font-size: 50px;
}

main {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.area {
  height: 100vh;
  width: 100vw;
  padding: var(--padding);
  position: absolute;
}

/* ホーム fixed*/

.home {
  background-image: radial-gradient( circle farthest-corner at 3.2% 49.6%,  rgba(80,12,139,0.87) 0%, rgba(161,10,144,0.72) 83.6% );
  color: #ffffff;
  padding: var(--padding);
  padding-top: 30vh;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
}

.home h1{
  font-size: 80px;
}

.home p {
  font-size: 20px;
}

/* スクロールダウン */
.scrolldown {
  position: absolute;
  top: 0;
  padding-top: 90vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: rbga(2255,255,255,0);
  opacity: 1;
  color: #ffffff;
  font-size: 20px;
}

@keyframes scroll-animation {
  0%,100%{transform: translateY(3px);}
  50%{transform: translateY(10px);}
}

.scrolldown i {
  animation: scroll-animation 1.5s infinite;
}

/* アバウト */

.about {
  background-color: #a9a9a9;
  top: 100vh;
}

.aboutpic {
  position: absolute;
  width: 30vw;
  height: 60vh;
  object-fit: cover;
  top: 20%;
  left: 60%;
  box-shadow: 2px 7px 5px 6px #505259;
}

.about h2 {
  padding-bottom: 20px;
}

.about p {
  font-size: 20px;
  padding-top: 25px;
  padding-left: 20px;
  width: 50%;
  line-height: 1.3;
}

/* プロジェクト */

.projects {
  background-color: #e15454;
  top: 200vh;
  display: flex;
  flex-direction: column;
  height: 120vh;
}

.projects h1 {
  padding-bottom: 20px;
}

.contents {
  width: 100%;
  min-height: 0;
}

.projects .content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  text-align: left;
  padding: clamp(16px, 2vw, 28px);
  border-radius: 30px;
  border: 1px solid #000;
  background-color: #eeeeee;
  box-shadow: 3px 5px 10px 5px #5b5b5b;
  white-space: normal;
  overflow-wrap: anywhere;
}

.projects ul {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 3vw, 48px);
  overflow-x: auto;
  width: 100%;
  padding: 40px 24px 32px 0;
}

.projects li {
  display: flex;
  flex: 0 0 clamp(260px, 24vw, 360px);
  min-width: 0;
}

.projects .date {
  font-weight: bold;
  padding: 8px 0 4px;
  font-size: 10px;
}

.projects .minititle {
  font-size: 20px;
  padding-bottom: 8px;
}

.projects .sentence {
  font-size: 10px;
  white-space: normal;
  width: 100%;
  line-height: 1.65;
}

.projects .sur a,
.projects .pic {
  display: block;
  cursor: zoom-in;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.projects .sur > a {
  position: absolute;
  inset: 0;
}

.projects .sur {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 584 / 326;
  overflow: hidden;
  border-radius: 12px;
}

/* ジョイン */

.back{
  top: 320vh;
  position: absolute;
  background-image: url("../image/joinus_1.png");
  background-size: cover;
  width: 100vw;
  height: 100vh;
}

.join {
  padding: var(--padding);
  padding-top: 30vh;
  display: flex;
  flex-direction: column;
  height: 100vh;
  text-align: center;
  align-items: center;
  font-size: 20px;
  color: #ffffff;
  position: relative;
}

.join h3{
  line-height: 1.3;
}

.join .char{
  margin-bottom: 10vh;
}

.atext{
  position: absolute;
  color: #000;
  width: 100%;
  height: 100%;
  left: 0%;
  display: flex;
  justify-content: center;
  flex-direction: flex;
  align-items: center;
}

.btnbox {
  display: flex;
  gap: 30px;
}

.btn {
  /* 枠線を消す */
  /* border: none; */
  position: relative;
  background-color: #fff;
  width: 200px;
  height: 75px;
  font-size: 25px;
  font-weight: bold;
  border: 1px solid#000;
  box-shadow: 0px 0px 10px 5px #ce4949;
}

@media screen and (max-width: 960px) {
  .btnbox {
    display: flex;
    flex-direction: column;
  }
}

/* フッター */

footer {
  position: absolute;
  top: 420vh;
  width: 100dvw;
  background-color: #202523;
  height: 100px;
}

footer div {
  margin-top: 25px;
  width: 100%;
} 

/* フッターのアイコン */
footer i {
  color:#fff;
  float: right;
  font-size: 50px;
  padding-right: 20px;
}

footer a {
  color: #fff;
}

/* ヘッダー */

.Versear {
  font-size: 30px;
}

.Versear::after {
  display: inline-block;
  content: '';
  width: 1px;
  height: 80%;
  /* margin-left: 10px; */
  background-color: black;
}

.versear {
  font-weight: bold;
  font-size: 30px;
  font-family: serif;
}

header {
  background-color: white;
  width: 100vw;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  opacity: .7;
}

@media screen and (min-width: 960px) {
  .header {
    height: 80px;
  }
}

.header__title {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 300px;
}

header .joinbtn {
  border: none;
  color: #fff;
  background-color: #000;
  padding: 13px 40px;
  border-radius: 30px;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;
  display: flex;
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 40%;
  }
}

.nav__items {
  margin: auto;
}

@media screen and (min-width: 960px) {
  .nav__items {
    margin: initial;
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items__item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;

}

@media screen and (min-width: 960px) {

  .nav-items__item:before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: orange;
    opacity: 0;

  }

  .nav-items__item:hover:before {
    opacity: 1;
  }

}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
    font-size: 18px;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}