/* ============================================
   株式会社Nico・Mirai コーポレートサイト
   CSS Style Sheet
   Color Palette:
     Navy:  #1E2A4A
     Green: #6AB04C
     Light Green: #8BC34A
     White: #FFFFFF
     Light BG: #F7F9FC
     Gray Text: #666666
     Dark Text: #2D2D2D
============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: #2D2D2D;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover { opacity: 0.75; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: #6AB04C;
  color: #fff;
  border-color: #6AB04C;
  box-shadow: 0 4px 20px rgba(106, 176, 76, 0.35);
}

.btn--primary:hover {
  background: #5a9c3e;
  border-color: #5a9c3e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(106, 176, 76, 0.45);
  opacity: 1;
}

.btn--hero {
  font-size: 1.1rem;
  padding: 18px 44px;
}

.btn--white {
  background: #fff;
  color: #1E2A4A;
  border-color: #fff;
}

.btn--white:hover {
  background: #f0f0f0;
  opacity: 1;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  opacity: 1;
  transform: translateY(-2px);
}

/* ---- Section Common ---- */
.section {
  padding: 100px 0;
}

.section__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6AB04C;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section__label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #6AB04C;
  border-radius: 2px;
}

.section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1E2A4A;
  line-height: 1.4;
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 60px;
}

/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 42, 74, 0.08);
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(30, 42, 74, 0.1);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2D2D2D;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header__nav a:hover {
  color: #6AB04C;
  background: rgba(106, 176, 76, 0.08);
  opacity: 1;
}

.header__nav .nav__cta {
  background: #1E2A4A;
  color: #fff;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.header__nav .nav__cta:hover {
  background: #6AB04C;
  color: #fff;
  opacity: 1;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1E2A4A;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1E2A4A 0%, #2D4A2D 50%, #1E2A4A 100%);
  z-index: 0;
}

/* Subtle pattern overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(106, 176, 76, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 42, 74, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(106, 176, 76, 0.1) 0%, transparent 40%);
}

/* Grid pattern */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(30, 42, 74, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  color: #fff;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #6AB04C;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #6AB04C;
}

.hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 44px;
}

.hero__points span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points i {
  color: #6AB04C;
  font-size: 1rem;
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================
   INTRO
============================================ */
.intro {
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.wave-decoration {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-decoration svg {
  width: 100%;
  height: 60px;
}

.intro__body {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(30,42,74,0.2), transparent);
}

.intro__text {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 2;
  color: #1E2A4A;
  white-space: nowrap;
  text-align: center;
}

.intro__text strong {
  color: #6AB04C;
  font-weight: 700;
}

/* ============================================
   SERVICES
============================================ */
.services {
  background: #F7F9FC;
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(30,42,74,0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1E2A4A, #6AB04C);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 42, 74, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--highlight {
  background: linear-gradient(135deg, #1E2A4A 0%, #2a3d6e 100%);
  color: #fff;
}

.service-card--highlight .service-card__desc {
  color: rgba(255,255,255,0.8);
}

.service-card--highlight .service-card__tag {
  background: rgba(106,176,76,0.2);
  color: #6AB04C;
}

.service-card--highlight .service-card__icon {
  background: rgba(106,176,76,0.15);
  color: #6AB04C;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(106, 176, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #6AB04C;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 12px;
}

.service-card--highlight .service-card__title {
  color: #fff;
}

.service-card__desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6AB04C;
  background: rgba(106, 176, 76, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* ============================================
   EXPERTISE
============================================ */
.expertise {
  background: #1E2A4A;
  color: #fff;
  position: relative;
  padding: 0;
}

.expertise__wave-top,
.expertise__wave-bottom {
  line-height: 0;
}

.expertise__wave-top svg,
.expertise__wave-bottom svg {
  display: block;
  width: 100%;
}

.expertise .container {
  padding: 80px 24px;
}

.expertise .section__label {
  color: #6AB04C;
}

.expertise .section__title {
  color: #fff;
}

.expertise .section__subtitle {
  color: rgba(255,255,255,0.7);
  margin-bottom: 60px;
}

.expertise__main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.expertise__catch h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
}

.expertise__deco {
  width: 200px;
  margin-top: 24px;
}

.expertise__deco svg {
  width: 100%;
}

.expertise__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expertise-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.expertise-item:first-child {
  padding-top: 0;
}

.expertise-item:last-child {
  border-bottom: none;
}

.expertise-item:hover {
  padding-left: 8px;
}

.expertise-item__num {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6AB04C;
  letter-spacing: 0.1em;
  min-width: 28px;
  padding-top: 2px;
}

.expertise-item__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.expertise-item__body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

/* ============================================
   MESSAGE
============================================ */
.message {
  background: #fff;
}

.message__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 16px;
}

.message__avatar {
  text-align: center;
}

.message__avatar-circle {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #1E2A4A, #2a3d6e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(30, 42, 74, 0.2);
}

.message__name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 4px;
}

.message__role {
  display: block;
  font-size: 0.85rem;
  color: #6AB04C;
  font-weight: 600;
  margin-bottom: 16px;
}

.message__qualifications {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.message__qualifications span {
  font-size: 0.78rem;
  color: #666;
  background: #F7F9FC;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
}

.message__content p {
  font-size: 1rem;
  line-height: 2;
  color: #444;
  margin-bottom: 20px;
}

.message__content strong {
  color: #1E2A4A;
  font-weight: 700;
}

.message__quote {
  background: linear-gradient(135deg, #F7F9FC, #EEF4E8);
  border-left: 4px solid #6AB04C;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.message__quote i {
  font-size: 1.8rem;
  color: #6AB04C;
  opacity: 0.5;
}

.message__quote span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E2A4A;
}

/* ============================================
   WHY CHOOSE US
============================================ */
.why {
  background: #F7F9FC;
}

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

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(30,42,74,0.06);
  position: relative;
  transition: all 0.3s ease;
}

.why-card:nth-child(4) {
  grid-column: 1 / 2;
}

.why-card:nth-child(5) {
  grid-column: 2 / 4;
}

.why-card--accent {
  background: linear-gradient(135deg, #6AB04C 0%, #5a9c3e 100%);
  color: #fff;
  border-color: transparent;
}

.why-card--accent .why-card__desc {
  color: rgba(255,255,255,0.9);
}

.why-card--accent .why-card__title {
  color: #fff;
}

.why-card--accent .why-card__icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.why-card--accent .why-card__num {
  color: rgba(255,255,255,0.5);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30,42,74,0.1);
}

.why-card__num {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(30,42,74,0.08);
  line-height: 1;
  margin-bottom: 12px;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(106,176,76,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6AB04C;
  margin-bottom: 16px;
}

.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 12px;
  line-height: 1.5;
}

.why-card__desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.85;
}

.why-card__desc strong {
  font-weight: 700;
  color: #1E2A4A;
}

.why-card--accent .why-card__desc strong {
  color: #fff;
}

/* ============================================
   SOLUTIONS
============================================ */
.solutions {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.solutions__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wave-line-deco {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.solutions .container {
  position: relative;
  z-index: 1;
}

.solutions__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

.solutions__arrow {
  font-size: 2rem;
  color: #1E2A4A;
  opacity: 0.3;
  text-align: center;
}

.solutions__col {
  border-radius: 16px;
  padding: 36px;
  border: 2px solid;
}

.solutions__col--fail {
  border-color: rgba(220, 53, 69, 0.2);
  background: rgba(220, 53, 69, 0.03);
}

.solutions__col--solve {
  border-color: rgba(106, 176, 76, 0.3);
  background: rgba(106, 176, 76, 0.04);
}

.solutions__col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.solutions__col--fail .solutions__col-header i {
  color: #dc3545;
  font-size: 1.3rem;
}

.solutions__col--solve .solutions__col-header i {
  color: #6AB04C;
  font-size: 1.3rem;
}

.solutions__col-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E2A4A;
}

.solutions__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.solutions__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

.solutions__col--fail .solutions__list i {
  color: #dc3545;
  margin-top: 3px;
  flex-shrink: 0;
}

.solutions__col--solve .solutions__list i {
  color: #6AB04C;
  margin-top: 3px;
  flex-shrink: 0;
}

.solutions__result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.solutions__result--bad {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.solutions__result--good {
  background: rgba(106,176,76,0.12);
  color: #5a9c3e;
}

/* ============================================
   TRACK RECORD
============================================ */
.track-record {
  background: #F7F9FC;
}

.track-record__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.record-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(30,42,74,0.06);
  transition: all 0.3s ease;
}

.record-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30,42,74,0.1);
}

.record-card__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #1E2A4A, #2a3d6e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(30,42,74,0.2);
}

.record-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 14px;
  line-height: 1.5;
}

.record-card__desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.85;
}

/* ============================================
   AREA
============================================ */
.area {
  background: #fff;
}

.area__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  margin-top: 16px;
}

.area__map-placeholder {
  background: linear-gradient(135deg, #F7F9FC, #EEF4E8);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px solid rgba(30,42,74,0.06);
}

.area__map-icon {
  font-size: 4rem;
  color: #1E2A4A;
  opacity: 0.4;
}

.area__map-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1E2A4A;
  letter-spacing: 0.1em;
}

.area__main h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E2A4A;
  margin-bottom: 16px;
}

.area__main p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 28px;
}

.area__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.area__cities span {
  background: rgba(30,42,74,0.06);
  color: #1E2A4A;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.area__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(106,176,76,0.08);
  border: 1px solid rgba(106,176,76,0.2);
  border-radius: 10px;
  padding: 14px 18px;
}

.area__note i {
  color: #6AB04C;
  margin-top: 2px;
  flex-shrink: 0;
}

.area__note span {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================
   COMPANY
============================================ */
.company {
  background: #F7F9FC;
}

.company__table-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(30,42,74,0.06);
  max-width: 800px;
  margin-top: 16px;
  box-shadow: 0 4px 24px rgba(30,42,74,0.06);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 20px 28px;
  text-align: left;
  font-size: 0.925rem;
  border-bottom: 1px solid rgba(30,42,74,0.06);
  line-height: 1.8;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}

.company__table th {
  width: 180px;
  color: #6AB04C;
  font-weight: 700;
  background: rgba(106,176,76,0.05);
  white-space: nowrap;
}

.company__table td {
  color: #444;
}

.company__table td a {
  color: #1E2A4A;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30,42,74,0.3);
}

/* ============================================
   CTA
============================================ */
.cta {
  background: linear-gradient(135deg, #1E2A4A 0%, #1a3a1a 50%, #1E2A4A 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
}

.cta__wave-top {
  line-height: 0;
  margin-bottom: 64px;
}

.cta__wave-top svg {
  display: block;
  width: 100%;
}

.cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.cta__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 44px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.cta__hours {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: #111827;
  color: rgba(255,255,255,0.6);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: brightness(1.1);
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #6AB04C;
  opacity: 1;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ---- Active nav link ---- */
.header__nav a.is-active {
  color: #6AB04C;
  background: rgba(106,176,76,0.08);
}

/* ============================================
   SCROLL TO TOP
============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #1E2A4A;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30,42,74,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #6AB04C;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(106,176,76,0.4);
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE - TABLET (≤960px)
============================================ */
@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .message__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .message__avatar {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  .message__avatar-circle {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    flex-shrink: 0;
    margin: 0;
  }

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

  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
  }

  .solutions__compare {
    grid-template-columns: 1fr;
  }

  .solutions__arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

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

  .area__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .area__map-placeholder {
    aspect-ratio: 16/5;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (≤640px)
============================================ */
@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 24px 32px;
    border-top: 1px solid rgba(30,42,74,0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .header__nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .header__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__sub {
    font-size: 0.95rem;
  }

  .hero__points {
    flex-direction: column;
    gap: 8px;
  }

  .sp-hide {
    display: none;
  }

  .intro__body {
    flex-direction: column;
    gap: 16px;
  }

  .intro__text {
    white-space: normal;
    font-size: 1.1rem;
  }

  .intro__line {
    width: 60px;
    height: 1px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
  }

  .track-record__grid {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--hero {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .company__table th,
  .company__table td {
    padding: 14px 16px;
  }

  .company__table th {
    width: 120px;
    font-size: 0.8rem;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
