:root {
  --ink: #102018;
  --green: #113f2e;
  --green-2: #1f6a4a;
  --light: #f5f2e8;
  --paper: #fffaf0;
  --yellow: #f5c84b;
  --line: rgba(16, 32, 24, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 200, 75, 0.34), transparent 24rem),
    linear-gradient(135deg, #fffaf0 0%, #edf4ee 48%, #dceee3 100%);
  font-family: "Noto Sans JP", "BIZ UDPGothic", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 112px;
  height: auto;
  padding: 7px 9px;
  background: white;
  border: 1px solid rgba(16, 32, 24, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a[aria-current="page"] {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  align-items: stretch;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(48px, 9vw, 108px) clamp(18px, 4vw, 72px) 32px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8vw 12% 55%;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--green), var(--green) 36px, transparent 36px, transparent 64px);
  transform: rotate(-7deg);
  opacity: 0.32;
}

.kicker {
  margin: 0 0 14px;
  color: var(--green-2);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 11em;
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: auto-phrase;
  text-wrap: balance;
}

.lead {
  max-width: 42rem;
  margin: 24px 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-art {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: center;
}

.hero-art img {
  width: min(100%, 540px);
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: #f5f7f3;
  border: 10px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 60px rgba(16, 32, 24, 0.2);
  animation: lift 7s ease-in-out infinite;
}

.band {
  margin: 16px 0 0;
  padding: 10px 0;
  overflow: hidden;
  background: var(--green);
  color: white;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  white-space: nowrap;
}

.band span {
  display: inline-block;
  padding-left: 100%;
  animation: run 28s linear infinite;
}

.section {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 72px);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: auto-phrase;
  text-wrap: balance;
}

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

.card,
.panel {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 12px 36px rgba(16, 32, 24, 0.08);
}

.card strong {
  display: block;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 1.24rem;
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.split img,
.wide-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 32, 24, 0.16);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.fact {
  padding: 16px;
  background: var(--green);
  color: white;
  border-radius: 8px;
}

.fact b {
  display: block;
  color: var(--yellow);
  font-family: "M PLUS 1p", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 5px solid var(--yellow);
}

.company-hero h1 {
  max-width: 14em;
  font-size: clamp(2.35rem, 5.6vw, 5.2rem);
}

.intro-section {
  padding-top: clamp(36px, 6vw, 64px);
}

.narrative {
  max-width: 920px;
}

.narrative p {
  margin: 0;
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  font-weight: 700;
  line-height: 2.05;
}

.narrative p + p {
  margin-top: 24px;
}

.narrative .statement {
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.65;
}

.business-services {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line);
}

.business-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(16, 32, 24, 0.1);
}

.service-entry > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: contain;
  background: #f5f7f3;
  border-right: 1px solid var(--line);
}

.service-copy {
  align-self: center;
  padding: clamp(24px, 5vw, 52px);
}

.service-name {
  margin: 0 0 8px;
  color: var(--green-2);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
}

.service-copy h3 {
  margin: 0;
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.25;
}

.service-copy p:not(.service-name) {
  margin: 18px 0 0;
  font-weight: 500;
  line-height: 1.95;
}

.service-copy .button {
  margin-top: 24px;
}

.company-values {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-panel {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(16, 32, 24, 0.08);
}

.value-panel h2 {
  margin-bottom: 22px;
}

.value-panel > p:last-child {
  margin-bottom: 0;
}

.value-title {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.6;
}

.action-plan-intro {
  margin: 0 0 28px;
  font-weight: 700;
  line-height: 1.95;
}

.table-wrap {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(16, 32, 24, 0.08);
}

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

.action-plan-table th,
.action-plan-table td {
  padding: clamp(18px, 3vw, 30px);
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

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

.action-plan-table th {
  width: 180px;
  color: white;
  background: var(--green);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
}

.action-plan-table td {
  line-height: 1.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-links > a:not(.button) {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.contact-hero {
  min-height: 54vh;
}

.contact-section {
  padding-top: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.contact-primary {
  padding: clamp(24px, 5vw, 52px);
  color: white;
  background: var(--green);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(16, 32, 24, 0.18);
}

.contact-primary h2,
.contact-guide h2 {
  margin: 0 0 16px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.contact-guide h3 {
  margin: 30px 0 12px;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 1.2rem;
}

.contact-label {
  margin: 0 0 6px;
  color: var(--yellow);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-mail {
  display: inline-block;
  max-width: 100%;
  color: white;
  font-family: "M PLUS 1p", sans-serif;
  font-size: clamp(1.12rem, 3vw, 1.8rem);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.contact-mail-dark {
  color: var(--green);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.contact-guide .contact-label {
  color: var(--green-2);
}

.contact-form {
  margin-top: 26px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  font-weight: 700;
}

.contact-form label b {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 7px;
  color: var(--green);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 1.4;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  border: 2px solid transparent;
  border-radius: 7px;
  font: inherit;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  outline: 3px solid rgba(245, 200, 75, 0.32);
}

.contact-form-wide {
  grid-column: 1 / -1;
}

.contact-submit {
  margin-top: 22px;
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  cursor: pointer;
  font: inherit;
}

.mail-status {
  min-height: 1.75em;
  margin: 12px 0 0;
  color: var(--yellow);
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-actions .button.primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.copy-button {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font: inherit;
}

.copy-status {
  min-height: 1.75em;
  margin: 12px 0 0;
  color: var(--yellow);
  font-weight: 700;
}

.contact-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.contact-guide {
  height: 100%;
}

.contact-guide .list {
  margin: 0;
}

.contact-topics {
  padding-top: 22px;
}

.footer {
  padding: 36px clamp(18px, 4vw, 72px);
  background: #102018;
  color: white;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

@keyframes lift {
  0%,
  100% {
    transform: translateY(0) rotate(0.4deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.4deg);
  }
}

@keyframes run {
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 820px) {
  .site-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .grid,
  .facts,
  .contact-layout,
  .contact-form-grid,
  .service-entry,
  .values-stack {
    grid-template-columns: 1fr;
  }

  .contact-form-wide {
    grid-column: auto;
  }

  .hero-art img { min-height: 0; }

  .service-entry > img {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .action-plan-table,
  .action-plan-table tbody,
  .action-plan-table tr,
  .action-plan-table th,
  .action-plan-table td {
    display: block;
    width: 100%;
  }

  .action-plan-table th {
    border-bottom: 0;
  }
}
