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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #2c2c2c;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ============================================
   Common
   ============================================ */
.section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section__heading {
  text-align: center;
  margin-bottom: 60px;
}

.section__heading-en {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: #b0b0b0;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section__heading-ja {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1e1e1e;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: #fff;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

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

.header__logo a {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #1e1e1e;
  letter-spacing: 0.08em;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-list a {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #555;
  transition: color 0.3s;
}

.header__nav-list a:hover {
  opacity: 1;
  color: #1e1e1e;
}

/* Hamburger */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: #1e1e1e;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

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

/* ============================================
   Hero
   ============================================ */
.hero {
  margin-top: 72px;
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__label {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: #3a7cc0;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero__title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.5rem;
  line-height: 2;
  color: #555;
}

/* ============================================
   Numbers (Trust Badges)
   ============================================ */
.numbers {
  background-color: #1e2d3d;
}

.numbers__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.numbers__item {
  text-align: center;
}

.numbers__value {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 4.8rem;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.numbers__unit {
  font-size: 2rem;
  font-weight: 300;
  margin-left: 2px;
}

.numbers__label {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================
   Reason
   ============================================ */
.reason {
  background-color: #fff;
}

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

.reason__item {
  padding: 36px 28px;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: box-shadow 0.3s;
}

.reason__item:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.reason__number {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 3.6rem;
  color: #d0d8e0;
  line-height: 1;
  margin-bottom: 16px;
}

.reason__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 14px;
  line-height: 1.5;
}

.reason__text {
  font-size: 1.35rem;
  line-height: 1.9;
  color: #666;
}

/* ============================================
   Service
   ============================================ */
.service {
  background-color: #f7f8fa;
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service__item {
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.service__item--reverse {
  flex-direction: row-reverse;
}

.service__item-img {
  flex: 0 0 42%;
  overflow: hidden;
}

.service__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service__item-body {
  flex: 1;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__item-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 16px;
}

.service__item-text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #666;
  margin-bottom: 20px;
}

.service__item-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service__item-features li {
  font-size: 1.2rem;
  color: #3a7cc0;
  background-color: #eef4fa;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}

/* ============================================
   Message
   ============================================ */
.message {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.message__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.message__catch {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1.7;
  margin-bottom: 24px;
}

.message__text {
  font-size: 1.4rem;
  line-height: 2.1;
  color: #666;
}

/* ============================================
   Company
   ============================================ */
.company {
  background-color: #f7f8fa;
}

.company__table-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.company__table {
  border-top: 1px solid #e0e0e0;
}

.company__table tr {
  border-bottom: 1px solid #e0e0e0;
}

.company__table th,
.company__table td {
  padding: 20px 24px;
  font-size: 1.4rem;
  vertical-align: top;
  line-height: 1.8;
}

.company__table th {
  width: 160px;
  font-weight: 500;
  color: #1e1e1e;
  background-color: transparent;
  white-space: nowrap;
}

.company__table td {
  color: #555;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: #1e2d3d;
  padding: 40px 24px;
  text-align: center;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer__logo {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ============================================
   Responsive
   ============================================ */
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }

  .section__inner {
    padding: 72px 20px;
  }

  .section__heading {
    margin-bottom: 40px;
  }

  .section__heading-ja {
    font-size: 2.2rem;
  }

  /* Header */
  .header {
    height: 60px;
  }

  .header__hamburger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background-color: #fff;
    transition: right 0.3s;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
    padding: 72px 28px 40px;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-list li {
    border-bottom: 1px solid #f0f0f0;
  }

  .header__nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1.4rem;
  }

  /* Hero */
  .hero {
    margin-top: 60px;
    height: auto;
    min-height: 480px;
  }

  .hero__content {
    padding: 60px 20px;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__sub br {
    display: none;
  }

  /* Numbers */
  .numbers__inner {
    flex-direction: column;
    gap: 24px;
    padding: 36px 24px;
  }

  .numbers__item {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .numbers__value {
    font-size: 3.6rem;
    min-width: 120px;
    text-align: right;
  }

  .numbers__label {
    margin-top: 0;
    font-size: 1.3rem;
    text-align: left;
  }

  /* Reason */
  .reason__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Service */
  .service__item,
  .service__item--reverse {
    flex-direction: column;
  }

  .service__item-img {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .service__item-body {
    padding: 28px 24px;
  }

  .service__item-title {
    font-size: 1.8rem;
  }

  /* Message */
  .message__catch {
    font-size: 2rem;
  }

  .message__text {
    text-align: left;
  }

  .message__text br {
    display: none;
  }

  /* Company */
  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .company__table th {
    padding-bottom: 2px;
  }

  .company__table td {
    padding-top: 2px;
  }

  .company__table tr {
    display: block;
  }
}

/* ============================================
   Overlay (mobile nav)
   ============================================ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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