:root {
  --ink: #1f1f1f;
  --muted: #626262;
  --paper: #ffffff;
  --soft: #f7f6f2;
  --line: #dedbd1;
  --green: #197408;
  --brown: #836b34;
  --blue: #0068a0;
  --charcoal: #151515;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 58px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 250px;
  font-weight: 700;
}

.brand-mark {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  padding: 23px 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.line-dot {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #52bd42;
  font-size: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-shell {
  position: relative;
  background: var(--charcoal);
  min-height: calc(100vh - 70px);
  padding: 0 58px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  background: #d8dde0;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.9) contrast(0.96);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.18));
}

.hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 102px minmax(260px, 440px);
  min-height: 430px;
  align-items: end;
}

.vertical-card {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 24px;
  background: rgba(255, 255, 255, 0.94);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 28px;
  line-height: 1.6;
  font-weight: 800;
}

.hero-message {
  position: relative;
  padding: 0 0 64px 46px;
  color: #fff;
}

.hero-message::before {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 34px;
  width: 210px;
  height: 330px;
  border: 16px solid rgba(255, 255, 255, 0.58);
  border-radius: 55% 48% 50% 44%;
  transform: rotate(-19deg);
}

.hero-message > * {
  position: relative;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brown);
  font-family: "Poppins", "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero-lead {
  max-width: 520px;
  margin: 22px 0 28px;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.side-label {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 54px;
  height: 196px;
  display: grid;
  place-items: center;
  background: var(--brown);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  writing-mode: vertical-rl;
}

.social-rail {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 126px;
  width: 58px;
  display: grid;
  gap: 24px;
  justify-items: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  writing-mode: vertical-rl;
}

.section {
  padding: 96px 32px;
}

.section.soft {
  background: var(--soft);
}

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

.section-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 46px;
}

.section-title {
  margin: 0;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 36px;
  line-height: 1.18;
}

.section-title span {
  display: block;
  margin-top: 8px;
  font-family: "Yu Gothic", YuGothic, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
}

.section-copy {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 2;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 140px 180px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 15px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 12px;
  border: 1px solid var(--line);
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.card-body {
  padding: 28px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
}

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

.visual-panel {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(131, 107, 52, 0.2), rgba(25, 116, 8, 0.08)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px 42px),
    #efeee8;
  display: flex;
  align-items: end;
}

.visual-panel .plan-box {
  width: 70%;
  min-height: 110px;
  border: 2px solid rgba(31, 31, 31, 0.62);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 42px -34px 0 rgba(131, 107, 52, 0.22);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.photo-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 4px;
  background: #d8d8d8;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 26px 26px auto;
  width: 126px;
  height: 126px;
  border: 12px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.large-copy {
  margin: 0 0 22px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 34px;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 17px 20px;
  border-left: 4px solid var(--brown);
  background: #fff;
  font-weight: 700;
}

.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-step {
  counter-increment: flow;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 24px;
  color: var(--brown);
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.flow-step h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.voice-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.voice {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.stars {
  color: var(--brown);
  font-size: 18px;
  font-weight: 700;
}

.contact-band {
  padding: 74px 32px;
  color: #fff;
  background: linear-gradient(90deg, rgba(31, 31, 31, 0.94), rgba(31, 31, 31, 0.82)), var(--charcoal);
}

.contact-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
}

.contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-hero {
  padding: 92px 32px 82px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: end;
}

.page-hero h1 {
  margin: 0;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 48px;
  line-height: 1.12;
}

.page-hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--brown);
  font-family: "Yu Gothic", YuGothic, sans-serif;
  font-size: 17px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.table th,
.table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 190px;
  color: var(--brown);
}

.site-footer {
  padding: 48px 32px 34px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.copyright {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 22px;
  }

  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-shell {
    padding: 0;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 30px;
  }

  .brand-sub,
  .header-cta {
    display: none;
  }

  .nav {
    inset: 64px 0 auto 0;
  }

  .hero-shell,
  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero img {
    object-position: center;
  }

  .hero-copy {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 420px;
    right: 0;
  }

  .vertical-card {
    height: 420px;
    padding: 22px 16px;
    font-size: 22px;
  }

  .hero-message {
    padding: 0 20px 42px 24px;
  }

  .hero-message::before {
    width: 150px;
    height: 230px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .side-label,
  .social-rail {
    display: none;
  }

  .section {
    padding: 70px 20px;
  }

  .section-head,
  .split,
  .page-hero .container,
  .contact-band .container,
  .footer-inner,
  .voice-box {
    grid-template-columns: 1fr;
  }

  .section-title,
  .contact-band h2 {
    font-size: 30px;
  }

  .page-hero {
    padding: 70px 20px 58px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .grid-3,
  .flow {
    grid-template-columns: 1fr;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .photo-frame,
  .photo-frame img {
    min-height: 320px;
  }

  .large-copy {
    font-size: 28px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

  .table tr {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .table th,
  .table td {
    border-bottom: 0;
  }
}
