/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  line-height: 1.8;
  background: #fff;
}
a { color: inherit; text-decoration: none; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
header > .wp-block-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
  max-width: none;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0d2137;
}
.logo span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #888;
  margin-top: 2px;
}
nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #555;
  transition: color 0.2s;
}
nav a:hover { color: #0d2137; }
.nav-cta {
  background: #0d2137;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: #1a3a5c; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0d2137;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 99;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  color: #333;
  padding: 0.3rem 0;
}

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  header > .wp-block-group { padding: 0 1.2rem; }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('/images/hero-stadium.jpg') center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 33, 55, 0.65);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
  max-width: 900px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  line-height: 2;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: inline-block;
  background: #fff;
  color: #0d2137;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Building Line Art */
.building-line-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 0;
}
.building-line-container svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
}
.building-line-container .line-path {
  fill: none;
  stroke: #c0392b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  transition: none;
}
.building-line-label {
  text-align: center;
  padding: 1.5rem 2rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #c0392b;
  text-transform: uppercase;
  font-weight: 600;
}
.building-line-title {
  text-align: center;
  padding: 0.5rem 2rem 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #0d2137;
  letter-spacing: 0.05em;
}

/* Stadium Line Art */
.stadium-line-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 0 1rem 2rem;
}
.stadium-line-container svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}
.stadium-line-container .stadium-path {
  fill: none;
  stroke: #c0392b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  transition: none;
}

/* Sections */
section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #0d2137;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.section-desc {
  font-size: 0.95rem;
  color: #666;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 2;
}

/* Strengths */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .strengths-grid { grid-template-columns: 1fr; }
}
.strength-card {
  background: #f8f9fa;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.strength-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d2137;
  opacity: 0.15;
  margin-bottom: 1rem;
  line-height: 1;
}
.strength-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 0.8rem;
}
.strength-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.9;
}

/* Business */
.bg-dark {
  background: #0d2137;
  color: #fff;
}
.bg-dark .section-label { color: rgba(255,255,255,0.5); }
.bg-dark .section-title { color: #fff; }
.bg-dark .section-desc { color: rgba(255,255,255,0.6); }
.business-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .business-list { grid-template-columns: 1fr; }
}
.business-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
}
.business-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.business-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Recruit */
.recruit-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  text-align: center;
}
.recruit-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.recruit-message {
  font-size: 1.1rem;
  color: #333;
  line-height: 2.2;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.recruit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: left;
}
@media (max-width: 768px) {
  .recruit-cards { grid-template-columns: 1fr; }
}
.recruit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.recruit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 0.6rem;
}
.recruit-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
}
.btn-primary {
  display: inline-block;
  background: #0d2137;
  color: #fff;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
}

/* Numbers */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
}
.number-item { text-align: center; }
.number-item .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d2137;
  line-height: 1.2;
}
.number-item .num small {
  font-size: 1rem;
  font-weight: 400;
}
.number-item .label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.3rem;
}

/* Footer */
footer {
  background: #0a1929;
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-info .footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}
.footer-info p {
  font-size: 0.8rem;
  line-height: 1.8;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  max-width: 1000px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* Services Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #0d2137;
}
.service-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.9;
}

/* Company Page */
.page-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #0d2137, #1a3a5c);
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.page-hero p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}
.company-section { padding: 4rem 2rem; }
.company-section:nth-child(even) { background: #f8f9fa; }
.company-table {
  max-width: 800px;
  margin: 0 auto;
}
.company-table h2 {
  font-size: 1.4rem;
  color: #0d2137;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #0d2137;
  letter-spacing: 0.05em;
}
.company-table table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
  line-height: 1.8;
}
.company-table th {
  width: 160px;
  font-weight: 600;
  color: #0d2137;
  background: #f8f9fa;
  vertical-align: top;
}
@media (max-width: 768px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.6rem 0;
  }
  .company-table th {
    background: none;
    border-bottom: none;
    padding-bottom: 0.2rem;
    font-size: 0.85rem;
  }
  .company-table td {
    padding-top: 0;
    margin-bottom: 0.8rem;
  }
}
.philosophy-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-text h2 {
  font-size: 1.4rem;
  color: #0d2137;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.philosophy-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.philosophy-text p {
  font-size: 0.95rem;
  color: #666;
  line-height: 2.2;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d2137;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #0d2137;
  margin-left: -4px;
}
.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 0.3rem;
}
.timeline-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

/* Access */
.access-info {
  max-width: 800px;
  margin: 0 auto;
}
.access-info .address {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.access-info .station {
  font-size: 0.92rem;
  color: #555;
  line-height: 2;
}
.access-info .station li {
  list-style: none;
  padding-left: 1.2em;
  position: relative;
}
.access-info .station li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d2137;
}

/* Qualifications list */
.qual-list {
  list-style: none;
  padding: 0;
}
.qual-list li {
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: #555;
  padding-left: 1.2em;
  position: relative;
}
.qual-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0d2137;
}

/* WordPress Block Theme Structure */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-block-template-part { flex-shrink: 0; }
main.wp-block-group { flex-grow: 1; }
.is-layout-flow > * + * { margin-block-start: 0; }
.is-layout-constrained > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.has-global-padding { padding-right: 0; padding-left: 0; }
.entry-content > * { max-width: none; }
/* Full width override - no sidebar */
body.page-template-full-width .wp-block-group { max-width: none; }
