@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;
  position: fixed;
  animation: bg-color 40s ease-in-out infinite;
  background-color: #F9EB7D;
  top: 0;
}

.drawer_hidden{
  display: none;
}

nav{
  margin-top: 80px;
}

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

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

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

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

.main_visual{
  text-align: center; /* 横方向に中央寄せで文字を配置する。*/
}

.main_visual h2{
  inline-size: 80%;
  margin: 115px auto 5px; /* 中央寄せ */
  text-align: left;
}

.main_visual p{
  inline-size: 80%;
  margin: 0 auto; /* 中央寄せ */
  text-align: left;
}

.main_visual img{
  width: 80%;
  height: 50%;
  object-fit: cover;
}

.others{
  margin: 50px auto;
  text-align: center;
}

.others > img{
  width: 40%;
}

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

.detail_column{
  display: flex;
  flex-wrap: wrap;
}

.detail_column:nth-child(4){
  margin-top: 25px;
}

.detail_column:nth-child(5){
  margin-top: 25px;
}

.detail_column:last-child{
  margin-top: 50px;
}

.detail_head{
  width: 20%;
  margin-bottom: 50px;
  font-weight: 700;
}

.detail_body{
  width: 80%;
  line-height: 1.8;
}

.process{
  display: block;
}

.process > img{
  inline-size: 80%;
}

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;
}
 }

/* =========================
 スマホ用（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
  =========================== */
  .main_visual{
   }

  .main_visual img{
    width: 80%;
  }
  
   .main_visual > h2{
    font-size: 20px;
  }

  .detail_column{
    display: block;
  }

  .detail_head{
    width: 100%;
    line-height: 1.8em;
    margin-bottom: 0px;
  }
  
  .detail_body{
    width: 100%;
    margin-bottom: 30px;
  }

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

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

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