charset "UTF-8";

/*共通部分*/
html{
    font-size: 100%;
}
body{
    font-family:"Yu Gothic Medium","游ゴシック Medium",YuGothic,"游ゴシック体",ヒラギノ角ゴ Pro W3,sans-serif;
}
.wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}
header h1{
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    font-size: 1.5rem;
}
a{
    text-decoration: none;
    color: black;
}
.menu{
    display: flex;
    list-style-type: none;
}
.menu-ber{
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
}
.menu li{
    margin-left: 34px;
    font-family: 'Inter', sans-serif;
}
.big-bg{
    background-size: cover;
    background-position:center top;
    margin-bottom: 120px;
}
.sub-title{
  font-weight: normal;
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.sub-title h2{
  padding-left: 2px;
  display: inline;
}
.sub-title img{
  vertical-align: bottom;
}
.import a{
  padding-right: 16px;
  background-image: url(../images/import1.png);
  background-position: right bottom;
  background-repeat: no-repeat;
}
.menu a:hover{
  color: #12C335;
}
a img:hover{
  opacity: 0.7;
}
a p:hover{
  opacity: 0.7;
}
/*FOOTER*/
#footer p{
  text-align: center;
  background-color: #F5F5F5;
  padding: 25px 0;
}

/*HOME*/
#home{
    background-image:url(../images/homebackground.png);
    min-height: 100vh;
}
.home-content{
    text-align: center;
    margin-top:90px;
}
.top-content{
  display: flex;
  justify-content: space-between;
  margin-bottom: 120px;
}
article{
  width:30% ;
}
aside{
  width: 55%;
  margin: 20px 0;
}
article img{
  width:100% ;
}
aside h2{
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  text-align: center;
  padding-top: 20px;
  margin-bottom: 60px;
}
aside ul{
  padding: 0 20px;
}
.top-content aside ul li{
  list-style-type: none;
  margin-bottom: 16px;
  font-size: 98%;
}
.top-content aside{
  background-color: #F5F5F5;
}
.button{
  display:block;
  margin-top: 30px;
  text-align: center;
}
.top-works2{
  text-align: center;
}
.top-works{
  margin-bottom: 120px;
}
.top-works2 img{
  width: 50%;
}
.more-button{
  text-align: center;
}
.more-button a{
  display: inline-block;
  margin: 100px 0;
}
.home-content h2 img{
  width: 50%;
}

/*ABOUT*/
.about-page{
  display: flex ;
  justify-content: space-between;
  margin-bottom: 120px;
}
.about-title{
  margin: 100px 0;
}
.about-right{
  width: 45%;
}
.about-right img{
  width: 80%;
}
.about-left{
  width: 45%;
  padding-top: 50px;
}
.about-left img{
  width: 100%;
}

.skill-title{
  margin-bottom: 120px;
}
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 45px;
  margin-bottom: 120px;
}
.grid img{
  max-width: 100%;
}
.vision-title{
  margin-bottom: 120px;
}
.vision-content{
  background-color: #F5F5F5;
 margin-bottom: 120px;
}
.vision-content p{
  padding:14% 14%;
}
.photocaption {
  text-align: center;
  margin: 5px 0;
}

/*WORKS*/
.works-page{
  text-align: center;
  margin-bottom: 80px;
}
.works-page img{
  width: 70%;
}
.works-title{
  margin-bottom: 120px;
  margin-top: 120px;
}
.works1-title{
  margin-bottom: 100px;
}
.works1-title img{
  vertical-align: text-bottom ;
}

.item1{
  display: flex;
  text-align: center;
  margin-bottom: 80px;
  }
.item2{
  display: flex;
  }
  .pako{
    margin:0 60px 0 auto;
  }
  .poko{margin:0 auto 0 60px;
  }
  .item2 .pako{
    padding-right: 33px;
  }
  .works-content{
    margin-bottom: 120px;
  }
  .works2-title{
    margin-bottom: 120px;
  }
  .works2-title img{
    vertical-align:text-bottom;
  }
  .works1-png{
    text-align: center;
    margin-bottom: 120px;
}
.works1-png img{
  width:80%
}
.works2-about{
  max-width: 45%;
  background-color: #F5F5F5;
  margin-bottom: 120px;
}
.works2-about .square{
  padding: 30px 0;
  list-style-type: square;
}
.works2-about .dotted{
  list-style-type:disc;
  padding-left: 16px;
}
.square .list{
  margin-bottom: 60px;
}
.basketballteam img{
  width: 80%;
  margin-bottom: 120px;
}
.basketballteam{
  text-align: center;
}
.works-page a p{
  color:#0000ee;
}
.works-page a{
  text-decoration: underline;
  text-decoration-color: #0000ee;
}

/*CONTACT*/
.contact-title{
  margin-bottom: 120px;
}
.contact{
  margin-bottom: 120px;
}
.contact p{
  margin-bottom: 60px;
}
.contact a{
  font-size: 1.5em;
  color: #0bd;
  padding-right: 16px;
  background-image: url(../images/import1.png);
  background-position: right bottom;
  background-repeat: no-repeat;

}
.contact a:hover{
  opacity: 0.7;
}

  
/* メニューアイコンのスタイル */
.menu-icon {
    display: none; /* 初期状態では非表示 */
  }
  
  /* 768px以下の画面幅で表示 */
  @media (max-width: 768px) {
    .menu-icon {
      display: block; /* メニューアイコンを表示 */
      cursor: pointer;
      padding: 10px;
    }
  
    .bar {
      width: 25px;
      height: 3px;
      background-color: #333;
      margin: 5px 0;
    }
  
    /* メニューのスタイル */
    .menu {
      display: none;
      list-style: none;
      padding: 0;
    }
  
    .menu li {
      padding: 10px;
    }
  
    .menu li a {
      text-decoration: none;
      color: #333;
    }
  
    /* メニューを表示するスタイル */
    .menu.show {
      display: block;
    }
    /* HOME */
    .home-content h2 img{
      width: 100%;
    }
    .top-content{
      flex-direction: column;
     }
     article,
     aside{
      width: 100%;
     }
     article{
      margin-bottom: 60px;
     }
     .top-works2 img {
      width: 95%;
     }
     /* ABOUT */
     .about-page{
      flex-direction: column;
     }
     .about-left,.about-right{
      width: 100%;
     }
     .about-left{
      margin-bottom: 60px;
     }
     body{
      width: 96%;
      margin: 0 auto;
     }
     .works1-png img {
      width: 100%;
     }
     .works2-about {
      max-width: 100%;
      }
      
      .basketballteam img{
        width: 100%;
      }
      #home{
        min-height: 50vh;
      }
      
      .navbar {
        display: flex;
        justify-content: flex-end; 
        align-items: center;
        /* 既存のナビゲーションバーのスタイル */
      }
      
      .menu {
        display: none;
        /* メニュー非表示時のスタイル */
      }
      
      .menu.show {
        display:block;
        /* メニュー表示時のスタイル */
      }
      
      .fixed {
        position: fixed;
        top: 0;
        width: 100%;
        /* メニューが固定された際のスタイル */
      }
      
    .item2 p{
      margin: 0 auto;
    }  
    .item1 p{
      margin: 0 auto;
    }
    .square{
    
      list-style-position: inside;
    }

  }

  /* ローディング画面 */
#loading{
  transition: all 2s;
  background-color:white;
  position: fixed;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
}
.round{
  width: 200px;
  height: 200px;
}
.loaded{
  opacity: 0;
  visibility: hidden;
}
  