/* 元のCSSコード */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
  }


  

  a{
    text-decoration: none !important;
  }


  /* Scroll to top button */
.scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: black;
  color: white;
  border: none;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

.scrollToTopBtn:hover {
  background-color: #35393d;
}

/* Show the button when user scrolls down */
.scrollToTopBtn.show {
  display: flex;
}

  
header {
  position: relative;
  height: 850px;
  overflow: hidden;
}

  .header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

  .header-content {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .header-text {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 55px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 130px;
    text-shadow: 4px 2px 4px rgba(0, 0, 0, 0.5);
  }
  

  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;  /* 追従させるためにfixedに変更 */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* 濃いめの青 + 透明度 */
    z-index: 100;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
}
.logo {
  display: flex;
  align-items: center; /* 垂直中央揃え */
  gap: 10px; /* ロゴとテキストの間隔 */
}

  .logo img{
    width: 60px;
    height: 60px;
  }

  .logo-link {
    font-size:40px;
    text-decoration: none;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    color: black
  }
  .logo-link:hover {
    color: black !important; /* ← 任意の色で上書き */
  }

  .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu-item {
    margin: 0 10px;
  }
  .menu-link {
    text-decoration: none;
    color: black
  }
  
 
  
  
  .menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
  }
  
  .menu-item {
    margin-left: 80px;
  }
  
  .menu-link {
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .menu-link:hover {
    color: black;
  }
  
  /* 追加のホバーエフェクト */
  
  .menu-item-hover {
    position: relative;
  }
  
  .menu-item-hover::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: width 0.5s ease;
    z-index: 1;
  }
  
  .menu-item-hover:hover::before {
    width: 100%;
  }
  
  .menu-item-hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #ff9b06;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
  }
  
  .menu-item-hover:hover::after {
    transform: scaleX(1);
    background-color: transparent; /* 覆いかぶさる部分の背景を透明にする */
  }
  
  
/* ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.hamburger {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: background-color 0.3s;
  }

  .menu-toggle .hamburger {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* バツアイコンのスタイル */
.menu-toggle .close-icon {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
  }


.menu-toggle .close-icon::before,
.menu-toggle .close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: transform 0.3s;
}

.menu-toggle .close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle .close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

  
  .menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: background-color 0.3s;
  }
  
  .menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  @media (max-width: 1024px) {
    .header-text {
      font-size: 45px;
      width: 80%;
      top: 290px;
      line-height: 80px;
    }

    
  
    .navigation {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .menu {
      margin-top: 0;
    }
  
    .menu-item {
      margin-left: 20px;
      margin-right: 20px;
      margin-bottom: 0;
    }
  
    .menu-link {
      font-size: 16px;
    }


  .navigation.scroll .menu-link {
    color: black;
  }
  
    header {
      padding: 20px 40px;
      height: 600px;
    }
  }


  
  /* レスポンシブデザインにおけるメニューの表示スタイル */
  @media screen and (max-width: 615px) {

    header {
        padding: 10px;
        height: 400px;
    }

    .header-text {
      font-size: 30px;
      width: 90%;
      top: 200px;
    }

    .logo-link{
      font-size: 25px;
    }

    .menu {
        list-style-type: none;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 20px;
        transition: top 5s; /* トランジション時間を0.5秒に設定 */
        z-index: 2;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease; /* メニューの開閉のアニメーション */
      }

  
    .menu.active {
      top: 0;
      display: flex;
      flex-direction: column;
      max-height: 500px; /* メニューの最大の高さ */
      transition: max-height 0.5s ease; /* メニューの開く際のアニメーション */
    }
  

    .menu.closing {
        max-height: 500px; /* メニューの最大の高さ */
        transition: max-height 0.5s ease; /* メニューの閉じる際のアニメーション */
      }


.menu.closing.active {
    max-height: 0;
  }

    /* メニューの表示スタイル */

  
  .menu.active .menu-item {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 3;
  }

  
  .menu.active .menu-item:nth-child(1) {
    transition-delay: 0.1s;
  }
  
  .menu.active .menu-item:nth-child(2) {
    transition-delay: 0.2s;
  }
  
  .menu.active .menu-item:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .menu.active .menu-item:nth-child(4) {
    transition-delay: 0.4s;
  }
  
  .menu.active .menu-item:last-child {
    transition-delay: 0.5s;
  }
  
  .menu.active .menu-item {
    opacity: 1;
    transform: translateY(0);
  }
  }  
  
  



  /*雅工業についてーーーーーーーーーーーーーーーーー*/
  .new-section {
    overflow: hidden;
    height: 780px;  /* セクション全体の高さ */
    max-width: 100%;
    position: relative; /* 親要素をrelativeに設定して子要素の配置を基準に */
    margin-top: 200px;
  }
  
  .new-section .section-content {
    display: flex;
    align-items: center;  /* 垂直方向にセンタリング */
    justify-content: space-between;  /* 横方向にスペースを分ける */
    position: relative; /* 子要素（テキスト、画像）の配置を基準にするため */
    height: 100%;
  }
  
  .new-section .text {
    text-align: left;  /* テキストを左寄せ */
    width: 50%;  /* 画面の50%を占める */
    background-color: rgb(246, 254, 207);  /* 背景色 */
    left: 5%;
    color: black;
    padding: 40px;  /* 上下左右にスペースを追加 */
    position: relative;  /* 位置を親要素に対して相対的に設定 */
    z-index: 1;  /* 画像よりも前面に表示 */
  }
  
  .new-section .text h2 {
    font-weight: bold;
    font-size: 2rem;
  }
  
  .new-section .text p {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 40px;
  }
  
  /* 画像のアニメーション */
  @keyframes slide-in {
    from {
      transform: translateX(-100%);  /* 左外からスライドイン */
      opacity: 0;
    }
    to {
      transform: translateX(0);  /* 元の位置に戻る */
      opacity: 1;
    }
  }
  
  .new-section .image {
    width: 80%;  /* 画像の幅を親要素の50%に設定 */
    height: 100%;
    position: absolute;  /* 親要素内で絶対位置を指定 */
    top: 0;  /* 上端に配置 */
    left: 20%;  /* 左端に配置 */
    z-index: 0;  /* 画像はテキストの下に表示 */
    overflow: hidden;  /* 親要素からはみ出た部分を隠す */
  }
  
  .new-section .image img {
    width: 100%;  /* 画像を親要素に合わせてリサイズ */
    height: 100%;
    object-fit: cover;  /* 画像が親要素内で収まるように調整 */
    opacity: 0;  /* 初期状態では透明 */
    transform: translateX(-100%);  /* 初期状態で左外に配置 */
    transition: opacity 1s ease, transform 1s ease;
  }
  
  /* in-viewクラスが追加された場合にアニメーションを適用 */
  .new-section .image.in-view img {
    opacity: 1;
    transform: translateX(0);  /* 画像が画面内にスライドイン */
    animation: slide-in 2s ease-out forwards;  /* スライドインアニメーション */
  }
  




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

    .new-section {
      overflow: hidden;
      height: 640px;
      max-width: 100%;
    }
    

    .new-section .section-content {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
    .new-section .text {
      width: 70%;
      height: 300px;
      padding: 0px;
      text-align: center;
      position: relative;
      top: 280px;
      left: 0px;
    }

    .new-section .text h2{
      text-align: center;
      padding-left: 0%;
      padding-top: 50px;
      font-weight: bold;
      font-size: 20px;
    }

    .new-section .text p{
      width: 88%;
      padding-left: 10%;
      padding-top: 0px;
      font-size: 13px;
      text-align: left;
    }
  
    .new-section .image {
      width: 90%;
      margin-top: 30px;
      left: 5%;
    }

    .new-section .image img {
      width: 100%;
      height: 400px;
      display: block;
    }
  }

  

  @media (max-width: 768px) {

    .new-section {
      overflow: hidden;
      height: 540px;
      max-width: 100%;
      margin-bottom: 10px;
      margin-top: 20px;
    }

    .new-section .section-content {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
    .new-section .text {
      width: 100%;
      padding: 0px;
      text-align: center;
      position: relative;
      top: 200px;
      left: 0px;
    }

    .new-section .text h2{
      text-align: center;
      padding-left: 0%;
      font-weight: bold;
      font-size: 20px;
    }

    .new-section .text p{
      width: 88%;
      padding-left: 10%;
      padding-top: 20px;
      font-size: 13px;
      text-align: left;
      line-height: 20px;
    }
  
    .new-section .image {
      width: 90%;
      margin-top: 20px;
      left: 5%;
      z-index: 5;
    }

    .new-section .image img {
      width: 100%;
      height: 200px;
      display: block;
    }
  }
  


/*ボタンーーーーーーーーーーーーーーーーーーーーーー*/
  .new-detail {
    display: inline-block;
    margin-top: 40px;
    margin-left: 0px;
    padding: 20px 75px;
    border: 1px solid #000;
    background-color: transparent;
    font-weight: bold;
    color: #000 !important;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  .new-detail:hover {
    background-color: #000;
    color: #fff !important;
  }

  .new-detail-2 {
      display: inline-block;
      margin-top: 40px;
      margin-left: 80px;
      padding: 20px 75px;
      border: 1px solid #000;
      background-color: transparent;
      font-weight: bold;
      color: #000 !important;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }

  .new-detail-2:hover {
    background-color: #000;
    color: #fff !important;
  }

  @media screen and (max-width: 1024px){
    .new-detail {
      display: inline-block;
      margin-top: 20px;
      margin-left: 0px;
      padding: 10px 55px;
      border: 1px solid #000;
      background-color: transparent;
      font-weight: bold;
      color: #000;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }

    .new-detail-2 {
      display: inline-block;
      margin-top: 30px;
      margin-left: 125px;
      padding: 13px 55px;
      border: 1px solid #000;
      background-color: transparent;
      font-weight: bold;
      color: #000;
      font-size: 16px;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }
  }

  @media (max-width: 767px) {
    .new-detail {
      display: inline-block;
      margin-top: 10px;
      margin-left: 0px;
      padding: 5px 45px;
      border: 1px solid #000;
      background-color: transparent;
      font-weight: bold;
      color: #000;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }

    .new-detail-2 {
      display: inline-block;
      margin-top: 30px;
      margin-left: 55px;
      padding: 13px 55px;
      border: 1px solid #000;
      background-color: transparent;
      font-weight: bold;
      color: #000;
      font-size: 16px;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }


  }


  /*事業内容ーーーーーーーーーーーーーーーーー*/
  .new-section-2 {
    overflow: hidden;
    height: 780px; /* セクション全体の高さ */
    max-width: 100%;
    position: relative; /* 親要素をrelativeに設定 */
    margin-top: 0px;
  }
  
  .new-section-2 .section-content-2 {
    display: flex;
    align-items: center;  /* 垂直方向にセンタリング */
    justify-content: space-between;  /* 横方向にスペースを分ける */
    position: relative; /* 子要素の位置をこの親要素に基づいて配置 */
    height: 100%;
  }
  
  .new-section-2 .text-2 {
    text-align: left;  /* テキストを左寄せ */
    width: 50%;  /* 親要素の半分の幅を占める */
    left: 45%;
    background-color: rgb(246, 254, 207);  /* 背景色 */
    color: black;
    padding: 40px;  /* 上下左右にスペースを追加 */
    position: relative; /* 親要素内で相対的に配置 */
    z-index: 1;  /* 画像の上に表示されるように設定 */
  }
  
  .new-section-2 .text-2 h2 {
    font-weight: bold;
    font-size: 2rem;
  }
  
  .new-section-2 .text-2 p {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 40px;
  }
  
  /* 右からスライドインするアニメーション */
  @keyframes slide-in-right {
    from {
      transform: translateX(100%); /* 右側から表示 */
      opacity: 0;
    }
    to {
      transform: translateX(0); /* 元の位置に戻る */
      opacity: 1;
    }
  }
  
  .new-section-2 .image {
    width: 80%;  /* 画像の幅を親要素の半分に設定 */
    height: 100%;
    position: absolute; /* 親要素内で絶対位置を指定 */
    top: 0;  /* 親要素の上端に配置 */
    left: 0%;  /* 画像を親要素の右半分に配置 */
    z-index: 0;  /* 画像はテキストより下に表示 */
    overflow: hidden;  /* 親要素からはみ出た部分を隠す */
  }
  
  .new-section-2 .image img {
    width: 100%;  /* 画像を親要素に合わせてリサイズ */
    height: 100%;
    object-fit: cover;  /* 親要素内で画像が切れないように調整 */
    opacity: 0;  /* 最初は透明 */
    transform: translateX(100%);  /* 初期状態で右外に配置 */
    transition: opacity 1s ease, transform 1s ease;
  }
  
  /* in-viewクラスが追加された場合にアニメーションを適用 */
  .new-section-2 .image.in-view img {
    opacity: 1;
    transform: translateX(0);  /* 画像が画面内にスライドイン */
    animation: slide-in-right 2s ease-out forwards;  /* 右から左へスライドイン */
  }
  



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

    .new-section-2 {
      overflow: hidden;
      height: 640px;
      max-width: 100%;
    }

    .new-section-2 .section-content-2 {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
    .new-section-2 .text-2 {
    width: 70%;
    height: 300px;
    padding: 0px;
    text-align: center;
    position: relative;
    top: 280px;
    left: 0px;
    }

    .new-section-2 .text-2 h2{
      text-align: center;
      padding-left: 0%;
      padding-top: 50px;
      font-weight: bold;
      font-size: 20px;
    }

    .new-section-2 .text-2 p{
      width: 88%;
      padding-left: 10%;
      padding-top: 10px;
      font-size: 13px;
      text-align: left;
    }
  
    .new-section-2 .image {
      width: 90%;
      margin-top: 20px;
      left: 5%;
    }

    .new-section-2 .image img {
      width: 100%;
      height: 400px;
      display: block;
    }
  }
  
  @media (max-width: 767px) {

    .new-section-2 {
      overflow: hidden;
      height: 540px;
      max-width: 100%;
    }

    .new-section-2 .section-content-2 {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
    .new-section-2 .text-2 {
      width: 100%;
      padding: 0px;
      text-align: center;
      position: relative;
      top: 200px;
      left: 0px;
    }

    .new-section-2 .text-2 h2{
      text-align: center;
      padding-left: 0%;
      font-weight: bold;
      font-size: 20px;
    }

    .new-section-2 .text-2 p{
      width: 88%;
      padding-left: 10%;
      padding-top: 20px;
      font-size: 13px;
      text-align: left;
      line-height: 20px;
    }
  
    .new-section-2 .image {
      width: 90%;
      margin-top: 20px;
      left: 5%;
      z-index: 5;
    }

    .new-section-2 .image img {
      width: 100%;
      height: 200px;
      display: block;
    }
  }





  /*会社の強みーーーーーーーーーーーーーーーーーーーーーーー*/

  #strengths {
    padding: 80px 0;
    background: white;
    color: #fff;
    text-align: center;
  }
  
  .strengths-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .strength-item {
    flex-basis: 30%;
    text-align: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: #000;
    height: 600px;
  }
  
  .strength-item:hover {
    transform: translateY(-5px);
  }
  
  .strength-item img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
  }
  
  .strength-item h3 {
    font-size: 30px;
    margin: 20px 0 10px;
  }
  
  .strength-item p {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 20px 30px 20px;
  }
  
  @media screen and (max-width: 1024px) {
    .strengths-wrapper {
      justify-content: space-around;
    }
  
    .strength-item {
      flex-basis: 70%;
    }
  }
  
  @media screen and (max-width: 768px) {


  #strengths {
    padding: 0px 0;
    background: white;
    color: #fff;
    text-align: center;
  }

  #strengths h2{
    padding: 10px 0px;
  }

    .strengths-wrapper {
      display: block;
      justify-content: center;
    }

  
    .strength-item {
      flex-basis: 90%;
      margin-bottom: 0px;
      height: 50%;
    }

    .strength-item p{
      font-size: 15px;
    }


  }





/*採用情報ーーーーーーーーーーーーーーーーー*/

.careers-section {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
  color: black;
}

.careers-container {
  max-width: 950px;
  margin: 0 auto;
}

.careers-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 30px;
  text-align: left;
}


.careers-table th,
.careers-table td {
  padding: 30px;
  border-bottom: 2px solid #ddd;
}


.careers-table th {
  font-weight: bold;
  background-color: #f2f2f2;

}

.careers-table td {
  vertical-align: middle;
  width: 60%;
}

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


.careers-section {
  padding: 0px 0;
  background: #f9f9f9;
  text-align: center;
  color: black;
}


  .careers-table th,
  .careers-table td {
    padding: 13px;
    font-size: 12px;
  }
}

  
  




/*お問い合わせフォームーーーーーーーーーーーーーーーーーー*/
  #contact {
    width: 100%;
    height: 100%;
  }
  
  .section-header {
    text-align: center;
    margin: 0 auto;
    padding: 40px 0;
    font-size: 3rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 6px;
  }
  
  .contact-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    max-width: 840px;
  }
  
  /* Left contact page */
  .form-horizontal {
    /*float: left;*/
    max-width: 400px;
    font-family: 'Lato';
    font-weight: 400;
  }

  .form-control {
    
  }
  
  .form-control, 
  textarea {
    max-width: 400px;
    color: #fff;
    letter-spacing: 1px;
  }

  
  
  .send-button {
    margin-top: 15px;
    height: 34px;
    width: 400px;
    overflow: hidden;
    transition: all .2s ease-in-out;
  }
  
  .alt-send-button {
    height: 34px;
    transition: all .2s ease-in-out;
  }
  
  .send-text {
    display: block;
    margin-top: 10px;
    font: 700 12px 'Lato', sans-serif;
    letter-spacing: 2px;
  }
  
  .alt-send-button:hover {
    transform: translate3d(0px, -29px, 0px);
  }
  
  /* Begin Right Contact Page */
  .direct-contact-container {
    max-width: 400px;
  }
  
  /* Location, Phone, Email Section */
  .contact-list {
    list-style-type: none;
    margin-left: -30px;
    padding-right: 20px;
  }
  
  .list-item {
    line-height: 4;
    color: #aaa !important;
  }
  
  .contact-text {
    font: 300 18px 'Lato', sans-serif;
    letter-spacing: 1.9px;
    color: #bbb !important;
  }
  
  .place {
    margin-left: 62px;
  }
  
  .phone {
    margin-left: 56px;
  }
  
  .gmail {
    margin-left: 53px;
  }
  
  .contact-text a {
    color: #bbb !important;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  
  .contact-text a:hover {
    color: #fff;
    text-decoration: none;
  }
  
  
  /* Social Media Icons */
  .social-media-list {
    position: relative;
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  
  .social-media-list li a {
    color: #fff;
  }
  
  .social-media-list li {
    position: relative; 
    display: inline-block;
    height: 60px;
    width: 60px;
    margin: 10px 3px;
    line-height: 60px;
    border-radius: 50%;
    color: #fff;
    background-color: rgb(1, 6, 1);
    cursor: pointer; 
    transition: all .2s ease-in-out;
  }
  
  .social-media-list li:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 0 1px #fff;
    transition: all .2s ease-in-out;
  }
  
  .social-media-list li:hover {
    background-color: #fff; 
  }

  
  .social-media-list li:hover:after {
    opacity: 1;  
    transform: scale(1.12);
    transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
  }
  
  .social-media-list li:hover a {
    color: #000;
  }

  .copyright {
    font: 200 14px 'Oswald', sans-serif;
    color: #555;
    letter-spacing: 1px;
    text-align: center;
  }
  
  hr {
    border-color: rgba(255,255,255,.6);
  }


  .social-media-list li:nth-child(1):hover {
    background-color: #00B900;/* ホバー時の色を指定します（例: 赤色） */
  }
  
  .social-media-list li:nth-child(2):hover {
    background-color: #cf2e92; /* ホバー時の色を指定します（例: 緑色） */
  }
  
  .social-media-list li:nth-child(3):hover {
    background-color: #1DA1F2; /* ホバー時の色を指定します（例: 青色） */
  }
  
  .social-media-list li:nth-child(4):hover {
    background-color: #1877f2; /* ホバー時の色を指定します（例: 黄色） */
  }
  
  
  .social-media-list li:nth-child(1):hover a {
    color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
  }
  

  .social-media-list li:nth-child(2):hover a {
    color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
  }

  .social-media-list li:nth-child(3):hover a {
    color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
  }

  .social-media-list li:nth-child(4):hover a {
    color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
  }


  /* Begin Media Queries*/
  @media screen and (max-width: 1024px) {
    .contact-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 0 auto;
      padding: 20px;
      max-width: 960px;
    }
  
    .form-horizontal {
      max-width: 100%;
      margin-bottom: 30px;
    }
  
    .send-button {
      width: 100%;
    }
  
    .direct-contact-container {
      margin-top: 30px;
      max-width: 100%;
    }
  
    .list-item {
      line-height: 2.5;
    }
  
    .place,
    .phone,
    .gmail {
      margin-left: 0;
      text-align: center;
    }
  
    .social-media-list li {
      height: 40px;
      width: 40px;
      line-height: 40px;
      margin: 5px;
    }
    .social-media-list li:after {
      width: 40px;
      height: 40px;
      line-height: 40px;
    }
  }
  
  
  
  
  @media screen and (max-width: 767px) {

    .section-header{
      font-size: 35px;
      margin-bottom: 20px;
    }

    .contact-wrapper {
      display: block;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      padding: 20px;
      position: relative;
      max-width: 540px;
    }
  
    .direct-contact-container, .form-wrapper {
      float: none;
      margin: 0 auto;
    }  
    .form-control, textarea {
      margin: 0 auto;
    }
   
    
    .name, .email, textarea {
      width: 280px;
    } 
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 280px;
    }  
    .social-media-list {
      left: 0;
    }
    .social-media-list li {
      height: 55px;
      width: 55px;
      line-height: 55px;
      font-size: 2rem;
    }
    .social-media-list li:after {
      width: 55px;
      height: 55px;
      line-height: 55px;
    }

    .alt-send-button{
      width: 100%;
    }

    .contact-list{
      margin-left: 0px;
    }

    .contact-list span{
      padding-left: 50px;
  }
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer p {
  flex: 1 0 100%;
  margin-top: 30px;
}

.footer-links {
  flex: 1 0 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.footer-links li {
  margin: 0 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #aaa;
}










#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
