/*
Theme Name: fklw Theme
Author: fklw
Version: 1.0
Description: fklw Theme
*/

/* =========================
基本
========================= */

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

a {
  transition: 0.3s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}



/* =========================
モーダルアニメーション
========================= */

#memberModal,
#memberListModal,
#newsModal {
  transition: opacity 0.3s ease;
}

.modal-hidden {
  opacity: 0;
}

.modal-show {
  opacity: 1;
}



/* =========================
カード強化
========================= */

.member-card > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}



/* =========================
トップメンバー横スクロール
========================= */

.member-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 14px 0 20px;
}

.member-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: memberLoop 36s linear infinite;
}

.member-slider:hover .member-track {
  animation-play-state: paused;
}

.member-slide-card {
  flex: 0 0 auto;
  width: 300px;
}

.member-slide-card > div {
  height: 100%;
}

@keyframes memberLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}



/* =========================
スクロールフェードイン
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* =========================
フォーム見た目補助
========================= */

input,
textarea,
button {
  font: inherit;
}

textarea {
  resize: vertical;
}



/* =========================
モーダル内ボタン補助
========================= */

#closeModal,
#closeListModal,
#newsModalClose {
  cursor: pointer;
  line-height: 1;
}

#modalX i,
#modalYoutube i,
#modalTwitch i {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#modalX:hover i,
#modalYoutube:hover i,
#modalTwitch:hover i {
  transform: scale(1.08);
  opacity: 0.9;
}



/* =========================
ローディング画面
========================= */

#loadingScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #f7fbff 0%, #e9f7ff 45%, #f5f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loadingScreen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  text-align: center;
}

.loading-logo {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #2f6df6, #2ec7d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: loadingFloat 1.8s ease-in-out infinite;
}

.loading-sub {
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #24324a;
  animation: loadingBlink 1.4s ease-in-out infinite;
}

@keyframes loadingFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes loadingBlink {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .loading-logo {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .loading-sub {
    margin-top: 14px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }
}



/* =========================
ABOUT 斜めNEWS帯
========================= */

.about-news-ribbon-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: visible;
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  z-index: 1;
}

.about-news-ribbon {
  width: 104%;
  margin-left: -2%;
  background: linear-gradient(90deg, #7c00ff 0%, #a100ff 50%, #7c00ff 100%);
  border-top: 4px solid #ffe600;
  border-bottom: 4px solid #ffe600;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
  transform: rotate(-1.6deg);
  transform-origin: center;
  overflow: hidden;
}

.about-news-ribbon-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: aboutRibbonScroll 28s linear infinite;
}

.about-news-ribbon-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.about-news-ribbon-set span {
  display: inline-block;
  padding: 16px 0;
  padding-right: 48px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.2;
}

@keyframes aboutRibbonScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* =========================
メンバー フル幅スライダー
========================= */

.member-slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.member-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}



/* =========================
WHAT IS FKLW セクション
========================= */

.what-fklw-section {
  background: #bfe6ff;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  padding: 72px 24px;
  margin-top: 40px;
}

.what-fklw-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.what-fklw-card {
  width: 100%;
  max-width: 720px;
  background: #f5f5f5;
  border: 4px solid #000;
  border-radius: 36px;
  padding: 42px 44px;
  box-shadow: 14px 14px 0 #006cff;
}

.what-fklw-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.05;
  color: #24324a;
  margin-bottom: 30px;
}

.what-fklw-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #24324a;
  line-height: 1.9;
  margin-bottom: 18px;
}

.what-fklw-highlight {
  display: inline-block;
  background: #bdf1ff;
  color: #12456e;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.8;
  padding: 2px 10px;
  margin-bottom: 18px;
}

.what-fklw-line {
  width: 100%;
  border-top: 2px dashed #d8d8d8;
  margin: 26px 0 18px;
}

.what-fklw-sub {
  font-size: 1rem;
  font-weight: 900;
  color: #245dff;
  line-height: 1.8;
}

.what-fklw-visual {
  position: relative;
  width: 340px;
  min-width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-fklw-star {
  position: absolute;
  width: 260px;
  height: 260px;
  background: #3c8cff;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    100% 50%,
    61% 65%,
    50% 100%,
    39% 65%,
    0% 50%,
    39% 35%
  );
  opacity: 0.85;
}

.what-fklw-image {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border: 4px solid #000;
  border-radius: 999px;
  background: #fff;
}

.sparkle {
  position: absolute;
  z-index: 3;
  font-size: 2.5rem;
  line-height: 1;
}

.sparkle-1 {
  top: 28px;
  right: 38px;
}

.sparkle-2 {
  bottom: 48px;
  left: 30px;
}



/* =========================
Q&A セクション
========================= */

.qa-section {
  background: #e9def8;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  padding: 72px 24px 84px;
  position: relative;
}

.qa-header-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 52px;
}

.qa-header-box {
  position: relative;
  background: #f5f5f5;
  border: 4px solid #000;
  box-shadow: 10px 8px 0 #156cff;
  padding: 14px 42px;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #263248;
  z-index: 2;
}

.qa-header-mark {
  position: absolute;
  top: -18px;
  right: -10px;
  font-size: 3rem;
  font-weight: 900;
  color: #ff3b6b;
  line-height: 1;
  z-index: 3;
}

.qa-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 34px;
}

.qa-card {
  position: relative;
  background: #f5f5f5;
  border: 4px solid #000;
  border-radius: 28px;
  padding: 48px 30px 28px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.qa-label {
  position: absolute;
  top: -18px;
  left: 24px;
  display: inline-block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 18px;
  border: 3px solid #233041;
  border-radius: 12px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(-1.5deg);
}

.qa-label-blue {
  background: linear-gradient(90deg, #4d7fff 0%, #4aa6ff 100%);
}

.qa-label-sky {
  background: linear-gradient(90deg, #22a9ff 0%, #17c9d9 100%);
}

.qa-label-purple {
  background: linear-gradient(90deg, #5f65ff 0%, #7f5fff 100%);
}

.qa-label-green {
  background: linear-gradient(90deg, #19c8b3 0%, #20b79b 100%);
}

.qa-answer-title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.8;
  color: #2b3545;
  margin-bottom: 10px;
}

.qa-answer-text {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.9;
  color: #5a6474;
}



/* =========================
GUIDELINES セクション
========================= */

.guidelines-section {
  background: #f3f3f3;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  padding: 72px 24px 84px;
}

.guidelines-heading-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 46px;
}

.guidelines-heading {
  background: #4ddb82;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  padding: 18px 42px;
  border: 4px solid #000;
  box-shadow: 10px 8px 0 #000;
  transform: rotate(1deg);
}

.guidelines-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.guideline-card {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.guideline-card-shadow {
  position: absolute;
  inset: 14px -10px -10px 14px;
  border-radius: 28px;
  z-index: 1;
}

.guideline-card-shadow-blue {
  background: #156cff;
}

.guideline-card-shadow-cyan {
  background: #12d3ea;
}

.guideline-card-inner {
  position: relative;
  z-index: 2;
  background: #f5f5f5;
  border: 4px solid #000;
  border-radius: 28px;
  min-height: 250px;
  padding: 34px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.guideline-card:hover .guideline-card-inner {
  transform: translateY(-4px);
}

.guideline-card-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 18px;
}

.guideline-card-title {
  font-size: 2rem;
  font-weight: 900;
  color: #243045;
  line-height: 1.1;
  margin-bottom: 10px;
}

.guideline-card-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4a5568;
}



/* =========================
GUIDELINES モーダル
========================= */

.guideline-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0px 16px 16px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.guideline-modal.hidden {
  display: none;
}

.guideline-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.guideline-modal-box {
  position: relative !important;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  background: #f7f7f7;
  border: 6px solid #000;
  padding: 20px 34px 40px;
  padding-top: 12px !important;
  box-sizing: border-box;
  margin: 0 auto 16px;
  overflow: visible;
}

.guideline-modal-box-blue {
  box-shadow: 16px 20px 0 #156cff;
}

.guideline-modal-box-cyan {
  box-shadow: 16px 20px 0 #13d7e9;
}

.guideline-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 20 !important;
}

.guideline-modal-head {
  margin-top: -18px;
  margin-bottom: 12px;
}

.guideline-modal-title {
  text-align: center;
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1.05 !important;
  margin: 0 !important;
  margin-top: -10px !important;
  margin-bottom: 24px !important;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.guideline-modal-title-blue {
  color: #437ef1;
}

.guideline-modal-title-cyan {
  color: #19b6d8;
}

.guideline-note-box {
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 34px;
}

.guideline-note-box-blue {
  background: #dde6f2;
  border-left: 8px solid #437ef1;
}

.guideline-lead {
  font-size: 1.1rem;
  font-weight: 900;
  color: #223046;
  line-height: 1.9;
  margin-bottom: 18px;
}

.guideline-alert {
  border: 2px solid #f2bcbc;
  background: #fff6f6;
  color: #ff3f3f;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.8;
  padding: 12px 14px;
  border-radius: 6px;
}

.guideline-section-block {
  margin-bottom: 36px;
}

.guideline-section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #273243;
  line-height: 1.2;
  border-bottom: 5px solid #111;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.guideline-section-title-red {
  color: #e53935;
  border-bottom-color: #ef5350;
}

.guideline-list {
  margin: 0;
  padding-left: 1.4em;
  line-height: 2;
}

.guideline-list li {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.guideline-list-red li {
  color: #d32f2f;
}

.guideline-list-dark li {
  color: #243045;
}

.guideline-info-card {
  border-radius: 24px;
  padding: 30px 30px 24px;
  margin-bottom: 34px;
}

.guideline-info-card-cyan {
  background: #ddf0f3;
  border: 4px solid #17b8d2;
}

.guideline-info-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: #215e73;
  margin-bottom: 14px;
}

.guideline-cta-card {
  background: #f7f0d8;
  border: 4px solid #e0ab00;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
}

.guideline-cta-text {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.9;
  color: #243045;
  margin-bottom: 22px;
}

.guideline-cta-button {
  display: inline-block;
  min-width: 360px;
  max-width: 100%;
  background: #3568e6;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  border: 5px solid #000;
  border-radius: 999px;
  box-shadow: 8px 8px 0 #000;
  padding: 20px 30px;
}

.guideline-address-card {
  background: #1f2a3f;
  border: 4px solid #000;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
}

.guideline-address-title {
  color: #ffd21c;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.guideline-address-body {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .guideline-modal {
    padding: 6px 12px 12px;
  }

  .guideline-modal-box {
    max-width: 100%;
    padding: 24px 18px 28px;
    margin: 0 auto 12px;
  }

  .guideline-modal-title {
    font-size: 2.4rem;
    margin-top: -6px !important;
    margin-bottom: 18px !important;
  }

  .guideline-section-title {
    font-size: 1.5rem;
  }

  .guideline-info-title {
    font-size: 1.5rem;
  }

  .guideline-cta-button {
    min-width: 0;
    width: 100%;
    font-size: 1.35rem;
    padding: 16px 20px;
  }

  .guideline-address-title {
    font-size: 1.5rem;
  }

  .guideline-address-body {
    font-size: 1rem;
  }

  .guideline-modal-head {
    margin-top: -10px;
    margin-bottom: 10px;
  }
}



/* =========================
スマホ微調整
========================= */

@media (max-width: 900px) {
  .what-fklw-inner {
    flex-direction: column;
    gap: 40px;
  }

  .what-fklw-card {
    max-width: 100%;
    padding: 34px 26px;
    border-radius: 28px;
    box-shadow: 10px 10px 0 #006cff;
  }

  .what-fklw-title {
    font-size: 2.2rem;
    margin-bottom: 22px;
  }

  .what-fklw-text,
  .what-fklw-highlight,
  .what-fklw-sub {
    font-size: 1rem;
  }

  .what-fklw-visual {
    width: 260px;
    min-width: 260px;
    height: 260px;
  }

  .what-fklw-star {
    width: 200px;
    height: 200px;
  }

  .what-fklw-image {
    width: 150px;
    height: 150px;
  }

  .sparkle {
    font-size: 2rem;
  }

  .qa-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .qa-header-box {
    font-size: 2.2rem;
    padding: 12px 28px;
  }

  .qa-header-mark {
    top: -12px;
    right: -6px;
    font-size: 2.2rem;
  }

  .qa-card {
    padding: 44px 22px 24px;
    border-radius: 24px;
  }

  .qa-label {
    left: 18px;
    font-size: 0.95rem;
    padding: 9px 14px;
  }

  .qa-answer-title {
    font-size: 1rem;
  }

  .qa-answer-text {
    font-size: 0.95rem;
  }

  .guidelines-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guidelines-heading {
    font-size: 2rem;
    padding: 14px 28px;
  }

  .guideline-card-inner {
    min-height: 220px;
  }

  .guideline-card-title {
    font-size: 1.7rem;
  }

  .guideline-card-sub {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #memberModalInner,
  #memberListModalInner {
    padding: 24px 20px;
  }

  .member-slide-card {
    width: 240px;
  }

  .member-track {
    gap: 16px;
    animation: memberLoopMobile 28s linear infinite;
  }

  .about-news-ribbon-wrap {
    margin-top: 18px;
    margin-bottom: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .about-news-ribbon {
    width: 108%;
    margin-left: -4%;
    transform: rotate(-1.8deg);
  }

  .about-news-ribbon-set span {
    font-size: 1rem;
    padding: 12px 0;
    padding-right: 28px;
    line-height: 1.2;
  }

  .about-news-ribbon-track {
    animation: aboutRibbonScroll 28s linear infinite;
  }

  @keyframes memberLoopMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 8px));
    }
  }
}

/* =========================
LATEST NEWS
========================= */

#news {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  background: #e9e4d1;
  padding: 56px 24px 72px;
  box-sizing: border-box;
}

#news .latest-news-head-wrap,
#news > .space-y-4,
#news > .text-center {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.latest-news-head-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.latest-news-head {
  display: inline-block;
  background: #f5f5f5;
  color: #4b80f5;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  padding: 20px 34px;
  border: 4px solid #000;
  box-shadow: 10px 10px 0 #b300ff;
  transform: rotate(1.5deg);
}

.news-card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f3f3f3;
  border: 4px solid #000;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 5px 7px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-button:hover {
  transform: translateY(-2px);
}

.news-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.news-date-badge {
  flex: 0 0 auto;
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  padding: 12px 14px;
  border-radius: 4px;
}

.news-category-badge {
  flex: 0 0 auto;
  display: inline-block;
  background: #69a7ff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  padding: 11px 12px;
  border: 2px solid #000;
  border-radius: 4px;
}

.news-title-text {
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #273243;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-arrow-icon {
  flex: 0 0 auto;
  color: #9aa3b2;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.more-archives-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 56px;
  background: #000;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.more-archives-button:hover {
  transform: translateY(-2px) scale(1.02);
}

/* =========================
NEWS ARCHIVES MODAL
========================= */

#newsModal,
#newsArchivesModal {
  transition: opacity 0.3s ease;
}

#newsModalClose,
#newsArchivesModalClose {
  cursor: pointer;
  line-height: 1;
}

.news-archives-modal-box {
  box-shadow: 16px 20px 0 #17bfff;
}

.news-archives-head-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.news-archives-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.05;
  color: #4b80f5;
  text-decoration: underline;
  text-underline-offset: 8px;
}

@media (max-width: 768px) {
  #news {
    padding: 40px 16px 56px;
  }

  .latest-news-head {
    font-size: 2rem;
    padding: 16px 24px;
  }

  .news-card-button {
    padding: 14px 14px;
    gap: 12px;
  }

  .news-card-main {
    gap: 10px;
  }

  .news-date-badge {
    font-size: 0.8rem;
    padding: 10px 10px;
  }

  .news-category-badge {
    font-size: 0.78rem;
    padding: 9px 10px;
  }

  .news-title-text {
    font-size: 0.95rem;
  }

  .more-archives-button {
    min-width: 200px;
    min-height: 52px;
    font-size: 1rem;
  }

  .news-archives-title {
    font-size: 2.2rem;
  }
}

/* =========================
NEWS HOVER
========================= */

.news-hover-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.news-hover-button:hover {
  background: #eef4ff;
  transform: translateY(-2px);
}

.news-hover-title {
  transition: color 0.25s ease;
}

.group:hover .news-hover-title {
  color: #2563eb;
}

.news-hover-arrow {
  transition: transform 0.25s ease, color 0.25s ease;
}

.group:hover .news-hover-arrow {
  transform: translateX(4px);
  color: #2563eb;
}

/* =========================
MEMBERS HEADING
========================= */

#talents {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  background: #ffffff;
  padding: 72px 24px 84px;
  box-sizing: border-box;
}

.members-heading {
  display: inline-block;
  background: #f5f5f5;
  color: #4b80f5;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  padding: 20px 34px;
  border: 4px solid #000;
  box-shadow: 10px 10px 0 #ff2d55;
  transform: rotate(1.5deg);
  margin: 0 auto 32px;
  letter-spacing: 0.02em;
}

#talents {
  text-align: center;
}

@media (max-width: 768px) {
  #talents {
    padding: 56px 16px 64px;
    text-align: center;
  }

  .members-heading {
    font-size: 2rem;
    padding: 16px 24px;
    margin: 0 auto 24px;
  }
}

/* =========================
HERO
========================= */

.hero-section {
  position: relative;
  width: 100vw;
  min-height: 90vh;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('./images/2026_.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 60, 0.38);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 40px 24px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;

  background: linear-gradient(180deg, #8fe7ff 0%, #52d6ff 45%, #1fb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  -webkit-text-stroke: 4px #000;

  filter: drop-shadow(0 6px 0 #000) drop-shadow(8px 8px 0 #2563eb);
}

.hero-copy-box {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 32px;
  background: #f2f2f2;
  border: 4px solid #000;
  box-shadow: 10px 10px 0 #1f75ff;
  transform: rotate(-2deg);
}

.hero-copy {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 900;
  color: #2c3442;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero-title {
    background: linear-gradient(180deg, #8fe7ff 0%, #52d6ff 45%, #1fb6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* ←これがポイント（stroke消す） */
    -webkit-text-stroke: 0;

    /* フチをshadowで再現 */
    text-shadow:
      -2px -2px 0 #000,
       2px -2px 0 #000,
      -2px  2px 0 #000,
       2px  2px 0 #000,
       0px  4px 0 #000,
       5px  5px 0 #2563eb;
  }
}

  .hero-copy-box {
    margin-top: 24px;
    padding: 12px 18px;
    box-shadow: 6px 6px 0 #1f75ff;
  }

  .hero-copy {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }
}

/* =========================
セクション間の余白リセット
========================= */

/* NEWS → MEMBERS */
#news {
  margin-bottom: 0 !important;
  padding-bottom: 40px; /* 好みで調整 */
}

#talents {
  margin-top: 0 !important;
  padding-top: 40px; /* 好みで調整 */
}

/* MEMBERS → WHAT IS FKLW */
.what-fklw-section {
  margin-top: 0 !important;
}

/* =========================
HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: #ffffff;
  border-top: 3px solid #7c3aed;
  border-bottom: 3px solid #7dd3fc;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2f6df6, #2ec7d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  text-decoration: none;
  letter-spacing: 0.01em;
}

.pc-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.pc-nav a {
  font-size: 1rem;
  font-weight: 900;
  color: #374151;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.pc-nav a:hover {
  color: #2563eb;
}

.contact-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, #2f6df6, #2ec7d3);
  color: #ffffff !important;
  border: 4px solid #000;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #2563eb;
}

.contact-nav-button:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
}

.menu-btn {
  display: none;
  border: 3px solid #000;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.sp-menu {
  display: none;
  padding: 0 24px 20px;
  background: #ffffff;
}

.sp-menu a {
  display: block;
  padding: 14px 0;
  border-top: 2px solid #e5e7eb;
  font-size: 1rem;
  font-weight: 900;
  color: #374151;
  text-decoration: none;
}

.sp-menu a:first-child {
  border-top: none;
}

.sp-contact-link {
  color: #2563eb !important;
}

@media (max-width: 960px) {
  .pc-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sp-menu {
    display: block;
  }

  .sp-menu.hidden {
    display: none;
  }

  .site-logo {
    font-size: 2rem;
  }

  .site-header-inner {
    padding: 12px 16px;
  }
}

html {
  scroll-behavior: smooth;
}

/* =========================
スクロール位置調整（ヘッダー分）
========================= */

#top,
#news,
#talents,
#what-is-fklw,
#guidelines {
  scroll-margin-top: 100px;
}

/* =========================
CONTACT PAGE
========================= */

.contact-page-main {
  background: #ececec;
  min-height: 100vh;
  padding: 40px 16px 80px;
}

.contact-page-section {
  width: 100%;
}

.contact-page-inner {
  max-width: 980px;
  margin: 0 auto;
}

.contact-hero-card,
.contact-info-card,
.contact-form-card {
  position: relative;
  background: #f5f5f5;
  border: 4px solid #000;
  border-radius: 32px;
  box-shadow: 12px 12px 0 #1677ff;
}

.contact-hero-card {
  text-align: center;
  padding: 36px 28px 34px;
  margin-bottom: 36px;
}

.contact-hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border: 3px solid #000;
  border-radius: 999px;
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
  color: #1f2937;
  box-shadow: 6px 6px 0 #1677ff;
}

.contact-page-title {
  margin: 0 0 16px;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: #111827;
  text-shadow: 6px 6px 0 #19a7ff;
}

.contact-page-lead {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.8;
}

.contact-page-note {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #2563eb;
  line-height: 1.8;
}

.contact-info-card {
  padding: 18px;
  margin-bottom: 36px;
}

.contact-info-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f5f5f5;
  border: 3px solid #000;
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 8px 8px 0 #1677ff;
}

.contact-info-box + .contact-info-box {
  margin-top: 18px;
}

.contact-info-icon {
  flex: 0 0 auto;
  font-size: 1.8rem;
  line-height: 1;
}

.contact-info-box h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #111827;
}

.contact-info-box p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.7;
}

.contact-form-card {
  padding: 36px 36px 32px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.contact-form-group {
  display: block;
}

.contact-form-group-full {
  grid-column: 1 / -1;
}

.contact-form-group label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #111827;
}

.required-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  background: #ff4b4b;
  color: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  border: 3px solid #000;
  border-radius: 18px;
  background: #f9f9f9;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  box-sizing: border-box;
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.contact-form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-help-text {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: #2563eb;
}

.contact-divider {
  border: none;
  border-top: 4px solid #d7d7d7;
  margin: 0;
}

.contact-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  background: linear-gradient(90deg, #2f6fff 0%, #14b8d4 100%);
  color: #fff;
  border: 4px solid #000;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 8px 8px 0 #1677ff;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-submit-button:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

@media (max-width: 768px) {
  .contact-page-main {
    padding: 28px 12px 56px;
  }

  .contact-hero-card,
  .contact-form-card {
    padding: 24px 18px 22px;
    border-radius: 24px;
    box-shadow: 8px 8px 0 #1677ff;
  }

  .contact-info-card {
    padding: 14px;
    border-radius: 24px;
    box-shadow: 8px 8px 0 #1677ff;
  }

  .contact-info-box {
    padding: 16px 14px;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #1677ff;
  }

  .contact-page-title {
    font-size: 2.4rem;
    text-shadow: 4px 4px 0 #19a7ff;
  }

  .contact-page-lead,
  .contact-page-note {
    font-size: 0.95rem;
  }

  .contact-form-group label {
    font-size: 1rem;
  }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .contact-submit-button {
    min-height: 58px;
    font-size: 1.1rem;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #1677ff;
  }
}

/* =========================
TOP CONTACT CTA
========================= */

.contact-cta-section {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  background: #dfe9f6;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  padding: 80px 24px 90px;
  position: relative;
  overflow: hidden;
}

.contact-cta-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-cta-title {
  margin: 0 0 22px;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: #1f2b43;
  letter-spacing: 0.03em;
}

.contact-cta-text {
  margin: 0 0 34px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.7;
  color: #3a4458;
}

.contact-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 300px;
  min-height: 82px;
  padding: 0 34px;
  background: linear-gradient(90deg, #2f6fff 0%, #15b8d8 100%);
  color: #fff;
  border: 4px solid #000;
  border-radius: 999px;
  box-shadow: 12px 12px 0 #166dff;
  text-decoration: none;
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.97;
}

.contact-cta-button-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.contact-cta-note {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 900;
  color: #4b5563;
}

.contact-cta-deco-right {
  display: none;
}

@media (max-width: 768px) {
  .contact-cta-section {
    padding: 56px 16px 64px;
  }

  .contact-cta-title {
    font-size: 2.6rem;
    margin-bottom: 18px;
  }

  .contact-cta-text {
    font-size: 1rem;
    margin-bottom: 26px;
  }

  .contact-cta-button {
    min-width: 240px;
    min-height: 68px;
    padding: 0 24px;
    font-size: 1.45rem;
    box-shadow: 8px 8px 0 #166dff;
  }

  .contact-cta-button-icon {
    font-size: 1.4rem;
  }

  .contact-cta-note {
    font-size: 0.9rem;
  }

  .contact-cta-deco-left {
    left: 6px;
    top: -10px;
    width: 220px;
    height: 120px;
    transform: scale(0.75);
    transform-origin: top left;
  }
}

/* =========================
FOOTER
========================= */

.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f4f4f4;
  padding: 60px 20px 40px;
  border-top: 4px solid #000;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-size: 2rem;
  font-weight: 900;
  color: #3da5ff;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-image{
  height:72px;
  width:auto;
  object-fit:contain;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-icon {
  font-size: 1.8rem;
  color: #7a7a7a;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-icon:hover {
  transform: translateY(-3px);
  color: #000;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: #d0d0d0;
  margin: 30px 0 20px;
}

.footer-copy {
  font-size: 0.9rem;
  font-weight: 700;
  color: #9aa3b2;
}

/* =========================
MEMBER TAGS
========================= */

.member-card-inner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding-bottom: 52px;
}

.member-tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 24px);
  justify-content: flex-start;
}

.member-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 10px;
  border: 2px solid #233041;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

/* 色分け */
.tag-red {
  background: #ff8b8b;
  color: #233041;
}

.tag-blue {
  background: #8fd3ff;
  color: #233041;
}

.tag-gray {
  background: #9fb5cc;
  color: #233041;
}

.tag-purple {
  background: #7b6dff;
  color: #fff;
}

.tag-gold {
  background: #facc15;
  color: #233041;
}

.tag-pink {
  background: #f9a8d4;
  color: #233041;
}

.tag-green {
  background: #86efac;
  color: #233041;
}

.tag-default {
  background: #e5e7eb;
  color: #233041;
}

@media (max-width: 768px) {
  .member-card-inner {
    min-height: 280px;
    padding-bottom: 46px;
  }

  .member-tags {
    left: 10px;
    bottom: 10px;
    gap: 5px;
  }

  .member-tag {
    min-height: 22px;
    padding: 3px 8px;
    font-size: 0.72rem;
  }
}

/* =========================
MEMBER DETAIL MODAL
========================= */

.member-detail-modal {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  width: 100%;
  max-width: 1050px;
  min-height: 680px;
  background: #f5f5f5;
  border: 6px solid #000;
  border-radius: 36px;
  box-shadow: 18px 18px 0 #156cff;
  overflow: hidden;
}

.member-detail-left {
  background: #efefef;
  border-right: 4px solid #000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 680px;
}

.member-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-detail-right {
  padding: 54px 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.member-detail-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

.member-detail-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.member-detail-name {
  margin: 0;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  color: #18233b;
}

.member-detail-content {
  margin: 14px 0 0;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.4;
  color: #18233b;
  white-space: pre-line;
}

.member-detail-divider {
  width: 100%;
  height: 2px;
  background: #e3e3e3;
  margin: 34px 0 26px;
}

.member-detail-follow {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #9aa3b2;
}

.member-detail-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 34px;
}

.member-detail-social-link {
  font-size: 4rem;
  color: #cfd4dc;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.member-detail-social-link:hover {
  transform: translateY(-2px);
  color: #9aa3b2;
}

.member-detail-gift-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: center;
  min-width: 360px;
  min-height: 76px;
  padding: 0 30px;
  background: #f5cc11;
  color: #000;
  border: 4px solid #000;
  border-radius: 999px;
  font-size: 1.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.member-detail-gift-button:hover {
  transform: translateY(-2px);
  opacity: 0.98;
}

@media (max-width: 900px) {
  .member-detail-modal {
    grid-template-columns: 1fr;
    max-width: 560px;
    min-height: auto;
  }

  .member-detail-left {
    min-height: 280px;
    border-right: none;
    border-bottom: 4px solid #000;
  }

  .member-detail-right {
    padding: 36px 22px 28px;
  }

  .member-detail-close {
    top: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
  }

  .member-detail-name {
    font-size: 2.8rem;
  }

  .member-detail-content {
    font-size: 1.1rem;
  }

  .member-detail-social-link {
    font-size: 3rem;
  }

  .member-detail-gift-button {
    min-width: 0;
    width: 100%;
    min-height: 64px;
    font-size: 1.4rem;
  }
}

.member-detail-address-wrap {
  margin-top: 18px;
  padding: 18px 20px;
  background: #fff8dc;
  border: 3px solid #000;
  border-radius: 22px;
  text-align: left;
}

.member-detail-address-title {
  font-size: 1rem;
  font-weight: 900;
  color: #18233b;
  margin-bottom: 10px;
}

.member-detail-address {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  color: #18233b;
  white-space: pre-line;
}

/* =========================
メンバーカード画像 強化
========================= */

.member-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid #000;
  background: #fff;
  padding: 6px;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 4px 4px 0 #000;
}


/* =========================
メンバーラベル（名前の下）
========================= */

.member-label {
  font-size: 14px;
  font-weight: 900;
  color: #3b82f6; /* 青 */
  margin-top: 4px;
  letter-spacing: 1px;
}


/* =========================
スマホ用ちょい調整
========================= */

@media (max-width: 768px) {
  .member-card img {
    width: 110px;
    height: 110px;
  }

  .member-label {
    font-size: 12px;
  }
}

/* =========================
MEMBER IMAGE + TITLE LABEL
========================= */

.member-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid #000;
  background: #fff;
  padding: 6px;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 4px 4px 0 #000;
}

.member-label {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #4b80f5;
  text-align: center;
}

@media (max-width: 768px) {
  .member-card img {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    padding: 5px;
  }

  .member-label {
    font-size: 0.8rem;
    margin-top: 4px;
    margin-bottom: 8px;
  }
}

/* =========================
MEMBER IMAGE + TITLE LABEL
========================= */

.member-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid #000;
  background: #fff;
  padding: 6px;
  display: block;
  margin: 0 auto 10px;
  box-shadow: 4px 4px 0 #000;
}

.member-label {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #4b80f5;
  text-align: center;
}

@media (max-width: 768px) {
  .member-card img {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    padding: 5px;
  }

  .member-label {
    font-size: 0.8rem;
    margin-top: 4px;
    margin-bottom: 8px;
  }
}

.member-label-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.member-label-stack .member-label-line {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: #4b80f5;
}

@media (max-width: 768px) {
  .member-label-stack .member-label-line {
    font-size: 0.8rem;
    line-height: 1.25;
  }
}

/* =========================
ALL MEMBERS LIST
========================= */

#memberListModalInner {
  max-width: 1180px;
  background: #f3f3f3;
  border: 6px solid #000;
  border-radius: 0;
  box-shadow: 18px 18px 0 #a100ff;
  padding: 40px 38px 44px;
}

.members-list-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 22px;
  align-items: start;
}

.members-list-card {
  position: relative;
  padding: 10px 10px 14px;
  border-radius: 20px;
  overflow: hidden;
}

.members-list-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: block;
}

.members-list-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
  color: #111;
  text-align: center;
  word-break: break-word;
}

#memberListModalInner .member-label {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.3;
}

#memberListModalInner .member-tags {
  position: static;
  margin-top: 10px;
  justify-content: center;
  max-width: 100%;
}

#memberListModalInner .member-card {
  width: 100%;
}

@media (max-width: 1100px) {
  .members-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #memberListModalInner {
    padding: 28px 18px 28px;
  }

  .members-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 16px;
  }
}

@media (max-width: 640px) {
  .members-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .members-list-name {
    font-size: 0.95rem;
  }

  #memberListModalInner .member-label {
    font-size: 0.72rem;
  }
}
/* =========================
ALL MEMBERS シンプル版
========================= */

.members-list-card {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.members-list-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.members-list-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 下の黒グラデ */
.members-list-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 6px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );

  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}

/* ホバーちょい浮き */
.members-list-card:hover {
  transform: translateY(-4px);
}

/* 枠の影消す */
#memberListModalInner .member-card {
  box-shadow: none;
}

/* =========================
ALL MEMBERS 画像内名前帯 最終版
========================= */

#memberListModalInner .members-list-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
}

#memberListModalInner .member-card {
  width: 100%;
}

#memberListModalInner .member-card > div {
  transform: none !important;
  box-shadow: none !important;
}

#memberListModalInner .members-list-card {
  position: relative;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#memberListModalInner .members-list-image-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border: 4px solid #000 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
}

#memberListModalInner .members-list-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#memberListModalInner .members-list-name-overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 14px 8px 8px !important;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
}

#memberListModalInner .members-list-name {
  display: none !important;
}

#memberListModalInner .member-label,
#memberListModalInner .member-label-stack,
#memberListModalInner .member-tags {
  display: none !important;
}

@media (max-width: 1100px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #memberListModalInner .members-list-name-overlay {
    font-size: 0.82rem !important;
    min-height: 38px !important;
    padding: 12px 6px 7px !important;
  }
}

/* =========================
ALL MEMBERS 微調整
========================= */

/* 画像を少し拡大して、枠との白い隙間をなくす */
#memberListModalInner .members-list-image {
  transform: scale(1.08) !important;
  transform-origin: center center !important;
}

/* 黒帯をもう少し濃くする */
#memberListModalInner .members-list-name-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.56) 48%,
    rgba(0, 0, 0, 0.00) 100%
  ) !important;
}

/* =========================
ALL MEMBERS 行間修正
========================= */

/* グリッドの縦の余白を詰める */
#memberListModalInner .members-list-grid {
  row-gap: 10px !important;
  column-gap: 18px !important;
}

/* カードの中の余計な高さを消す */
#memberListModalInner .members-list-card {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

/* 中の余白を完全に排除 */
#memberListModalInner .member-card-inner {
  padding: 0 !important;
}

/* hoverの浮きでズレないように */
#memberListModalInner .member-card:hover {
  transform: none !important;
}

/* =========================
ALL MEMBERS 行間 修正版
========================= */

#memberListModalInner .members-list-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 18px !important;
  row-gap: 18px !important;
  align-items: start !important;
}

#memberListModalInner .member-card {
  margin: 0 !important;
  padding: 0 !important;
  align-self: start !important;
}

#memberListModalInner .member-card-inner,
#memberListModalInner .members-list-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#memberListModalInner .members-list-image-wrap {
  margin: 0 !important;
}

#memberListModalInner .member-tags,
#memberListModalInner .member-label,
#memberListModalInner .member-label-stack {
  display: none !important;
}

@media (max-width: 1100px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    row-gap: 16px !important;
    column-gap: 16px !important;
  }
}

@media (max-width: 640px) {
  #memberListModalInner .members-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    row-gap: 14px !important;
    column-gap: 14px !important;
  }
}

/* =========================
ALL MEMBERS タイトル
========================= */

#memberListModalInner h2 {
  margin: 0 0 28px !important;
  text-align: center !important;
  font-size: 3.4rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #8b3dff !important;
  letter-spacing: 0.01em !important;
  text-decoration: underline !important;
  text-decoration-thickness: 6px !important;
  text-underline-offset: 10px !important;
  text-decoration-color: #000 !important;
}

@media (max-width: 768px) {
  #memberListModalInner h2 {
    font-size: 2.4rem !important;
    margin-bottom: 22px !important;
    text-decoration-thickness: 4px !important;
    text-underline-offset: 8px !important;
  }
}

/* =========================
メンバーラベル色分け
========================= */

/* ゲーム配信（青） */
.member-tag.tag-blue {
  background: #60a5fa;
  color: #fff;
}

/* Vtuber（ピンク） */
.member-tag.tag-pink {
  background: #f472b6;
  color: #fff;
}

/* 歌枠（紫） */
.member-tag.tag-green {
  background: #a78bfa;
  color: #fff;
}

/* MGR（紫系） */
.member-tag.tag-gray {
  background: #a78bfa;
  color: #fff;
}

/* CEO（灰） */
.member-tag.tag-gold {
  background: #9ca3af;
  color: #fff;
}

/* L3（緑） */
.member-tag.tag-purple {
  background: #4ade80;
  color: #fff;
}

/* =========================
メンバーラベル色分け 最終版
========================= */

.member-tag.tag-blue {
  background: #60a5fa !important; /* ゲーム配信 */
  color: #fff !important;
}

.member-tag.tag-pink {
  background: #f472b6 !important; /* Vtuber */
  color: #fff !important;
}

.member-tag.tag-green {
  background: #a78bfa !important; /* 歌枠 */
  color: #fff !important;
}

.member-tag.tag-gray {
  background: #a78bfa !important; /* MGR */
  color: #fff !important;
}

.member-tag.tag-gold {
  background: #9ca3af !important; /* CEO */
  color: #fff !important;
}

.member-tag.tag-purple {
  background: #4ade80 !important; /* L3 */
  color: #fff !important;
}

/* =========================
トップページ メンバータグ色 最終上書き
========================= */

#talents .member-tag.tag-blue {
  background: #60a5fa !important; /* ゲーム配信 */
  color: #fff !important;
  border-color: #233041 !important;
}

#talents .member-tag.tag-pink {
  background: #f472b6 !important; /* Vtuber */
  color: #fff !important;
  border-color: #233041 !important;
}

#talents .member-tag.tag-green {
  background: #a78bfa !important; /* 歌枠 */
  color: #fff !important;
  border-color: #233041 !important;
}

#talents .member-tag.tag-gray {
  background: #a78bfa !important; /* MGR */
  color: #fff !important;
  border-color: #233041 !important;
}

#talents .member-tag.tag-gold {
  background: #9ca3af !important; /* CEO */
  color: #fff !important;
  border-color: #233041 !important;
}

#talents .member-tag.tag-purple {
  background: #4ade80 !important; /* L3 */
  color: #fff !important;
  border-color: #233041 !important;
}

/* 歌枠だけ赤に変更 */
.member-tag.tag-green {
  background: #f87171 !important; /* 明るい赤 */
  color: #fff !important;
}

/* =========================
TOP メンバーカード 理想形
========================= */

/* カード全体 */
.member-slide-card {
  width: 340px !important;
}

.member-card > div {
  padding: 14px 14px 16px !important;
  border-radius: 20px !important;
}

/* 中身 */
.member-card-inner {
  position: relative;
  min-height: 390px !important;
  padding: 0 0 56px !important;
  overflow: hidden !important;
}

/* 画像 */
.member-card img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;

  display: block !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;

  border: 4px solid #000 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 0 #000 !important;
  background: #fff !important;
}

/* 名前 */
.member-card .text-2xl,
.member-card .member-name {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  font-size: 2rem !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-align: center !important;
}

/* 肩書き */
.member-label,
.member-label-stack {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

.member-label,
.member-label-stack .member-label-line {
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

/* タグ */
.member-tags {
  position: absolute !important;
  left: 12px !important;
  bottom: 12px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-width: calc(100% - 24px) !important;
}

.member-tag {
  min-height: 24px !important;
  padding: 4px 10px !important;
  font-size: 0.75rem !important;
  border-radius: 999px !important;
}

/* スマホ */
@media (max-width: 768px) {
  .member-slide-card {
    width: 280px !important;
  }

  .member-card > div {
    padding: 12px 12px 14px !important;
  }

  .member-card-inner {
    min-height: 330px !important;
    padding: 0 0 50px !important;
  }

  .member-card img {
    height: 190px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
  }

  .member-card .text-2xl,
  .member-card .member-name {
    font-size: 1.6rem !important;
  }

  .member-label,
  .member-label-stack .member-label-line {
    font-size: 0.8rem !important;
  }
}

/* =========================
メンバーカード 影追加
========================= */

.member-card > div {
  box-shadow: 8px 8px 0 #000 !important;
}

/* =========================
カード背景を白に変更
========================= */

.what-fklw-card {
  background: #ffffff !important;
}

.qa-card {
  background: #ffffff !important;
}

.guideline-card-inner {
  background: #ffffff !important;
}

.news-card-button {
  background: #ffffff !important;
}

.hero-copy-box {
  background: #ffffff !important;
}

.latest-news-head {
  background: #ffffff !important;
}

.qa-header-box {
  background: #ffffff !important;
}

/* =========================
SNSアイコン ホバー演出
========================= */

#modalX i,
#modalYoutube i,
#modalTwitch i,
#modalTiktok i {
  transition: color 0.3s ease, transform 0.3s ease;
  color: #cfd4dc; /* ←通常は薄グレー */
}

#modalX:hover i,
#modalYoutube:hover i,
#modalTwitch:hover i,
#modalTiktok:hover i {
  transform: scale(1.15);
}

/* X（旧Twitter） */
#modalX:hover i {
  color: #000000;
}

/* YouTube */
#modalYoutube:hover i {
  color: #ff0000;
}

/* Twitch */
#modalTwitch:hover i {
  color: #9146ff;
}

/* TikTok */
#modalTiktok:hover i {
  color: #000;
  text-shadow:
    2px 0 #25f4ee,
   -2px 0 #fe2c55;
}

#modalX i,
#modalYoutube i,
#modalTwitch i,
#modalTiktok i {
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

#modalX:hover i {
  color: #000;
  transform: scale(1.08);
}

#modalYoutube:hover i {
  color: #ff0000;
  transform: scale(1.08);
}

#modalTwitch:hover i {
  color: #9146ff;
  transform: scale(1.08);
}

#modalTiktok:hover i {
  color: #000;
  transform: scale(1.08);
  text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55;
}

#modalInstagram i {
  transition: color 0.3s ease, transform 0.3s ease;
}

#modalInstagram:hover i {
  transform: scale(1.08);
  color: #E4405F;
  filter: drop-shadow(0 0 4px rgba(228, 64, 95, 0.35));
}

/* =========================
WHAT IS FKLW 星アニメーション 修正版
========================= */

.what-fklw-star {
  position: absolute;
  z-index: 1;
  width: 300px;
  height: 300px;
  background: #3c8cff;
  opacity: 0.9;

  /* 星の形 */
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );

  /* ゆっくり回転 */
  animation: whatFklwStarSpin 20s linear infinite;
}

@keyframes whatFklwStarSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* キラキラふわふわ */
.sparkle {
  position: absolute;
  z-index: 3;
  animation: sparkleFloat 3.2s ease-in-out infinite;
}

.sparkle-1 {
  animation-delay: 0s;
}

.sparkle-2 {
  animation-delay: 1.6s;
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* =========================
CONTACT FORM 7 調整
========================= */

.contact-form-card .wpcf7 {
  width: 100%;
}

.contact-form-card .wpcf7 form {
  margin: 0;
}

.contact-form-card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 select,
.contact-form-card .wpcf7 textarea {
  width: 100%;
  border: 3px solid #000;
  border-radius: 18px;
  background: #f9f9f9;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  box-sizing: border-box;
  outline: none;
  appearance: none;
}

.contact-form-card .wpcf7 select {
  cursor: pointer;
}

.contact-form-card .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-card .wpcf7 input[type="text"]:focus,
.contact-form-card .wpcf7 input[type="email"]:focus,
.contact-form-card .wpcf7 select:focus,
.contact-form-card .wpcf7 textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.contact-form-card .wpcf7 input[type="submit"].contact-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  background: linear-gradient(90deg, #2f6fff 0%, #14b8d4 100%);
  color: #fff;
  border: 4px solid #000;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 8px 8px 0 #1677ff;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  padding: 0 20px;
}

.contact-form-card .wpcf7 input[type="submit"].contact-submit-button:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.contact-form-card .wpcf7-spinner {
  margin: 12px 0 0;
}

.contact-form-card .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #e53935;
}

.contact-form-card .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  border: 3px solid #000;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 900;
}

.contact-form-card .wpcf7 form.sent .wpcf7-response-output {
  background: #ecfeff;
  color: #155e75;
  border-color: #06b6d4;
}

.contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.contact-form-card .wpcf7 form.aborted .wpcf7-response-output {
  background: #fff5f5;
  color: #c62828;
  border-color: #ef5350;
}

@media (max-width: 768px) {
  .contact-form-card .wpcf7 input[type="text"],
  .contact-form-card .wpcf7 input[type="email"],
  .contact-form-card .wpcf7 select,
  .contact-form-card .wpcf7 textarea {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .contact-form-card .wpcf7 input[type="submit"].contact-submit-button {
    min-height: 58px;
    font-size: 1.1rem;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #1677ff;
  }
}

/* =========================
CONTACT FORM 7 調整
========================= */

.contact-form-card .wpcf7 {
  width: 100%;
}

.contact-form-card .wpcf7 form {
  margin: 0;
}

.contact-form-card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 select,
.contact-form-card .wpcf7 textarea {
  width: 100%;
  border: 3px solid #000;
  border-radius: 18px;
  background: #f9f9f9;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  box-sizing: border-box;
  outline: none;
  appearance: none;
}

.contact-form-card .wpcf7 select {
  cursor: pointer;
}

.contact-form-card .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-card .wpcf7 input[type="text"]:focus,
.contact-form-card .wpcf7 input[type="email"]:focus,
.contact-form-card .wpcf7 select:focus,
.contact-form-card .wpcf7 textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.contact-form-card .wpcf7 input[type="submit"].contact-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  background: linear-gradient(90deg, #2f6fff 0%, #14b8d4 100%);
  color: #fff;
  border: 4px solid #000;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 8px 8px 0 #1677ff;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  padding: 0 20px;
}

.contact-form-card .wpcf7 input[type="submit"].contact-submit-button:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.contact-form-card .wpcf7-spinner {
  margin: 12px 0 0;
}

.contact-form-card .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #e53935;
}

.contact-form-card .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  border: 3px solid #000;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 900;
}

.contact-form-card .wpcf7 form.sent .wpcf7-response-output {
  background: #ecfeff;
  color: #155e75;
  border-color: #06b6d4;
}

.contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.contact-form-card .wpcf7 form.aborted .wpcf7-response-output {
  background: #fff5f5;
  color: #c62828;
  border-color: #ef5350;
}

@media (max-width: 768px) {
  .contact-form-card .wpcf7 input[type="text"],
  .contact-form-card .wpcf7 input[type="email"],
  .contact-form-card .wpcf7 select,
  .contact-form-card .wpcf7 textarea {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .contact-form-card .wpcf7 input[type="submit"].contact-submit-button {
    min-height: 58px;
    font-size: 1.1rem;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #1677ff;
  }
}

.contact-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, #2f6df6, #2ec7d3);
  color: #ffffff !important;
  border: 4px solid #000;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #2563eb;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

/* =========================
APPLICATION FORM MODAL
========================= */

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
}

.application-modal.hidden {
  display: none;
}

.application-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.application-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #f5f5f5;
  border: 6px solid #000;
  box-shadow: 14px 18px 0 #b300ff;
  padding: 20px 22px;
  box-sizing: border-box;
}

.application-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.application-modal-head {
  text-align: center;
  margin-bottom: 28px;
}

.application-modal-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #8b35ea;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.application-form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.application-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.application-form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 900;
  color: #243045;
  letter-spacing: 0.02em;
}

.application-form-group input,
.application-form-group textarea {
  width: 100%;
  background: #f7f7f7;
  border: 3px solid #222;
  border-radius: 16px;
  padding: 16px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #243045;
  box-sizing: border-box;
  outline: none;
}

.application-form-group input:focus,
.application-form-group textarea:focus {
  border-color: #8b35ea;
  box-shadow: 0 0 0 4px rgba(139, 53, 234, 0.12);
}

.application-form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.application-form-submit .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 78px;
  background: linear-gradient(90deg, #8b35ea 0%, #a53cff 100%);
  color: #fff;
  border: 4px solid #000;
  border-radius: 14px;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 6px 0 #000;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.application-form-submit .wpcf7-submit:hover {
  transform: translateY(-2px);
  opacity: 0.97;
}

.application-modal .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.application-modal .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .application-modal-box {
    max-width: 100%;
    padding: 24px 18px 28px;
  }

  .application-modal-title {
    font-size: 2.1rem;
  }

  .application-form-row-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .application-form-group label {
    font-size: 1rem;
  }

  .application-form-group input,
  .application-form-group textarea {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .application-form-submit .wpcf7-submit {
    min-height: 64px;
    font-size: 1.5rem;
  }

  .application-modal-close {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    top: 12px;
    right: 12px;
  }
}

.application-modal-box::-webkit-scrollbar {
  display: none;
}

.application-modal .wpcf7 p {
  margin: 0;
}

.application-modal .wpcf7 br {
  display: none;
}

.application-form-group {
  margin: 0;
}

.application-form-group label {
  margin-bottom: 2px !important;
}

.application-form-group .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0 !important;
}

/* =========================
GUIDELINES モーダル 見やすさ調整
========================= */

.guideline-modal {
  align-items: center;
  padding: 16px;
}

.guideline-modal-box {
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  overflow-y: auto !important;
  padding: 24px 30px 32px !important;
  margin: 0 auto !important;
}

.guideline-close {
  width: 54px;
  height: 54px;
  font-size: 1.8rem;
  top: 12px !important;
  right: 12px !important;
}

.guideline-modal-head {
  margin-top: -6px;
  margin-bottom: 16px;
}

.guideline-modal-title {
  font-size: 3rem !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  text-underline-offset: 6px;
}

.guideline-note-box,
.guideline-info-card,
.guideline-cta-card,
.guideline-address-card {
  padding: 24px 28px !important;
  margin-bottom: 28px !important;
  border-radius: 22px;
}

.guideline-section-block {
  margin-bottom: 30px !important;
}

.guideline-section-title {
  font-size: 1.8rem !important;
  margin-bottom: 16px !important;
  padding-bottom: 4px;
  border-bottom-width: 4px;
}

.guideline-lead {
  font-size: 1.08rem !important;
  line-height: 1.9 !important;
  margin-bottom: 16px !important;
}

.guideline-alert {
  font-size: 0.96rem !important;
  line-height: 1.8 !important;
  padding: 12px 14px !important;
}

.guideline-info-title,
.guideline-address-title {
  font-size: 1.8rem !important;
  margin-bottom: 14px !important;
}

.guideline-cta-text,
.guideline-address-body {
  font-size: 1.02rem !important;
  line-height: 1.9 !important;
}

.guideline-list {
  padding-left: 1.4em;
  line-height: 1.9;
}

.guideline-list li {
  font-size: 1.02rem !important;
  line-height: 1.9 !important;
  margin-bottom: 8px !important;
}

.guideline-cta-button {
  min-width: 320px !important;
  width: auto;
  font-size: 1.5rem !important;
  padding: 18px 28px !important;
  box-shadow: 8px 8px 0 #000;
}

/* =========================
SCROLLBAR（全体）
========================= */

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2f6df6, #2ec7d3);
  border-radius: 999px;
  border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #22c1cc);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2f6df6 transparent;
}

@media (max-width: 768px) {

  /* 全体余白 */
  main {
    padding: 0 16px;
  }

  /* タイトル */
  .hero-title {
    font-size: 2.8rem;
  }

  /* ボタン */
  .contact-cta-button {
    width: 100%;
    font-size: 1.2rem;
  }

  /* フォーム（重要） */
  .application-form-row-2 {
    grid-template-columns: 1fr; /* ← 横並び→縦 */
  }

  /* モーダル */
  .application-modal-box,
  .guideline-modal-box {
    max-width: 100%;
    padding: 20px 16px;
  }

}
@media (max-width: 768px) {
  .contact-cta-button,
  .guideline-cta-button {
    width: 100%;
    min-height: 60px;
  }
}
@media (max-width: 768px) {
  .application-modal-box,
  .guideline-modal-box {
    border-width: 4px;
    box-shadow: none;
  }
}

#loadingScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #f7fbff 0%, #e9f7ff 45%, #f5f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loadingScreen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  text-align: center;
}

.loading-logo {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #2f6df6, #2ec7d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: loadingFloat 1.8s ease-in-out infinite;
}

.loading-sub {
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #24324a;
  animation: loadingBlink 1.4s ease-in-out infinite;
}

@keyframes loadingFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes loadingBlink {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #59d7ff !important;
    background-clip: initial !important;
    color: #59d7ff !important;
    -webkit-text-stroke: 0 !important;

    text-shadow:
      -2px -2px 0 #000,
       2px -2px 0 #000,
      -2px  2px 0 #000,
       2px  2px 0 #000,
       0px  4px 0 #000,
       5px  5px 0 #2563eb !important;

    filter: none !important;
  }
}

@media (max-width: 768px) {
  .news-card-button {
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }

  .news-card-main {
    gap: 8px !important;
    min-width: 0;
  }

  .news-date-badge {
    font-size: 0.72rem !important;
    padding: 8px 9px !important;
    border-radius: 6px !important;
  }

  .news-category-badge {
    font-size: 0.68rem !important;
    padding: 8px 8px !important;
    border-radius: 6px !important;
  }

  .news-title-text {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  .news-arrow-icon {
    font-size: 1.15rem !important;
  }
}

html, body {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

body {
  padding-top: 75px;
}

.sparkle {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9999;

  background: currentColor;

  /* 星型 */
  clip-path: polygon(
    50% 0%, 
    61% 35%, 
    98% 35%, 
    68% 57%, 
    79% 91%, 
    50% 70%, 
    21% 91%, 
    32% 57%, 
    2% 35%, 
    39% 35%
  );

  animation: sparkleFade 0.9s linear forwards;
}

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(180deg);
  }
}

/* 青 */
.badge-blue {
  background: #3b82f6;
  color: #fff;
}

/* 赤 */
.badge-red {
  background: #ef4444;
  color: #fff;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.guideline-modal-box,
.guideline-cta-card,
.guideline-cta-button {
  box-sizing: border-box;
}

.guideline-cta-button {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
}

@media (max-width: 768px) {
  .guideline-modal-box {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 20px 14px;
    overflow-x: hidden;
  }

  .guideline-cta-card {
    padding: 20px 14px;
    overflow-x: hidden;
  }

  .guideline-cta-button {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px;
    font-size: 28px;
    line-height: 1.3;
    border-radius: 999px;
  }
}

.guideline-cta-button {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  /* はみ出し防止 */
  overflow: hidden;

  /* 文字をちゃんと改行させる */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;

  text-align: center;
}

@media (max-width: 768px) {
  .guideline-cta-button {
    font-size: 20px;
    padding: 16px 12px;
    line-height: 1.4;
  }
}

.guideline-cta-card {
  overflow: hidden;
}

@media (max-width: 768px) {

  /* 説明文ちょい小さく */
  .guideline-cta-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* ボタン小さく＆収める */
  .guideline-cta-button {
    width: 100%;
    min-width: 0;

    font-size: 16px;   /* ←ここが重要 */
    line-height: 1.4;
    padding: 14px 10px;

    box-shadow: 5px 5px 0 #000;

    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 768px) {
  .guideline-cta-text {
    font-size: 0.82rem !important;
    line-height: 1.7 !important;
  }

  .guideline-cta-button {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    font-size: 14px !important;
    line-height: 1.45 !important;
    padding: 12px 10px !important;

    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;

    box-shadow: 4px 4px 0 #000 !important;
  }
}

@media (max-width: 768px) {

  /* モーダル全体 */
  .application-modal {
    align-items: flex-start;
    padding: 8px;
    overflow-y: auto;
  }

  .application-modal-box {
    width: 100%;
    max-width: 100%;
    min-height: calc(100dvh - 16px);
    margin: 0 auto;
    padding: 16px 14px 20px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  /* 見出し */
  .application-modal-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  /* フォーム全体 */
  .application-modal-form {
    transform: scale(0.88);
    transform-origin: top center;
    width: 113.64%; /* 100 / 0.88 */
    margin-left: -6.82%;
  }

  /* ラベル */
  .contact-form-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* 入力欄 */
  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  /* テキストエリア高さを少し小さく */
  .contact-form-group textarea {
    min-height: 140px;
  }

  /* 各項目の間隔を縮める */
  .contact-form-group {
    margin-bottom: 14px;
  }

  /* 送信ボタン */
  .contact-submit-button,
  .wpcf7-submit {
    font-size: 18px;
    padding: 14px 18px;
    border-radius: 999px;
  }

  /* 閉じるボタン */
  .application-modal-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

/* =========================
FOOTER LOGO MODAL
========================= */

.footer-logo-image{
  cursor:pointer;
}

.footer-logo-modal{
  position:fixed;
  inset:0;
  z-index:99999;

  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-logo-modal.hidden{
  display:none;
}

.footer-logo-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(4px);
}

.footer-logo-modal-content{
  position:relative;
  z-index:2;
}

.footer-logo-modal-content img{
  max-width:80vw;
  max-height:80vh;
  border:6px solid #000;
  border-radius:24px;
  background:#fff;
}

.footer-logo-close{
  position:absolute;
  top:-20px;
  right:-20px;

  width:48px;
  height:48px;

  border:none;
  border-radius:999px;

  background:#000;
  color:#fff;

  font-size:2rem;
  font-weight:900;

  cursor:pointer;
}

#newsModalContent {
  white-space: pre-line;
  line-height: 1.7;
}