:root {
  --c-gray: #B7B7B7;
  --c-text-muted: #555555;
  --c-text-sub: #777777;
  --c-accent: #BEFF00;
  --c-text: #000000;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F8F8F8;
  --c-border: #EEEEEE;
  --c-footer: #000000;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --header-h: 72px;
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-jp), var(--font-en);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }
.section__head { margin-bottom: 64px; }
.section__head--center { text-align: center; }
.section__label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 28px;
}
.section__label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #B7B7B7;
}
.section__label::after {
  content: "";
  position: absolute;
  left: 11px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(190,255,0,0.6);
  animation: labelSpark 2.4s ease-in-out infinite;
}
.section__head--center .section__label {
  padding-left: 0;
  padding-top: 26px;
}
.section__head--center .section__label::before {
  left: 50%;
  top: 0;
  margin-left: -8px;
  margin-top: 0;
}
.section__head--center .section__label::after {
  left: 50%;
  top: 0;
  margin-left: 3px;
  margin-top: -1px;
}
@keyframes labelSpark {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(190,255,0,0.55); }
  50%      { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(190,255,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .section__label::after { animation: none; }
}
.section__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
}
.header__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo-mark {
  width: 48px;
  height: 40px;
  flex-shrink: 0;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__logo-name {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: #000;
}
.header__logo-sub {
  font-size: 10px;
  color: var(--c-text-sub);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.nav__list { display: flex; gap: 40px; }
.nav__list a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width .2s;
}
.nav__list a:hover::after { width: 100%; }

.hamburger {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--c-text);
  transition: transform .3s, opacity .3s, top .3s;
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }
.hamburger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 24px 80px;
  overflow: hidden;
}
.hero__inner {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.hero__sub {
  font-family: var(--font-en);
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  line-height: 1.8;
}
.hero__decor {
  position: absolute;
  right: -160px; bottom: -160px;
  width: 640px; height: 640px;
  z-index: 1;
  pointer-events: none;
}
.hero__decor-orbit {
  transform-origin: 300px 300px;
  animation: orbit 14s linear infinite;
}
.hero__decor-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: sparkPulse 2.4s ease-in-out infinite;
}
.hero__decor-ripple {
  transform-origin: 300px 300px;
  opacity: 0;
}
.hero__decor-ripple--1 { animation: ripple 4s ease-out infinite; }
.hero__decor-ripple--2 { animation: ripple 4s ease-out infinite 1.33s; }
.hero__decor-ripple--3 { animation: ripple 4s ease-out infinite 2.66s; }

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sparkPulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.6); opacity: 0.75;}
}
@keyframes ripple {
  0%   { transform: scale(1);    opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .hero__decor-orbit,
  .hero__decor-spark,
  .hero__decor-ripple { animation: none; }
  .hero__decor-ripple { opacity: 0.3; }
}
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: var(--c-gray);
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  left: -2px; top: 0;
  width: 5px; height: 16px;
  border-radius: 3px;
  background: var(--c-accent);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 1; }
  80% { top: 40px; opacity: 0; }
  100% { top: 0; opacity: 0; }
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.about__lead {
  color: #555;
  margin-top: 24px;
}
.info { border-top: 1px solid var(--c-border); }
.info > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.info > div::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 24px; height: 1px;
  background: var(--c-accent);
}
.info dt {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  text-transform: uppercase;
  padding-top: 2px;
}
.info dd span {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--c-text-sub);
}

/* Business */
.business { background: var(--c-bg-soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}
.card__icon {
  width: 48px; height: 48px;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 100%; height: 100%; }
.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* Vision */
.vision { background: var(--c-bg-soft); }
.vision__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vision__catch {
  font-size: 24px;
  font-weight: 700;
  margin: 24px 0 32px;
  line-height: 1.6;
}
.vision__text p + p { margin-top: 16px; }
.vision__image img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* Contact */
.contact__inner { max-width: 700px; margin: 0 auto; }
.contact__lead {
  color: #555;
  margin-top: 8px;
}
.form { max-width: 600px; margin: 0 auto; }
.form__row { margin-bottom: 24px; }
.form__row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.required {
  display: inline-block;
  font-size: 11px;
  background: var(--c-accent);
  color: #000;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 2px;
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  background: #fff;
  font: inherit;
  color: var(--c-text);
  border-radius: 2px;
  transition: border-color .2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}
.form textarea { resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--c-accent);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(190,255,0,0.6); }
.form__note {
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 16px;
}
.form__result {
  margin-top: 24px;
  padding: 20px;
  text-align: center;
  border-radius: 2px;
}
.form__result.is-success { background: #f0ffd0; border: 1px solid var(--c-accent); }
.form__result.is-error { background: #fff0f0; border: 1px solid #ffb0b0; }

/* Footer */
.footer {
  background: var(--c-footer);
  color: #fff;
  border-top: 2px solid var(--c-accent);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 64px;
}
.footer__mark { width: 56px; height: 56px; margin-bottom: 16px; display: block; }
.footer__name {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.footer__about { color: #cfcfcf; font-size: 14px; line-height: 1.8; }
.footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #dcdcdc;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--c-accent); }
.footer__info { font-size: 14px; color: #cfcfcf; line-height: 1.8; }
.footer__info p + p { margin-top: 12px; }
.footer__info a:hover { color: var(--c-accent); }
.footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid #222;
  text-align: center;
  color: #b0b0b0;
  font-size: 12px;
}

/* Tablet */
@media (max-width: 1023px) {
  .section { padding: 96px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .vision__grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .section { padding: 80px 0; }
  .section__title { font-size: 28px; }
  .section__head { margin-bottom: 48px; }

  .hamburger { display: block; }
  .header__logo-sub { display: none; }
  .header__logo-name { font-size: 14px; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-120%);
    transition: transform .3s;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
  }
  .nav__list li { border-bottom: 1px solid var(--c-border); }
  .nav__list li:last-child { border-bottom: none; }
  .nav__list a { display: block; padding: 16px 0; }

  .hero__decor { width: 320px; height: 320px; right: -80px; bottom: -80px; }
  .info > div { grid-template-columns: 120px 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .footer { padding: 64px 0 24px; }
}
