:root {
  --bg: #eeece8;
  --bg-soft: #f7f6f3;
  --ink: #171b1b;
  --ink-soft: #232827;
  --text: #303735;
  --muted: #747d7a;
  --line: #c9cecb;
  --hero: #b7bab8;
  --dark: #1e2524;
  --accent: #bd6e4e;
  --accent-soft: #ead5c9;
  --white: #ffffff;
  --work: "Work Sans", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --yu: "Yu Gothic", YuGothic, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font-size: 1.3rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.inner {
  width: min(90%, var(--container));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 24px 35px 20px;
}

.site-header.is-solid {
  background: rgba(238, 236, 232, 0.94);
  border-bottom: 1px solid rgba(23, 27, 27, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1001;
}

.brand-en {
  font-family: var(--work);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.brand-ja {
  font-family: var(--yu);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  font-family: var(--yu);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
}

.desktop-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  transition: 0.25s ease;
}

.desktop-nav a:not(.nav-contact):hover::after,
.desktop-nav a.nav-active:not(.nav-contact)::after {
  bottom: -5px;
  opacity: 1;
}

.nav-contact {
  width: 120px;
  border: 1px solid var(--ink);
  padding: 10.5px 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.nav-contact svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sns-rail {
  position: absolute;
  top: 323px;
  right: 35px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  z-index: 1001;
}

.sns-rail a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.sns-rail svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
}

.menu-button {
  display: none;
  width: 50px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.menu-button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}

.menu-button span:nth-child(1) { top: 0; }
.menu-button span:nth-child(2) { top: 13px; }
.menu-button span:nth-child(3) { top: 26px; }

.menu-button.is-open span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

.mobile-overlay {
  display: none;
}

/* ---------- Shared ---------- */
.page-shell {
  position: relative;
  z-index: 0;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(#dddcdb, #dddcdb),
    linear-gradient(#dddcdb, #dddcdb),
    linear-gradient(#dddcdb, #dddcdb);
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position: left 11% top, center top, right 11% top;
}

.h2-style {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}

.h2-style span {
  display: block;
  margin-top: 6px;
  font-family: var(--work);
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
  line-height: 1.1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 220px;
  padding: 19px 28px;
  background: var(--ink);
  color: var(--white) !important;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(23, 27, 27, 0.08);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  width: 6px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s ease;
}

.btn:hover {
  opacity: 0.96;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(23, 27, 27, 0.15);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white) !important;
  box-shadow: none;
}

/* JS未読込時は最初から見える。has-reveal 時だけ入場アニメ */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100vw;
  height: min(100svh, 960px);
  min-height: 680px;
  background: var(--hero);
  overflow: hidden;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  height: 100%;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: grayscale(0.2) contrast(1.08) saturate(0.85);
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(183, 186, 184, 0.18) 58%, var(--hero) 94%);
}

.hero-copy {
  position: absolute;
  right: clamp(3rem, 7vw, 100px);
  bottom: clamp(7rem, 14vh, 150px);
  width: min(38vw, 520px);
  z-index: 3;
  color: var(--ink);
  text-align: left;
}

.hero-kicker {
  display: block;
  margin-bottom: 22px;
  font-family: var(--work);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(23, 27, 27, 0.65);
}

.hero-en {
  display: block;
  position: relative;
  width: max-content;
  margin: 0 0 1.2vw;
  padding-left: 4.5vw;
  font-family: var(--work);
  font-size: clamp(1.6rem, 1.27vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero-en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.8vw;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.8rem, 8.5vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-title small {
  display: block;
  margin: 0.35em 0;
  font-size: clamp(2.8rem, 4vw, 5.4rem);
}

.hero-description {
  max-width: 420px;
  margin: 26px 0 28px;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-actions .btn {
  min-width: 176px;
  padding: 16px 22px;
  font-size: 1.4rem;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-text-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.25s ease;
}

.hero-text-link:hover svg {
  transform: translateX(4px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 32px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(23, 27, 27, 0.2);
  list-style: none;
  font-family: var(--work);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(23, 27, 27, 0.6);
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-tags li:not(:last-child)::after {
  content: "/";
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  left: 52px;
  bottom: 18vh;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.hero-scroll span {
  writing-mode: vertical-rl;
  font-family: var(--work);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--ink);
  transform-origin: top;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- About ---------- */
.about-block {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  padding: 40px 0 120px;
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.92) 0%, rgba(38, 38, 38, 0.78) 55%, rgba(38, 38, 38, 0.55) 100%),
    url("./assets/vision-horizon.png") center / cover no-repeat;
}

.about-block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28vw;
  height: 50vw;
  background: linear-gradient(
    0deg,
    rgba(177, 178, 178, 0) 0%,
    rgba(38, 38, 38, 0.35) 28%,
    rgba(38, 38, 38, 1) 48%,
    rgba(38, 38, 38, 0.85) 62%,
    rgba(38, 38, 38, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.about-kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--work);
  font-size: 1.6rem;
  font-weight: 700;
}

.about-block h2 {
  margin: 0 0 56px;
  font-size: clamp(2.8rem, 3.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.4;
}

.about-block p {
  max-width: 720px;
  margin: 0 auto 1.4em;
  font-size: 1.6rem;
  line-height: 2.2;
}

/* ---------- Profile ---------- */
.profile-block {
  position: relative;
  padding: 130px 0 110px;
}

.profile-layout {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: min(16vw, 220px);
}

.profile-media {
  position: absolute;
  top: 130px;
  left: 0;
  width: min(56.7vw, 780px);
  z-index: 0;
}

.profile-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.2);
}

.profile-watermark {
  position: absolute;
  top: 8vw;
  right: -18vw;
  z-index: 2;
  font-family: var(--work);
  font-size: clamp(6rem, 9.5vw, 14rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink-soft);
  pointer-events: none;
}

.profile-text {
  position: relative;
  z-index: 1;
  width: min(55%, 560px);
  padding: min(4.4vw, 66px) 0 0 min(4.8vw, 72px);
  background: var(--bg);
}

.profile-text h3 {
  margin: 0 0 20px;
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 0 0 14px;
  font-size: 1.5rem;
  line-height: 2;
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.profile-text .btn {
  margin-top: 36px;
}

/* ---------- Gallery ---------- */
.gallery-block {
  position: relative;
  height: clamp(280px, 40vw, 560px);
  background: var(--dark);
  overflow: hidden;
}

.gallery-item {
  position: absolute;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:nth-child(1) {
  width: 38vw;
  height: 24vw;
  top: 8vw;
  left: -10vw;
  z-index: 2;
}

.gallery-item:nth-child(2) {
  width: 19vw;
  height: 14vw;
  top: 26vw;
  left: 18vw;
}

.gallery-item:nth-child(3) {
  width: 38vw;
  height: 22vw;
  top: 20vw;
  left: 40vw;
  z-index: 2;
}

.gallery-item:nth-child(4) {
  width: 19vw;
  height: 14vw;
  top: 8vw;
  left: 68vw;
}

.gallery-item:nth-child(5) {
  width: 28vw;
  height: 18vw;
  top: 20vw;
  left: 90vw;
  z-index: 2;
}

/* ---------- News / History ---------- */
.news-block {
  padding: clamp(80px, 14vw, 180px) 0 0;
}

.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.news-side {
  width: 220px;
  flex-shrink: 0;
  padding-top: 4px;
}

.news-side .h2-style {
  margin-bottom: 80px;
}

.news-track {
  flex: 1;
  background: var(--white);
  padding: 70px 0 70px 70px;
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.news-scroller {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-right: 40px;
}

.news-card {
  flex: 0 0 42%;
  scroll-snap-align: start;
  padding: 0 28px;
  transition: background 0.25s ease;
}

.news-card:hover {
  background: rgba(233, 232, 230, 0.35);
}

.news-card time {
  display: inline-block;
  min-width: 87px;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--work);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

.news-card .thumb {
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16 / 10;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .thumb img {
  transform: scale(1.08);
}

.news-card p {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
}

.news-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.news-nav button {
  width: 57px;
  height: 57px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.25s ease;
}

.news-nav button:hover {
  opacity: 0.7;
}

.news-nav button:disabled {
  opacity: 0.25;
}

.news-nav svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
}

.news-side .btn {
  width: 100%;
  padding: 22px 0;
}

/* ---------- Service ---------- */
.service-block {
  margin-top: 120px;
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}

.service-block .h2-style,
.service-block .h2-style span {
  color: var(--white);
  text-align: center;
}

.service-block .h2-style {
  margin-bottom: 70px;
}

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

.service-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  color: var(--white);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
  z-index: 0;
}

.service-card:nth-child(1)::before { background-image: url("./assets/hero-workspace.png"); }
.service-card:nth-child(2)::before { background-image: url("./assets/now-notebook.png"); }
.service-card:nth-child(3)::before { background-image: url("./assets/vision-horizon.png"); }
.service-card:nth-child(4)::before { background-image: url("./assets/design-concept.png"); }
.service-card:nth-child(5)::before { background-image: url("./assets/hero-workspace.png"); }
.service-card:nth-child(6)::before { background-image: url("./assets/now-notebook.png"); }

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  transition: background 0.25s ease;
}

.service-card:hover::before {
  transform: scale(1.08);
}

.service-card:hover::after {
  background: rgba(0, 0, 0, 0.55);
}

.service-num {
  position: absolute;
  top: 20px;
  left: 25px;
  z-index: 2;
  font-family: var(--work);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.service-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2;
  padding: 0 30px;
}

.service-body h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 600;
}

.service-body p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.7;
  opacity: 0.85;
}

.service-actions {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  position: relative;
  text-align: center;
  padding: 130px 0;
}

.contact-cta .bg-ttl {
  position: absolute;
  left: 0;
  right: 0;
  top: 120px;
  z-index: 0;
  font-family: var(--work);
  font-size: clamp(7rem, 14vw, 18rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(26, 26, 26, 0.08);
  pointer-events: none;
}

.contact-cta-inner {
  position: relative;
  z-index: 1;
}

.contact-cta h2 {
  margin: 0 0 28px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.contact-cta p {
  margin: 0 auto 60px;
  max-width: 520px;
  line-height: 2;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
}

.footer-top {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 5% 50px;
}

.footer-brand .brand-en {
  font-size: 1.2rem;
}

.footer-brand .brand-ja {
  font-size: 2.4rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 33px;
}

.footer-nav a {
  font-family: var(--yu);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  transition: 0.25s ease;
}

.footer-nav a:hover::after {
  bottom: -4px;
  opacity: 1;
}

.footer-copy {
  background: var(--ink);
  color: var(--muted);
  padding: 15px 0;
}

.footer-copy-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1.4rem;
  font-family: var(--yu);
}

.footer-copy a:hover {
  color: var(--white);
}

/* ---------- Sub pages ---------- */
.page-hero {
  padding: 160px 0 70px;
  position: relative;
}

.page-hero .h2-style span {
  font-size: clamp(3.6rem, 6vw, 6.4rem);
}

.page-hero .lead {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: 1.6rem;
  line-height: 2;
}

.content-section {
  padding: 0 0 100px;
}

.story-list,
.question-list,
.value-list,
.goal-list {
  display: grid;
  gap: 0;
  background: var(--white);
}

.story-item,
.question-item,
.value-item,
.goal-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 36px 40px;
  border-bottom: 1px solid #e0dedc;
}

.story-item:last-child,
.question-item:last-child,
.value-item:last-child,
.goal-item:last-child {
  border-bottom: 0;
}

.item-num {
  font-family: var(--work);
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.35);
}

.story-item h3,
.question-item h3,
.value-item h3,
.goal-item h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
}

.story-item p,
.question-item p,
.value-item p,
.goal-item p {
  margin: 0;
  line-height: 1.9;
}

.chapter-label {
  margin: 0 0 6px;
  font-family: var(--work);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.history-list {
  display: grid;
  gap: 0;
}

.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #dddcdb;
}

.history-item time {
  font-family: var(--work);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.history-item h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.history-item p {
  margin: 0;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.split-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.level-meter {
  background: var(--white);
  padding: 36px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--work);
  font-weight: 600;
}

.meter-track {
  position: relative;
  height: 8px;
  background: #dddcdb;
  margin-bottom: 12px;
}

.meter-fill {
  display: block;
  width: 55%;
  height: 100%;
  background: var(--ink);
}

.meter-marker {
  position: absolute;
  top: -5px;
  left: 55%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

.meter-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--work);
  font-size: 1.2rem;
  color: var(--muted);
}

.service-detail-list {
  display: grid;
  gap: 24px;
}

.service-detail {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 40px;
  background: var(--white);
}

.service-detail .service-number {
  font-family: var(--work);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.28);
}

.service-detail h3 {
  margin: 0 0 8px;
  font-size: 2.2rem;
}

.service-detail p {
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.referral-box {
  margin-top: 60px;
  padding: 40px;
  background: var(--white);
}

.referral-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-weight: 600;
}

.referral-toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.referral-details {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e0dedc;
}

.referral-steps {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.referral-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}

.referral-step-icon {
  display: grid;
  place-items: center;
  height: 72px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--work);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.reward {
  margin: 4px 0 8px !important;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Press ---------- */
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.press-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 28px 32px 32px;
}

.press-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0dedc;
}

.press-label {
  font-family: var(--work);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-button:hover {
  background: var(--ink);
  color: var(--white);
}

.copy-button.is-copied {
  background: var(--ink);
  color: var(--white);
}

.copy-button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.press-text {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
  white-space: pre-line;
  color: var(--text);
}

.notation-box {
  background: var(--white);
  padding: 32px 36px;
}

.notation-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.notation-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e0dedc;
}

.notation-row dt {
  font-weight: 600;
  color: var(--ink);
}

.notation-row dd {
  margin: 0;
}

.notation-note {
  margin: 20px 0 0;
  font-size: 1.3rem;
  color: var(--muted);
}

.press-links {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.press-links a {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid #dddcdb;
}

.press-links a:hover {
  background: var(--bg-soft);
}

.press-link-label {
  font-weight: 700;
  color: var(--ink);
}

.press-link-value {
  font-size: 1.4rem;
  color: var(--muted);
}

.press-links svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contact-links {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 40px auto 0;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid #dddcdb;
  font-weight: 600;
}

.contact-links a:hover {
  background: var(--bg-soft);
}

.contact-links svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .news-card {
    flex-basis: 55%;
  }

  .service-card {
    min-height: 360px;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 14px 25px;
  }

  .desktop-nav,
  .sns-rail {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
  }

  .mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav {
    width: 82.5%;
    margin: 120px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-nav a {
    padding: 18px 0;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
  }

  .mobile-sns {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
  }

  .mobile-sns svg {
    width: 24px;
    height: 24px;
    fill: var(--ink);
  }

  .hero-media {
    width: 100%;
  }

  .hero-media::after {
    background: linear-gradient(180deg, transparent 24%, rgba(23, 27, 27, 0.08) 45%, rgba(23, 27, 27, 0.88) 100%);
  }

  .hero-copy {
    left: 7vw;
    right: 7vw;
    bottom: 12vh;
    width: auto;
    color: var(--white);
  }

  .hero-kicker {
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-en,
  .hero-title {
    color: var(--white);
  }

  .hero-en::before {
    background: var(--white);
  }

  .hero-description {
    max-width: 42rem;
    font-size: 1.4rem;
  }

  .hero-text-link {
    border-color: var(--white);
  }

  .hero-tags {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-scroll {
    left: auto;
    right: 24px;
    bottom: 8vh;
  }

  .profile-layout {
    display: block;
    padding-top: 0;
  }

  .profile-media {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 0;
  }

  .profile-watermark {
    top: auto;
    bottom: 8%;
    left: 5%;
    right: auto;
    font-size: 14vw;
  }

  .profile-text {
    width: 100%;
    padding: 40px 0 0;
  }

  .news-layout {
    flex-direction: column;
    gap: 0;
  }

  .news-side {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .news-side .h2-style {
    margin-bottom: 0;
  }

  .news-side .btn {
    display: none;
  }

  .news-track {
    width: 95vw;
    margin: 0 0 50px calc(50% - 47.5vw);
    padding: 36px 0 36px 28px;
  }

  .news-card {
    flex-basis: 78%;
  }

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

  .service-card {
    min-height: 240px;
  }

  .footer-top {
    flex-direction: column-reverse;
  }

  .split-panel,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  .service-detail .service-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.4rem;
  }

  .site-header {
    padding: 12px 20px;
  }

  .brand-ja {
    font-size: 1.6rem;
  }

  .menu-button {
    width: 40px;
    top: 0;
  }

  .h2-style span {
    font-size: 2.8rem;
  }

  .btn {
    min-width: 180px;
    font-size: 1.4rem;
    padding: 16px 20px;
  }

  .hero {
    height: 100svh;
    min-height: 640px;
  }

  .hero-copy {
    bottom: 10vh;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .hero-en {
    font-size: 1.6rem;
    padding-left: 3.2rem;
  }

  .hero-en::before {
    width: 2.2rem;
  }

  .hero-title {
    font-size: clamp(4.6rem, 14vw, 7rem);
  }

  .hero-title small {
    font-size: clamp(2.3rem, 7.5vw, 3.8rem);
  }

  .hero-description {
    margin: 20px 0 22px;
    font-size: 1.3rem;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 12px 18px;
  }

  .hero-actions .btn {
    min-width: 160px;
    padding: 14px 18px;
  }

  .hero-text-link {
    font-size: 1.3rem;
  }

  .hero-tags {
    gap: 7px 12px;
    margin-top: 24px;
    padding-top: 12px;
    font-size: 0.95rem;
  }

  .about-block {
    padding: 30px 0 70px;
  }

  .about-block h2 {
    margin-bottom: 32px;
  }

  .about-block p {
    font-size: 1.4rem;
    line-height: 1.9;
  }

  .profile-block {
    padding: 80px 0 60px;
  }

  .profile-text h3 {
    font-size: 2.2rem;
  }

  .gallery-block {
    height: 70vw;
  }

  .gallery-item:nth-child(1) {
    width: 55vw;
    height: 36vw;
    top: 8vw;
    left: -8vw;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    display: none;
  }

  .gallery-item:nth-child(3) {
    width: 58vw;
    height: 34vw;
    top: 32vw;
    left: 38vw;
  }

  .news-card {
    flex-basis: 88%;
    padding: 0 16px;
  }

  .news-card p {
    font-size: 1.4rem;
  }

  .news-nav button {
    width: 47px;
    height: 47px;
  }

  .service-block {
    margin-top: 80px;
    padding: 60px 0 70px;
  }

  .service-body {
    padding: 0 18px;
    bottom: 16px;
  }

  .service-body h3 {
    font-size: 1.6rem;
  }

  .service-body p {
    display: none;
  }

  .contact-cta {
    padding: 70px 0 50px;
  }

  .contact-cta h2 {
    font-size: 1.8rem;
  }

  .page-hero {
    padding: 130px 0 50px;
  }

  .story-item,
  .question-item,
  .value-item,
  .goal-item,
  .service-detail,
  .referral-box {
    padding: 28px 20px;
    grid-template-columns: 56px 1fr;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .press-card {
    padding: 22px 20px 26px;
  }

  .notation-box {
    padding: 24px 20px;
  }

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

  .press-links a {
    grid-template-columns: 1fr auto;
  }

  .press-link-value {
    display: none;
  }

  .footer-copy-inner {
    flex-direction: column;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
