:root {
  --color-text-green: #162d27;
  --color-primary-green: #2c5b50;
  --color-primary-green-dark: #234a41;
  --color-background: #f4f4f4;
  --color-white: #ffffff;
  --color-line: #162d27;
  --color-line-soft: rgba(22, 45, 39, 0.2);
  --color-line-on-green: rgba(255, 255, 255, 0.35);
  --color-text-on-green: rgba(255, 255, 255, 0.86);
  --color-overlay: rgba(22, 45, 39, 0.45);
  --color-error: #b3261e;
  --color-error-bg: #fbeeed;

  --font-display: "Superclarendon", "Rockwell", "Hiragino Mincho ProN", Georgia, "Times New Roman", serif;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

  --container: 960px;
  --container-wide: 1320px;
  --gutter: 24px;
  --section-space: 88px;
  --key-width: 120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: var(--color-text-green);
  background: var(--color-background);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  word-break: auto-phrase;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  color: var(--color-text-green);
}

.skip-link:focus {
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-space) 0;
}

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

.section--white {
  background: var(--color-white);
}

.section:not(.section--green):not(.section--white) + .section:not(.section--green):not(.section--white) {
  padding-top: 0;
}

/* Display type */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 48px;
}

.section-head__en {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 3px solid currentColor;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-head__ja {
  display: block;
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-head__lead {
  margin-top: 24px;
}

.heading-ja {
  margin-bottom: 20px;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
}

.text-small {
  font-size: 0.8125rem;
  line-height: 2.2;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--color-white);
  background: linear-gradient(var(--color-overlay), transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  line-height: 1.2;
}

.brand__en {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__ja {
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
}

.nav-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--color-line-on-green);
  border-radius: 50%;
  background: var(--color-primary-green);
  color: var(--color-white);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 10px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__bars span:nth-child(1) {
  top: 0;
}

.nav-toggle__bars span:nth-child(2) {
  top: 5px;
}

.nav-toggle__bars span:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.global-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 48px;
  background: var(--color-primary-green);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.global-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.global-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line-on-green);
  color: var(--color-white);
  text-decoration: none;
}

.global-nav__list li:first-child a {
  border-top: 1px solid var(--color-line-on-green);
}

.global-nav__en {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.global-nav__ja {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.global-nav__list a[aria-current="page"] .global-nav__en {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.global-nav__tel {
  margin-top: 32px;
  color: var(--color-white);
  font-size: 0.875rem;
}

.global-nav__tel a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

body.nav-open {
  overflow: hidden;
}

/* Buttons and arrows */

.arrow {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: rotate(30deg);
  transform-origin: right center;
}

.pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  justify-content: flex-start;
  padding: 16px 84px 16px 28px;
  border: 1px solid var(--color-primary-green);
  border-radius: 999px;
  background: var(--color-primary-green);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.pill .arrow {
  position: absolute;
  right: 28px;
  top: 50%;
  width: 40px;
}

.pill:hover {
  background: var(--color-primary-green-dark);
}

.pill:hover .arrow {
  transform: translateX(8px);
}

.pill__ja {
  margin-left: 0.8em;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: none;
}

.pill--white {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-text-green);
}

.pill--white:hover {
  background: transparent;
  color: var(--color-white);
}

.pill--outline {
  background: transparent;
  color: var(--color-primary-green);
}

.pill--outline:hover {
  background: var(--color-primary-green);
  color: var(--color-white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow:hover .arrow {
  transform: translateX(8px);
}

.section-more {
  margin-top: 48px;
}

/* Hero (top page) */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  height: 92vh;
  max-height: 960px;
  overflow: hidden;
  background: var(--color-text-green);
  color: var(--color-white);
}

.band__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 45, 39, 0.95) 0%, rgba(22, 45, 39, 0.85) 45%, rgba(22, 45, 39, 0.2) 80%);
}

@media (min-width: 768px) {
  .hero::after {
    background: linear-gradient(to left, rgba(22, 45, 39, 0.95) 0%, rgba(22, 45, 39, 0.92) 68%, rgba(22, 45, 39, 0.25) 88%);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
  text-align: right;
}

.hero__title {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-shadow: 0 1px 12px rgba(22, 45, 39, 0.6);
}

.hero__display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 13vw, 9.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Page header band (sub-pages) */

.page-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  overflow: hidden;
  background: var(--color-text-green);
  color: var(--color-white);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--color-overlay), transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 56px;
}

.page-header .section-head {
  margin: 0;
}

.page-header .section-head__en {
  font-size: 2.25rem;
}

.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line-soft);
  font-size: 0.75rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6em;
}

/* Intro block on green */

.intro__title {
  margin-bottom: 24px;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
}

.intro p {
  color: var(--color-text-on-green);
}

/* Philosophy section (top) */

.philosophy {
  display: grid;
  gap: 48px;
}

.philosophy p {
  color: var(--color-text-on-green);
}

.philosophy__figure svg {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--color-line-on-green);
}

.stats li {
  padding: 18px 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: 0.02em;
}

/* Full-bleed image band */

.band {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--color-primary-green);
}

.band--tall {
  height: 420px;
  color: var(--color-white);
}

.band__display {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 40px var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Rule lists */

.rule-list {
  border-bottom: 1px solid var(--color-line-soft);
}

.rule-list > li,
.rule-list > div {
  position: relative;
  border-top: 1px solid var(--color-line-soft);
}

.rule-list > li::before,
.rule-list > div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--key-width);
  height: 1px;
  background: var(--color-line);
}

.section--green .rule-list,
.section--green .rule-list > li {
  border-color: var(--color-line-on-green);
}

.section--green .rule-list > li::before {
  background: var(--color-white);
}

.row-link {
  display: grid;
  grid-template-columns: var(--key-width) 1fr;
  align-items: center;
  gap: 4px 16px;
  padding: 18px 0;
  text-decoration: none;
}

.row-link .arrow {
  display: none;
}

.row-link:hover .row-link__title {
  text-decoration: underline;
}

.row-key {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.row-link__title {
  font-size: 0.875rem;
}

/* Reasons */

.reason {
  display: grid;
  grid-template-columns: var(--key-width) 1fr;
  gap: 8px 16px;
  padding: 28px 0;
}

.reason__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.reason__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.reason p {
  grid-column: 1 / -1;
  font-size: 0.875rem;
}

/* Grid of image entries */

.grid {
  display: grid;
  gap: 48px 40px;
}

.entry__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 20px;
}

.entry__title {
  margin-bottom: 12px;
  font-size: 1.0625rem;
}

.entry__text {
  font-size: 0.8125rem;
  line-height: 2.2;
}

.entry .link-arrow {
  margin-top: 16px;
}

a.entry {
  display: block;
  text-decoration: none;
}

a.entry:hover .entry__title {
  text-decoration: underline;
}

a.entry:hover .arrow {
  transform: translateX(8px);
}

.entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry__tags span + span {
  font-family: var(--font-sans);
  font-weight: 400;
}

.entry__meta {
  margin-top: 16px;
  border-top: 1px solid var(--color-line-soft);
  font-size: 0.75rem;
}

.entry__meta div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-line-soft);
}

.entry__meta dt {
  font-weight: 700;
}

.work-card[hidden] {
  display: none;
}

/* Filter */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-line-soft);
}

.filter__button {
  position: relative;
  min-height: 44px;
  padding: 8px 0 12px;
  border: 0;
  background: none;
  color: var(--color-text-green);
  font: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.filter__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--color-text-green);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.filter__button:hover::after {
  transform: scaleX(0.4);
}

.filter__button[aria-pressed="true"] {
  font-weight: 700;
}

.filter__button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

/* Service blocks */

.service-block {
  display: grid;
  gap: 32px;
  align-items: start;
}

.service-block + .service-block {
  margin-top: 88px;
}

.service-block__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-block__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-block__title {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.service-block p {
  font-size: 0.875rem;
}

.square-list {
  margin: 24px 0 28px;
  border-bottom: 1px solid var(--color-line-soft);
  font-size: 0.8125rem;
}

.square-list li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--color-line-soft);
  line-height: 1.8;
}

.square-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  background: var(--color-text-green);
}

.price-note {
  margin-bottom: 24px;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Voices */

.voice {
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.voice__text {
  font-size: 0.875rem;
}

.voice__who {
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.voice__who::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

/* Info table */

.info-table {
  border-bottom: 1px solid var(--color-line-soft);
}

.info-table__row {
  position: relative;
  display: grid;
  grid-template-columns: var(--key-width) 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--color-line-soft);
  font-size: 0.8125rem;
}

.info-table__row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--key-width);
  height: 1px;
  background: var(--color-line);
}

.info-table dt {
  padding-left: 4px;
  font-weight: 700;
}

/* Company page */

.greeting {
  display: grid;
  gap: 40px;
  align-items: start;
}

.greeting__image img {
  width: 100%;
}

.greeting p {
  color: var(--color-text-on-green);
}

.greeting__sign {
  margin-top: 32px;
  text-align: right;
}

.greeting__sign span {
  display: block;
  font-size: 0.75rem;
}

.greeting__sign strong {
  font-size: 1.25rem;
  letter-spacing: 0.3em;
}

.staff__initials {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  background: var(--color-primary-green);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff:nth-child(even) .staff__initials {
  background: var(--color-text-green);
}

.staff__role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.staff__name {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.staff__text {
  font-size: 0.8125rem;
  line-height: 2.1;
}

.access {
  display: grid;
  gap: 40px;
}

.access__map img {
  width: 100%;
}

/* Flow page */

.step {
  display: grid;
  gap: 8px 24px;
  padding: 32px 0;
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin-bottom: 12px;
}

.step__title {
  font-size: 1.125rem;
}

.step__period {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.step p {
  font-size: 0.875rem;
}

.step__point {
  margin-top: 16px;
  padding: 14px 20px;
  border-left: 3px solid var(--color-primary-green);
  background: var(--color-white);
  font-size: 0.8125rem;
}

.faq {
  border-bottom: 1px solid var(--color-line-on-green);
}

.faq details {
  border-top: 1px solid var(--color-line-on-green);
}

.faq summary {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 22px 48px 22px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  font-family: var(--font-display);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  display: flex;
  gap: 20px;
  padding: 0 0 24px;
  color: var(--color-text-on-green);
  font-size: 0.875rem;
}

.faq__answer::before {
  content: "A";
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
}

/* Contact page */

.contact-info {
  margin-bottom: 56px;
}

.contact-info__tel {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
}

.form__intro {
  margin-bottom: 32px;
  font-size: 0.875rem;
}

.form-fields {
  border-bottom: 1px solid var(--color-line-soft);
}

.field {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--color-line-soft);
  min-width: 0;
}

.field::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--key-width);
  height: 1px;
  background: var(--color-line);
}

.field__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid currentColor;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--color-line-soft);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-text-green);
  font: inherit;
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease;
}

.select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-green) 50%),
    linear-gradient(135deg, var(--color-text-green) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.textarea {
  min-height: 200px;
  resize: vertical;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--color-line);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--color-line);
  outline: 2px solid var(--color-primary-green);
  outline-offset: 2px;
}

.field__hint {
  font-size: 0.75rem;
}

.field__error {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-error);
}

.field__error:empty {
  display: none;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.consent {
  margin: 40px 0 32px;
  padding: 24px;
  background: var(--color-white);
  font-size: 0.8125rem;
}

.consent__policy {
  max-height: 140px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-primary-green);
}

.consent.is-invalid {
  outline: 1px solid var(--color-error);
}

.form-summary {
  margin-bottom: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--color-error);
  background: var(--color-error-bg);
  color: var(--color-error);
  font-size: 0.875rem;
}

.form-summary ul {
  margin-top: 6px;
  padding-left: 1.2em;
  list-style: disc;
}

.form-summary a {
  color: inherit;
}

.form-done {
  padding: 56px 24px;
  border-top: 3px solid var(--color-text-green);
  border-bottom: 1px solid var(--color-line-soft);
  text-align: center;
}

.form-done__en {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.form-done__title {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.form-done p {
  font-size: 0.875rem;
}

.form-done .pill {
  margin-top: 32px;
}

/* Footer */

.site-footer {
  background: var(--color-primary-green);
  color: var(--color-white);
  font-size: 0.8125rem;
}

.site-footer a {
  color: inherit;
}

.site-footer__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.site-footer__company {
  display: grid;
  gap: 24px;
  margin-top: 64px;
}

.site-footer__address {
  margin-top: 16px;
  font-style: normal;
  line-height: 2;
  color: var(--color-text-on-green);
}

.site-footer__notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 16px 0;
  border-top: 1px solid var(--color-line-on-green);
  border-bottom: 1px solid var(--color-line-on-green);
  line-height: 1.9;
}

.site-footer__notice img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-footer__credit {
  margin-top: 16px;
  font-size: 0.6875rem;
  line-height: 1.9;
  color: var(--color-text-on-green);
}

.site-footer__copy {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-line-on-green);
  border-radius: 50%;
  background: var(--color-primary-green);
  color: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section-space: 120px;
    --key-width: 150px;
  }

  .section-head__en {
    font-size: 2.5rem;
  }

  .page-header {
    min-height: 440px;
  }

  .page-header .section-head__en {
    font-size: 3rem;
  }

  .band {
    height: 360px;
  }

  .band--tall {
    height: 560px;
  }

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

  .row-link {
    grid-template-columns: var(--key-width) 1fr 76px;
    padding: 22px 0;
  }

  .row-link .row-key {
    padding-left: 28px;
  }

  .row-link .arrow {
    display: inline-block;
  }

  .row-link:hover .arrow {
    transform: translateX(8px);
  }

  .reason {
    padding: 36px 0;
  }

  .reason__num {
    padding-left: 28px;
  }

  .info-table__row {
    padding: 22px 0;
  }

  .info-table dt {
    padding-left: 28px;
  }

  .step {
    grid-template-columns: var(--key-width) 1fr;
    padding: 40px 0;
  }

  .step__num {
    padding-left: 28px;
  }

  .field {
    grid-template-columns: var(--key-width) 1fr;
    align-items: start;
    gap: 10px 24px;
    padding: 24px 0;
  }

  .field__label {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 12px;
  }

  .field__control {
    display: grid;
    gap: 8px;
  }

  .stats strong {
    font-size: 2.25rem;
  }

  .pill {
    justify-content: center;
    min-height: 84px;
    padding: 16px 120px;
    font-size: 1.0625rem;
  }

  .pill .arrow {
    right: 48px;
    width: 76px;
  }

  .reason__num {
    font-size: 2.5rem;
  }

  .philosophy__figure svg {
    max-width: 300px;
  }

  .site-footer__company {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }

  .to-top {
    right: 32px;
    bottom: 32px;
  }
}

/* Desktop */

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    padding-top: 28px;
  }

  .global-nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  .global-nav__list {
    display: flex;
    gap: 28px;
  }

  .global-nav__list a,
  .global-nav__list li:first-child a {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 0;
    border: 0;
    text-shadow: 0 1px 10px rgba(22, 45, 39, 0.5);
  }

  .global-nav__en {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
  }

  .global-nav__ja {
    font-size: 0.625rem;
  }

  .global-nav__list a:hover .global-nav__en {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
  }

  .global-nav__tel {
    display: none;
  }

  .hero__inner {
    padding-bottom: 88px;
  }

  .philosophy {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 64px;
  }

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

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
  }

  .reason {
    grid-template-columns: var(--key-width) 16em 1fr;
    gap: 24px;
  }

  .reason p {
    grid-column: auto;
  }

  .reason__title {
    margin: 0;
  }

  .service-block {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .service-block--reverse .service-block__image {
    order: 2;
  }

  .greeting {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }

  .access {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .band {
    height: 420px;
  }

  .band--tall {
    height: 640px;
  }
}

.rule-list--spaced {
  margin-top: 32px;
}

.section--flush-top {
  padding-top: 0;
}

.pill--ja {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  letter-spacing: 0.16em;
}

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