:root {
  --ink: #172019;
  --muted: #5f6861;
  --paper: #f4f1e9;
  --paper-deep: #eae5d9;
  --green: #1f6649;
  --green-dark: #184c38;
  --orange: #e56f27;
  --line: rgba(23, 32, 25, 0.16);
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  caret-color: transparent;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(229, 111, 39, 0.13), transparent 29rem),
    radial-gradient(circle at 5% 90%, rgba(31, 102, 73, 0.12), transparent 31rem),
    var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1440px, calc(100% - 32px));
  height: calc(100vh - 32px);
  min-height: 720px;
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.57);
  box-shadow: 0 20px 70px rgba(23, 32, 25, 0.08);
}

main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 100px;
  padding: 18px clamp(24px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: auto;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: "Zen Old Mincho", serif;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
}

.brand small,
.info-label {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-status {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 20px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.status-copy {
  display: grid;
  align-content: center;
  min-width: 250px;
  max-width: 300px;
  min-height: 52px;
}

.header-status strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.contact-button.header-contact {
  justify-content: center;
  width: auto;
  min-width: 224px;
  min-height: 52px;
  margin-top: 0;
  padding: 0 22px;
  font-size: 0.94rem;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: clamp(34px, 5vh, 64px) clamp(24px, 8vw, 118px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  container-type: inline-size;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 27px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 46px;
  height: 1px;
  background: var(--green);
}

h1 {
  margin: 0;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: clamp(1.75rem, 8.8vw, 3.55rem);
  line-height: 1.34;
  letter-spacing: -0.04em;
}

.heading-line {
  display: block;
}

.heading-line {
  width: max-content;
  max-width: 100%;
  color: var(--green-dark);
  white-space: nowrap;
}

.heading-highlight {
  background: linear-gradient(transparent 78%, rgba(229, 111, 39, 0.22) 78%);
}

.lead {
  max-width: none;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(0.48rem, 2.45cqi, 1.04rem);
  line-height: 2;
  white-space: nowrap;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 330px);
  min-height: 64px;
  margin-top: 27px;
  padding: 0 18px 0 25px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.contact-button:focus-visible {
  outline: 3px solid rgba(229, 111, 39, 0.46);
  outline-offset: 3px;
}

.hero-mark {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: stretch;
  align-content: center;
  min-height: 430px;
}

.mark-ring {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(29vw, 390px);
  aspect-ratio: 1;
  place-items: center;
}

.mark-ring img {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 18px 22px rgba(23, 32, 25, 0.08));
}

.company-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr 0.7fr 1fr;
  border-top: 1px solid var(--line);
  background: rgba(234, 229, 217, 0.58);
}

.company-strip > div {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 16px clamp(20px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.company-strip > div:last-child {
  border-right: 0;
}

.company-strip strong {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.company-strip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px clamp(24px, 5vw, 78px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .header-status {
    padding-left: 16px;
  }

  .status-copy {
    min-width: 0;
    max-width: 220px;
  }

  .contact-button.header-contact {
    min-width: 205px;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-mark {
    position: absolute;
    top: 165px;
    right: -85px;
    z-index: 0;
    min-height: 0;
    opacity: 0.12;
  }

  .mark-ring {
    width: 440px;
  }

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

  .company-strip > div:nth-child(2) {
    border-right: 0;
  }

  .company-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  body {
    background: var(--paper);
  }

  .page-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    border: 0;
  }

  main {
    display: grid;
    grid-template-rows: minmax(320px, 1fr) auto;
    min-height: 0;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 82px;
    padding: 14px 18px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 40px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .header-status {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: center;
    width: 100%;
    gap: 14px;
    margin-top: 13px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .header-status strong {
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .status-copy {
    display: grid;
    width: 100%;
    max-width: none;
    min-height: 42px;
  }

  .contact-button.header-contact {
    width: 126px;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 320px;
    align-content: center;
    padding: 44px 20px 48px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.65rem;
  }

  .eyebrow span {
    width: 38px;
  }

  h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.5rem);
    line-height: 1.48;
  }

  .lead {
    margin-top: 20px;
    font-size: clamp(0.42rem, 2.25cqi, 0.72rem);
    line-height: 1.8;
  }

  .hero .hero-mark {
    display: grid;
    top: 86px;
    right: -52px;
    opacity: 0.08;
  }

  .mark-ring {
    width: 220px;
  }

  .company-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-strip > div {
    min-height: 88px;
    padding: 15px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .company-strip > div:nth-child(even) {
    border-right: 0;
  }

  .company-strip > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .company-strip strong {
    margin-top: 6px;
    font-size: 0.76rem;
  }

  .company-strip small {
    font-size: 0.64rem;
  }

  .company-strip > div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-size: 0.64rem;
  }

  .site-footer p:last-child {
    text-align: right;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    animation: rise-in 620ms ease forwards;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 180ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 270ms;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 360ms;
  }

  .hero-mark {
    opacity: 0;
    animation: mark-in 800ms 200ms ease forwards;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) and (prefers-reduced-motion: no-preference) {
  .hero-mark {
    opacity: 0.12;
    animation: none;
  }
}
