/* ==========================================================
   KOYO LOGI - Top Page Stylesheet
   ========================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 400;
  color: #1a1f2e;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

/* セクションのはみ出し抑止（装飾文字対策） */
section { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s ease, color 0.3s ease; }
a:hover { opacity: 0.7; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

:root {
  --navy: #0c1830;
  --navy-deep: #06112a;
  --navy-soft: #1a2a4a;
  --text: #1a1f2e;
  --text-light: #5a6273;
  --text-muted: #8a92a3;
  --line: #e6e8ec;
  --line-soft: #f1f2f5;
  --bg-soft: #f7f8fa;
  --bg-light: #fafbfc;
  --accent: #4a6da7;
  --max: 1240px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sp-only { display: none; }

/* ---------- Section Head (共通) ---------- */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-en {
  font-family: 'Cormorant Garamond', 'Inter', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-en::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-jp {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.95;
}
.section-head-light .section-en,
.section-head-light .section-en::after { color: #b8c4d8; }
.section-head-light .section-jp { color: #fff; }
.section-head-light .section-desc { color: rgba(255,255,255,0.75); }

.section-head-dark .section-en,
.section-head-dark .section-en::after { color: #b8c4d8; }
.section-head-dark .section-jp { color: #fff; }
.section-head-dark .section-desc { color: rgba(255,255,255,0.75); }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 24px 0;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  padding: 16px 0;
  backdrop-filter: saturate(180%) blur(12px);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  transition: color 0.4s ease;
}
.site-header.is-scrolled .logo { color: var(--navy-deep); }
.logo-mark {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.global-nav { display: flex; }
.global-nav ul { display: flex; gap: 36px; }
.global-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  position: relative;
  padding: 8px 0;
  transition: color 0.4s ease;
}
.site-header.is-scrolled .global-nav a { color: var(--navy-deep); }
.nav-en {
  font-family: 'Cormorant Garamond', 'Inter', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
.nav-jp {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.global-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}
.global-nav a:hover { opacity: 1; }
.global-nav a:hover::after { width: 100%; left: 0; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: #fff;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.header-cta:hover {
  background: var(--accent);
  opacity: 1;
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

/* モバイルメニューはPCでは非表示（@media 900px以下で表示） */
.mobile-menu { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease, transform 8s ease;
  transform: scale(1.05);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,16,36,0.5) 0%, rgba(8,16,36,0.35) 40%, rgba(8,16,36,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 0.3em;
  font-weight: 500;
  margin: 0 0 24px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-eyebrow .line {
  width: 48px;
  height: 1px;
  background: #fff;
  display: block;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 40px;
}
.hero-title-main {
  font-family: 'Inter', sans-serif;
  font-size: clamp(64px, 11vw, 168px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.hero-title-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.35em;
  opacity: 0.85;
  font-style: italic;
}

.hero-catch {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-desc {
  font-size: 15px;
  line-height: 2;
  margin: 0;
  opacity: 0.92;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-news {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.05em;
  max-width: 560px;
  border-radius: 2px;
}
.hero-news-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.3);
  color: #b8c4d8;
}
.hero-news-date { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.75); }
.hero-news-title { font-weight: 500; }

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: 56px;
  background: #fff;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(112px); }
}

.hero-slider-nav {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s ease;
}
.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.4);
}

/* ==========================================================
   INTRO / ABOUT
   ========================================================== */
.intro {
  padding: 140px 0 140px;
  position: relative;
}
.intro::before {
  content: "ABOUT";
  position: absolute;
  top: 80px;
  right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 220px;
  font-weight: 300;
  color: var(--bg-soft);
  letter-spacing: 0.04em;
  z-index: 0;
  line-height: 1;
}
.intro .container { position: relative; z-index: 1; }

.intro-body {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.intro-lead {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.85;
  margin: 0 0 48px;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}
.intro-text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 48px;
}
.intro-text p { margin: 0 0 20px; }
.intro-text p:last-child { margin-bottom: 0; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-deep);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy-deep);
  transition: gap 0.3s ease;
}
.text-link:hover {
  opacity: 1;
  gap: 16px;
}

/* ==========================================================
   NUMBERS
   ========================================================== */
.numbers {
  padding: 140px 0;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1601598851547-4302969d0614?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.numbers .container { position: relative; }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.number-item {
  padding: 56px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.number-label {
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin: 0 0 20px;
}
.number-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 0 20px;
  color: #fff;
}
.number-value .num {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.number-value .unit {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.number-desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ==========================================================
   STRENGTH
   ========================================================== */
.strength {
  padding: 140px 0 140px;
  background: var(--bg-light);
  position: relative;
}
.strength::before {
  content: "STRENGTH";
  position: absolute;
  top: 80px;
  left: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  font-weight: 300;
  color: rgba(12,24,48,0.04);
  letter-spacing: 0.04em;
  z-index: 0;
  line-height: 1;
}
.strength .container { position: relative; z-index: 1; }

.strength-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.strength-card {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(12,24,48,0.08);
}
.strength-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.05em;
  background: var(--bg-soft);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.strength-card-img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}
.strength-card-body {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.strength-card-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}
.strength-card-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.strength-card-text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-light);
  margin: 0;
}

.strength-plus {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--navy-deep);
  color: #fff;
  padding: 40px 48px;
  position: relative;
}
.strength-plus-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  line-height: 1;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.strength-plus-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.08em;
}
.strength-plus-text {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ==========================================================
   SERVICE
   ========================================================== */
.service {
  padding: 140px 0;
  background: #fff;
  position: relative;
}
.service::before {
  content: "SERVICE";
  position: absolute;
  top: 80px;
  right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  font-weight: 300;
  color: var(--bg-soft);
  letter-spacing: 0.04em;
  z-index: 0;
  line-height: 1;
}
.service .container { position: relative; z-index: 1; }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(12,24,48,0.1);
}
.service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover .service-card-inner { opacity: 1; }

.service-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,24,48,0) 0%, rgba(12,24,48,0.4) 100%);
}
.service-card-num {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  z-index: 1;
}

.service-card-body {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-head { margin-bottom: 20px; }
.service-card-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.service-card-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0;
  font-style: italic;
}
.service-card-text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-light);
  margin: 0 0 28px;
  flex-grow: 1;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy-deep);
  width: fit-content;
  transition: gap 0.3s ease;
}
.service-card:hover .service-card-cta { gap: 16px; }

/* ==========================================================
   FLOW
   ========================================================== */
.flow {
  padding: 140px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.flow-step {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 18px 28px;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.flow-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.flow-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}
.flow-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  color: #fff;
  border-radius: 50%;
}
.flow-step-icon i, .flow-step-icon svg {
  width: 24px;
  height: 24px;
}
.flow-step-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.flow-step-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
  opacity: 0.6;
}
.flow-arrow i, .flow-arrow svg { width: 20px; height: 20px; }

/* ==========================================================
   FACILITY
   ========================================================== */
.facility {
  padding: 140px 0;
  background: #fff;
}
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.facility-image {
  position: relative;
  height: 540px;
}
.facility-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 78%;
  background-size: cover;
  background-position: center;
}
.facility-image-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56%;
  height: 56%;
  background-size: cover;
  background-position: center;
  border: 12px solid #fff;
  box-shadow: 0 16px 48px rgba(12,24,48,0.12);
}

.facility-body .section-head {
  text-align: left;
  margin-bottom: 32px;
}
.facility-body .section-en::after {
  left: 0;
  transform: none;
}
.facility-lead {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 24px;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.facility-text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-light);
  margin: 0 0 36px;
}

.facility-spec {
  margin: 0 0 40px;
}
.facility-spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facility-spec-row:first-child { border-top: 1px solid var(--line); }
.facility-spec-row dt {
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.1em;
}
.facility-spec-row dd {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border: 1px solid var(--navy-deep);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}
.btn-outline:hover {
  background: var(--navy-deep);
  color: #fff;
  opacity: 1;
  gap: 20px;
}

/* ==========================================================
   COMPANY
   ========================================================== */
.company {
  padding: 140px 0;
  background: var(--bg-light);
  text-align: center;
}
.company-message {
  max-width: 760px;
  margin: 0 auto 64px;
}
.company-lead {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.85;
  margin: 0 0 32px;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}
.company-text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-light);
  margin: 0;
}

.company-info {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: left;
}
.company-info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.company-info-row:first-child { border-top: 1px solid var(--line); }
.company-info-row dt {
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.1em;
}
.company-info-row dd {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  padding: 140px 0;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.contact .container { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 56px 40px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  margin: 0 0 24px;
}
.contact-card-icon i, .contact-card-icon svg {
  width: 24px;
  height: 24px;
}
.contact-card-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin: 0 0 16px;
}
.contact-card-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: #fff;
}
.contact-card-note {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.contact-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  background: #fff;
  color: var(--navy-deep);
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: gap 0.3s ease;
}
.contact-card-btn:hover { opacity: 1; gap: 18px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #06112a;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 8px;
}
.footer-name {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  margin: 0 0 20px;
}
.footer-address {
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
}
.footer-nav-col li {
  margin-bottom: 12px;
  font-size: 13px;
}
.footer-nav-col a { color: rgba(255,255,255,0.65); }
.footer-nav-col a:hover { color: #fff; opacity: 1; }

.footer-bottom { text-align: center; }
.copyright {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ==========================================================
   FADE IN ANIMATION
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .global-nav ul { gap: 24px; }
  .nav-jp { font-size: 12px; }
  .strength-card { grid-template-columns: 60px 1fr 1fr; }
  .strength-card-body { padding: 36px 32px; }
  .facility-grid { gap: 56px; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }

  .global-nav, .header-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(6, 17, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .site-header.is-scrolled .menu-toggle {
    background: transparent;
    border-color: var(--line);
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .site-header.is-scrolled .menu-toggle span { background: var(--navy-deep); }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6,17,42,0.97);
    backdrop-filter: blur(8px);
    z-index: 99;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }
  .mobile-menu a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-menu .mobile-cta {
    background: #fff;
    color: var(--navy-deep);
    text-align: center;
    padding: 18px;
    margin-top: 24px;
    border: none;
  }

  .sp-only { display: inline; }

  /* Hero */
  .hero { min-height: 600px; height: 100svh; }
  .hero-content { padding: 0 24px; }
  .hero-eyebrow { font-size: 12px; }
  .hero-eyebrow .line { width: 32px; }
  .hero-title-main { font-size: clamp(54px, 16vw, 96px); }
  .hero-catch { font-size: clamp(24px, 6vw, 36px); }
  .hero-desc { font-size: 13px; }
  .hero-meta { padding: 0 24px 24px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-news {
    font-size: 11.5px;
    padding: 10px 14px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .hero-news-label { padding-right: 10px; font-size: 11px; }
  .hero-news-date { font-size: 11px; white-space: nowrap; }
  .hero-news-title {
    font-size: 12px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-scroll { display: none; }
  .hero-slider-nav { right: 16px; }

  /* Sections */
  .intro, .strength, .service, .flow, .facility, .company, .numbers, .contact { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .section-jp { font-size: 24px; }

  /* SPでは装飾の巨大英字は非表示にしてはみ出しを防ぐ */
  .intro::before, .strength::before, .service::before { display: none; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { padding: 36px 20px; }
  .number-value .num { font-size: 48px; }

  .strength-card { grid-template-columns: 1fr; }
  .strength-card-num {
    writing-mode: horizontal-tb;
    padding: 20px;
    font-size: 28px;
  }
  .strength-card-img { min-height: 220px; }
  .strength-card-body { padding: 32px 24px; }
  .strength-card-title { font-size: 22px; }

  .strength-plus { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 24px; }
  .strength-plus-tag { font-size: 40px; }

  .service-list { grid-template-columns: 1fr; gap: 24px; }
  .service-card-img { height: 200px; }
  .service-card-body { padding: 28px 24px; }

  .flow-list { flex-direction: column; }
  .flow-step { width: 100%; }
  .flow-arrow { transform: rotate(90deg); }

  .facility-grid { grid-template-columns: 1fr; gap: 40px; }
  .facility-image { height: 380px; }

  .facility-spec-row, .company-info-row { grid-template-columns: 100px 1fr; gap: 16px; font-size: 13px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 28px; }
  .contact-card-value { font-size: 26px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 480px) {
  .number-value .num { font-size: 40px; }
  .section-jp { font-size: 20px; }
  .hero-title-main { font-size: 56px; }
  .footer-nav { grid-template-columns: 1fr; }
}
