@charset "UTF-8";

:root {
  --green-950: #12391e;
  --green-900: #174624;
  --green-800: #1f542c;
  --green-700: #356940;
  --green-100: #edf4ec;
  --gold: #b89b51;
  --ink: #20271f;
  --muted: #60675f;
  --line: #e6e9e2;
  --warm: #f7f6f0;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 57, 30, .08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "YuGothic", "Meiryo", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(28, 60, 35, .06);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 38px), 1320px);
  height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 255px;
}

.brand-mark {
  width: 56px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px;
  letter-spacing: .05em;
  font-weight: 600;
}

.brand-text small {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: .08em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 14px;
  font-weight: 600;
}

.global-nav > a:not(.nav-contact) {
  position: relative;
  padding: 28px 0;
}

.global-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--green-800);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.global-nav > a:not(.nav-contact):hover::after,
.global-nav > a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 4px;
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 8px 18px rgba(18, 57, 30, .13);
  transition: transform .2s ease, background .2s ease;
}

.nav-contact:hover {
  transform: translateY(-1px);
  background: var(--green-950);
}

.menu-button {
  display: none;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(248, 250, 244, .2) 0%, rgba(248, 250, 244, 0) 48%),
    url("assets/hero.webp") center / cover no-repeat;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(580px, 54%);
  padding: 68px 0 72px;
}

.eyebrow,
.section-en,
.contact-label {
  margin: 0;
  color: var(--green-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 700;
}

.hero h1 {
  margin: 11px 0 22px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(39px, 4.4vw, 62px);
  line-height: 1.48;
  letter-spacing: .08em;
  font-weight: 600;
}

.hero-lead {
  margin: 0 0 31px;
  color: #29342b;
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button span:last-child {
  font-size: 20px;
  line-height: 1;
}

.button-primary {
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 10px 22px rgba(18, 57, 30, .12);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--green-950);
  box-shadow: 0 14px 28px rgba(18, 57, 30, .16);
}

.strengths {
  padding: 24px 0 10px;
  background: linear-gradient(180deg, #fff 0%, #fbfbf7 100%);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #edf0e8;
  border-radius: 12px;
  background: rgba(249, 248, 243, .78);
  box-shadow: var(--shadow);
}

.strength-item {
  min-height: 140px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  padding: 28px 22px;
  position: relative;
}

.strength-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: #e3e6df;
}

.strength-icon {
  width: 42px;
  height: 42px;
  color: var(--green-900);
}

.strength-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-item h2 {
  margin: 0 0 7px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.strength-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #3f493f;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-en {
  color: var(--green-950);
  font-size: 28px;
  letter-spacing: .07em;
}

.section-heading h2 {
  margin: 0;
  color: #414941;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(31, 69, 39, .09);
}

.product-image-wrap {
  height: 300px;
  display: grid;
  place-items: center;
  padding: 22px 24px 8px;
  background: linear-gradient(180deg, #fff 0%, #fdfcf8 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-bokyu {
  transform: scale(.95);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 24px;
}

.product-body h3 {
  margin: 0 0 13px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.product-body sup {
  font-size: .55em;
  vertical-align: super;
}

.product-body p {
  margin: 0 0 22px;
  color: #343c35;
  font-size: 13px;
  line-height: 1.9;
}

.button-outline {
  align-self: flex-start;
  margin-top: auto;
  min-width: 150px;
  min-height: 42px;
  padding-block: 8px;
  color: #2d3a2f;
  border: 1px solid #66816b;
  background: #fff;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: #fff;
  background: var(--green-900);
  border-color: var(--green-900);
}

.about {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--warm);
}

.about-copy {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.about-copy-inner {
  width: min(100%, calc(var(--container) / 2));
  padding: 66px 54px 68px 24px;
  align-self: center;
}

.section-en-left {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .2em;
}

.about h2 {
  margin: 0 0 19px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 2.4vw, 35px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .04em;
}

.about p:not(.section-en) {
  margin: 0 0 28px;
  color: #3a433a;
  font-size: 14px;
  line-height: 2.05;
}

.about-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.35), transparent 30%),
    linear-gradient(135deg, #4f7155 0%, #23482c 60%, #163b22 100%);
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.13);
}

.about-visual::before {
  width: 530px;
  height: 530px;
}

.about-visual::after {
  width: 340px;
  height: 340px;
}

.about-emblem {
  position: relative;
  z-index: 1;
  width: min(340px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 80px rgba(255,255,255,.04);
  border-radius: 50%;
}

.about-emblem img {
  width: 146px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.18));
}

.about-emblem span {
  color: rgba(255,255,255,.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .17em;
}

.profile-contact {
  padding: 42px 0 76px;
  background: #fff;
}

.profile-contact-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border: 1px solid #eff0ec;
  border-radius: 10px;
  background: #faf9f5;
  box-shadow: var(--shadow);
}

.company-profile,
.contact-box {
  padding: 32px 42px;
}

.company-profile {
  border-right: 1px solid #e5e7e1;
}

.company-profile h2,
.contact-box h2 {
  margin: 0 0 17px;
  color: #232b24;
  font-size: 18px;
  font-weight: 700;
}

.company-profile dl {
  margin: 0;
}

.company-profile dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.75;
}

.company-profile dt {
  font-weight: 600;
}

.company-profile dd {
  margin: 0;
}

.contact-label {
  color: var(--green-700);
  font-size: 10px;
}

.contact-box > p:not(.contact-label):not(.contact-note) {
  margin: 0 0 18px;
  font-size: 13px;
  color: #444c45;
}

.button-contact {
  min-width: 275px;
}

.contact-note {
  margin: 10px 0 0;
  color: #858a83;
  font-size: 10px;
}


.button-disabled {
  cursor: default;
  opacity: .62;
  pointer-events: none;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 34px);
  margin-inline: auto;
  font-size: 11px;
  white-space: nowrap;
}

.footer-nav a {
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}
.site-footer {
  padding: 28px 0;
  color: rgba(255,255,255,.82);
  background: var(--green-950);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.footer-brand img {
  width: 39px;
  height: 35px;
  object-fit: contain;
}

.footer-brand span {
  display: grid;
  line-height: 1.15;
}

.footer-brand strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  font-weight: 500;
}

.footer-brand small {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: .08em;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 1080px) {
  .header-inner {
    height: 78px;
  }

  .brand {
    min-width: 220px;
  }

  .brand-mark {
    width: 48px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .global-nav {
    gap: 20px;
    font-size: 13px;
  }

  .nav-contact {
    padding-inline: 15px;
  }

  .hero {
    min-height: 560px;
    background-position: 57% center;
  }

  .hero-copy {
    width: 56%;
  }

  .strength-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strength-item:nth-child(2)::after {
    display: none;
  }

  .strength-item:nth-child(-n+2) {
    border-bottom: 1px solid #e3e6df;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-image-wrap {
    height: 330px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: min(calc(100% - 28px), 1320px);
    height: 72px;
  }

  .brand {
    min-width: auto;
  }

  .brand-mark {
    width: 42px;
    height: 39px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 9px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 1px;
    display: block;
    background: var(--green-950);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-button.is-open > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button.is-open > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(255,255,255,.985);
    border-top: 1px solid #eef0eb;
    box-shadow: 0 18px 30px rgba(24, 54, 31, .08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }

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

  .global-nav > a:not(.nav-contact) {
    padding: 14px 5px;
    border-bottom: 1px solid #eef0eb;
  }

  .global-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    justify-content: center;
    margin-top: 12px;
  }

  .hero {
    min-height: 660px;
    position: relative;
    background-position: 66% center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 46%, rgba(255,255,255,.14) 80%);
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), var(--container));
  }

  .hero-copy {
    width: min(520px, 74%);
    padding-block: 74px;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 51px);
  }

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

  .pc-only {
    display: none;
  }

  .section {
    padding: 70px 0 78px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-copy {
    justify-content: center;
  }

  .about-copy-inner {
    width: min(calc(100% - 32px), var(--container));
    padding: 60px 0;
  }

  .about-visual {
    min-height: 360px;
  }

  .profile-contact-box {
    grid-template-columns: 1fr;
  }

  .company-profile {
    border-right: 0;
    border-bottom: 1px solid #e5e7e1;
  }
}

@media (max-width: 820px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    white-space: normal;
  }

  .footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    text-align: center;
    line-height: 1.45;
  }

  .footer-nav a:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.14);
  }


  .site-footer p {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 590px;
    background-position: 73% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.70) 48%, rgba(255,255,255,.18) 78%, rgba(255,255,255,0) 100%);
  }

  .hero-copy {
    width: 100%;
    align-self: start;
    padding-top: 54px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(34px, 10.2vw, 47px);
    line-height: 1.55;
  }

  .hero-lead {
    max-width: 95%;
    line-height: 1.95;
  }

  .strengths {
    padding-top: 18px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-item {
    min-height: auto;
    grid-template-columns: 42px 1fr;
    padding: 23px 20px;
  }

  .strength-item:not(:last-child)::after {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .strength-item:nth-child(-n+2) {
    border-bottom: 0;
  }

  .section-en {
    font-size: 25px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 41% 59%;
  }

  .product-image-wrap {
    height: auto;
    min-height: 260px;
    padding: 22px 8px 22px 14px;
  }

  .product-body {
    padding: 26px 18px 24px 13px;
  }

  .product-body h3 {
    font-size: 18px;
  }

  .product-body p {
    font-size: 12px;
    line-height: 1.8;
  }

  .button-outline {
    min-width: 126px;
    padding-inline: 17px;
  }

  .about h2 {
    font-size: 28px;
  }

  .about-emblem {
    width: min(300px, 78%);
  }

  .company-profile,
  .contact-box {
    padding: 28px 22px;
  }

  .company-profile dl > div {
    grid-template-columns: 82px 1fr;
    font-size: 12px;
  }

  .button-contact {
    width: 100%;
    min-width: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 14px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    min-height: 290px;
    padding: 24px 25px 8px;
  }

  .product-body {
    padding: 18px 20px 24px;
  }
}

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

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


/* ===== Adjustments: product image size alignment / about image size ===== */
.product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  padding: 24px;
}

.product-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 235px;
  object-fit: contain;
}

.product-image-bokyu {
  transform: none;
  max-height: 235px;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: #f7f6f0;
}

.about-photo {
  width: 80%;
  max-width: 620px;
  height: auto;
  min-height: 0;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 57, 30, .10);
}

@media (max-width: 1080px) {
  .product-image-wrap {
    height: 300px;
  }

  .product-image,
  .product-image-bokyu {
    max-height: 220px;
  }

  .about-photo {
    width: 82%;
  }
}

@media (max-width: 820px) {
  .about-visual {
    padding: 28px 20px 32px;
  }

  .about-photo {
    width: 88%;
    max-width: 700px;
  }
}

@media (max-width: 620px) {
  .product-image-wrap {
    min-height: 250px;
    height: 250px;
    padding: 22px 18px 14px;
  }

  .product-image,
  .product-image-bokyu {
    max-height: 200px;
  }

  .about-photo {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .product-image-wrap {
    min-height: 250px;
    height: 250px;
    padding: 22px 20px 10px;
  }
}


/* ===== Adjustment: align ABOUT image right edge with other section edges ===== */
.about-visual {
  justify-content: flex-end;
  padding-top: 36px;
  padding-bottom: 36px;
  padding-left: 24px;
  padding-right: max(24px, calc((100vw - var(--container)) / 2));
}

@media (max-width: 820px) {
  .about-visual {
    justify-content: center;
    padding: 28px 20px 32px;
  }
}


/* ===== Contact-only block after removing TOP company overview ===== */
.profile-contact-box.contact-only {
  display: block;
}

.profile-contact-box.contact-only .contact-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.profile-contact-box.contact-only .button-contact {
  margin-inline: auto;
}



/* ===== Preparing modal ===== */
body.modal-open {
  overflow: hidden;
}

.site-modal[hidden] {
  display: none;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.site-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.site-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 16, .58);
  backdrop-filter: blur(3px);
}

.site-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 42px 38px 36px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 28, 16, .25);
  text-align: center;
  transform: translateY(10px) scale(.985);
  transition: transform .18s ease;
}

.site-modal.is-open .site-modal__dialog {
  transform: translateY(0) scale(1);
}

.site-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #536056;
  background: transparent;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-modal__close:hover,
.site-modal__close:focus-visible {
  color: var(--green-900);
  background: var(--green-100);
}

.site-modal__label {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.site-modal__dialog h2 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: 25px;
}

.site-modal__dialog > p:not(.site-modal__label) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.site-modal__button {
  min-width: 130px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 600px) {
  .site-modal {
    padding: 18px;
  }

  .site-modal__dialog {
    padding: 38px 24px 30px;
  }

  .site-modal__dialog h2 {
    font-size: 22px;
  }
}
