/* ==========================================================
   WISE Inc. - style.css
   ========================================================== */

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.8;
  font-size: 15px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease, color .25s ease; }
a:hover { opacity: .7; }
ul { list-style: none; }

/* Variables */
:root {
  --c-black: #0b0b0b;
  --c-ink: #111;
  --c-gray: #6b6b6b;
  --c-line: #e5e5e5;
  --c-bg: #fff;
  --c-bg-alt: #f6f5f2;
  --c-accent: #c9a25a; /* subtle gold */
  --max: 1200px;
}

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

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 22px 0;
  z-index: 100;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
  background: transparent;
}
.header.is-scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center;
  color: #fff;
  transition: color .35s ease;
  line-height: 0;
}
.header.is-scrolled .logo { color: var(--c-ink); }
.logo__img {
  height: 56px; width: auto;
  display: block;
}

.nav__list { display: flex; gap: 36px; }
.nav__list a {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: .18em;
  color: #fff;
  position: relative;
  transition: color .35s ease;
}
.header.is-scrolled .nav__list a { color: var(--c-ink); }
.nav__list a::after {
  content: ""; position: absolute;
  left: 0; bottom: -6px; width: 0; height: 1px;
  background: currentColor;
  transition: width .3s ease;
}
.nav__list a:hover { opacity: 1; }
.nav__list a:hover::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  width: 32px; height: 24px; position: relative;
  background: none; border: 0; cursor: pointer;
}
.hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: #fff;
  transition: background .35s ease, transform .3s ease, top .3s ease, opacity .3s ease;
}
.header.is-scrolled .hamburger span { background: var(--c-ink); }
.hamburger span:nth-child(1) { top: 2px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(140deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.75) 100%),
    radial-gradient(ellipse at 20% 30%, #2a2a2a 0%, #0b0b0b 70%);
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .6;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .3em; font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .9s .2s forwards;
}
.hero__title {
  font-size: clamp(38px, 6.2vw, 84px);
  font-weight: 700; line-height: 1.25;
  letter-spacing: .02em;
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1s .4s forwards;
}
.hero__lead {
  font-size: 15px; line-height: 2; max-width: 520px;
  color: rgba(255,255,255,.85);
  opacity: 0; animation: fadeUp 1s .6s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__scroll {
  position: absolute; right: 40px; bottom: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .3em; color: #fff;
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 18px;
}
.hero__scroll i {
  display: block; width: 1px; height: 70px;
  background: rgba(255,255,255,.35);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================
   Section common
   ========================================================== */
.section { padding: 140px 0; position: relative; }
.section--vision, .section--values { background: var(--c-bg-alt); }
.section__head { margin-bottom: 72px; }
.section__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .3em; font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700; line-height: 1.4;
  letter-spacing: .04em;
}
.lead-text {
  font-size: 16px; line-height: 2.2;
  color: #333;
  max-width: 820px;
}

/* Vision */
.vision__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.vision__item {
  background: #fff;
  padding: 48px 36px;
  border: 1px solid var(--c-line);
  transition: transform .4s ease, box-shadow .4s ease;
}
.vision__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
}
.vision__num {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .3em;
  color: var(--c-accent);
  display: inline-block; margin-bottom: 18px;
}
.vision__item h3 {
  font-size: 22px; font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .05em;
}
.vision__item p { color: #555; line-height: 2; font-size: 14px; }

/* Service */
.service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
}
.service__item {
  padding: 40px 36px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: background .3s ease;
}
.service__item:nth-child(odd) { border-right: 1px solid var(--c-line); }
.service__item:hover { background: #fafafa; }
.service__no {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .3em;
  color: var(--c-accent);
  display: inline-block; margin-bottom: 14px;
}
.service__item h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: .05em;
}
.service__item p { color: #555; font-size: 14px; line-height: 1.9; }

/* Values */
.values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.values__item {
  background: #fff;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--c-line);
}
.values__item span {
  font-family: 'Inter', sans-serif;
  display: block;
  font-size: 28px; font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 14px;
  letter-spacing: .1em;
}
.values__item h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: .05em;
}
.values__item p { color: #666; font-size: 13px; line-height: 1.9; }

/* Company */
.company__list {
  border-top: 1px solid var(--c-line);
}
.company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--c-line);
}
.company__row dt {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px; letter-spacing: .2em;
  color: var(--c-ink);
  text-transform: uppercase;
}
.company__row dd {
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}
.company__row dd a { color: var(--c-accent); border-bottom: 1px solid currentColor; }

/* Contact */
.section--contact { padding: 0; }
.contact__box {
  background: var(--c-black);
  color: #fff;
  padding: 110px 40px;
  text-align: center;
  border-radius: 0;
}
.contact__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .3em;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.contact__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; margin-bottom: 22px;
  letter-spacing: .05em;
}
.contact__text {
  color: rgba(255,255,255,.75);
  margin-bottom: 44px;
  line-height: 2;
}
.contact__btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 46px;
  border: 1px solid rgba(255,255,255,.4);
  font-family: 'Inter', sans-serif;
  font-size: 15px; letter-spacing: .1em;
  color: #fff;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.contact__btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  opacity: 1;
}
.contact__btn i { font-style: normal; transition: transform .3s ease; }
.contact__btn:hover i { transform: translateX(6px); }

/* Footer */
.footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 80px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer__logo-img {
  height: 44px; width: auto;
  color: #fff;
  margin-bottom: 20px;
}
.footer__addr { font-size: 13px; line-height: 2; color: #888; }
.footer__nav ul {
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  justify-content: flex-end;
}
.footer__nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .2em;
  color: #aaa;
}
.footer__copy {
  grid-column: 1 / -1;
  border-top: 1px solid #1f1f1f;
  padding-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .15em;
  color: #666;
  text-align: center;
  margin-top: 40px;
}

/* reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .container, .header__inner, .hero__inner { padding: 0 24px; }
  .section { padding: 90px 0; }
  .vision__grid { grid-template-columns: 1fr; gap: 20px; }
  .service__list { grid-template-columns: 1fr; }
  .service__item:nth-child(odd) { border-right: 0; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .company__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }

  .hamburger { display: block; }
  .nav {
    position: fixed; inset: 0; background: #0b0b0b;
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 28px; text-align: center; }
  .nav__list a { color: #fff !important; font-size: 16px; letter-spacing: .3em; }

  .hero__scroll { right: 16px; bottom: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav ul { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .values__grid { grid-template-columns: 1fr; }
  .contact__box { padding: 80px 24px; }
  .hero__lead { font-size: 14px; }
}
