/* ===== RESET / BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

:root {
  --navy: #0D2B4E;
  --navy-2: #143861;
  --navy-deep: #081E38;
  --navy-line: rgba(255,255,255,0.12);
  --green: #2BAE5B;
  --green-2: #1F9A4D;
  --green-soft: rgba(43,174,91,0.12);
  --sun: #F5B400;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FB;
  --bg-soft-2: #EEF3F8;
  --line: #E5EBF1;
  --text: #1A2733;
  --text-dim: #5A6878;
  --text-faint: #97A3B0;
  --shadow-card: 0 8px 24px rgba(14,42,71,0.06);
  --shadow-hover: 0 18px 48px rgba(14,42,71,0.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-en {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.section-en.light { color: var(--white); }
.section-jp {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 10px;
  letter-spacing: 0.06em;
}
.section-jp.light { color: rgba(255,255,255,0.85); }

.section-head {
  margin-bottom: 40px;
}
.section-head.with-action {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}
.link-arrow:hover { color: var(--green); }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===== SAMPLE BANNER ===== */
.sample-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  line-height: 1.6;
}
.sample-banner a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sample-banner .banner-br { display: none; }
@media (max-width: 540px) {
  .sample-banner .banner-br { display: inline; }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy);
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.nav-pc {
  display: flex; align-items: center; gap: 36px;
}
.nav-pc > a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}
.nav-pc > a:not(.btn-nav-cta)::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-pc > a:not(.btn-nav-cta):hover { color: var(--green); }
.nav-pc > a:not(.btn-nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--green);
  color: var(--white) !important;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 4px 12px rgba(43,174,91,0.25);
}
.btn-nav-cta:hover {
  background: var(--green-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(43,174,91,0.35);
}

.hamburger {
  display: none;
  width: 38px; height: 38px;
  position: relative;
}
.hamburger span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--navy);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.hamburger span:nth-child(1){ top: 12px; }
.hamburger span:nth-child(2){ top: 18px; }
.hamburger span:nth-child(3){ top: 24px; }
.hamburger.is-open span:nth-child(1){ top: 18px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ top: 18px; transform: rotate(-45deg); }

.nav-sp {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.nav-sp.is-open { display: flex; }
.nav-sp > a {
  font-size: 15px; font-weight: 600;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.nav-sp > a.sp-cta {
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  text-align: center;
  border: 0;
  padding: 14px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, rgba(8,30,56,0.35), rgba(8,30,56,0.15)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,30,56,0.55) 0%, rgba(8,30,56,0.20) 60%, rgba(8,30,56,0.05) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
  padding: 90px 32px 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 660px; }
.hero-title {
  color: var(--white);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineIn 0.9s var(--ease) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.3s; }
@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
  opacity: 0;
  animation: lineIn 0.9s var(--ease) 0.5s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0;
  animation: lineIn 0.9s var(--ease) 0.7s forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(43,174,91,0.35);
}
.btn-primary:hover {
  background: var(--green-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(43,174,91,0.45);
}
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(255,255,255,0.16);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-large {
  padding: 18px 36px;
  font-size: 15px;
}

.hero-badge {
  position: relative;
  width: 168px; height: 168px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  animation: lineIn 1s var(--ease) 0.6s both, bounceIn 4s ease-in-out infinite;
}
@keyframes bounceIn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-icon {
  color: var(--sun);
  margin-bottom: 4px;
}
.badge-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.badge-num {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-top: 4px;
}
.badge-num small {
  font-size: 14px;
  font-weight: 700;
  margin-left: 2px;
}
.badge-suffix {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 2px;
  opacity: 0.85;
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  z-index: 2;
}
.hero-scroll i {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.6);
  animation: scrollDown 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); }
  40% { transform: scaleY(1); transform-origin: top; }
  41% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SERVICE ===== */
.service {
  padding: 100px 0 110px;
  background: var(--bg);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.srv-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
}
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.srv-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft-2);
  transition: transform 0.6s var(--ease);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.srv-card:hover .srv-img {
  transform: scale(1.04);
}
.srv-img::after {
  content: "";
  position: absolute; inset: -1px;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}
.srv-icon {
  position: relative;
  z-index: 1;
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease);
}
.srv-card:hover .srv-icon {
  transform: scale(1.08) rotate(-3deg);
}
.srv-grad-1 { background: linear-gradient(135deg, #1A5AA0 0%, #0D2B4E 100%); }
.srv-grad-2 { background: linear-gradient(135deg, #2BAE5B 0%, #0F7A3D 100%); }
.srv-grad-3 { background: linear-gradient(135deg, #F5B400 0%, #C77A00 100%); }
.srv-grad-4 { background: linear-gradient(135deg, #5E80B5 0%, #2B4E80 100%); }
.srv-grad-5 { background: linear-gradient(135deg, #0D2B4E 0%, #04162B 100%); }
.srv-body {
  padding: 22px 18px 26px;
  text-align: center;
}
.srv-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.srv-desc {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ===== FEATURE ===== */
.feature {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.feature-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(43,174,91,0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(245,180,0,0.12), transparent 40%);
  pointer-events: none;
}
.feature .container { position: relative; z-index: 1; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.feature-list {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}
.feat-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(43,174,91,0.4);
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 24px 18px 26px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.10);
}
.stat-icon {
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  display: flex; justify-content: center;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  display: block;
}
.stat-num {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  display: block;
  margin-top: 6px;
  color: var(--white);
}
.stat-num small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
}
.stat-area {
  font-size: 14px;
  line-height: 1.5;
  display: block;
  margin-top: 8px;
}
.stat-area strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-top: 2px;
  color: var(--white);
}

/* ===== WORKS ===== */
.works {
  padding: 100px 0 110px;
  background: var(--bg-soft);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.work-card {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: block;
}
.work-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,30,56,0.75) 100%);
  z-index: 1;
  transition: background 0.35s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.work-card:hover::before {
  background: linear-gradient(180deg, rgba(8,30,56,0.15) 0%, rgba(8,30,56,0.85) 100%);
}
.work-overlay {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  color: var(--white);
  display: flex; flex-direction: column; gap: 4px;
}
.work-cat {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
}
.work-title {
  font-size: 14px;
  font-weight: 700;
}

/* ===== CTA ===== */
.cta {
  padding: 60px 0;
  background: var(--white);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px;
  background: var(--bg-soft);
  padding: 44px 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.cta-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  display: block;
  letter-spacing: 0.06em;
}
.cta-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #04162B 100%);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 30px;
}
.footer .logo-text { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-brand .logo-mark {
  background: rgba(43,174,91,0.18);
  color: var(--green);
}
.footer-desc {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
}
.info-list {
  display: flex; flex-direction: column; gap: 16px;
}
.info-list > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: baseline;
}
.info-list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.info-list dd {
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.tel-num {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}
.btn-footer {
  margin-top: 22px;
}
.footer-social {
  margin-top: 28px;
  display: flex; gap: 12px;
}
.sns-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sns-icon:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 20px;
  text-align: center;
}
.footer-bottom small {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-stats { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-pc { display: none; }
  .hamburger { display: block; }
  .header-inner { padding: 12px 20px; }

  .hero { min-height: 540px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 20px 90px;
    gap: 30px;
  }
  .hero-title { font-size: clamp(28px, 7.5vw, 40px); }
  .hero-sub { font-size: 13px; }
  .hero-badge {
    width: 132px; height: 132px;
    justify-self: flex-end;
  }
  .badge-num { font-size: 26px; }

  .service, .works { padding: 70px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .srv-body { padding: 16px 12px 20px; }
  .srv-title { font-size: 14px; }
  .srv-desc { font-size: 11px; }

  .feature { padding: 60px 0; }
  .feature-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-num { font-size: 32px; }

  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-title { font-size: 12px; }

  .cta { padding: 40px 0; }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .cta-title { font-size: 20px; }

  .footer { padding: 50px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 28px;
  }
  .section-en { font-size: 26px; }
  .section-jp { font-size: 13px; }
  .section-head { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge {
    width: 118px; height: 118px;
  }
  .badge-num { font-size: 22px; }
  .badge-label, .badge-suffix { font-size: 10px; }
}
