:root {
  color-scheme: light;
  color: #1b2533;
  background-color: #f7f9fb;
  font-family: 'Noto Sans JP', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f9fb;
  color: #1b2533;
  line-height: 1.75;
}

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

button,
a {
  font-family: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e6ebf3;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand__tag {
  margin: 0.3rem 0 0;
  color: #52606d;
  font-size: 0.95rem;
}

.header__actions {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.header__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.header__cta {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
}

.header__email {
  color: #52606d;
  font-size: 0.82rem;
  text-decoration: none;
  padding-left: 0.2rem;
}

.header__link {
  color: #52606d;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid #e6ebf3;
  padding-left: 1.75rem;
}

.btn,
.contact-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.btn--primary,
.contact-card--line {
  background: #0366d6;
  color: #ffffff;
}

.btn--secondary,
.contact-card--phone,
.contact-card--mail {
  background: #f1f5f9;
  color: #1b2533;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,30,60,0.75), rgba(10,30,60,0.55));
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 920px;
}

.hero__title-lead {
  display: block;
  font-size: 0.85em;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
  margin-bottom: 0.3em;
  white-space: nowrap;
}

.hero__accent {
  color: #7dd3fc;
}

.hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

.hero__title {
  margin: 1rem 0 0;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero__text {
  margin: 1.5rem 0 0;
  max-width: 100%;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero__buttons .btn {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.hero__stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.hero__stats > div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  backdrop-filter: blur(6px);
}

.hero__stats strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 0.85rem;
}

.hero__stats p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(11, 22, 53, 0.12);
}

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

.hero__visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.88);
}

.hero__visual-caption p {
  margin: 0.2rem 0;
  color: #1b2533;
}

.section {
  padding: 5rem 0 5.5rem;
}

.section--white {
  background: #ffffff;
}

.section--soft {
  background: #f7f9fb;
}

.section--contrast {
  background: #0f172a;
  color: #ffffff;
}

.section__title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.section__text {
  max-width: 760px;
  color: #52606d;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 2rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: #52606d;
}

.card__img {
  margin: 1.5rem -2rem -2rem;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  height: 160px;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(1.05);
}

.cards.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.focus-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.focus-card {
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
}

.focus-card--image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.focus-card--content {
  padding: 2rem;
}

.focus-card--content .section__title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.focus-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.focus-list li {
  padding-left: 1.5rem;
  position: relative;
  color: #52606d;
}

.focus-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: #0366d6;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.process-item {
  padding: 1.8rem;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.feature-card h3,
.process-item h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.feature-card p,
.process-item p {
  margin: 0;
  color: #52606d;
}

.trust-image {
  margin-top: 2.5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.trust-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(1.05);
}

.process-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #0366d6;
  color: #ffffff;
  font-weight: 700;
}

.contact-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-actions {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  text-align: center;
}

.contact-card--phone,
.contact-card--mail {
  border: 1px solid #e2e8f0;
}

.contact-form {
  padding: 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 500;
  color: #1b2533;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  font-size: 1rem;
  color: #1b2533;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: fit-content;
  padding: 0.95rem 1.5rem;
}


.section--contrast .section__text {
  color: #dfe7f3;
}

.section--contrast .process-item,
.section--contrast .feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.section--contact {
  position: relative;
  overflow: hidden;
  background-image: url('contact-bg.jpg');
  background-size: cover;
  background-position: center center;
}

.section--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(247,249,251,0.93) 55%, rgba(3,102,214,0.18));
  z-index: 0;
}

.section--contact .contact-inner {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 2.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e6ebf3;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: #52606d;
}

@media (max-width: 1040px) {
  .focus-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cards,
  .feature-grid,
  .process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header__inner,
  .footer__inner,
  .hero__buttons,
  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header__link {
    border-left: none;
    padding-left: 0;
  }

  .hero__buttons,
  .hero__stats {
    display: grid;
  }

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

  .hero__copy {
    padding: 0;
  }

  .hero__title {
    font-size: clamp(2.3rem, 8vw, 3.2rem);
  }

  .hero__visual-caption {
    position: static;
    background: #ffffff;
    padding: 1rem;
  }

  .section {
    padding: 3.5rem 0 4rem;
  }

  .contact-inner {
    gap: 1.5rem;
  }
}
