/* =========================================================
   GA-REW Pearl Harbor Case Study
   Corporate Color: #4CAF50
========================================================= */

:root {
  --primary: #4CAF50;
  --primary-light: #66BB6A;
  --primary-dark: #2E7D32;

  --navy: #1B4332;
  --navy-dark: #0F2B20;

  --light: #F6FBF7;
  --white: #FFFFFF;
  --gray: #5F6B65;
  --text: #1E293B;
  --text-muted: #475569;
  --border: #D9E9DB;

  --shadow: 0 10px 30px rgba(27, 67, 50, 0.10);
  --shadow-lg: 0 25px 60px rgba(27, 67, 50, 0.18);

  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  overflow-x: hidden;
  word-break: auto-phrase;
  line-break: strict;
}

img,
video {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), 92%);
  margin: auto;
}

section { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.global-nav a {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s;
}

.global-nav a:hover { color: var(--primary); }

.nav-contact {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--navy);
  transition: 0.3s;
}

.primary-btn,
.secondary-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s;
}

.primary-btn,
.cta-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(76, 175, 80, 0.35);
}

.primary-btn:hover,
.cta-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.secondary-btn:hover {
  background: rgba(76, 175, 80, 0.18);
  transform: translateY(-3px);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), #24523F);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 43, 32, 0.82), rgba(15, 43, 32, 0.48));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 92%);
  margin: auto;
}

.hero-label {
  display: inline-block;
  margin-bottom: 24px;
  color: #B9F6CA;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-bottom: 32px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 780px;
  color: #EAF8EB;
  font-size: 1.08rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.badge {
  padding: 9px 16px;
  border: 1px solid rgba(76, 175, 80, 0.35);
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.16);
  color: #EAF8EB;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.section-heading {
  margin-bottom: 64px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
  font-weight: 900;
}

.section-sub {
  max-width: 780px;
  margin: 0 auto;
  color: var(--gray);
}

.usage-notice {
  max-width: 980px;
  margin: 0 auto 56px;
  padding: 24px 30px;
  border-left: 6px solid var(--primary);
  border-radius: 18px;
  background: var(--light);
  box-shadow: var(--shadow);
}

.usage-notice p {
  color: var(--text-muted);
  line-height: 1.9;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.story-text p { margin-bottom: 22px; }

.story-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.story-image img {
  height: 480px;
  object-fit: cover;
}

.value,
.timeline,
.gallery,
.future {
  background: var(--light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card,
.timeline-content,
.future-card {
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.35s;
}

.value-card:hover,
.future-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-card h3,
.timeline-content h3 {
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.value-card p,
.timeline-content p,
.future-card p,
.product-info p,
.media-content p {
  color: var(--text-muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.35s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 240px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-img img {
  height: 100%;
  object-fit: cover;
  transition: 0.7s;
}

.product-card:hover .product-img img { transform: scale(1.06); }

.product-info { padding: 28px; }

.product-label {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-info h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.55rem;
}

.products-cta {
  margin-top: 42px;
  text-align: center;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: stretch;
}

.timeline-img {
  min-height: 360px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.timeline-img img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.timeline-content { padding: 42px; }

.timeline-content h3 {
  color: var(--primary-dark);
  font-size: 1.8rem;
}

.process-use,


.field-review { background: #fff; }

.review-grid {
  display: grid;
  gap: 36px;
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.review-head {
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #fff;
}

.review-head h3 {
  font-size: 1.55rem;
  line-height: 1.4;
}

.review-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.review-original,
.review-translation {
  padding: 34px 36px;
}

.review-original {
  border-right: 1px solid var(--border);
  background: #fbfdfb;
}

.review-original h4,
.review-translation h4 {
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.review-original p,
.review-translation p {
  margin-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.9;
}

.media-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.media-img {
  min-height: 420px;
  background: #f1f5f9;
}

.media-img img {
  height: 100%;
  object-fit: cover;
}

.media-content { padding: 54px; }

.media-date {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.media-content h3 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 2rem;
}

.media-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  min-height: 240px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 240px;
  object-fit: cover;
  transition: 0.7s;
}

.gallery-item:hover img { transform: scale(1.06); }

.movie-box {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.movie-box video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.future-card h3 {
  color: var(--primary);
  font-size: 3rem;
  opacity: 0.18;
}

.future-card h4 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.45;
}

.cta {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #fff;
}

.cta-inner {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
}

.cta-inner p {
  margin-bottom: 40px;
  color: #EAF8EB;
}

.site-footer {
  padding: 55px 0;
  background: var(--navy-dark);
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner h3 { color: #fff; }

.site-footer a {
  color: inherit;
  transition: opacity 0.3s;
}

.site-footer a:hover { opacity: 0.75; }

.copyright {
  color: #94a3b8;
  font-size: 0.9rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@media (max-width: 1180px) {
  .global-nav ul { gap: 16px; }
  .global-nav a { font-size: 0.82rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .future-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }

  .global-nav {
    position: fixed;
    top: 70px;
    left: 0;
    display: none;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }

  .global-nav.is-open { display: block; }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .global-nav li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .global-nav a {
    display: block;
    padding: 16px 0;
  }

  .menu-button { display: block; }

  .menu-button.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button.is-active span:nth-child(2) { opacity: 0; }
  .menu-button.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-overlay { background: rgba(15, 43, 32, 0.68); }

  .story,
  .timeline-item,
  .media-card,
  .review-columns {
    grid-template-columns: 1fr;
  }

  .timeline-img,
  .timeline-img img {
    min-height: 300px;
  }

  .review-original {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .review-original,
  .review-translation { padding: 28px; }

  .media-img { min-height: 300px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .products,
  .value-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions { flex-direction: column; }

  .primary-btn,
  .secondary-btn,
  .cta-btn { width: 100%; }

  .hero h1 { font-size: 2.5rem; }

  .section-title { font-size: 2rem; }

  .story-image img { height: 320px; }
}
