/* Font Awesome アイコンのCDNリンク */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* フッター全体 */
.custom-footer-1 {
  color: #333; /* 文字色を黒に指定 */
  background-color: #efefeF;
  padding: 50px 200px;
  padding-top: 200px;
}

/* 左側の部分 */
.custom-footer-left {
  flex: 1;
}

.custom-logo {
  display: flex;
  align-items: center;
}

.custom-logo-img {
  width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.custom-divider {
  border: 0;
  border-top: 2px solid #ccc;
  margin: 10px 0;
  width: 700px;
}

.custom-footer-menu {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
}

/* メニューアイコンにくすんだ色を設定 */
.custom-footer-menu li:nth-child(1) a i {
  color: #f28b82; /* TOP (くすんだ赤) */
}

.custom-footer-menu li:nth-child(2) a i {
  color: #f9a15c; /* SERVICE (くすんだオレンジ) */
}

.custom-footer-menu li:nth-child(3) a i {
  color: #e0d868; /* ABOUT (くすんだ黄色) */
}

.custom-footer-menu li:nth-child(4) a i {
  color: #6cb79e; /* NEWS (くすんだ緑) */
}

.custom-footer-menu li:nth-child(5) a i {
  color: #66a1cc; /* CONTACT (くすんだ青) */
}

.custom-footer-menu li:nth-child(6) a i {
  color: #a17edb; /* RECRUIT (くすんだ紫) */
}

.custom-footer-menu li {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: #333; /* 文字色を黒に設定 */
}

.custom-footer-menu li i {
  margin-right: 8px;
}

.custom-footer-menu li a {
  color: #333; /* メニューリンクの文字色 */
  text-decoration: none; /* リンクの下線をなくす */
}

.custom-footer-menu li a:hover {
  color: #666; /* ホバー時に色を#666に変更 */
}

.custom-footer-menu2 a {
  color: #333; /* メニューリンク2の文字色 */
  text-decoration: none; /* リンクの下線をなくす */
}

.custom-footer-menu2 a:hover {
  color: #666; /* ホバー時に色を#666に変更 */
}

.custom-footer-menu2 {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  font-size: 12px;
  gap: 20px;
  position: right;
  color: #333; /* メニューリンクの文字色 */
}

/* 右側の部分 */
.custom-footer-right {
  text-align: left; /* 左揃えに変更 */
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center; /* コンテンツの垂直方向の中央揃え */
  position: relative; /* 親要素として位置を相対的に設定 */
}

.custom-footer-right p {
  color: #333; /* 文字色を明示的に指定 */
}

.custom-copyright {
  font-size: 12px;
  color: #333;
  position: absolute; /* 絶対位置 */
  bottom: 0px; /* 下から20px */
  right: 20px;  /* 右から40px */
}



/* モバイルフッター用 */
@media (max-width: 768px) {
  /* フッター全体 */
  .custom-footer-1 {
    background-color: #efefeF;
    color: #333;
    padding: 20px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: left;
  }

  /* 左側コンテンツ */
  .custom-footer-left {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 20px;
    width: 100%;
  }

  /* ロゴ */
  .custom-logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .custom-logo-img {
    width: 250px; /* モバイル向けにロゴの幅を調整 */
    height: auto;
    margin-top: 50px;
  }

  /* 区切り線 */
  .custom-divider {
    width: 50%;
    border-top: 1px solid #ccc;
    margin: 10px 0;
  }

  /* メニュー項目 */
  .custom-footer-menu, .custom-footer-menu2 {
    list-style: none;
    padding: 20px;;
    margin: 0;
    display: flex;
    flex-direction: column; /* メニュー項目を縦並び */
    align-items: left;
    width: 100%;
  }

  .custom-footer-menu li, .custom-footer-menu2 li {
    margin: 5px 0;
  }

  .custom-footer-menu li a, .custom-footer-menu2 li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  
  .custom-footer-menu2 {
  gap: 0;
    margin: 0;
  }
  
    .custom-footer-menu2 li a {
    font-size: 12px; /* 文字を小さく */
    color: #666;
    text-decoration: none;
  }

  .custom-footer-menu li a i, .custom-footer-menu2 li a i {
    margin-right: 5px; /* アイコンとテキストの間隔 */
  }

  /* メニュー項目のホバー時 */
  .custom-footer-menu li a:hover, .custom-footer-menu2 li a:hover {
    color: #666;
  }

  /* 右側コンテンツ */
  .custom-footer-right {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
    flex-shrink: 0; /* コピーライト部分が縮小しないように */
    width: 100%;
  }

  .custom-copyright {
    font-size: 12px;
    color: #666;
    margin: 0;
    padding: 10px 0;
  }