html {
    scroll-behavior: smooth;
  }
  
  .pagejump {
    height: 40px;
    background-color: white;
}

/*ヘッダー*/
.contact2, .products2, .about2 {
    font-size: 25px;
    font-family: Klee One;
    color: black;
    text-decoration: none;
    margin-right: 10px;
    padding-right: 10px;
    float: right;
}

 p{
  font-family: Klee One;
 }
  
  .firstview {
    margin-top: 80px; 
    text-align: center;
  }
  
  .firstview h1 {
    font-family: Klee One;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
    padding: 0 20px;
  }

h2{
  text-align: center;
  font-family: Klee One;
  font-size: 30px;
}

h4{
  font-family: Klee One;
}

.profile-container {
  display: flex;
  align-items: flex-start; 
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
}

.zigazou {
  width: 230px; 
  height: auto;
}

.profile-text h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}


.profile-text {
  max-width: 100%;
  font-family: Klee One;
  font-size: 20px;
  text-align: center;
}

.skill-container{
  text-align: center;
  font-family: Klee One;
  font-size: 20px;
}

.skill-item {
    display: flex;
    gap: 30px; /* ブロック間の余白 */
    justify-content: center; /* 中央揃え（必要に応じて調整） */
    flex-wrap: wrap; /* 小さい画面で折り返し対応 */
    margin-top: 20px;
}

.skill-block {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc; /* 任意：見やすくするための枠線 */
    border-radius: 8px;
    width: 200px; /* 固定幅（好みに応じて調整） */
}


.products-container {
  display: flex;
  gap: 20px; 
  flex-wrap: wrap; 
  justify-content: center; 
  padding: 20px;
}

.product-item {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  width: 200px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  background-color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.product-item-link {
  text-decoration: none;
  color: inherit;
}

.product-item-link:hover .product-item {
  transform: translateY(-4px);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.product-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.poster-image{
  width: 150px;
  height: auto;
  border-radius: 20px;
}

.Scratch-image{
  width: 150px;
  height: auto;
  border-radius: 20px;
}

.blender-image{
  width:150px;
  height: auto;
  border-radius: 20px;
}


.contact-title {
    border-bottom: 2px solid gray
    }
    
    .contact-form {
    text-align: center;
    background-color: lightgray;
    }
    
    input,textarea {
    width: 400px;
    margin-bottom: 30px;
    font-family: Klee One;
    font-size: 20px;
    border: 1px solid gray;
    }
    
    .contact-submit {
    text-align: center;
    font-family: Klee One;
    background-color: gray;
    color: black;
    }

    .back-link {
      display: inline-block;
      margin: 30px;
      font-size: 16px;
      color: #333;
      text-decoration: none;
      text-align: center;
      border: 2px solid #333;
      padding: 8px 16px;
      border-radius: 8px;
      transition: all 0.3s ease;
  }
  .back-link:hover {
      background-color: #333;
      color: #fff;
  }
  .back-container {
      text-align: center;
      margin-top: 40px;  
  }