@charset "UTF-8";

/*CSSライブラリのインポート*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&display=swap&subset=japanese");
@keyframes bg-color {
  0% { background-color: #F9EB7D; }
  25% { background-color: #FF6778; }
  50% { background-color: #C57DFF; }
  75% { background-color:  #72D1F1; }
  100% { background-color: #8DFF9E; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #555555;;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1{
  font-size: 45px;
  font-weight: 700;
}

h2{
  font-size: 30px;
  margin-left: 100px;
  font-weight: 700;
}

h3{
  font-size: 20px;
  font-weight: 700;
}

p{
  font-size: 16px;
  line-height: 1.8em;
}

header{
  width: 100%;
  height: 100px;
  animation: bg-color 40s ease-in-out infinite;
  background-color: #F9EB7D;
}

.drawer_hidden{
  display: none;
}

.nav_list{
  list-style: none; /* li使用時に発生する黒丸を削除 */
  display: block;
  position: fixed;
  padding-left: 40px;
  margin-top: 100px;
}

.nav-list-item{
  margin-top: 50px;
}

.nav-list-item a{
  font-size: large;
  font-weight: bold;
  text-decoration: none; /* リンクに設定した場合発生する文字の装飾を解除。 */
}

.nav-list-item a:hover{
  border-bottom: solid 3px #555555;
}

#profile{
  inline-size: 70%;
  margin: 50px auto 80px;
}

#profile > h1{
  text-align: center;
}

.profile-items{
  width: 100%;
  margin: 50px auto; /* 中央寄せ */
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* 子要素が親要素の横幅いっぱいに配置されたら改行し、下に配置し始める設定 */
  column-gap: 5%; /* 左右　*/
}

.icon img{
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.profile-text{
  width: 420px;
  text-align: left;
  margin-top: 10px;
}

.name{
 margin-left: 0;
}

.profile-text > ul{
  inline-size: 400px;
  padding:10px 0px 0px 20px;
}

.profile-items h2{
  margin-bottom: 20px;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
  }

.scroll-infinity{
    inline-size: 80%;
    margin: 0 auto 50px;
  }

  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    margin-left: 100px;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
  }
  .scroll-infinity__list--left {
    animation: infinity-scroll-left 55s infinite linear .5s both;
  }
  .scroll-infinity__item {
    width: calc(100%);
  }
  .scroll-infinity__item>img {
    height: 100px;
    margin-top: 50px;
  }

#ability{
 inline-size: 80%;
 margin: 80px auto 100px;
}

.ability_img{
 width: 100%;
 margin: 30px auto 30px;
 text-align: center;
}

.ability_img > img{
  inline-size: 60%;
  margin-bottom: 30px;
}

.ability_img > p{
  inline-size: 80%;
  margin: 0 auto;
  text-align: left;
}

footer{
  width: 100%;
  height: 100px;
  animation: bg-color 40s ease-in-out infinite;
  background-color: #F9EB7D;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer > small{
  letter-spacing: .1em;
}

footer > a{
  text-align: right;
}

.footer_button{
    border-radius: 100%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    color: #555555;
    border: 2px solid #555555;
    text-decoration: none;
    text-align: center;
    position: absolute;
    right: 45px;
}

/* =========================
      hamburger menu
=========================== */
#drawer_input {
  display: none;
}

.drawer_open {
  display: none;
}

/* =========================
 タブレット用（width 1200px）
=========================== */

  /* =========================
        hamburger menu
  =========================== */
@media screen and (max-width: 1200px) {
  .drawer_hidden {
    display: none;
}

.drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 100;
    cursor: pointer;
    border-radius: 100%;
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    color: #555555;
    border: 2px solid #555555;
    right: 15px;
    top: 10px;
}

.drawer_open span, .drawer_open span:before, .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 35px;
    border-radius: 3px;
    background: #505050;
    transition: 0.5s;
    position: absolute;
}

.drawer_open span:before {
    bottom: 10px;
}

.drawer_open span:after {
    top: 10px;
}

#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

nav {
    height: 720px;
    width: 100%;
    position: fixed;
    left: -100%;
    animation: bg-color 40s ease-in-out infinite;
    background: #F9EB7D;
    transition: .5s;
    align-items:center;
    justify-content: center;
    margin: 0;
    display: flex;
    margin-top: 0px;
}

.nav_list{
  padding-left: 0;
}
.nav_list{
  list-style: none; /* li使用時に発生する黒丸を削除 */
  display: block;
  position: fixed;
  text-align: center;
}
.nav-list-item a{
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: bold;
  display: inline-block;
/*コレ*/align-items: center;
}

.nav-list-item:hover{
  border-bottom: none;
}

#drawer_input:checked~nav {
  left: 0;
}

h2{
  margin-left: 0;
}

.scroll-infinity__wrap {
  margin-left: 30px;
}
 }

/* =========================
スマホ用（width 480px）
=========================== */

@media screen and (max-width: 480px) {

  html, body, header, .first-view, main, .main_visual, .works, .profile, footer {
      width: 100%;
  }

  .none {
      display: none !important;
  }

  /* =========================
           header
  =========================== */
header{
  height: 100px;
}

.nav_list {
  width: 100%;
  display: block;
  /*コレ*/text-align: center;
  animation: bg-color 40s ease-in-out infinite;
  background-color: #F9EB7D;
}

  /* =========================
           main
  =========================== */
  .profile-items{
    margin: 30px auto; /* 中央寄せ */
  }

  .profile-text{
    inline-size: 110%;
  }
  
  .profile-text > ul{
    inline-size: 100%;
  }

  .icon{
    width: 420px;
    text-align: center;
    padding-bottom: 10px;
  }
  
  .icon img{
    width: 250px;
    height: 250px;
  }

  .scroll-infinity__wrap {
    margin-left: 0;
  }

  .ability_img > img{
    inline-size: 100%;
   }

   .ability_img > p{
    inline-size: 100%;
   }

  footer > small{
    letter-spacing: .1em;
  }

  .footer_button{
    position: absolute;
    right: 15px;
}
}
