@charset "UTF-8";

/* ====================
   CSS Variables
   ==================== */
:root {
  --primary:        #008B96;
  --primary-dark:   #0F2E31;
  --primary-light:  rgba(0, 139, 150, 0.2);
  --bg-dark:        #0F2E31;
  --bg-dark-2:      #0a1e20;
  --bg-light:       #f4f4f1;
  --bg-white:       #ffffff;
  --bg-cream:       #faf6ed;
  --bg-tint:        #ecf4f4;
  --text-dark:      #1f1f1f;
  --text-light:     #ffffff;
  --text-muted-dark:  rgba(255, 255, 255, 0.65);
  --text-muted-light: rgba(31, 31, 31, 0.60);
  --border-dark:    rgba(255, 255, 255, 0.12);
  --border-light:   rgba(0, 0, 0, 0.10);
  --font-en:        'Montserrat', sans-serif;
  --font-jp:        'Noto Sans JP', sans-serif;
}

/* ====================
   Reset & Base
   ==================== */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  color: var(--text-dark);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg-white);
}

img  { max-width: 100%; vertical-align: bottom; }
li   { list-style: none; }
a    { text-decoration: none; transition: opacity 0.3s ease, color 0.3s ease; }

main { padding-top: 80px; }

/* ====================
   Utilities
   ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container.narrow { max-width: 860px; }

.section { padding: clamp(64px, 7vw, 110px) 0; }

.section-dark  { background: var(--bg-dark);  color: var(--text-light); }
.section-light { background: var(--bg-light); color: var(--text-dark);  }
.section-white { background: var(--bg-white); color: var(--text-dark);  }

.eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.display-en {
  font-family: var(--font-en);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.display-jp {
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.section-lead-jp {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--text-muted-light);
  letter-spacing: .05em;
  margin-top: 10px;
  margin-bottom: 48px;
}

.about-block {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border-light);
}

/* ====================
   Section Heading (JP — EN inline)
   ==================== */

.section-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.3;
}

.section-heading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-heading .heading-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--primary-dark);
  letter-spacing: -.005em;
}

.section-heading .heading-sep {
  font-family: var(--font-en);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 300;
}

.section-heading .heading-jp {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  letter-spacing: .05em;
}

/* 中央寄せ見出し (Challenge / About / Services 等で使用) */
.section-heading.section-heading--center {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 70px;
}
.section-heading--center::before { display: none; }
.section-heading--center .heading-sep { display: none; }
.section-heading--center .heading-jp {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: .06em;
}
.section-heading--center .heading-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.7;
}

/* ティール背景上では見出しを白文字に */
.section-primary .section-heading--center .heading-jp {
  color: #fff;
}
.section-primary .section-heading--center .heading-en {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.section-cityscape .section-heading::before {
  background: #ffffff;
}

.section-cityscape .section-heading .heading-jp {
  color: #ffffff;
}

.section-cityscape .section-heading .heading-sep,
.section-cityscape .section-heading .heading-en {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .section-heading {
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-heading .heading-en {
    font-size: 1.35rem;
  }

  /* 中央寄せ見出しはモバイルでも EN を小さく保つ (Approach の EN と同サイズ) */
  .section-heading.section-heading--center .heading-en {
    font-size: 11px;
    letter-spacing: .2em;
  }

  .section-heading.section-heading--center .heading-jp {
    font-size: 1.5rem;
  }
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #007880;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 139, 150, 0.35);
  opacity: 1;
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 15px 40px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  opacity: 1;
}

/* Fadein animation */
.fadein {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

.sp-only { display: none; }

/* ====================
   Header
   ==================== */
#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

#header .logo {
  max-width: 180px;
  line-height: 0;
  flex-shrink: 0;
}

#header .logo img {
  width: 100%;
  height: auto;
  filter: none;
}

#header .navi .menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

#header .navi .menu > li > a {
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.78);
}

#header .navi .menu > li > a:hover {
  color: var(--primary);
  opacity: 1;
}

#header .navi .menu .menu-contact a {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

#header .navi .menu .menu-contact a:hover {
  background: #007880;
  opacity: 1;
}

#header .hamburger { display: none; }
#header .mask      { display: none; }

/* ====================
   Footer
   ==================== */
#footer {
  background: var(--bg-dark-2);
  color: var(--text-light);
  padding: 80px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

#footer a { color: rgba(255,255,255,0.7); }
#footer a:hover { color: #fff; opacity: 1; }

#footer .footer-logo {
  max-width: 160px;
  line-height: 0;
  margin-bottom: 24px;
  display: block;
}

#footer .footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

#footer .footer-info {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted-dark);
  margin-bottom: 32px;
}

#footer .copyright {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

#footer .footer-nav {
  display: flex;
  gap: 48px;
}

#footer .footer-nav-col a {
  display: block;
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.70);
  padding: 6px 0;
}

#footer .footer-nav-col a:hover {
  color: var(--primary);
  opacity: 1;
}

/* ====================
   Tablet (≤1024px)
   ==================== */
@media screen and (max-width: 1024px) {
  html { scroll-padding-top: 60px; }
  main { padding-top: 60px; }

  #header {
    height: 60px;
    padding: 0 20px;
  }

  #header .logo { max-width: 140px; }

  #header .navi {
    width: 80%;
    height: 100vh;
    background: var(--bg-light);
    position: fixed;
    top: 0;
    left: -120%;
    z-index: 20;
    transition: left 0.5s ease;
    overflow-y: auto;
  }

  #header .navi.active { left: 0; }

  #header .navi .menu {
    flex-direction: column;
    gap: 0;
    padding: 80px 0 60px;
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
    align-items: flex-start;
  }

  #header .navi .menu > li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  #header .navi .menu > li > a {
    display: block;
    padding: 20px 30px;
    font-size: 13px;
    color: var(--text-dark);
  }

  #header .navi .menu .menu-contact {
    padding: 20px 30px;
    border-bottom: none;
  }

  #header .navi .menu .menu-contact a {
    display: inline-block;
  }

  #header .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 30;
  }

  #header .hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    display: block;
    position: absolute;
    left: 9px;
    transition: all 0.35s ease;
  }

  #header .hamburger span:nth-child(1) { top: 14px; }
  #header .hamburger span:nth-child(2) { top: 21px; }
  #header .hamburger span:nth-child(3) { top: 28px; }

  #header .hamburger.active span:nth-child(1) { top: 21px; transform: rotate(-45deg); }
  #header .hamburger.active span:nth-child(2) { opacity: 0; }
  #header .hamburger.active span:nth-child(3) { top: 21px; transform: rotate(45deg); }

  #header .mask.active {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15;
  }

  #footer {
    flex-direction: column;
    padding: 60px 30px;
    gap: 40px;
  }

  #footer .footer-nav {
    flex-wrap: wrap;
    gap: 24px 40px;
  }
}

/* ====================
   Mobile (≤767px)
   ==================== */
@media screen and (max-width: 767px) {
  .sp-only { display: inline; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }

  #footer {
    padding: 50px 20px;
  }

  #footer .footer-nav {
    gap: 16px 30px;
  }
}
