/*
Theme Name: Rebox Corporate
Theme URI: https://example.com/
Author: Rebox
Author URI: https://example.com/
Description: Corporate WordPress theme for 株式会社リボックス.
Version: 1.1.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rebox
*/

:root {
  --blue: #426AB3;
  --blue-deep: #2f5293;
  --blue-soft: #eef3ff;
  --orange: #ff8a00;
  --ink: #0c2c56;
  --muted: #5e7188;
  --line: #d8e5f5;
  --bg: #f7fbff;
  --white: #fff;
  --shadow: 0 12px 30px rgba(0, 72, 150, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.has-motion * {
  backface-visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--blue-deep);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
  transition: box-shadow 260ms ease;
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1280px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  min-width: 230px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
}
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 1.14rem; letter-spacing: 0; }
.brand-text small { font-size: 0.7rem; opacity: 0.84; }
.main-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 900;
  border: 2px solid var(--white);
  border-radius: 999px;
  white-space: nowrap;
}
.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-menu {
  display: contents;
}
.menu-toggle {
  display: none !important;
  grid-column: 3;
  grid-row: 1;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: #fff;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 42px;
  padding: 0 18px;
  color: #083f18;
  font-weight: 900;
  border-radius: 999px;
  background: #06c755;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}
.hero-bg {
  position: absolute;
  inset: -16% 0;
  --hero-y: 0px;
  --hero-scale: 1.28;
  --hero-opacity: 1;
  background:
    linear-gradient(90deg, rgba(47, 82, 147, 0.84) 0%, rgba(66, 106, 179, 0.54) 43%, rgba(66, 106, 179, 0.08) 100%),
    url("assets/images/topview-tsutenkaku-unlit-natural.jpg") center / cover no-repeat;
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  transform-origin: center;
  opacity: var(--hero-opacity);
  will-change: transform;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  min-height: 660px;
  margin: 0 auto;
  padding: 84px 0 116px;
}
.hero-copy {
  --hero-copy-y: 0px;
  --hero-copy-scale: 1;
  width: min(860px, 100%);
  transform: translate3d(0, var(--hero-copy-y), 0) scale(var(--hero-copy-scale));
  transform-origin: left center;
  will-change: transform;
}
.has-motion .hero-copy {
  animation: heroRise 900ms cubic-bezier(0.18, 0.8, 0.22, 1) both;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 20, 60, 0.35);
}
.hero-lead {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-weight: 900;
  line-height: 1.55;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(148px, 1fr));
  gap: 10px;
  max-width: 860px;
  margin: 18px 0 28px;
}
.hero-stats div {
  min-height: 88px;
  padding: 9px 12px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #426AB3;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.has-motion .hero-stats div {
  animation: statPop 620ms cubic-bezier(0.2, 0.85, 0.28, 1.2) both;
}
.has-motion .hero-stats div:nth-child(2) { animation-delay: 70ms; }
.has-motion .hero-stats div:nth-child(3) { animation-delay: 140ms; }
.has-motion .hero-stats div:nth-child(4) { animation-delay: 210ms; }
.has-motion .hero-stats div:nth-child(5) { animation-delay: 280ms; }
.hero-stats div > span,
.hero-stats div > small {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
}
.hero-stats strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
  font-size: clamp(1.38rem, 1.9vw, 1.72rem);
  line-height: 1.1;
  white-space: nowrap;
  max-width: 100%;
}
.hero-stats .stat-number {
  display: inline-block;
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .stat-prefix {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 950;
  line-height: 1;
}
.hero-stats .stat-unit {
  display: inline-block;
  font-size: 0.52em;
  font-weight: 950;
  line-height: 1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 50, 100, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.button::after,
.header-cta::after,
.outline-button::after,
.line-cta::after,
.social-button::after {
  position: absolute;
  inset: auto;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  width: 0;
  height: 0;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
  transition: width 340ms ease, height 340ms ease;
  pointer-events: none;
}
.button:hover,
.header-cta:hover,
.outline-button:hover,
.line-cta:hover,
.social-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 50, 100, 0.2);
}
.button:hover::after,
.header-cta:hover::after,
.outline-button:hover::after,
.line-cta:hover::after,
.social-button:hover::after {
  width: 260px;
  height: 260px;
}
.button-accent { color: var(--white); background: var(--orange); }
.button-white { color: var(--blue-deep); background: var(--white); border: 2px solid var(--blue); }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 54px 0; }
.section-tight { padding-top: 28px; }
.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 0 0 26px;
  color: var(--blue-deep);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0;
}
.section-title::before,
.section-title::after {
  height: 3px;
  content: "";
  background: #426AB3;
}
.section-title.align-left {
  grid-template-columns: auto 1fr;
  text-align: left;
}
.section-title.align-left::after { display: block; }
.section-title.align-left::before { display: none; }
.section-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.reason-grid,
.condition-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.reason-card,
.condition-grid article {
  min-height: 150px;
  padding: 22px 18px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.has-motion .reason-card,
.has-motion .condition-grid article,
.has-motion .support-grid article {
  animation: cardFloat 5.8s ease-in-out infinite;
  animation-delay: calc(var(--reveal-delay, 0ms) + 400ms);
}
.has-motion .reason-card:nth-child(even),
.has-motion .condition-grid article:nth-child(even),
.has-motion .support-grid article:nth-child(even) {
  animation-duration: 6.6s;
}
.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 900;
  border: 4px solid var(--blue);
  border-radius: 16px;
}
.reason-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reason-card h3,
.step-flow h3 {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.45;
}
.reason-card p,
.condition-grid p,
.step-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.comparison { overflow-x: auto; }
#conditions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(234, 244, 255, 0.72) 44%, rgba(255, 255, 255, 0) 100%);
}
@media (min-width: 901px) {
  .has-motion #conditions {
    min-height: 132vh;
  }
  .has-motion #conditions .container {
    position: sticky;
    top: 94px;
  }
}
.comparison table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.comparison tbody tr {
  transition: transform 260ms ease, filter 260ms ease;
}
.comparison tbody tr.is-active {
  transform: scale(1.015);
  filter: drop-shadow(0 10px 18px rgba(66, 106, 179, 0.14));
}
.comparison tbody tr.is-active th,
.comparison tbody tr.is-active td {
  background: #e8f1ff;
}
.comparison th,
.comparison td {
  padding: 15px 16px;
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}
.comparison thead th:nth-child(2),
.comparison tbody td:nth-child(2) {
  color: var(--blue-deep);
  background: #fff8db;
  border-color: #426AB3;
}
.comparison tbody th {
  text-align: left;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.income-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 34px;
  align-items: end;
}
.income-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.income-grid article {
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  --scrub-y: 0px;
  transform: translate3d(0, var(--scrub-y), 0);
  transition: box-shadow 260ms ease;
  will-change: transform;
}
.income-grid article:hover {
  box-shadow: 0 20px 36px rgba(0, 72, 150, 0.2);
}
.income-grid article > span {
  display: block;
  padding: 10px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
}
.income-grid p {
  min-height: 58px;
  margin: 16px 12px 0;
  font-weight: 900;
  line-height: 1.55;
}
.income-grid strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 10px 12px 20px;
  color: var(--blue);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  white-space: nowrap;
}
.income-grid strong span {
  display: inline;
  padding: 0;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
}
.income-grid strong small {
  font-size: 0.48em;
  font-weight: 900;
  line-height: 1;
}
.driver-illust {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: var(--blue-soft);
}

.work-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
}
.work-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.has-motion .work-box img,
.has-motion .driver-illust {
  animation: imageFloat 7s ease-in-out infinite;
}
.work-box p {
  margin: 0 0 12px;
  font-weight: 800;
}
.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 900;
}
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  min-height: 48px;
  color: var(--blue);
  font-weight: 900;
  border: 2px solid #a9bde6;
  border-radius: 999px;
}

.support-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(66, 106, 179, 0.08), transparent 28%),
    linear-gradient(180deg, #fff, #f7faff);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.support-grid article {
  min-height: 180px;
  padding: 22px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.support-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: 18px;
}
.support-grid h3 {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.45;
}
.support-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.7;
}
.entry-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.entry-panel h3 {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 1.25rem;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.entry-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  padding: 10px 12px;
  color: var(--blue-deep);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  background: var(--blue-soft);
  border: 1px solid rgba(66, 106, 179, 0.2);
  border-radius: 999px;
  white-space: nowrap;
}
.entry-grid span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  flex: 0 0 auto;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.proof-stats article {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 8px;
}
.proof-stats article > span {
  font-size: 0.86rem;
  font-weight: 900;
}
.proof-stats strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 4px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}
.proof-stats strong .count-number {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
}
.proof-stats strong small {
  color: #fff;
  font-size: 0.55em;
  font-weight: 900;
  line-height: 1;
}
.voice-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.voice-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.voice-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--green);
  border-radius: 999px;
}
.voice-card h3 {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.45;
}
.voice-text {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.9;
}
.voice-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.voice-card dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.voice-card dt {
  color: var(--blue);
  font-weight: 900;
}
.voice-card dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.condition-grid article {
  min-height: 130px;
}
.condition-grid span {
  display: block;
  color: var(--blue);
  font-weight: 900;
}
.condition-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.05rem;
}
.workday {
  margin-top: 30px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(66, 106, 179, 0.08), rgba(255, 255, 255, 0.96)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.workday h3 {
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  text-align: center;
}
.workday-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.workday-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}
.workday-timeline article {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 0 10px;
  text-align: center;
}
.workday-timeline time {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(66, 106, 179, 0.25);
}
.workday-timeline div {
  min-height: 168px;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid rgba(66, 106, 179, 0.18);
  border-radius: 8px;
}
.workday-timeline h4 {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 0.95rem;
  line-height: 1.45;
}
.workday-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}
.workday-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.step-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(760px, 100%);
  margin: 0 auto;
  padding-top: 0;
}
.step-flow__rail {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 38px;
  right: auto;
  width: 4px;
  height: auto;
  overflow: hidden;
  background: #d8e3f4;
  border-radius: 999px;
}
.step-flow__rail::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: inherit;
  transform: scaleY(var(--step-progress, 0));
  transform-origin: top;
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}
.step-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  min-height: 0;
  padding: 0 0 18px;
  text-align: left;
}
.step-flow__item:last-child {
  padding-bottom: 0;
}
.step-flow__number {
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  background: var(--blue);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(47, 82, 147, 0.2);
  transition: transform 360ms cubic-bezier(.2, .8, .2, 1), background 360ms ease, box-shadow 360ms ease;
}
.step-flow__body {
  position: relative;
  min-height: 118px;
  padding: 22px 16px 20px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 360ms cubic-bezier(.2, .8, .2, 1), border-color 360ms ease, box-shadow 360ms ease;
}
.step-flow__body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 8px 8px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(.2, .8, .2, 1);
}
.step-flow__label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}
.step-flow__item.is-active .step-flow__number {
  background: var(--orange);
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 30px rgba(246, 146, 48, 0.25);
}
.step-flow__item.is-active .step-flow__body {
  border-color: rgba(246, 146, 48, 0.42);
  box-shadow: 0 18px 36px rgba(47, 82, 147, 0.16);
  transform: translateY(-4px);
}
.step-flow__item.is-active .step-flow__body::before {
  transform: scaleX(1);
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
}
.faq-layout .section-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.faq-column {
  min-width: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.faq-grid details {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 72, 150, 0.08);
}
.faq-grid summary {
  color: var(--blue-deep);
  font-weight: 900;
  cursor: pointer;
}
.faq-grid p { margin: 10px 0 0; color: var(--muted); font-weight: 700; }
.faq-image-track {
  position: relative;
  align-self: stretch;
  min-height: 180px;
}
.faq-scroll-image {
  display: block;
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--faq-image-y, 0px), 0);
  will-change: transform;
}

.bottom-cta {
  color: #fff;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  overflow: hidden;
}
.bottom-cta-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 210px;
  padding: 28px 0;
  text-align: center;
}
.bottom-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.bottom-cta p {
  margin: 6px 0 18px;
  font-weight: 800;
  opacity: 0.9;
}
.company-strip {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.company-strip .container {
  padding: 34px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.company-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
}
.company-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.company-list div:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.company-list .company-group-cell {
  grid-row: span 2;
  border-bottom: 0;
}
.company-list dt,
.company-list dd {
  margin: 0;
  padding: 16px;
  line-height: 1.65;
}
.company-list dt {
  color: var(--blue-deep);
  font-weight: 900;
  background: #eef4ff;
}
.company-list dd {
  color: var(--text);
  font-weight: 800;
}
.company-list a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 22px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.social-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4);
  box-shadow: 0 10px 20px rgba(221, 42, 123, 0.2);
}
.social-instagram::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #fff;
  border-radius: 5px;
  box-shadow: inset 0 0 0 3px transparent;
}
.social-line {
  color: #053b16;
  background: #06c755;
  box-shadow: 0 10px 20px rgba(6, 199, 85, 0.2);
}

.page-main {
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.86), rgba(255, 255, 255, 0.94) 320px),
    #fff;
}
.page-hero {
  position: relative;
  padding: 128px 0 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(47, 82, 147, 0.94), rgba(66, 106, 179, 0.76)),
    url("assets/images/topview-tsutenkaku-unlit-natural.jpg") center / cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 0 12px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.page-hero p:not(.page-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.75;
}
.page-content-section {
  padding-top: 48px;
}
.page-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.page-card,
.page-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.page-card {
  padding: clamp(24px, 4vw, 44px);
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content > *:last-child {
  margin-bottom: 0;
}
.entry-content h2,
.entry-content h3 {
  margin: 1.8em 0 0.7em;
  color: var(--blue-deep);
  line-height: 1.35;
}
.entry-content h2 {
  padding-left: 14px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  border-left: 5px solid var(--blue);
}
.entry-content p,
.entry-content li,
.entry-content dd {
  color: var(--text);
  font-weight: 700;
  line-height: 1.9;
}
.entry-content a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.entry-content th,
.entry-content td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.entry-content th {
  color: var(--blue-deep);
  background: #eef4ff;
}
.page-side-card {
  position: sticky;
  top: 92px;
  padding: 24px;
}
.page-side-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 900;
}
.page-side-card h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.35rem;
  line-height: 1.45;
}
.page-side-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.75;
}
.entry-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.entry-content textarea,
.entry-content select,
.wpcf7-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form textarea,
.wpcf7-form select,
.wpforms-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpforms-form textarea,
.wpforms-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.entry-content textarea,
.wpcf7-form textarea,
.wpforms-form textarea {
  min-height: 160px;
  resize: vertical;
}
.entry-content input[type="submit"],
.entry-content button[type="submit"],
.wpcf7-submit,
.wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 16px 26px rgba(255, 138, 0, 0.24);
  cursor: pointer;
}
.wpcf7 form .wpcf7-response-output,
.wpforms-confirmation-container-full {
  margin: 18px 0 0;
  padding: 14px 16px;
  font-weight: 800;
  border-radius: 8px;
}

.has-motion .reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 620ms ease var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.18, 0.8, 0.22, 1) var(--reveal-delay, 0ms);
}
.has-motion .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.has-motion .step-flow__item.reveal-item {
  transition-delay: calc(var(--i) * 120ms);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes statPop {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes imageFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes scrollHintBlink {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
  }
  .header-actions {
    grid-column: 2;
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-inner {
    min-height: 720px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(47, 82, 147, 0.9) 0%, rgba(66, 106, 179, 0.68) 58%, rgba(66, 106, 179, 0.2) 100%),
      url("assets/images/topview-tsutenkaku-unlit-natural.jpg") center / cover no-repeat;
  }
  .hero-stats,
  .reason-grid,
  .condition-grid,
  .support-grid,
  .entry-panel,
  .proof-stats,
  .voice-card,
  .page-content-grid,
  .workday-timeline,
  .step-flow,
  .income-layout,
  .work-box,
  .faq-layout,
  .bottom-cta-inner {
    grid-template-columns: 1fr;
  }
  .driver-illust,
  .faq-scroll-image {
    max-width: 260px;
    margin: 0 auto;
  }
  .faq-image-track {
    min-height: auto;
  }
  .faq-scroll-image {
    transform: none !important;
  }
  .workday {
    padding: 24px 18px;
  }
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .voice-card img {
    max-width: 360px;
    margin: 0 auto;
  }
  .voice-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .company-strip .container {
    padding: 24px 18px;
  }
  .page-hero {
    padding: 104px 0 46px;
  }
  .page-side-card {
    position: static;
  }
  .company-list {
    grid-template-columns: 1fr;
  }
  .company-list div,
  .company-list div:nth-child(odd),
  .company-list div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .company-list div:last-child {
    border-bottom: 0;
  }
  .workday-timeline {
    gap: 0;
  }
  .workday-timeline::before {
    top: 0;
    bottom: 0;
    left: 33px;
    width: 3px;
    height: auto;
    right: auto;
  }
  .workday-timeline article {
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding: 0 0 18px;
    text-align: left;
  }
  .workday-timeline article:last-child {
    padding-bottom: 0;
  }
  .workday-timeline time {
    margin: 0;
  }
  .workday-timeline div {
    min-height: 0;
  }
  .step-flow {
    gap: 0;
    padding-top: 0;
  }
  .step-flow__rail {
    top: 34px;
    bottom: 34px;
    left: 34px;
    right: auto;
    width: 4px;
    height: auto;
  }
  .step-flow__rail::after {
    transform: scaleY(var(--step-progress, 0));
    transform-origin: top;
  }
  .step-flow__item {
    grid-template-columns: 70px 1fr;
    gap: 16px;
    min-height: 0;
    padding-bottom: 18px;
    text-align: left;
  }
  .step-flow__item:last-child {
    padding-bottom: 0;
  }
  .step-flow__number {
    margin: 0;
  }
  .step-flow__body {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    width: min(100% - 20px, 1280px);
    min-height: 58px;
    gap: 10px;
  }
  .brand { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 0.98rem; }
  .brand-text small { font-size: 0.58rem; }
  .menu-toggle {
    display: grid !important;
    grid-column: 2;
  }
  .header-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(54vw, 230px);
    z-index: 40;
    display: none;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(0, 72, 150, 0.18);
  }
  .site-header.is-menu-open .header-menu {
    display: grid;
    gap: 14px;
  }
  .main-nav {
    grid-column: auto;
    grid-row: auto;
    display: none;
  }
  .site-header.is-menu-open .main-nav {
    display: grid;
    gap: 0;
    color: var(--ink);
    font-size: 0.95rem;
    text-align: left;
  }
  .main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child {
    border-bottom: 0;
  }
  .header-actions {
    grid-column: auto;
    grid-row: auto;
    display: none;
  }
  .site-header.is-menu-open .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .site-header.is-menu-open .header-actions a {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding-inline: 16px;
  }
  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--blue-deep);
    border-color: var(--blue);
  }
  .line-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  .container { width: min(100% - 24px, 1120px); }
  .hero {
    min-height: 640px;
  }
  .hero-inner {
    align-items: flex-start;
    min-height: 640px;
    padding: 74px 0 24px;
  }
  .hero-bg {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(47, 82, 147, 0.88) 0%, rgba(47, 82, 147, 0.68) 30%, rgba(47, 82, 147, 0.18) 58%, rgba(47, 82, 147, 0.04) 78%, rgba(47, 82, 147, 0.2) 100%),
      url("assets/images/topview-tsutenkaku-unlit-natural.jpg") 50% bottom / auto 78% no-repeat;
    transform: none;
  }
  .hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 542px;
  }
  .hero h1 {
    margin-bottom: 10px;
    font-size: 2.25rem;
    line-height: 1.12;
  }
  .hero-lead {
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .hero-stats,
  .reason-grid,
  .condition-grid,
  .support-grid,
  .entry-grid,
  .proof-stats,
  .step-flow,
  .income-grid,
  .faq-grid,
  .button {
    width: 100%;
    min-width: 0;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    max-width: none;
    margin: 12px 0 14px;
    padding: 0;
    overflow: visible;
  }
  .hero-stats div {
    min-height: 56px;
    padding: 6px 4px;
    border-width: 1px;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 72, 150, 0.12);
  }
  .hero-stats div:nth-child(n+4) {
    display: block;
    min-height: 56px;
    padding: 6px 4px;
    background: rgba(255, 255, 255, 0.96);
  }
  .hero-stats div > span,
  .hero-stats div > small {
    font-size: 0.5rem;
  }
  .hero-stats strong {
    gap: 1px;
    font-size: 0.78rem;
  }
  .hero-stats div:nth-child(n+4) strong {
    font-size: 0.78rem;
  }
  .hero-stats div:nth-child(n+4) small {
    display: block;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
  }
  .hero-actions .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
  .comparison {
    position: relative;
  }
  .comparison::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 950;
    background: rgba(242, 148, 45, 0.96);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(47, 82, 147, 0.22);
    pointer-events: none;
    animation: scrollHintBlink 1.2s ease-in-out infinite;
  }
  .reason-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .reason-card {
    min-height: 172px;
    padding: 16px 12px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(47, 82, 147, 0.08);
  }
  .reason-card:last-child {
    grid-column: 1 / -1;
    min-height: 128px;
    display: block;
    text-align: center;
  }
  .reason-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    border-width: 3px;
    border-radius: 12px;
  }
  .reason-card:last-child .reason-icon {
    margin-bottom: 8px;
  }
  .reason-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.4;
  }
  .reason-card h3 {
    margin-bottom: 6px;
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .reason-card p {
    font-size: 0.72rem;
    line-height: 1.6;
  }
  .condition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .condition-grid article {
    min-height: 132px;
    padding: 16px 10px;
  }
  .condition-grid article:last-child {
    grid-column: 1 / -1;
  }
  .condition-grid span {
    font-size: 0.72rem;
  }
  .condition-grid strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .condition-grid p {
    font-size: 0.72rem;
    line-height: 1.55;
  }
  .company-list div {
    grid-template-columns: 1fr;
  }
  .company-list .company-group-cell {
    grid-row: auto;
  }
  .company-list dt,
  .company-list dd {
    padding: 12px 14px;
  }
  .page-card,
  .page-side-card {
    padding: 20px;
  }
  .section { padding: 42px 0; }
  .section-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .section-title::before,
  .section-title::after {
    display: none;
  }
  .work-box img {
    max-height: 220px;
    object-fit: cover;
  }
  .work-box .outline-button {
    display: flex;
    width: min(100%, 280px);
    margin-inline: auto;
  }
  .faq-image-track {
    padding: 6px 8px 0;
  }
  .faq-scroll-image {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    border-radius: 10px;
  }
  .entry-panel {
    text-align: center;
  }
  .entry-grid {
    justify-items: center;
  }
  .entry-grid span {
    width: 100%;
    max-width: 160px;
  }
  .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .proof-stats article {
    min-height: 112px;
    padding: 14px 8px;
  }
  .proof-stats article > span {
    font-size: 0.68rem;
    line-height: 1.45;
  }
  .proof-stats strong {
    font-size: 1.9rem;
  }
  .entry-panel,
  .voice-card {
    padding: 18px;
  }
}
