@charset "utf-8";

/* カテゴリー */
.sec-category h2 {
  margin: 0 0 10px;
}
.footer-cat-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.footer-cat-container .category-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.banner-area {
  border-radius: 14px;
  overflow: hidden;
}

/* PC向け（1025px以上） */
@media (min-width: 1025px) {
  .footer-cat-container .category-list {
    width: 52%;
    flex-shrink: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10%;
    margin-top: 1.5%;
    margin-bottom: 0;
  }
  .footer-cat-container .category-list a {
    align-items: flex-start;
  }
  .footer-cat-container .category-list li {
    border-bottom: none;
    padding: 3% 0;
  }
  .footer-cat-container .cat-dot {
    margin-top: 10px;
    margin-right: 12px;
    width: 12px;
    height: 12px;
  }
  .footer-cat-container .cat-text {
    flex-direction: column;
    gap: 0;
  }
  .footer-cat-container .cat-label {
    font-size: 3rem;
    line-height: 1.1;
  }
  .footer-cat-container .cat-name {
    margin-top: 3px;
  }
  .footer-cat-container .cat-arrow {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-cat-container {
    display: block;
  }
  .footer-cat-container .category-list li:first-of-type {
    border-top: 1px solid var(--color-border-gray);
  }
  .sec-category h2 {
    margin: 0 0 30px;
  }
}

/* タグ */
.sec-tags .logo img {
  width: 23%;
  min-width: 150px;
}
.sec-tags .logo {
  margin-bottom: 20px;
}
.sec-tags .tag-wrapper {
  overflow: hidden;
  width: 100%;
}
.sec-tags .tag-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.sec-tags .tag-inner {
  display: flex;
  gap: 12px;
  padding: 8px 0;
}
.sec-tags .tag-row:hover .tag-inner {
  transition: animation-play-state 0.5s ease;
}
/* hover可能な端末(=PC等)にだけ停止を適用 */
@media (hover: hover) and (pointer: fine) {
  .sec-tags .tag-row:hover .tag-inner {
    animation-play-state: paused;
  }
}
.sec-tags .tag-item {
  padding: 5px 14px;
  border: 1px solid var(--color-border-gray);
  border-radius: 9999px;
  background: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: #f7f7f7;
  font-size: 1.4rem;
  transition: background-color 0.3s ease;
}
.sec-tags .tag-item:hover {
  background-color: #fff;
}
/* 全行共通・途切れずスクロール */
.sec-tags .tag-row .tag-inner {
  animation: scroll 250s linear infinite;
}
/* 行ごとに逆方向も設定 */
.sec-tags .tag-row-1 .tag-inner {
  animation-direction: normal;
}
.sec-tags .tag-row-2 .tag-inner {
  animation-direction: reverse;
}
.sec-tags .tag-row-3 .tag-inner {
  animation-direction: normal;
}

/* スクロールアニメーション定義 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PCでは3行目を非表示に */
@media (min-width: 961px) {
  .sec-tags .tag-row-3 {
    display: none;
  }
}
/* SPでは3行とも表示（PCは制御済） */
@media (max-width: 960px) {
  .sec-tags .tag-row {
    margin-bottom: 0;
  }
  .sec-tags .logo img {
    width: 52%;
    margin: 0 auto;
  }
  .sec-tags .tag-item {
    padding: 5px 14px;
    font-size: 1.3rem;
  }
}

/* フッター */
.sec-footer .sns-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 35px;
}
.sec-footer .sns-label {
  font-family: 'Nunito Sans', sans-serif;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #333;
  padding: 6px 20px 4px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 2rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.sec-footer .sns-label::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #333 transparent transparent transparent;
}
.sec-footer .sns-container img {
  width: 50px;
  transition: opacity 0.3s ease;
}
.sec-footer .sns-container img:hover {
  opacity: 0.8;
}
@media (max-width: 960px) {
  .sec-footer .sns-container {
    gap: 27px;
    margin-bottom: 20px;
  }
  .sec-footer .sns-label {
    top: -52px;
    padding: 6px 17px 5px;
    font-size: 1.4rem;
  }
  .sec-footer .sns-label::after {
    bottom: -17%;
    border-width: 5px 3px 0 3px;
  }
  .sec-footer .sns-container img {
    width: 37px;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  font-size: 14px;
}
.footer-links li {
  width: 180px;
  text-align: center;
  line-height: 1.3;
}
.footer-links li.center-link {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.footer-links a {
  text-decoration: underline;
  color: #333;
  text-align: center;
}
.footer-links a:hover {
  text-decoration: none;
}
.copyright {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.05em;
}
@media (max-width: 960px) {
  .footer-links {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .footer-links li {
    width: 140px;
  }
  .copyright {
    font-size: 11px;
  }
}
