/* フッター全体のスタイル */
.footer-container {
  background: linear-gradient(180deg, rgba(5, 12, 25, 0.95) 0%, rgba(10, 20, 40, 0.98) 100%);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding: 0;
  margin: 0;
}

.footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3300ff, #6633ff, transparent);
}

/* フッターメインエリア */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
  padding-right: 20px;
}

/* 会社情報エリア */
.company-info {
  flex: 2;
  min-width: 250px;
}

.footer-logo {
  width: 380px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* ソーシャルメディアリンク */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a{
  color:  rgba(255, 255, 255, 0.525)
}

.social-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.social-icon:hover img {
  opacity: 1;
  transform: translateY(-3px);
}

/* フッター見出し */
.footer-heading {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3300ff, #6633ff);
}

/* フッターリンクリスト */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 100%;
}

/* フッター下部 */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

/* 言語切替 */
.language-switcher {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}


.language-switcher a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 14px;
}

.language-switcher a:hover {
  color: white;
}

.divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* 著作権表示 */
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* アコーディオン機能のCSS - JavaScriptを使用しない実装 */

/* チェックボックスを非表示 */
.accordion-toggle {
  display: none;
}

/* デフォルトのスタイル（PC向け） */
.footer-column .footer-links {
  display: block;
  margin-top: 10px;
}

/* アコーディオンアイコンのスタイル */
.accordion-icon {
  display: none; /* デフォルトでは非表示 */
}

@media (min-width: 769px) and (max-width: 1092px) {
  .footer-main {
    padding: 50px 24px 24px;
    max-width: 900px;
    gap: 24px 16px;
  }

  .footer-logo {
    width: 300px;
  }

  .footer-bottom {
    max-width: 900px;
    padding: 18px;
  }

  .notes-container {
    max-width: 900px;
    padding: 20px 0;
  }
}
/* タブレット向けのスタイル */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  
  .company-info {
    grid-column: span 2;
  }
  
  .footer-column {
    margin-bottom: 0;
    padding-right: 0;
  }
  
  .footer-logo {
    width: 260px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .copyright {
    margin-top: 15px;
  }
}

/* モバイル用のスタイル */
@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 15px 15px;
  }
  
  .company-info {
    grid-column: span 1;
    margin-bottom: 20px;
  }
  
  .footer-heading {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
    margin-bottom: 5px;
  }
  
  /* アコーディオンアイコンの表示設定 */
  .accordion-icon {
    display: inline-block;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
  }
  
  /* + アイコンを疑似要素で作成 */
  .accordion-icon::before,
  .accordion-icon::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
  }
  
  /* 横線 */
  .accordion-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
  }
  
  /* 縦線 */
  .accordion-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
  }
  
  /* 初期状態ではリンクリストを非表示 */
  .footer-column .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
    padding-left: 10px;
  }
  
  /* チェックボックスがチェックされたら（開いている状態）リンクリストを表示 */
  .accordion-toggle:checked ~ .footer-links {
    max-height: 200px; /* 十分な高さ */
    margin-top: 10px;
  }
  
  /* チェックボックスがチェックされたらアイコンを変更（- に変化） */
  .accordion-toggle:checked ~ label .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
  }
  
  /* 会社情報はアコーディオンなし */
  .company-info .footer-links {
    max-height: none;
    display: block;
  }
  
  /* メニュー項目間の余白調整 */
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  /* フッター下部の調整 */
  .footer-bottom {
    padding: 15px;
  }
  
  .language-switcher, .copyright {
    width: 100%;
    text-align: center;
  }
}

/* 特に小さい画面向け (iPhone SE等) */
@media (max-width: 360px) {
  .footer-main {
    padding: 25px 12px 10px;
  }
  
  .footer-logo {
    width: 140px;
    margin: 0 auto 10px;
  }
  
  .company-info {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-tagline {
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  .footer-heading {
   position: relative;
    cursor: pointer;
    padding: 10px 30px 10px 0; /* 右側のパディングを増やす */
    user-select: none;
    margin-bottom: 5px;
    display: block; /* ブロック要素として表示 */
    width: 100%; /* 幅を1 00%に設定 */
    box-sizing: border-box; 
  }
  
  .footer-links a {
    font-size: 12px;
  }
  
  .copyright p {
    font-size: 11px;
  }
}

/* 注意事項・備考セクション */
.footer-notes {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
}

.notes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 0;
}

.notes-heading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 15px;
  position: relative;
  padding-left: 18px;
}

.notes-heading::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #3300ff, #6633ff);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  font-weight: bold;
}

.notes-content {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.notes-content p {
  margin-bottom: 8px;
}

.notes-content a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.notes-content a:hover {
  color: white;
}

.important-note {
  color: rgba(255, 173, 173, 0.9);
  font-weight: 500;
}

/* モバイル向けのスタイル調整 */
@media (max-width: 768px) {
  .notes-container {
    padding: 20px 0;
  }
  
  .notes-heading {
    font-size: 14px;
  }
  
  .notes-content {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .footer-notes {
    padding: 0 15px;
  }
  
  .notes-container {
    padding: 15px 0;
  }
  
  .notes-content p {
    margin-bottom: 10px;
  }
}