/* ========================================
   LAYOUT
======================================== */
.site-shell {
  width: min(var(--shell-pc), 100%);
  margin-inline: auto;
}

main,
.site-header,
.copyright-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
}

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

body.is-menu-open {
  overflow: hidden;
}

/* Content width wrapper. */
.inner {
  width: min(var(--inner-pc), calc(100% - 108px));
  margin-inline: auto;
}

.header-shell {
  width: min(1440px, 100%);
}

.mobile-header,
.floating-menu-button,
.sp-menu-overlay {
  display: none;
}

.desktop-header {
  position: relative;
  z-index: 2;
  height: 200px;
  background: var(--color-white);
}

.desktop-header__top {
  display: grid;
  grid-template-columns:
    51fr
    319fr
    56fr
    483fr
    159fr
    317fr
    55fr;
  align-items: start;
  height: 136px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-geom);
  font-weight: 700;
  line-height: 1;
}

.desktop-header__top > .site-logo {
  grid-column: 2;
  display: block;
  width: 318.72px;
  height: 58.18px;
  margin-top: 48px;
}

.desktop-header__top > .site-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.desktop-header__center {
  grid-column: 4;
  display: grid;
  justify-items: start;
  gap: 7px;
  margin-top: 48px;
}

.header-cta {
  display: flex;
  gap: 10px;
  width: 338px;
}

.header-phone {
  grid-column: 6;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 317px;
  min-height: 90px;
  margin-top: 30px;
  text-align: right;
}

.header-phone__lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.header-phone__tel {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-geom);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
}

.header-phone__hours {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.header-phone__hours strong {
  font-family: var(--font-geom);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

/* Page background and decoration clipping area. */
.page-body {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.page-body--default {
  background: transparent;
}

/* Main content stacking context. */
.page-main-area {
  position: relative;
}

.lower-page-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lower-page-background__shape {
  position: absolute;
  display: block;
}

.lower-page-background__shape--01 {
  left: calc(50% + 520px);
  top: 640px;
  width: 160px;
  height: 160px;
  background: var(--color-primary);
  transform: rotate(-29.31deg);
}

.lower-page-background__shape--02 {
  left: calc(50% + 470px);
  top: 940px;
  width: 308px;
  height: 308px;
  background: var(--color-accent);
  transform: rotate(-30deg);
}

.lower-page-background__shape--03 {
  left: calc(50% - 795px);
  top: 1180px;
  width: 308px;
  height: 308px;
  background: var(--color-primary);
  transform: rotate(-29.31deg);
}

.lower-page-background__shape--04 {
  left: calc(50% - 720px);
  top: 1680px;
  width: 160px;
  height: 160px;
  background: var(--color-accent);
  transform: rotate(-30deg);
}

.lower-page-background__shape--05 {
  left: calc(50% + 560px);
  top: 2380px;
  width: 160px;
  height: 160px;
  background: var(--color-primary);
  transform: rotate(-29.31deg);
}

.lower-page-background__shape--06 {
  left: calc(50% - 770px);
  bottom: 460px;
  width: 308px;
  height: 308px;
  background: var(--color-accent);
  transform: rotate(-30deg);
}

.section {
  position: relative;
  z-index: 1;
}

/* Outer content frame for section groups. */
.site-panel {
  position: relative;
  z-index: 1;
  width: min(var(--shell-pc), calc(100% - 40px));
  margin-inline: auto;
  overflow: hidden;
}

.lower-page-section {
  border-left: 1px solid var(--color-text);
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  background: var(--color-white);
  padding-block: 90px;
}

.lower-page-section--gray {
  background: var(--color-alto);
}

.lower-page-section--dark {
  background: var(--color-text);
  color: var(--color-white);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--shell-pc), calc(100% - 40px));
  margin-inline: auto;
  background: var(--color-white);
}

.section--case,
.section--setup,
.section--process,
.section--about,
.section--content,
.section--news,
.contact-section,
.site-footer {
  border-left: 1px solid var(--color-text);
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-block: 90px;
}

.site-footer__title {
  color: var(--color-primary);
  font-family: var(--font-geom);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

.site-footer__copyright {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  color: var(--color-text);
  font-family: var(--font-zkg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.copyright-footer {
  padding-block: 48px;
}
