:root {
  --navy: #162064;
  --navy-deep: #0d1440;
  --navy-mid: #223085;
  --blue: #3b55c4;
  --blue-light: #7d92e8;
  --foam: #f5f7fc;
  --white: #ffffff;
  --ink: #1a2038;
  --muted: #6b7394;
  --line: rgba(22, 32, 100, 0.12);
  --en: "Outfit", sans-serif;
  --jp: "Zen Kaku Gothic New", sans-serif;
  --min: "Shippori Mincho", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.en {
  font-family: var(--en);
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}

.header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 44px;
  height: 44px;
}

.header-logo .logo-white {
  display: block;
}

.header-logo .logo-blue {
  display: none;
}

.header.is-solid .logo-white {
  display: none;
}

.header.is-solid .logo-blue {
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--white);
}

.header.is-solid .nav {
  color: var(--navy);
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(175deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 24px 160px;
  width: 100%;
}

.hero-shoulder {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: block;
}

.hero-jp {
  margin-top: 32px;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.2em;
}

.hero-read {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.08em;
  max-width: 560px;
}

.waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.waves svg {
  display: block;
  width: 100%;
  height: 140px;
}

.wave {
  animation: drift 18s linear infinite;
}

.wave.w2 {
  animation-duration: 26s;
  animation-direction: reverse;
  opacity: 0.5;
}

.wave.w3 {
  animation-duration: 38s;
  opacity: 0.3;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 120px 0;
}

.section-head {
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: var(--en);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1.2;
}

.section-head p {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 8px;
}

.statement {
  background: var(--foam);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.statement-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 40px;
}

.statement-card .label {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue);
}

.statement-card .phrase {
  font-family: var(--en);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 16px 0 12px;
}

.statement-card .jp-phrase {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.statement-card .desc {
  font-size: 13.5px;
  color: var(--muted);
}

.philosophy {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.philosophy .section-head h2 {
  color: var(--white);
}

.philosophy .section-head p {
  color: var(--blue-light);
}

.kanji-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 64px;
}

.kanji {
  width: clamp(64px, 8.4vw, 92px);
  text-align: center;
  padding: 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  transition: background 0.4s, transform 0.4s, border-color 0.4s;
}

.kanji:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.kanji .char {
  font-family: var(--min);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.2;
  display: block;
}

.kanji .yomi {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  display: block;
  margin-top: 8px;
}

.philosophy-read {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.philosophy-block .flow-label {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.philosophy-block p {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

.philosophy-close {
  text-align: center;
  font-family: var(--min);
  font-size: clamp(17px, 2.4vw, 21px);
  letter-spacing: 0.18em;
  line-height: 2.2;
  padding-top: 12px;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.4s, transform 0.4s;
}

.service-card:hover {
  box-shadow: 0 16px 40px rgba(22, 32, 100, 0.12);
  transform: translateY(-4px);
}

.service-card .num {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.service-card h3 {
  font-family: var(--en);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.service-card .tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-card .desc {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.service-card .link {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.service-card .link::after {
  content: " \2192";
}

.news-list {
  max-width: 760px;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.news-item:first-child {
  border-top: 1px solid var(--line);
}

.news-item time {
  font-family: var(--en);
  color: var(--muted);
  letter-spacing: 0.08em;
}

.company {
  background: var(--foam);
}

.company-table {
  max-width: 760px;
}

.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.company-row:first-child {
  border-top: 1px solid var(--line);
}

.company-row dt {
  color: var(--muted);
  letter-spacing: 0.1em;
}

.contact {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}

.contact .section-head h2 {
  color: var(--white);
}

.contact .section-head p {
  color: var(--blue-light);
}

.contact-read {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-btn {
  display: inline-block;
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: 0.2em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 16px 56px;
  transition: background 0.3s, color 0.3s;
}

.contact-btn:hover {
  background: var(--white);
  color: var(--navy);
}

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 40px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  width: 88px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.tokushoho-body {
  padding: 140px 0 100px;
}

.tokushoho-body h1 {
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 48px;
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .statement-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
