/*
Theme Name: 西ノ島 地域共創LP
Theme URI:
Author: オルタナティブポート株式会社
Description: 西ノ島町 地域共創プログラム 企業公募ランディングページ専用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: Private
Text Domain: nishinoshima-lp
*/

/* ============================================================
   このファイルはWordPressが読み込むメインのスタイルシートです。
   デザインの変更はこのファイルを編集してください。
   ============================================================ */

:root {
  --ocean: #0a4a6b;
  --ocean-light: #1a6e9f;
  --ocean-pale: #e8f4fd;
  --sky: #3b9fd4;
  --sand: #f5efe6;
  --earth: #8b6f47;
  --green: #2d7a4f;
  --accent: #e85d26;
  --accent-light: #ff7a45;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #7a7a9a;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(10,74,107,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,74,107,0.96);
  backdrop-filter: blur(12px);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; }
.nav-logo span { color: #6ecff6; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 13px; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 20px; border-radius: 6px; font-weight: 700; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--accent-light) !important; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #041d2c 0%, #0a4a6b 45%, #1a6e9f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(62,159,212,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(110,207,246,0.1) 0%, transparent 60%);
}
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; overflow: hidden; }
.hero-waves svg { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
  display: inline-block;
  background: rgba(110,207,246,0.2);
  border: 1px solid rgba(110,207,246,0.5);
  color: #6ecff6;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 32px;
}
.hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.25; color: #fff; letter-spacing: -0.01em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #6ecff6; }
.hero-sub { font-size: clamp(15px, 2vw, 20px); color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-deadline {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 20px 32px; margin-bottom: 40px;
}
.hero-deadline .label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; font-weight: 600; }
.hero-deadline .date { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: 0.02em; }
.hero-deadline .date span { color: #6ecff6; }
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 18px; font-weight: 800; padding: 20px 52px; border-radius: 8px;
  text-decoration: none; letter-spacing: 0.03em; transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(232,93,38,0.4);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,93,38,0.5); }
.hero-stats { margin-top: 64px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 16px 24px;
  max-width: 220px;
}
.hero-stat .feature-icon { font-size: 24px; margin-bottom: 8px; }
.hero-stat .feature-text { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.6; }

/* ========== SECTION COMMON ========== */
section { padding: 100px 40px; }
.section-label { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: var(--sky); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 20px; }
.section-desc { font-size: 16px; line-height: 1.9; color: var(--text-mid); max-width: 640px; }
.container { max-width: 1100px; margin: 0 auto; }

/* ========== ISSUES ========== */
.issues { background: var(--sand); }
.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.issue-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); border-top: 4px solid var(--ocean); }
.issue-icon { width: 56px; height: 56px; background: var(--ocean-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.issue-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; color: var(--ocean); }
.issue-card p { font-size: 14px; line-height: 1.8; color: var(--text-mid); }

/* ========== CONCEPT ========== */
.concept { background: var(--ocean); color: #fff; text-align: center; position: relative; overflow: hidden; }
.concept::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,159,212,0.3) 0%, transparent 70%); }
.concept .section-label { color: #6ecff6; }
.concept .section-title { color: #fff; margin: 0 auto 24px; }
.concept .section-desc { color: rgba(255,255,255,0.8); margin: 0 auto 56px; max-width: 600px; }
.concept-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.concept-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 36px 28px; text-align: left; }
.concept-num { font-size: 48px; font-weight: 900; color: rgba(110,207,246,0.3); line-height: 1; margin-bottom: 12px; }
.concept-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.concept-card p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.7); }

/* ========== TARGETS ========== */
.targets { background: #fff; }
.targets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.target-card { border-radius: var(--radius); padding: 36px 28px; background: var(--ocean-pale); border-left: 5px solid var(--sky); }
.target-tag { display: inline-block; background: var(--ocean); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; }
.target-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; color: var(--ocean); }
.target-benefits { list-style: none; }
.target-benefits li { font-size: 13px; line-height: 1.7; color: var(--text-mid); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: flex-start; gap: 8px; }
.target-benefits li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.target-benefits li:last-child { border-bottom: none; }

/* ========== APPROACH ========== */
.approach { background: var(--sand); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.approach-card { background: #fff; border-radius: var(--radius); padding: 40px 32px; text-align: center; box-shadow: var(--shadow); }
.approach-icon { font-size: 48px; margin-bottom: 20px; display: block; }
.approach-card h3 { font-size: 18px; font-weight: 800; color: var(--ocean); margin-bottom: 16px; }
.approach-card p { font-size: 13px; line-height: 1.9; color: var(--text-mid); }

/* ========== SUPPORT ========== */
.support { background: linear-gradient(135deg, #0a4a6b, #1a6e9f); color: #fff; }
.support-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.support .section-label { color: #6ecff6; }
.support .section-title { color: #fff; }
.support .section-desc { color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.support-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.support-list li { display: flex; align-items: flex-start; gap: 16px; background: rgba(255,255,255,0.08); border-radius: 10px; padding: 16px 20px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.9); }
.support-list li .icon { font-size: 22px; flex-shrink: 0; }
.cost-free { background: rgba(110,207,246,0.15); border: 1px solid rgba(110,207,246,0.4); border-radius: var(--radius); padding: 24px 28px; margin-top: 24px; }
.cost-free .label { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; color: #6ecff6; margin-bottom: 8px; }
.cost-free p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.85); }
.cost-free strong { color: #fff; }
.support-visual { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 40px; border: 1px solid rgba(255,255,255,0.12); }
.support-visual h4 { font-size: 14px; font-weight: 700; color: #6ecff6; letter-spacing: 0.1em; margin-bottom: 24px; }
.support-partner { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.partner-logo { width: 56px; height: 56px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.partner-info h5 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.partner-info p { font-size: 12px; color: rgba(255,255,255,0.6); }
.support-keymen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keyman-chip { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 12px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.8); }
.keyman-chip .emoji { font-size: 20px; display: block; margin-bottom: 6px; }

/* ========== SCHEDULE ========== */
.schedule { background: #fff; }
.timeline { margin-top: 56px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--sky), var(--ocean)); }
.timeline-item { display: flex; gap: 40px; margin-bottom: 40px; position: relative; }
.timeline-dot { width: 50px; height: 50px; border-radius: 50%; background: var(--ocean); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--ocean-pale); }
.timeline-content { background: var(--ocean-pale); border-radius: var(--radius); padding: 28px 32px; flex: 1; }
.timeline-period { font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: 0.08em; margin-bottom: 8px; }
.timeline-content h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--ocean); }
.timeline-content p { font-size: 14px; line-height: 1.8; color: var(--text-mid); }
.timeline-item.highlight .timeline-content { background: var(--ocean); color: #fff; }
.timeline-item.highlight .timeline-period { color: #6ecff6; }
.timeline-item.highlight h3 { color: #fff; }
.timeline-item.highlight p { color: rgba(255,255,255,0.8); }
.timeline-item.highlight .timeline-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(232,93,38,0.2); }

/* ========== CTA ========== */
.cta-section { background: var(--sand); text-align: center; }
.cta-box { background: var(--ocean); border-radius: 20px; padding: 72px 60px; max-width: 800px; margin: 0 auto; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(59,159,212,0.3) 0%, transparent 70%); }
.cta-box h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: #fff; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 40px; position: relative; }
.cta-deadline-display { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 20px 32px; display: inline-block; margin-bottom: 40px; position: relative; }
.cta-deadline-display .dl-label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; font-weight: 700; margin-bottom: 6px; }
.cta-deadline-display .dl-date { font-size: 32px; font-weight: 900; color: #fff; }
.cta-deadline-display .dl-date em { font-style: normal; color: #6ecff6; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; flex-wrap: wrap; }
.btn-secondary { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 15px; font-weight: 700; padding: 16px 36px; border-radius: 8px; text-decoration: none; transition: all 0.25s; }
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ========== FAQ ========== */
.faq { background: #fff; }
.faq-list { margin-top: 56px; max-width: 780px; }
.faq-item { border-bottom: 1px solid #e8e8f0; padding: 28px 0; }
.faq-item:first-child { border-top: 1px solid #e8e8f0; }
.faq-q { font-size: 16px; font-weight: 700; color: var(--ocean); margin-bottom: 12px; display: flex; gap: 16px; }
.faq-q::before { content: 'Q'; background: var(--ocean); color: #fff; width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0; }
.faq-a { font-size: 14px; line-height: 1.9; color: var(--text-mid); padding-left: 42px; }

/* ========== FAQ LINKS ========== */
.faq-a a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.faq-a a:hover { color: var(--ocean); }

/* ========== FOOTER ========== */
footer { background: var(--text-dark); color: rgba(255,255,255,0.6); padding: 56px 40px; text-align: center; }
footer .footer-logo { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
footer p { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.footer-logos {
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-logo-item:hover { opacity: 0.75; }
.footer-logo-item img {
  height: 48px;
  width: auto;
  object-fit: contain;
  /* 白背景ロゴを暗いフッターで見やすくする */
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-logo-item:hover img { opacity: 1; }
.footer-logo-item:not(:has(img)) {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-logo-item:not(:has(img)):hover { color: #fff; }
.footer-logos-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
.footer-privacy { margin: 16px 0 4px; }
.footer-privacy a { font-size: 12px; color: rgba(255,255,255,0.45); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-privacy a:hover { color: rgba(255,255,255,0.8); }
footer .footer-meta { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 12px; }

/* ========== HERO WITH PHOTO ========== */
.hero.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(4,29,44,0.80) 0%, rgba(10,74,107,0.72) 50%, rgba(26,110,159,0.60) 100%);
  z-index: 0;
}
.hero.has-image .hero-content,
.hero.has-image .hero-waves {
  position: relative;
  z-index: 1;
}

/* ========== ISLAND PHOTO SECTION ========== */
.island-photo-section {
  height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.island-photo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
}
.island-photo-caption {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 24px 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .issues-grid, .concept-cards, .targets-grid, .approach-grid { grid-template-columns: 1fr; }
  .support-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-box { padding: 48px 28px; }
  .hero-stats { gap: 32px; }
  .timeline::before { left: 20px; }
}
@media (max-width: 600px) {
  .hero-deadline { flex-direction: column; gap: 8px; }
}
