:root {
  --bg: #f5f3ef;
  --surface: #fbfaf8;
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #ff7a00;
  --accent-soft: rgba(255, 122, 0, 0.14);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1120px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(196, 107, 47, 0.12), transparent 34%),
    linear-gradient(180deg, #faf8f5 0%, var(--bg) 100%);
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-surface {
  background: rgba(255, 255, 255, 0.5);
}

.site-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(245, 243, 239, 0.72);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.brand-mark,
.eyebrow,
.section-label,
.service-en {
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
}

.brand-logo {
  display: block;
  width: clamp(132px, 14vw, 172px);
  height: auto;
}

.brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
  opacity: 0;
  transform: translateY(4px);
}

.brand-signature.is-animated {
  animation: signatureFade 0.8s ease forwards;
}

.brand-signature-line {
  width: min(18vw, 220px);
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.55), rgba(17, 17, 17, 0.14));
  transform: scaleX(0);
  transform-origin: left;
}

.brand-signature.is-animated .brand-signature-line {
  animation: signatureLine 1s ease 0.15s forwards;
}

.brand-signature-text {
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(17, 17, 17, 0.54);
  white-space: nowrap;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  padding-top: 72px;
}

.ticker-band {
  position: relative;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(255, 122, 0, 0.08), rgba(255, 255, 255, 0.52));
}

.ticker-band::before,
.ticker-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}

.ticker-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(245, 243, 239, 0));
}

.ticker-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(245, 243, 239, 0));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerFlow 26s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(17, 17, 17, 0.62);
  white-space: nowrap;
}

.ticker-group span::after {
  content: "•";
  color: rgba(255, 122, 0, 0.72);
}

.hero-grid,
.intro-grid,
.company-grid,
.contact-panel,
.footer-inner {
  display: grid;
  gap: 40px;
}

.hero-grid,
.company-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::after,
.section-label::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.55), rgba(17, 17, 17, 0.1));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.9s ease;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Bahnschrift", "Aptos", "Segoe UI", "Hiragino Sans", sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-lead {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--text);
}

.hero-text {
  margin-top: 20px;
  max-width: 56ch;
}

.hero-actions,
.contact-actions,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e86f00;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
}

.hero-photo-stack {
  position: relative;
  min-height: 640px;
}

.photo-card,
.gallery-card,
.company-table-wrap,
.contact-panel {
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: var(--shadow);
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(196, 107, 47, 0.15));
}

.photo-card-lg {
  inset: 0 48px 88px 0;
}

.photo-card-sm {
  display: none;
}

.metric-card {
  position: absolute;
  left: 24px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.82);
  color: #ffffff;
  max-width: 260px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.metric-card strong {
  font-size: 1rem;
  line-height: 1.5;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro-grid p + p {
  margin-top: 18px;
}

.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(196, 107, 47, 0.12));
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.gallery-card img,
.photo-card img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-card-social img {
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(244, 236, 227, 0.9) 72%),
    linear-gradient(180deg, #f8f3ec 0%, #efe3d6 100%);
  padding: 4px;
}

.gallery-card.wide {
  min-height: 460px;
}

.gallery-card:not(.wide) {
  min-height: 460px;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(17, 17, 17, 0.12);
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p:last-child {
  margin-top: 18px;
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.95), rgba(255, 122, 0, 0.18));
  transform: scaleY(0.18);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 122, 0, 0.08), transparent 34%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.32);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-index {
  position: relative;
  z-index: 1;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.service-en {
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  transition: transform 0.35s ease, color 0.35s ease;
}

.service-content p:last-child {
  margin-top: 12px;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-content h3,
.service-content p:last-child {
  transition: transform 0.35s ease, color 0.35s ease;
}

.service-card:hover .service-index {
  transform: translateX(8px);
  letter-spacing: 0.08em;
}

.service-card:hover .service-en,
.service-card:hover .service-content h3,
.service-card:hover .service-content p:last-child {
  transform: translateX(8px);
}

.service-card:hover .service-en {
  color: rgba(255, 122, 0, 0.86);
}

.company-table-wrap {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 24px;
}

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

.company-table th,
.company-table td {
  padding: 18px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  width: 34%;
  color: var(--text);
  font-weight: 700;
}

.company-table a {
  color: var(--accent);
  font-weight: 700;
}

.contact-panel {
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(196, 107, 47, 0.12));
}

.contact-phone {
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-footer {
  padding: 0 0 40px;
}

.footer-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 28px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.footer-brand {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
}

.footer-bottom {
  padding-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal].is-visible .eyebrow::after,
[data-reveal].is-visible .section-label::after {
  transform: scaleX(1);
}

@keyframes signatureFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signatureLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }

  .hero-grid,
  .intro-grid,
  .company-grid,
  .contact-panel,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-photo-stack {
    min-height: 520px;
  }

  .photo-card-lg {
    inset: 0 32px 72px 0;
  }

  .photo-card-sm {
    display: none;
  }

  .contact-panel {
    padding: 36px;
  }

  .ticker-band::before,
  .ticker-band::after {
    width: 64px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    position: relative;
    min-height: 74px;
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand-signature {
    display: inline-flex;
    position: absolute;
    left: 0;
    bottom: 6px;
    gap: 10px;
    max-width: 220px;
    opacity: 1;
    transform: none;
    pointer-events: none;
  }

  .brand-signature-line {
    width: 56px;
    transform: scaleX(1);
  }

  .brand-signature-text {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .hero {
    padding-top: 32px;
  }

  .ticker-band {
    padding: 14px 0;
  }

  .ticker-group span {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .hero-photo-stack {
    min-height: 420px;
  }

  .photo-card-lg {
    inset: 0 20px 76px 0;
  }

  .photo-card-sm {
    display: none;
  }

  .metric-card {
    left: 12px;
    right: 12px;
    bottom: 14px;
    max-width: none;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .service-card:hover .service-index,
  .service-card:hover .service-en,
  .service-card:hover .service-content h3,
  .service-card:hover .service-content p:last-child {
    transform: translateX(0);
  }

  .company-table-wrap,
  .contact-panel {
    padding: 24px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .company-table th {
    padding-bottom: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .brand-signature {
    opacity: 1;
    transform: none;
  }

  .brand-signature-line {
    transform: scaleX(1);
  }

  .ticker-track {
    animation: none;
  }
}
