/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-ink);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(31, 27, 21, 0.88) 0%, rgba(31, 27, 21, 0.6) 40%, rgba(31, 27, 21, 0.2) 75%, rgba(31, 27, 21, 0.45) 100%),
    radial-gradient(circle at 30% 70%, rgba(232, 163, 23, 0.12) 0%, transparent 50%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-wide);
  width: 100%;
  margin: 0 auto;
  padding: 120px 40px 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
  color: #fff;
}

.hero__copy { max-width: 720px; }

.hero__sub {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--c-yellow-light);
  margin-bottom: 32px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-left: 60px;
  position: relative;
}

.hero__sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 1px;
  background: var(--c-yellow-light);
}

.hero__sub span {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.hero__title {
  font-family: var(--ff-mincho);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.4;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 36px;
  color: #fff;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLine 1.2s var(--ease-out) forwards;
}

.hero__line:nth-child(1) span { animation-delay: 0.4s; }
.hero__line:nth-child(2) span { animation-delay: 0.7s; }

@keyframes heroLine {
  to { transform: translateY(0); }
}

.hero__lead {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 44px;
  max-width: 480px;
  font-family: var(--ff-mincho);
  letter-spacing: 0.1em;
}

.sp-only { display: none; }

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 1s 1.1s var(--ease) forwards;
}

@keyframes heroFadeIn { to { opacity: 1; } }

.hero__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__cta .btn--ghost:hover {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 28px;
  background: rgba(31, 27, 21, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  opacity: 0;
  animation: heroFadeIn 1s 1.3s var(--ease) forwards;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--c-yellow);
}

.hero__meta-label {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--c-yellow-light);
  font-weight: 600;
}

.hero__meta-value {
  font-family: var(--ff-mincho);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #fff;
}

.hero__indicator {
  position: absolute;
  bottom: 50px;
  left: 40px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero__indicator span {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.6s var(--ease);
}

.hero__indicator span.is-active { background: var(--c-yellow); }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 4;
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 56px;
  background: var(--c-yellow);
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============== Concept ============== */
.concept { overflow: hidden; }

.concept__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.concept__head { position: relative; }

.concept__en {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--c-yellow-deep);
  margin-bottom: 24px;
  font-weight: 600;
}

.concept__title {
  font-family: var(--ff-mincho);
  font-size: 38px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--c-ink);
}

.concept__title span { display: block; }

.concept__seal {
  margin-top: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--c-yellow);
  color: var(--c-yellow-deep);
  font-family: var(--ff-mincho);
  text-align: center;
  position: relative;
  background: var(--c-paper);
}

.concept__seal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--c-yellow);
}

.concept__seal span {
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
}

.concept__seal strong {
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: 600;
  line-height: 1.5;
}

.concept__lead {
  font-family: var(--ff-mincho);
  font-size: 17px;
  line-height: 2.2;
  margin-bottom: 28px;
  color: var(--c-ink);
  letter-spacing: 0.08em;
}

.concept__body p {
  margin-bottom: 24px;
  line-height: 2.1;
  color: var(--c-text-mid);
}

.concept__body .link-arrow { margin-top: 12px; }

.concept__bg-text {
  position: absolute;
  bottom: -24px;
  right: -32px;
  font-family: var(--ff-en);
  font-size: 22vw;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232, 163, 23, 0.06);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ============== Strengths ============== */
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strength {
  background: var(--c-paper);
  padding: 44px 28px 36px;
  border-radius: 4px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--c-line-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
}

.strength:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-yellow);
}

.strength__num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.strength__num .kanji-num {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.strength__num em {
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--c-text-sub);
  font-style: normal;
  font-weight: 600;
}

.strength__title {
  font-family: var(--ff-mincho);
  font-size: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
  padding-bottom: 16px;
}

.strength__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--c-yellow);
}

.strength p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--c-text-mid);
}

/* ============== Services ============== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: stretch;
}

.service { position: relative; display: flex; }

.service__link {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--c-paper);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  width: 100%;
}

.service__link:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-yellow);
}

.service__media {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
  height: 100%;
  min-height: 280px;
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service__link:hover .service__media img { transform: scale(1.06); }

.service__num {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(31, 27, 21, 0.85);
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.service__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__en {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--c-yellow-deep);
  font-weight: 700;
  margin-bottom: 12px;
}

.service__title {
  font-family: var(--ff-mincho);
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--c-ink);
}

.service__desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--c-text-mid);
  margin-bottom: 24px;
}

.service__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--c-ink);
  font-weight: 700;
  align-self: flex-start;
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service__more::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.service__link:hover .service__more {
  color: var(--c-yellow-deep);
  border-color: var(--c-yellow-deep);
}

.service__link:hover .service__more::after { transform: translateX(4px); }

.services__more {
  text-align: center;
}

/* ============== Works ============== */
.works__lead {
  text-align: center;
  margin-bottom: 56px;
  color: var(--c-text-mid);
  line-height: 2;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.works__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  grid-column: span 2;
  grid-row: span 1;
  background: var(--c-bg-deep);
}

.works__item--lg {
  grid-column: span 3;
  grid-row: span 2;
}

.works__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.works__item:hover img { transform: scale(1.06); }

.works__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 16px;
  background: linear-gradient(to top, rgba(31, 27, 21, 0.85), transparent);
  color: #fff;
  font-family: var(--ff-mincho);
  font-size: 14px;
  letter-spacing: 0.14em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.works__item figcaption span {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--c-yellow-light);
  font-weight: 700;
}

/* ============== Message ============== */
.message__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.message__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

.message__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.message__media-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--c-paper);
  padding: 16px 22px;
  border-radius: 4px;
  font-family: var(--ff-mincho);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.message__media-tag span {
  display: block;
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--c-yellow-deep);
  font-weight: 700;
  margin-bottom: 4px;
}

.message__media-tag em {
  font-family: var(--ff-en);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--c-ink);
  font-weight: 600;
  font-style: normal;
}

.message__en {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--c-yellow-deep);
  margin-bottom: 16px;
  font-weight: 600;
}

.message__title {
  font-family: var(--ff-mincho);
  font-size: 36px;
  letter-spacing: 0.16em;
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
  padding-bottom: 24px;
}

.message__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--c-yellow);
}

.message__lead {
  font-family: var(--ff-mincho);
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  font-weight: 500;
  color: var(--c-ink);
}

.message__body p {
  line-height: 2.1;
  margin-bottom: 24px;
  color: var(--c-text-mid);
}

.message__sign {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 32px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-family: var(--ff-mincho);
}

.message__sign span {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-text-sub);
}

.message__sign strong {
  font-size: 22px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--c-ink);
}

/* ============== Flow ============== */
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow__item {
  position: relative;
  background: var(--c-paper);
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--c-line);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.flow__item:last-child { border-right: none; }

.flow__item:hover {
  background: var(--c-yellow-pale);
  transform: translateY(-4px);
}

.flow__item::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  background: var(--c-yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}

.flow__item:last-child::before { display: none; }

.flow__step {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--c-yellow-deep);
  font-weight: 700;
  padding: 6px 14px;
  background: var(--c-yellow-pale);
  border-radius: 999px;
  margin-bottom: 24px;
}

.flow__item h3 {
  font-family: var(--ff-mincho);
  font-size: 18px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.flow__item p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--c-text-mid);
}

/* ============== Area ============== */
.area__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.area__en {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--c-yellow-deep);
  margin-bottom: 14px;
  font-weight: 600;
}

.area__title {
  font-family: var(--ff-mincho);
  font-size: 36px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
  padding-bottom: 20px;
}

.area__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--c-yellow);
}

.area__lead {
  color: var(--c-text-mid);
  margin-bottom: 36px;
  line-height: 2.1;
}

.area__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--c-paper);
  border-radius: 4px;
  border-left: 3px solid var(--c-yellow);
}

.area__tag {
  flex-shrink: 0;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-family: var(--ff-mincho);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 6px 12px;
  border-radius: 4px;
  min-width: 56px;
  text-align: center;
}

.area__list strong {
  display: block;
  font-family: var(--ff-mincho);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  margin-bottom: 4px;
  font-weight: 600;
}

.area__list em {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-text-sub);
  letter-spacing: 0.04em;
}

.area__map {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  border: 8px solid var(--c-paper);
}

.area__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.area__map-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(31, 27, 21, 0.9);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--ff-mincho);
  font-size: 12px;
  letter-spacing: 0.12em;
  border-radius: 4px;
}

/* ============== Responsive ============== */
@media (max-width: 1200px) {
  .hero__inner { padding: 100px 32px 80px; gap: 40px; }
  .hero__indicator { left: 32px; }
  .hero__scroll { right: 32px; }
}

@media (max-width: 1024px) {
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .service__link { grid-template-columns: 1fr 1fr; }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2)::before { display: none; }
  .flow__item { border-right: none; border-bottom: 1px solid var(--c-line); }
  .concept__grid { grid-template-columns: 1fr; gap: 48px; }
  .area__inner { grid-template-columns: 1fr; gap: 40px; }
  .message__inner { grid-template-columns: 1fr; gap: 48px; }
  .message__media { aspect-ratio: 16 / 10; max-width: 600px; margin: 0 auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__meta { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .hero__meta-item { flex: 1; min-width: 130px; }
  .works__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .works__item { grid-column: span 2; }
  .works__item--lg { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 820px) {
  .hero { min-height: 90vh; min-height: 90dvh; }
  .hero__inner { padding: 60px 20px 80px; gap: 32px; }
  .services__grid { grid-auto-rows: auto; }
  .hero__sub { font-size: 10px; padding-left: 36px; margin-bottom: 20px; gap: 10px; }
  .hero__sub::before { width: 24px; }
  .hero__sub span { font-size: 9px; }
  .hero__title { font-size: 32px; margin-bottom: 24px; line-height: 1.5; }
  .hero__lead { font-size: 13.5px; margin-bottom: 32px; }
  .sp-only { display: inline; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { padding: 20px 18px; gap: 14px; }
  .hero__meta-label { font-size: 9px; }
  .hero__meta-value { font-size: 13px; }
  .hero__indicator { bottom: 24px; left: 20px; }
  .hero__indicator span { width: 24px; }
  .hero__scroll { display: none; }

  .concept__title { font-size: 24px; }
  .concept__lead { font-size: 15px; }
  .concept__seal { width: 110px; height: 110px; margin-top: 28px; }
  .concept__bg-text { display: none; }

  .strengths__grid { grid-template-columns: 1fr; gap: 16px; }
  .strength { padding: 32px 24px; }
  .strength__num .kanji-num { font-size: 26px; }

  .service__link { grid-template-columns: 1fr; }
  .service__media img { min-height: 200px; }
  .service__body { padding: 28px 24px; }

  .works__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 12px; }
  .works__item, .works__item--lg { grid-column: span 1; grid-row: span 1; }

  .message__title { font-size: 24px; }
  .message__lead { font-size: 17px; }
  .message__sign strong { font-size: 18px; }

  .flow__list { grid-template-columns: 1fr; }
  .flow__item { border-bottom: 1px solid var(--c-line); padding: 28px 20px; }
  .flow__item::before { display: none; }
  .flow__item:last-child { border-bottom: none; }

  .area__title { font-size: 24px; }
  .area__list li { padding: 14px 16px; gap: 14px; }
  .area__tag { font-size: 11px; padding: 4px 10px; min-width: 48px; }
  .area__map { border-width: 6px; }
}
