/* ============================================
   STARFRUIT — イベント会社サイト
   配色: 白 × ネイビー / モダン・洗練
   ============================================ */

:root {
  --navy: #0f1f3d;
  --navy-soft: #1b3a6b;
  --navy-deep: #0a1730;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --text: #1a2233;
  --muted: #5b6678;
  --line: #e3e8f0;

  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 31, 61, 0.1);

  --font-head: "Montserrat", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
}

/* ----- リセット / ベース ----- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----- ボタン共通 ----- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-invert {
  background: var(--white);
  color: var(--navy-deep);
}

.btn-invert:hover {
  background: var(--off-white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ----- ヘッダー ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a {
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--navy-soft);
}

.nav-icon {
  display: flex;
  align-items: center;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--navy-soft);
}

/* ----- ヒーロー（フルスクリーン画像カルーセル） ----- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 6s ease-out forwards;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 23, 48, 0.35) 0%,
    rgba(10, 23, 48, 0.55) 55%,
    rgba(10, 23, 48, 0.85) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-bottom: 5.5rem;
}

.hero-text {
  transition: opacity 0.35s ease;
}

.hero-text.is-fading {
  opacity: 0;
}

.hero-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2.25rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}

/* ----- セクション共通 ----- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 2.5rem;
}

.section-lead {
  color: var(--muted);
  margin: -1.5rem 0 2.5rem;
  max-width: 40rem;
}

/* ----- ビジョン（サービス紹介ページ） ----- */
.vision-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 2.5rem;
}

.vision-body {
  display: grid;
  gap: 1.5rem;
  max-width: 760px;
}

.vision-body p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ----- 特徴カード（サービス紹介ページ） ----- */
.feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.feature-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.1rem 0 1.25rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ----- 会社概要 ----- */
.about-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-more {
  margin-top: 2.5rem;
}

.about-facts {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-weight: 700;
  color: var(--navy);
}

.fact dd {
  margin: 0;
  color: var(--muted);
}

/* ----- 活動レポート ----- */
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.report-date {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
  margin: 0 0 0.75rem;
}

.report-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.report-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.report-card p:has(+ .org-tags),
.report-card p:has(+ .btn) {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.org-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.org-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy-soft);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* ----- イベント詳細ページ ----- */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--navy-soft);
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* ----- お問い合わせ ----- */
.contact-lead {
  color: var(--muted);
  margin: 0 0 2rem;
}

.form-success {
  max-width: 560px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
}

.form-success p {
  margin: 0;
}

.contact-form {
  max-width: 560px;
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}

.required {
  color: var(--navy-soft);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--off-white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.15);
}

.field-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  color: var(--text);
}

.field-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--navy);
}

.contact-form .btn {
  justify-self: start;
}

/* ----- フッター ----- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-footer {
  color: var(--white);
}

/* ============================================
   レスポンシブ（スマホ / タブレット対応）
   ============================================ */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .report-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-list {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .nav-list li:not(:last-child) {
    display: none; /* 骨組み段階: スマホでは参加ボタンのみ表示 */
  }

  .hero {
    min-height: 480px;
    align-items: center;
    text-align: center;
  }

  .hero-inner {
    padding-bottom: 0;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-dots {
    bottom: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .fact {
    grid-template-columns: 80px 1fr;
  }
}
