@font-face {
  font-family: 'Overused Grotesk';
  src: url('../fonts/OverusedGrotesk-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Overused Grotesk';
  src: url('../fonts/OverusedGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Overused Grotesk';
  src: url('../fonts/OverusedGrotesk-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Overused Grotesk';
  src: url('../fonts/OverusedGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'A-OTF Futo Go B101 Pr5';
  src: url('../fonts/A-OTF-FutoGoB101Pr5-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* ── Skip Link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: #111;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.skip-link:focus {
  top: 8px;
}

:root {
  --grid-columns: 5;
  --grid-line-color: #f0f0f0;
  --max-width: 1200px;
  --side-padding: 60px;
  --font-en: 'Overused Grotesk', sans-serif;
  --font-ja: 'A-OTF Futo Go B101 Pr5', 'Noto Sans JP', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  color: #111;
  background: #fff;
  min-height: 100vh;
  position: relative;
}

/* Layout container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  position: relative;
  z-index: 1;
}

/* Section label (shared) */
.section-label {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.section-heading {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-heading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 4px;
  margin-left: 6px;
  vertical-align: baseline;
  background: url("../img/underline.svg") no-repeat center / contain;
}

/* ── Grid Lines ──────────────────────────────────────────── */
.grid-lines {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  pointer-events: none;
  z-index: 0;
  padding: 0 var(--side-padding);
}

.grid-lines::before,
.grid-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grid-line-color);
}

.grid-lines::before {
  left: var(--side-padding);
}

.grid-lines::after {
  right: var(--side-padding);
}

.grid-line {
  border-right: 1px solid var(--grid-line-color);
}

.grid-line:last-child {
  border-right: none;
}

/* ── WP Admin Bar offset ─────────────────────────────────── */
.admin-bar header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar header {
    position: fixed;
    top: 46px;
  }
  .admin-bar #wpadminbar {
    position: fixed;
  }
}

/* ── Header ──────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid var(--grid-line-color);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  padding: 0 var(--side-padding);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 12;
}

.logo img {
  padding-top: 8px;
  margin-top: 2px;
  height: 32px;
  width: auto;
}

header nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

header nav a {
  text-decoration: none;
  color: #111;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-copyright {
  display: none;
}

header nav a.nav-slide,
.footer-nav a.nav-slide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
}

.nav-text {
  will-change: transform;
  flex-shrink: 0;
}

header nav a:not(.cta):hover {
  opacity: 1;
}

header nav a.cta {
  transition: transform 0.2s ease, opacity 0.2s;
}

header nav a.cta:hover {
  transform: scale(0.98);
}

header nav a.cta:active {
  transform: scale(0.95);
}

header nav a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: url("../img/button.svg") center / 100% 100% no-repeat;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  display: block;
  height: 1px;
  background: #111;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.menu-bar:first-child {
  width: 100%;
}

.menu-bar:last-child {
  width: 70%;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  height: 85vh;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--grid-line-color);
  overflow: hidden;
}

.hero .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-top: 80px;
}

.hero-left {
  grid-column: 1 / 4;
  padding-top: 22vh;
}

.hero-heading {
  font-family: var(--font-en);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: 0.04em;
}

.cta-button {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 18px 56px;
  background: url("../img/button.svg") no-repeat center center / contain;
  background-size: 100% 100%;
  transition: opacity 0.2s;
}

.cta-button {
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(0.98);
}

.cta-button:active {
  transform: scale(0.95);
}

.hero-cta {
  grid-column: 1 / 4;
  padding-top: 16px;
}

.hero-right {
  grid-column: 5 / 6;
  grid-row: 1 / 3;
  padding-top: 52vh;
}

.service-item {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.service-item:last-child {
  margin-bottom: 0;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

/* ── About ───────────────────────────────────────────────── */
.about {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 160px;
  overflow: hidden;
}

.about-right {
  margin-left: 20%;
  width: 60%;
  padding-top: 200px;
  padding-bottom: 80px;
}

.about-lead {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

.text-highlight {
  position: relative;
  transition: color 0.3s ease;
}

.text-highlight::after {
  content: '';
  position: absolute;
  inset: -2px -4px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}

.text-highlight.is-active {
  color: #fff;
}

.text-highlight.is-active::after {
  transform: scaleX(1);
}

.about-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

/* ── Floating Ring ───────────────────────────────────────── */
@property --ring-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.floating-ring {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.6s ease;
  --ring-angle: 0deg;
  -webkit-mask-image: conic-gradient(
    from var(--ring-angle),
    transparent 0%,
    black 10%,
    black 70%,
    transparent 80%,
    transparent 100%
  );
  mask-image: conic-gradient(
    from var(--ring-angle),
    transparent 0%,
    black 10%,
    black 70%,
    transparent 80%,
    transparent 100%
  );
  animation: floatRing 6s ease-in-out infinite, ringFlow 10s linear infinite;
}

.floating-ring.is-visible {
  opacity: 1;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes floatRing {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

@keyframes ringFlow {
  to { --ring-angle: 360deg; }
}

/* ── Solution ────────────────────────────────────────────── */
.solution {
  position: relative;
  z-index: 1;
  padding: 120px 0 200px;
  border-top: 1px solid var(--grid-line-color);
}

.solution-header {
  margin-bottom: 200px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.solution-card {
  padding: 40px 24px;
  border: 1px solid var(--grid-line-color);
  background: #fff;
  transition: box-shadow 0.3s;
}

.solution-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-title {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.solution-subtitle-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.solution-content {
  font-size: 14px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

.solution-placeholder {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 80px 0;
}

/* ── Service ─────────────────────────────────────────────── */
.service {
  position: relative;
  z-index: 1;
  padding: 120px 0 200px;
  border-top: 1px solid var(--grid-line-color);
}

.service-header {
  margin-bottom: 200px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--grid-line-color);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.service-thumbnail {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.service-body {
  padding: 40px 40px 40px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.service-description {
  font-size: 14px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

.service-cta {
  margin-top: 24px;
}

.service-cta-button {
  display: inline-block;
  position: relative;
  padding: 14px 40px;
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: url("../img/button.svg") no-repeat center center;
  background-size: 100% 100%;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.service-cta-button:hover {
  opacity: 0.8;
}

.service-preparing {
  display: inline-block;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.04em;
  margin-top: auto;
}

.service-placeholder {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 80px 0;
}

/* ── Company ─────────────────────────────────────────────── */
.company {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  border-top: 1px solid var(--grid-line-color);
  overflow: hidden;
}

.company-heading {
  margin-bottom: 160px;
}

/* Member: text left, photo right */
.member-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 120px;
}

.member-text {
  grid-column: 1 / 4;
  padding-right: 40px;
}

.member-name-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.member-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.member-name-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
}

.member-position {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.member-profile {
  font-size: 14px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

.member-sns {
  display: flex;
  gap: 16px;
  list-style: none;
  margin-top: 24px;
}

.member-sns a {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  color: #111;
  text-decoration: underline;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.member-sns a:hover {
  opacity: 0.5;
}

.member-photo {
  grid-column: 4 / 6;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.member-photo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

/* Company info: right-aligned */
.company-info-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.company-info {
  grid-column: 4 / 6;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
}

.company-info dt,
.company-info dd {
  padding: 20px 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.company-info dt {
  font-weight: 600;
  color: #111;
}

.company-info dd {
  color: #333;
}

.company-placeholder {
  grid-column: 4 / 6;
  font-size: 14px;
  color: #999;
  padding: 40px 0;
}


/* ── News ────────────────────────────────────────────────── */
.news {
  position: relative;
  z-index: 1;
  padding: 120px 0 200px;
  border-top: 1px solid var(--grid-line-color);
}

.news-heading {
  margin-bottom: 150px;
}

.news-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.news-list {
  grid-column: 2 / 5;
  list-style: none;
}

.news-placeholder {
  grid-column: 2 / 5;
}


.news-item a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  text-decoration: none;
  color: #111;
  transition: opacity 0.2s;
}

.news-item a:hover {
  opacity: 0.5;
}

.news-item time {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.news-placeholder {
  font-size: 14px;
  color: #999;
}

.news-load-more-wrap {
  grid-column: 2 / 5;
  text-align: center;
  margin-top: 48px;
}

.news-thumbnail-float {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  width: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0;
  will-change: left, top, opacity;
}

/* ── Single Article ──────────────────────────────────────── */
.single-article {
  position: relative;
  z-index: 1;
  padding-top: 160px;
  padding-bottom: 120px;
}

.single-article .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.single-article article {
  grid-column: 2 / 5;
}

.article-header {
  margin-bottom: 48px;
}

.article-thumbnail-full {
  margin-bottom: 48px;
  margin-left: calc(-100% / 3);
  margin-right: calc(-100% / 3);
}

.article-thumbnail-full img {
  width: 100%;
  height: auto;
  display: block;
}

.article-header time {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.article-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.article-body {
  font-size: 15px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.02em;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 2em 0 1em;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 1.5em 0 0.8em;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-back {
  grid-column: 2 / 5;
  margin-top: 64px;
}

.article-back a {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.article-back a:hover {
  opacity: 0.5;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  border-top: 1px solid var(--grid-line-color);
}

.contact-right {
  margin-left: 20%;
  width: 60%;
  padding-top: 120px;
  padding-bottom: 40px;
}

.contact-description {
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

.form-group {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.required {
  color: #e53e3e;
}

.form-group input,
.form-group textarea {
  width: calc(100% + 1px);
  margin-left: -1px;
  padding: 14px 16px;
  font-family: var(--font-ja);
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #ccc;
  font-size: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #111;
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 40px;
  text-align: center;
}

.submit-button {
  display: inline-block;
  position: relative;
  padding: 18px 56px;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: url("../img/button.svg") no-repeat center center;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease;
}

.submit-button:hover {
  transform: scale(0.98);
}

.submit-button:active {
  transform: scale(0.95);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.field-error {
  font-size: 12px;
  color: #e53e3e;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e53e3e;
}

.form-message {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.form-message.success {
  color: #38a169;
}

.form-message.error {
  color: #e53e3e;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: #fff;
  border-top: 1px solid var(--grid-line-color);
  padding: 48px var(--side-padding) 32px;
}

footer > .container {
  max-width: none;
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 24px;
}

.footer-logo {
  grid-column: 1 / 2;
}

.footer-logo img {
  padding-top: 4px;
  height: 28px;
  width: auto;
}

.footer-nav {
  grid-column: 3 / 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}

.footer-nav a {
  text-decoration: none;
  color: #111;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.footer-nav a:not(.cta):hover {
  opacity: 1;
}

.footer-nav a.cta {
  transition: transform 0.2s ease, opacity 0.2s;
}

.footer-nav a.cta:hover {
  transform: scale(0.98);
}

.footer-nav a.cta:active {
  transform: scale(0.95);
}

.footer-nav a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: url("../img/button.svg") center / 100% 100% no-repeat;
}

.cta-label-sp {
  display: none;
}

.footer-bottom {
  margin-top: 48px;
  text-align: left;
}

.footer-bottom small {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
}

/* ── 404 ────────────────────────────────────────────────── */
.error404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error404 .error-404 {
  flex: 1;
}

.error-404 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.error-404-content {
  text-align: center;
}

.error-404 .section-heading {
  margin-bottom: 32px;
}

.error-404-message {
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

/* ── Focus Visible ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }

  .text-highlight::after {
    transform: scaleX(1);
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --side-padding: 20px;
    --grid-columns: 2;
  }

  .floating-ring {
    width: 500px;
  }

  .section-heading {
    font-size: 28px;
  }

  /* Grid Lines */
  .grid-line:nth-child(n + 2) {
    display: none;
  }

  /* Header */
  .header-inner {
    height: 60px;
  }

  .logo img {
    height: 24px;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 12;
    width: 24px;
    height: 24px;
    gap: 5px;
  }

  .menu-toggle[aria-expanded="true"] .menu-bar {
    width: 100%;
  }

  .menu-toggle[aria-expanded="true"] .menu-bar:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-bar:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 11;
  }

  header nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  header nav a {
    font-size: 16px;
  }

  header nav a.cta {
    font-size: 12px;
  }

  .nav-copyright {
    display: block;
    position: absolute;
    bottom: 32px;
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.04em;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-left {
    grid-column: auto;
    grid-row: auto;
    padding-top: 100px;
    order: 1;
  }

  .hero-heading {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 13px;
    margin-bottom: 0;
  }

  .hero-cta {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    padding-top: 28px;
  }

  .hero-right {
    grid-column: auto;
    grid-row: auto;
    padding-top: 48px;
    order: 3;
  }

  .service-item {
    font-size: 11px;
  }

  /* About */
  .about {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .about-right {
    margin-left: 0;
    width: 100%;
    padding-top: 120px;
  }

  .about-lead {
    font-size: clamp(1rem, 4.5vw, 1.125rem);
    margin-bottom: 32px;
  }

  .about-lead br {
    display: none;
  }


  /* Solution */
  .solution {
    padding: 60px 0;
  }

  .solution-header {
    margin-bottom: 40px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .solution-card {
    padding: 32px 20px;
  }

  /* Service */
  .service {
    padding: 60px 0;
  }

  .service-header {
    margin-bottom: 40px;
  }

  .service-grid {
    padding: 40px 0;
  }

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

  .service-body {
    padding: 24px 20px;
  }

  /* Company */
  .company {
    padding: 60px 0;
  }

  .company-heading {
    margin-bottom: 40px;
  }

  .member-row {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 64px;
    padding: 40px 0;
  }

  .member-text {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 24px;
    order: 2;
  }

  .member-sns a {
    font-weight: 500;
  }

  .member-photo {
    grid-column: 2 / 3;
    justify-content: flex-end;
    order: 1;
    margin-bottom: 40px;
  }

  .member-photo img {
    max-width: 100%;
  }

  .company-info-wrap {
    grid-template-columns: 1fr;
  }

  .company-info {
    grid-column: 1;
    grid-template-columns: 80px 1fr;
  }

  .company-info dt,
  .company-info dd {
    padding: 16px 0;
  }

  .company-placeholder {
    grid-column: 1;
  }


  /* News */
  .news {
    padding: 60px 0;
  }

  .news-heading {
    margin-bottom: 40px;
  }

  .news-content {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .news-list {
    grid-column: 1;
  }

  .news-load-more-wrap {
    grid-column: 1;
  }

  .news-placeholder {
    grid-column: 1;
  }

  .news-item a {
    flex-direction: column;
    gap: 4px;
    padding: 0;
  }

  .news-item + .news-item {
    margin-top: 24px;
  }

  /* Single Article */
  .single-article {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .single-article .container {
    grid-template-columns: 1fr;
  }

  .single-article article {
    grid-column: 1;
  }

  .article-title {
    font-size: 22px;
  }

  .article-body {
    font-size: 14px;
  }

  .article-thumbnail-full {
    margin-left: 0;
    margin-right: 0;
  }

  .article-back {
    grid-column: 1;
    margin-top: 40px;
  }

  /* Contact */
  .contact {
    padding: 60px 0;
  }

  .contact-right {
    margin-left: 0;
    width: 100%;
    padding-top: 80px;
  }

  .contact-description {
    margin-bottom: 32px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
  }

  .form-submit {
    margin-top: 32px;
  }

  /* Footer */
  footer {
    padding: 32px var(--side-padding) 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo {
    grid-column: 1;
  }

  .footer-nav {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-nav a.cta {
    padding: 0;
    color: #111;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: none;
  }

  .cta-label-pc {
    display: none;
  }

  .cta-label-sp {
    display: inline;
  }

  .footer-bottom {
    margin-top: 32px;
    text-align: left;
  }
}
