﻿:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-surface-soft: rgba(255, 255, 255, 0.88);
  --color-surface-glass: rgba(15, 23, 42, 0.45);
  --color-border: rgba(255, 255, 255, 0.18);
  --color-text: #0f172a;
  --color-muted: #4b5563;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #22d3ee;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 30px 60px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Plus Jakarta Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 20px 0 96px;
  background: radial-gradient(circle at 4% 10%, rgba(34, 211, 238, 0.25), transparent 45%),
    radial-gradient(circle at 98% 12%, rgba(37, 99, 235, 0.35), transparent 40%),
    linear-gradient(135deg, #0f172a 10%, #1e293b 55%, #0f172a 100%);
  color: #f8fafc;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), transparent 35%, rgba(15, 23, 42, 0.7));
  pointer-events: none;
}
.hero__brand {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
}

.hero__brand img {
  max-width: clamp(90px, 14vw, 140px);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.25));
}



.nav {
  position: sticky;
  top: 24px;
  z-index: 20;
  margin: 0 auto 80px;
  width: min(calc(100% - 48px), var(--max-width));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.nav__logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #e2e8f0;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.nav__cta {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.nav__cta:hover {
  background: #ffffff;
  color: var(--color-primary);
}

.nav__toggle {
  display: none;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: #f8fafc;
  border-radius: 999px;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.hero__content h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 18px 0 24px;
  line-height: 1.15;
}

.hero__content p {
  color: rgba(226, 232, 240, 0.9);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
  color: #cffafe;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #0b1120;
  box-shadow: var(--shadow-card);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(34, 211, 238, 0.35);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #f8fafc;
}

.button--ghost:hover {
  background: rgba(15, 23, 42, 0.6);
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.6), transparent);
}

.section {
  padding: 120px 0;
}

.section__inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 32px;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section__header h2 {
  margin: 20px 0 18px;
  font-size: clamp(28px, 4vw, 40px);
}

.section__header p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--color-muted);
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.overview__card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.overview__card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.overview__card p,
.overview__card li {
  color: var(--color-muted);
}

.overview__card ul {
  margin: 0;
  padding-left: 18px;
}

.greeting__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.greeting__text p {
  color: var(--color-muted);
}

.greeting__text blockquote {
  margin: 32px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--color-primary);
  color: #1f2937;
  font-weight: 600;
}

.greeting__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.greeting__image {
  width: min(100%, 360px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.greeting__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting__badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #0f172a;
  padding: 18px 24px;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  text-align: center;
  line-height: 1.2;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.15);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--color-muted);
}

.section--works {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(34, 211, 238, 0.08));
}

.works__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.works__gallery img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.works__content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.works__content h3 {
  margin: 16px 0 18px;
}

.works__content p {
  color: var(--color-muted);
}

.works__content dl {
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}

.works__content dt {
  font-weight: 600;
  color: var(--color-text);
}

.works__content dd {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.news__list li {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.news__list time {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.news__list p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.section--contact {
  background: #0f172a;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2), transparent 50%);
  pointer-events: none;
}

.contact__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact__intro p {
  color: rgba(226, 232, 240, 0.88);
}

.contact__details {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact__details strong {
  color: #f8fafc;
}

.contact__form {
  background: rgba(15, 23, 42, 0.75);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(8, 47, 73, 0.45);
  display: grid;
  gap: 20px;
}

.form__group {
  display: grid;
  gap: 8px;
}

.form__group label {
  font-weight: 600;
  color: #e2e8f0;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  padding: 14px 16px;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__submit {
  justify-self: flex-start;
}

.form__note {
  margin: 0;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.6);
}

.footer {
  background: #020617;
  color: rgba(226, 232, 240, 0.7);
  padding: 36px 0;
}

.footer__inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__top {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.3);
  color: #e2e8f0;
}

.footer__top:hover {
  background: rgba(226, 232, 240, 0.15);
}

@media (max-width: 1024px) {
  .nav {
    margin-top: -40px;
  }

  .hero__layout,
  .greeting__layout,
  .services__grid,
  .overview__grid,
  .works__layout,
  .contact__layout {
    gap: 32px;
  }

  .overview__grid,
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .greeting__badge {
    right: 0;
    bottom: -32px;
  }
}

@media (max-width: 880px) {
  .nav {
    padding: 14px 20px;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 64px;
    right: 16px;
    width: calc(100% - 32px);
    background: rgba(15, 23, 42, 0.94);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 0;
    display: none;
  }

  .nav__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links li:last-child {
    border-bottom: none;
  }

  .nav__links a {
    display: block;
    padding: 14px 12px;
  }

  .nav__toggle:checked ~ .nav__links {
    display: flex;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual img {
    aspect-ratio: 3 / 4;
  }

  .section__header {
    margin-bottom: 48px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 0 72px;
  }

  .nav {
    margin: -60px auto 60px;
    width: calc(100% - 32px);
  }

  .section {
    padding: 90px 0;
  }

  .section__inner {
    width: calc(100% - 32px);
  }

  .overview__grid,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .overview__card,
  .service-card,
  .works__content,
  .news__list li,
  .contact__form {
    padding: 28px;
  }

  .greeting__badge {
    position: static;
    margin-top: 20px;
    align-self: center;
  }

  .news__list li {
    grid-template-columns: 1fr;
  }

  .hero__scroll {
    bottom: 18px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.chui{
  border: solid 1px #FFF;
  background: red;
  color: #FFF;
  padding: 5px 40px;
  margin: 20px auto 20px;
  text-align: center;
  max-width: 400px;
  width: calc(100% - 32px);
  position: relative;
  z-index: 10;
}

.footer{
  .chui{
    margin: 40px auto 20px;

  }
}
