@charset "UTF-8";

/* 基本 */
:root {
  --sectionP: padding: 60px 0;
  --v-space: clamp(90px, 9vw, 120px);
  --bg-maincolor: #fff;
  --bg-subcolor: #74799c;
  --bg-pinkcolor: #FFD1DC;
  --bg-yellowcolor: #F9E992;
  --bg-graycolor: #D3CFD0;
  --back-maincolor: #f3f0e9; /*#f7f7f7*/
  --subfont: 'Noto Sans Japanese', sans-serif;
  --commonfont: 'Zen Kaku Gothic New';
  --topfont: 'Quicksand';
  --fontcolor: #333; 
  --sub-fontcolor: #fff;
  --tytleletter-spacing: 0.2em;
}

.lobster-regular {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  background-color: var(--back-maincolor);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  filter: brightness(90%) contrast(120%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

h3 {
  font-weight: normal;
  /* max-width: 20em; */
}

ul {
  list-style: none;
  padding-inline-start: 0px;
}

/* ボタン */
.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 20px;
}

/* 画像とテキスト */
.imgtext {
  padding: var(--v-space) 0;
  background-color: #fff;
}

.imgtext-container {
  display: flex;
  flex-direction: column;
}

.w-container {
  width: min(92%, 1166px);
  margin: auto;
}

/* タイトル */
/* パーツの見出し */
.heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--commonfont);
  font-size: clamp(1.625rem, 1.2918rem + 0.6932vw, 1.875rem); /*26~30px*/
  /* font-weight: 900; */
  /* padding-bottom: 40px; */
  color: var(--fontcolor);
  letter-spacing: var(--tytleletter-spacing);
  padding-top: 40px;
  padding-bottom: 80px;
}

.heading-decolation {
  font-size: clamp(30px, 3vw, 40px);
  /* font-weight: 400; */
}

.heading-decolation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--v-subfont);
  font-size: clamp(1.25rem, 0.9168rem + 0.6932vw, 1.5rem); /*20~24px*/
  /* font-weight: 700; */
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--fontcolor);
}

/* 横幅と左右の余白 */
.w-container {
  width: min(92%, 1166px);
  margin: auto;
}

/* ローディング画面 */
#loading {
  background-color: var(--bg-pinkcolor);
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

#loading p {
  font-size: 4rem;
  font-family: 'WDXL Lubrifont JP N';
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--sub-fontcolor);
  margin-top: 25vh;
}

/* ヘッダー */
.header {
  background-color: var(--bg-subcolor);
  height: 60px;
  position: fixed;
  inset: 0;
  z-index: 120;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

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

.header-logo {
  display: block;
  width: 40px;
}

.nav li a {
  color: var(--sub-fontcolor);
}

/* ナビゲーションボタン */
.navbtn {
  padding: 0;
  outline: none;
  border: none;
  background: transparent; /*背景を透明にする*/
  cursor: pointer;
  color: #aaa;
  font-size: 30px;
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 767px){
  .PC-menu {
    display: none;
  }
  /* 開閉ボタン */
  .navbtn {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    color: var(--sub-fontcolor);
    transition: 0.4s;
  }
  /* スライドメニューパネル */
  #menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 20rem);
    height: 100vh;
    background-color: var(--bg-pinkcolor);
    box-shadow: 0 0 2rem var(--bg-pinkcolor);
    font-family: var(--commonfont);
    font-weight: bold;
    translate: 110vw;
  }
  #menu-close {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 100;
    color: var(--sub-fontcolor);
    transition: 0.4s; 
    opacity: 1; 
  }
  .menu-list {
    list-style: none;
  }
  .menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
  }
  .menu-list a {
    color: var(--sub-fontcolor);
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 2px var(--fontcolor);
  }
}

/* 宇宙飛行士画像 */
.astronaut {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.astronaut1 {
  height: 150px;
  width: 150px;
}
.astronaut2 {
  height: 250px;
  width: 250px;
  padding-top: 50px;
}
.astronaut3 {
  height: 200px;
  width: 200px;
  padding-top: 50px;
}
.astronaut4 {
  height: 200px;
  width: 200px;
  padding-left: auto;
  padding-right: auto;
}
.astronaut5 {
  height: 250px;
  width: 250px;
  padding-top: 50px;
}
.astronaut6 {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 250px; 
}

/* ヒーロー */
.stars {
  position: relative;
  width: 100%; /* 星空の横幅 */
  height: 100vh; /* 星空の縦幅 */
	background: linear-gradient(0deg, #D9D9D9 0%, #74799C 20%, #3b4371 80%) no-repeat #383d95;
  overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #fff; /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero {
  /* position: relative; */
  margin-top: 60px;
  height: calc(100vh - 60px);
  font-family: var(--topfont);
  color: var(--fontcolor);
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 36px;
}
.hero .yuzu {
  position: absolute;
  z-index: 90;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-40%);
  z-index: 100;
}
.hero .cloud-front {
  position: absolute;
  width: 100vw;
  bottom: -10px;
  z-index: 90;
}
.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 110;
  font-family: var(--topfont);
  color: var(--sub-fontcolor); 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align-last: center;
}

/* 電光掲示板バナー */
.slider {
  width: 100%;
  display: flex;
  justify-content: start;
}

/* 星の境目 */
/* .decolation {
  height: 40px;
  background-color: var(--bg-maincolor);
  background-image: url(../images/starnew.png);
  background-size: contain;
  background-repeat: space;
} */


/* ワークス */
.works {
  padding: var(--v-space) 0;
  color: var(--fontcolor);
  background-color: var(--bg-maincolor);
}
.works .decolation {
  display: flex;
  justify-content: space-between;
  object-fit: cover;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
}
.works-container {
  display: grid;
  grid-template-columns: repeat(1fr, 1fr);
  gap: 32px 25px;
}

/* ワークス一覧の記事 */
.work {
  /* padding: 0 40px 80px; */
  padding-bottom: 40px;
  font-family: var(--commonfont);
  color: var(--fontcolor);
}
.work a {
  display: block;
}
.work a .work-description {
  display: block;
  border: 2px solid #333333;
  background-color: #fff;
}

.work i {
  display: flex;
  align-items: center;
  padding: 5px;
  margin-top: 10px;
}
.work p {
  margin: auto;
  font-size: clamp(10px, 1.6vh, 14px);
  min-height: 0vw;
}
.work-top {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ワークス内のタグ */
.tag {
  display: inline-block;
  padding: 10px 20px;       
  margin-right: 10px;
  font-size: 14px;         
  font-weight: bold;       
  color: #333333;          
  border-radius: 9999px; 
  text-align: center; 
  line-height: 1;
}

.tag-yellow {
  background-color: var(--bg-yellowcolor);
}

.tag-gray {
  background-color: var(--bg-graycolor);
}

.work img {
  aspect-ratio: 3/2;
  object-fit: contain;
  width: 100%;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}


@import url('https://fonts.googleapis.com/css?family=Merienda');

svg {
  height: 100px;
  width: 100vw;
  /* background-color: var(--bg-maincolor); */
  margin-bottom: 0;
  /* position: absolute;
  top: 0;
  left: 0; */
}

.wave {
  display: flex;
  justify-content: center;
  align-items: center;
    transform: scaleY(-1);
  /* height: 100vh; */
}
.box {
  background: #fff;
  /* border-radius: 5px;
  padding: 20px;
  text-align: center; */
  /* position: absolute;
  z-index: 1; */
}
/* a {
  color: #0bd;
} */











/* アバウト */
.abouts {
  padding: 60px 0;
  background-image: 
  url(../images/seiza_haikei.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0;
}
.abouts h2 {
  color: var(--sub-fontcolor);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.abouts figure {
  display: flex;
  justify-content: center;
}
.abouts figure img { 
  height: 250px;
  width: 250px;
  object-fit: cover;
} 
.about-text {
  background-color: rgba(255, 255, 255, 0.8);
  font-family: var(--commonfont);
  color: var(--fontcolor);
  margin-top: 40px;
  margin-bottom: 80px;
}
.abouts h4 {
  display: flex;
  justify-content: center;
  padding: 25px;
}
.abouts p {
  display: flex;
  justify-content: center;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
}

/* エクスペリエンス */
.experiences {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  background-color: #fff;
  font-family: var(--commonfont);
}
.experience h2 {
  padding-top: 120px;
}
.experiences ul {
  margin: 0 auto 160px;
}
.experience-article {
  display: flex;
  justify-content: space-between;
}
.experiences li {
  margin-left: auto;
  margin-right: auto;
}
.timeline-date {
  padding-bottom: 0.1rem;
}
.experiences h3 {
  padding-bottom: 0.4rem;
}
.experiences h3 span {
  font-size: 14px;
}
.experience-desc {
  padding-bottom: 2rem;
}
.timeline {
  list-style: none;
  padding-bottom: 0;
}
.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.timeline-content {
  border-left: 3px solid var(--bg-graycolor);
  padding-left: 30px;
  margin-left: 30px;
}
.timeline-content:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bg-subcolor);
  position: absolute;
  top: 5px;
  left: 25px;
  border-radius: 100%;
} 

/* スキル */
.skills {
  padding: 40px 0 80px;
  background: linear-gradient(270deg, #ff9a9e, #FFD1DC, #FBDBD4);
  animation: gradientMove 8s ease infinite;
  background-size: 800% 800%;
}
.shapedividers_com-8266 {
  overflow: hidden;
  position: relative;
  height: 100px;
}
.shapedividers_com-8266::before {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw;
  transform: scaleX(4);
  transform-origin: 100% 0;
  animation: 10s infinite alternate shape-anim-8266 linear;
  background-size: 100% 100px;
  background-position: 50% 0%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ffd4df"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23ffd4df"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23ffd4df"/></svg>');
}
@media (min-width: 2100px) {
  .shapedividers_com-8266::before {
    background-size: 100% calc(2vw + 100px);
  }
}

@keyframes shape-anim-8266 {
  100% {
    transform: scaleX(4) translateX(calc(100% - (100% / 4)));
  }
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.skills-container {
  display: grid;
  gap: 27px;
}
.skill{
  font-family: var(--commonfont);
  color: var(--fontcolor);
  padding: 30px 40px 50px;
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.skills h3 {
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
  font-size: 22px;
}
.skills img {
  padding-top: 10px;
  padding-bottom: 20px;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
}

/* コンタクト */
.contacts {
  background-image: url(../images/contact_haikei_ver2.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 40px 0 50px;
}
.contacts h2 {
  padding-top: 100px;
}
.contacts-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* トップへ戻るボタン */
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}
.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/* フッター */
footer {
  background-color: var(--bg-yellowcolor);
  font-family: var(--commonfont);
  display: flex;
  justify-content: center;
  padding-bottom: 100px;
}

@media (min-width: 768px) /*PC版の記述ここから*/ {
  /* w-containerのPCでの画面幅設定 */
  .w-container {
    width: 92%;
    margin: auto;
  }
  /* ナビゲーションボタン */
  .navbtn {
    display: none;
  }
  .SP-menu {
  display: none;
  }
  /* ナビゲーションメニューPC */
  .nav ul {
    display: flex;
    gap: 40px;
    color: #707070;
    list-style: none;
  }
  
  /* ボタン */
  .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 20px;
  }
  /* ヒーロー */
  .hero .yuzu {
    position: absolute;
    z-index: 100;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-40%);
  }
  .hero .cloud-front {
    position: absolute;
    bottom: -10px;
    z-index: 90;
  }
  .hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 110;
    font-family: var(--topfont);
    color: var(--sub-fontcolor); 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  /* ワークス */
  .work {
    padding-bottom: 120px;
  }
  .works .decolation {
    height: 50px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .works-container {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 宇宙飛行士画像 */
  .astronaut {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .astronaut1 {
    height: 150px;
    width: 150px;
  }
  .astronaut2 {
    height: 250px;
    width: 250px;
    padding-top: 50px;
  }
  .astronaut3 {
    height: 200px;
    width: 200px;
    padding-top: 50px;
  }
  .astronaut4 {
    height: 200px;
    width: 200px;
    padding-left: auto;
    padding-right: auto;
  }
  .astronaut5 {
    height: 200px;
    width: 200px;
    padding-top: 50px;  
  }
  .astronaut6 {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 200px; 
  }
  /* アバウト */
  .about-container {
    display: flex;
    justify-content: center;
  }
  .about-text {
    background-color: rgba(255, 255, 255, 0.8);
    font-family: var(--commonfont);
    color: var(--fontcolor);
    width: 300px;
    margin: 50px auto;
  }
  .abouts h4 {
    display: flex;
    justify-content: center;
  }
  .abouts p {
    display: flex;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
  }
  /* エクスペリエンス */
  .experiences {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    /* background-image: url(../images/wakuseidake.png);
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat; */
  }
  /* .experiences .w-container {
    height: 1250px;
  } */
  .experiences ul {
    width: 700px;
    margin: 0 auto 160px;
  }
  .experience-article {
    display: flex;
    justify-content: space-between;
  }
  .experiences li {
    margin-left: auto;
    margin-right: auto;
  }
  .experiences h3 {
  padding-bottom: 0.4rem;
  }
  .experiences h3 span {
  font-size: 14px;
  }
  .experience-desc {
  padding-bottom: 2rem;
  }
  .timeline {
    list-style: none;
  }
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-content {
    border-left: 5px solid var(--bg-graycolor);
    padding-left: 30px;
    margin-left: 30px;
  }
  .timeline-content:before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--bg-subcolor);
    position: absolute;
    top: 5px;
    left: 25px;
    border-radius: 100%;
  } 
  /* スキル  */
  .skill {
    padding: 60px 40px;
  }
  .skills-container {
    grid-template-columns: repeat(3, 1fr);   
  }
  .skills h3 {
    text-align: center;
    padding-bottom: 40px;
  }
  .skill img {
    padding-top: 0;
    padding-bottom: 40px;
  }
  .skill p {
    padding-bottom: 60px;
  }
  /* コンタクト */
  .contact {
    height: 800px;
    background-image: url(../images/contact_haikei2.png);
    background-position: center bottom;
    background-size: 50%;
  }
  .contacts h2 {
  padding-top: 60px;
  padding-bottom: 40px;
  }
  .imgtext-container {
    flex-direction: row;
    align-items: center;
    gap: clamp(45px, 6vw, 80px);
  }
  .imgtext-container.reverse {
    flex-direction: row-reverse;
  }
  .imgtext-container > .text {
    flex: 2;
    min-width: 32em;
  }
  .imgtext-container > .img {
    flex: 1;
  }
/* ここから上に記述 */
}