/* =========================================================
   若狭湾イカゲーム 専用CSS 完全版
   ファイル：
   public_html/wp-content/plugins/ikagame-homepage/assets/css/ikagame-style.css
   ========================================================= */

:root {
  --ikagame-black: #050505;
  --ikagame-black-soft: #101014;
  --ikagame-black-card: #15151b;
  --ikagame-pink: #ff1493;
  --ikagame-pink-light: #ff4fb3;
  --ikagame-pink-dark: #b40064;
  --ikagame-white: #ffffff;
  --ikagame-gray: #cccccc;
  --ikagame-border: rgba(255, 20, 147, 0.35);
  --ikagame-shadow: 0 0 18px rgba(255, 20, 147, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ikagame-black);
}

.ikagame-homepage,
.ikagame-homepage * {
  box-sizing: border-box;
}

.ikagame-homepage {
  width: 100%;
  padding-top: 76px;
  background: var(--ikagame-black);
  color: var(--ikagame-white);
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.ikagame-homepage a {
  color: inherit;
}

.ikagame-homepage img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   ヘッダー固定メニュー
   ========================================================= */

.ikagame-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99990;
  width: 100%;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ikagame-border);
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.25);
}

.ikagame-header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ikagame-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: var(--ikagame-white) !important;
  white-space: nowrap;
}

.ikagame-header-logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 160px;
  object-fit: contain;
}

.ikagame-header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ikagame-header-site-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ikagame-white);
  text-shadow: 0 0 6px rgba(255, 20, 147, 0.8), 0 0 14px rgba(255, 20, 147, 0.55);
}

.ikagame-header-site-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ikagame-pink-light);
}

.ikagame-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.ikagame-header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ikagame-white) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ikagame-header-nav a:hover {
  background: rgba(255, 20, 147, 0.18);
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.65), inset 0 0 8px rgba(255, 20, 147, 0.28);
  transform: translateY(-1px);
}

.ikagame-header-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--ikagame-pink);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.9);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.ikagame-header-nav a:hover::after {
  width: 62%;
}

body.admin-bar .ikagame-header {
  top: 32px;
}

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

.ikagame-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 20, 147, 0.18), transparent 42%), linear-gradient(135deg, #050505 0%, #151018 50%, #050505 100%);
  overflow: hidden;
}

.ikagame-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.1) contrast(1.05);
}

.ikagame-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.42), rgba(0,0,0,0.86)), radial-gradient(circle at center, rgba(255,20,147,0.25), rgba(0,0,0,0.4) 48%, rgba(0,0,0,0.82) 100%);
}

.ikagame-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 1;
}

.ikagame-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 32px));
  text-align: center;
  padding: 76px 0;
}

.ikagame-hero-logo-wrap {
  margin: 0 auto 18px;
}

.ikagame-hero-logo {
  max-width: min(240px, 66vw);
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255,20,147,0.7));
}

.ikagame-label,
.ikagame-section-en {
  margin: 0 0 10px;
  color: var(--ikagame-pink-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.ikagame-hero-title {
  margin: 0;
  font-size: clamp(40px, 8vw, 92px);
  font-weight: 950;
  line-height: 1.05;
  color: var(--ikagame-white);
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px rgba(255, 20, 147, 0.85), 0 0 26px rgba(255, 20, 147, 0.65), 0 0 48px rgba(255, 20, 147, 0.38);
}

.ikagame-hero-copy {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--ikagame-pink-light);
  letter-spacing: 0.08em;
}

.ikagame-hero-text {
  max-width: 760px;
  margin: 18px auto 0;
  color: #f1f1f1;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
}

.ikagame-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* =========================================================
   共通
   ========================================================= */

.ikagame-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  scroll-margin-top: 128px;
}

.ikagame-section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
  color: var(--ikagame-white);
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(255, 20, 147, 0.75), 0 0 18px rgba(255, 20, 147, 0.55);
}

.ikagame-section-en {
  text-align: center;
}

.ikagame-section-subtitle {
  margin: -8px 0 34px;
  text-align: center;
  font-size: 15px;
  color: var(--ikagame-pink-light);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ikagame-card,
.ikagame-result-card,
.ikagame-boat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid var(--ikagame-border);
  border-radius: 22px;
  box-shadow: 0 0 22px rgba(255, 20, 147, 0.14);
  overflow: hidden;
}

.ikagame-text-card {
  padding: 28px;
  text-align: center;
}

.ikagame-text-card p {
  margin: 0 auto 22px;
  max-width: 900px;
  color: #eeeeee;
  font-size: 16px;
  line-height: 2;
}

.ikagame-text-card h3 {
  margin: 0 0 12px;
  color: var(--ikagame-pink-light);
  font-size: 22px;
}

.ikagame-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ikagame-pink), var(--ikagame-pink-dark));
  color: var(--ikagame-white) !important;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
  letter-spacing: 0.06em;
  box-shadow: var(--ikagame-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.ikagame-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 20, 147, 0.75), 0 0 34px rgba(255, 20, 147, 0.42);
  opacity: 0.96;
}

.ikagame-btn-outline {
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.28);
}

.ikagame-center {
  text-align: center;
  margin-top: 26px;
}

/* =========================================================
   釣果情報
   ========================================================= */

.ikagame-results-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ikagame-result-card {
  min-width: 0;
}

.ikagame-result-image {
  aspect-ratio: 4 / 3;
  background: #08080a;
  overflow: hidden;
}

.ikagame-result-image img,
.ikagame-boat-images img,
.ikagame-toilet-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ikagame-image-placeholder {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #111, #111 10px, #18121a 10px, #18121a 20px);
  color: rgba(255,255,255,0.48);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ikagame-result-body {
  padding: 18px;
}

.ikagame-result-date {
  margin: 0 0 8px;
  color: var(--ikagame-pink-light);
  font-size: 13px;
  font-weight: 900;
}

.ikagame-result-body h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.ikagame-result-body p {
  color: #eeeeee;
  line-height: 1.8;
}

.ikagame-result-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.ikagame-result-thumbs img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,20,147,0.25);
}

/* =========================================================
   NEWS
   スクロールなし・ピカピカ発光表示
   ========================================================= */

.ikagame-news-marquee {
  overflow: visible;
  border-radius: 24px;
  border: 1px solid rgba(255,20,147,0.42);
  background:
    radial-gradient(circle at top left, rgba(255,20,147,0.22), transparent 34%),
    linear-gradient(135deg, rgba(0,0,0,0.88), rgba(24,0,16,0.72));
  box-shadow:
    0 0 18px rgba(255,20,147,0.28),
    inset 0 0 22px rgba(255,20,147,0.08);
  padding: 18px;
}

.ikagame-news-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  padding: 0;
  animation: none !important;
}

.ikagame-news-track:hover {
  animation-play-state: running;
}

.ikagame-news-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(120px, auto) 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,20,147,0.16), rgba(0,0,0,0.72));
  border: 1px solid rgba(255,20,147,0.42);
  box-shadow:
    0 0 10px rgba(255,20,147,0.22),
    inset 0 0 12px rgba(255,20,147,0.08);
  overflow: hidden;
  animation: ikagameNewsFlash 1.8s ease-in-out infinite;
}

.ikagame-news-item:nth-child(2) {
  animation-delay: 0.25s;
}

.ikagame-news-item:nth-child(3) {
  animation-delay: 0.5s;
}

.ikagame-news-item:nth-child(4) {
  animation-delay: 0.75s;
}

.ikagame-news-item:nth-child(5) {
  animation-delay: 1s;
}

.ikagame-news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
  transform: skewX(-22deg);
  animation: ikagameNewsShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.ikagame-news-item span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,20,147,0.22);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(255,20,147,0.9);
}

.ikagame-news-item strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  white-space: normal;
  text-shadow:
    0 0 8px rgba(255,20,147,0.92),
    0 0 18px rgba(255,20,147,0.48);
}

.ikagame-news-item em {
  position: relative;
  z-index: 1;
  color: #f2f2f2;
  font-style: normal;
  font-weight: 700;
  white-space: normal;
  line-height: 1.65;
}

@keyframes ikagameNewsFlash {
  0%, 100% {
    border-color: rgba(255,20,147,0.32);
    box-shadow:
      0 0 8px rgba(255,20,147,0.18),
      inset 0 0 10px rgba(255,20,147,0.06);
    transform: translateY(0);
  }
  45% {
    border-color: rgba(255,20,147,0.95);
    box-shadow:
      0 0 14px rgba(255,20,147,0.75),
      0 0 32px rgba(255,20,147,0.34),
      inset 0 0 18px rgba(255,20,147,0.20);
    transform: translateY(-1px);
  }
  60% {
    border-color: rgba(255,255,255,0.85);
    box-shadow:
      0 0 18px rgba(255,255,255,0.52),
      0 0 36px rgba(255,20,147,0.44),
      inset 0 0 18px rgba(255,20,147,0.18);
  }
}

@keyframes ikagameNewsShine {
  0% { left: -120%; opacity: 0; }
  28% { opacity: 0; }
  48% { opacity: 1; }
  72% { opacity: 0; }
  100% { left: 135%; opacity: 0; }
}

/* =========================================================
   予約・マップ
   ========================================================= */

.ikagame-schedule-box,
.ikagame-map-box {
  min-height: 260px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ikagame-schedule-box iframe,
.ikagame-map-box iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 16px;
}

/* =========================================================
   船紹介
   ========================================================= */

.ikagame-boat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ikagame-boat-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 180px;
  background: #08080a;
}

.ikagame-boat-images .ikagame-image-placeholder {
  grid-column: 1 / -1;
}

.ikagame-boat-body {
  padding: 20px;
}

.ikagame-boat-body h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
}

.ikagame-boat-catch {
  margin: 0 0 12px;
  color: var(--ikagame-pink-light) !important;
  font-weight: 900;
}

.ikagame-boat-body p {
  color: #eeeeee;
  line-height: 1.85;
}

.ikagame-toilet-box {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,20,147,0.3);
  position: relative;
  aspect-ratio: 4 / 3;
}

.ikagame-toilet-box span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

/* =========================================================
   アクセス
   ========================================================= */

.ikagame-access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 20px;
}

/* =========================================================
   フワッと表示
   ========================================================= */

.ikagame-fadein,
.ikagame-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ikagame-fadein.is-visible,
.ikagame-section.is-visible,
.ikagame-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   固定ボタン
   ========================================================= */

.ikagame-fixed-buttons {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 99980;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ikagame-fixed-buttons a,
.ikagame-fixed-buttons button {
  width: 62px;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid rgba(255, 20, 147, 0.55);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.86);
  color: var(--ikagame-white) !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.34), inset 0 0 10px rgba(255, 20, 147, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.ikagame-fixed-buttons a:hover,
.ikagame-fixed-buttons button:hover {
  background: rgba(255, 20, 147, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 20, 147, 0.72), inset 0 0 10px rgba(255, 20, 147, 0.22);
}

.ikagame-fixed-btn-main,
.ikagame-fixed-btn-sub {
  display: block;
}

.ikagame-fixed-btn-sub {
  margin-top: 3px;
  color: var(--ikagame-pink-light);
  font-size: 10px;
}

.ikagame-fixed-btn-top {
  background: linear-gradient(135deg, var(--ikagame-pink), var(--ikagame-pink-dark)) !important;
}

/* =========================================================
   レスポンシブ
   ========================================================= */

@media (max-width: 1000px) {
  .ikagame-results-scroll,
  .ikagame-boat-grid,
  .ikagame-access-grid {
    grid-template-columns: 1fr;
  }

  .ikagame-result-card,
  .ikagame-boat-card {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .ikagame-header-inner {
    width: min(100% - 20px, 1180px);
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
  }

  .ikagame-header-logo {
    justify-content: center;
  }

  .ikagame-header-logo img {
    height: 38px;
    max-width: 130px;
  }

  .ikagame-header-site-name {
    font-size: 20px;
    text-align: center;
  }

  .ikagame-header-site-sub {
    font-size: 10px;
    text-align: center;
  }

  .ikagame-header-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 0 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--ikagame-pink) rgba(255, 255, 255, 0.08);
  }

  .ikagame-header-nav::-webkit-scrollbar {
    height: 4px;
  }

  .ikagame-header-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
  }

  .ikagame-header-nav::-webkit-scrollbar-thumb {
    background: var(--ikagame-pink);
    border-radius: 999px;
  }

  .ikagame-header-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .ikagame-homepage {
    padding-top: 118px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ikagame-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .ikagame-section {
    width: min(100% - 24px, 1180px);
    padding: 56px 0;
  }

  .ikagame-hero-inner {
    width: min(100% - 24px, 1100px);
    padding: 58px 0;
  }

  .ikagame-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .ikagame-btn {
    width: min(100%, 320px);
  }

  .ikagame-news-marquee {
    padding: 12px;
    border-radius: 20px;
  }

  .ikagame-news-track {
    gap: 12px;
    animation: none !important;
  }

  .ikagame-news-item {
    grid-template-columns: 1fr;
    min-width: 0;
    border-radius: 16px;
    gap: 8px;
    padding: 14px;
  }

  .ikagame-news-item span {
    width: fit-content;
    min-width: 0;
  }

  .ikagame-news-item strong {
    font-size: 16px;
  }

  .ikagame-news-item em {
    font-size: 14px;
  }

  .ikagame-boat-images {
    grid-template-columns: 1fr;
  }

  .ikagame-fixed-buttons {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .ikagame-fixed-buttons a,
  .ikagame-fixed-buttons button {
    width: 54px;
    min-height: 52px;
    border-radius: 14px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .ikagame-header-site-name {
    font-size: 18px;
  }

  .ikagame-header-site-sub {
    font-size: 9px;
  }

  .ikagame-header-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .ikagame-homepage {
    padding-top: 116px;
  }
}

@media print {
  .ikagame-header,
  .ikagame-fixed-buttons {
    display: none !important;
  }

  .ikagame-homepage {
    padding-top: 0 !important;
  }
}
