/* ==========================================================================
   Container layout
   ========================================================================== */
.l-container--xs {
  width: calc(100% - 40px);
  max-width: 62.5rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 33.75em) {
  .l-container--xs {
    width: calc(100% - 80px);
  }
}
@media (min-width: 48em) {
  .l-container--xs {
    width: calc(100% - 120px);
  }
}
@media (min-width: 56.25em) {
  .l-container--xs {
    width: calc(100% - 160px);
  }
}
@media (min-width: 80em) {
  .l-container--xs {
    width: calc(100% - 80px);
  }
}

.l-container--sm {
  width: calc(100% - 40px);
  max-width: 85rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 33.75em) {
  .l-container--sm {
    width: calc(100% - 80px);
  }
}
@media (min-width: 48em) {
  .l-container--sm {
    width: calc(100% - 120px);
  }
}
@media (min-width: 56.25em) {
  .l-container--sm {
    width: calc(100% - 160px);
  }
}
@media (min-width: 80em) {
  .l-container--sm {
    width: calc(100% - 80px);
  }
}

.l-container {
  width: calc(100% - 40px);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 33.75em) {
  .l-container {
    width: calc(100% - 60px);
  }
}
@media (min-width: 48em) {
  .l-container {
    width: calc(100% - 80px);
  }
}
@media (min-width: 56.25em) {
  .l-container {
    width: calc(100% - 120px);
  }
}
@media (min-width: 80em) {
  .l-container {
    width: calc(100% - 80px);
  }
}

/* left align */
.l-container--left {
  margin-left: 0;
}

@media (min-width: 22.5em) {
  .l-container--left-from-mobile {
    margin-left: 0;
  }
}
@media (min-width: 33.75em) {
  .l-container--left-from-landscape {
    margin-left: 0;
  }
}
@media (min-width: 48em) {
  .l-container--left-from-tablet {
    margin-left: 0;
  }
}
@media (min-width: 56.25em) {
  .l-container--left-from-laptop {
    margin-left: 0;
  }
}
@media (min-width: 80em) {
  .l-container--left-from-desktop {
    margin-left: 0;
  }
}
@media (min-width: 90em) {
  .l-container--left-from-wide {
    margin-left: 0;
  }
}
@media (min-width: 100em) {
  .l-container--left-from-full {
    margin-left: 0;
  }
}
/* right align */
.l-container--right {
  margin-right: 0;
}

@media (min-width: 22.5em) {
  .l-container--right-from-mobile {
    margin-right: 0;
  }
}
@media (min-width: 33.75em) {
  .l-container--right-from-landscape {
    margin-right: 0;
  }
}
@media (min-width: 48em) {
  .l-container--right-from-tablet {
    margin-right: 0;
  }
}
@media (min-width: 56.25em) {
  .l-container--right-from-laptop {
    margin-right: 0;
  }
}
@media (min-width: 80em) {
  .l-container--right-from-desktop {
    margin-right: 0;
  }
}
@media (min-width: 90em) {
  .l-container--right-from-wide {
    margin-right: 0;
  }
}
@media (min-width: 100em) {
  .l-container--right-from-full {
    margin-right: 0;
  }
}
/* 4k */
.l-container--4k {
  --max-width: 240rem;
}

/* 8k */
.l-container--8k {
  --max-width: 480rem;
}

/* ==========================================================================
   Footer layout
   ========================================================================== */
/* base */
.l-footer {
  --theme-color: var(--color-primary-mid);
  --side-padding: 2.5rem;
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 0.0625rem solid var(--color-black-alpha-100);
}
@media (min-width: 48em) {
  .l-footer {
    --side-padding: 3.75rem;
  }
}
@media (min-width: 56.25em) {
  .l-footer {
    --side-padding: 5rem;
  }
}
@media (min-width: 80em) {
  .l-footer {
    margin-left: 12.5rem;
    border-top: 0;
  }
}

/* inner */
@media (min-width: 80em) {
  .l-footer__inner {
    margin-inline: 2.5rem;
    border-top: 0.0625rem solid var(--color-black-alpha-100);
  }
}

/* body */
.l-footer__body {
  display: grid;
  grid-template-areas: "heartful" "business" "company " "recruit " "other";
  grid-template-rows: auto;
  grid-template-columns: repeat(1, 1fr);
  padding: 1.25rem 0;
}
@media (min-width: 48em) {
  .l-footer__body {
    --column-gap: 3rem;
    grid-template-areas: "heartful ." "business company" "recruit other";
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(2, 1fr);
    padding-block: 2rem;
    padding-inline: calc(var(--side-padding) / 2);
    -moz-column-gap: var(--column-gap);
         column-gap: var(--column-gap);
  }
}
@media (min-width: 56.25em) {
  .l-footer__body {
    padding-block: 2.25rem;
  }
}
@media (min-width: 80em) {
  .l-footer__body {
    grid-template-areas: "heartful . . ." "business company recruit other";
    grid-template-rows: auto;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 2rem;
    padding-inline: 0;
  }
}
@media (min-width: 90em) {
  .l-footer__body {
    grid-template-areas: "heartful business company recruit other";
    grid-template-rows: auto;
    grid-template-columns: 12.5rem 1fr 1fr 1fr 1fr;
  }
}

/* block */
.l-footer__block {
  padding: 1.25rem calc(var(--side-padding) / 2);
  border-top: 0.0625rem solid var(--color-black-alpha-100);
}
@media (min-width: 48em) {
  .l-footer__block {
    position: relative;
    padding: 0;
    border-top: 0;
  }
  .l-footer__block::before {
    position: absolute;
    top: 0;
    left: calc(var(--column-gap) / 2 * -1);
    width: 0.0625rem;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    content: "";
  }
}
@media (min-width: 80em) {
  .l-footer__block {
    margin-top: 0;
  }
}
@media (min-width: 48em) {
  .l-footer__block:nth-child(1)::before, .l-footer__block:nth-child(2n)::before {
    display: none;
  }
}
@media (min-width: 80em) {
  .l-footer__block:nth-child(n+3)::before {
    display: block;
  }
}
@media (min-width: 48em) {
  .l-footer__block:nth-child(n+4) {
    margin-top: 2rem;
  }
}
@media (min-width: 80em) {
  .l-footer__block:nth-child(n+4) {
    margin-top: 0;
  }
}
.l-footer__block.--heartful {
  grid-area: heartful;
  padding-bottom: 3rem;
  border-top: 0;
}
@media (min-width: 90em) {
  .l-footer__block.--heartful {
    padding-bottom: 0;
  }
}
.l-footer__block.--business {
  grid-area: business;
}
.l-footer__block.--company {
  grid-area: company;
}
.l-footer__block.--recruit {
  grid-area: recruit;
}
.l-footer__block.--other {
  grid-area: other;
}

/* title */
.l-footer__title {
  margin-top: 0;
  color: var(--color-primary-mid);
  font-size: 0.9375rem;
  font-family: var(--font-db);
  letter-spacing: 0;
}
@media (min-width: 48em) {
  .l-footer__title {
    font-size: 1rem;
  }
}
@media (min-width: 80em) {
  .l-footer__title {
    font-size: 1.0625rem;
  }
}
.l-footer__block.--heartful .l-footer__title {
  font-size: 1.0625rem;
}

.l-footer__link {
  text-decoration: none;
}

/* list */
.l-footer__list {
  margin-top: 0;
  margin-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 1rem;
  grid-column-gap: 2rem;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
.l-footer__list li + li {
  margin-top: 0;
}
.l-footer__list a {
  text-decoration: none;
}
.l-footer__list p {
  margin-top: 0;
}
@media (min-width: 80em) {
  .l-footer__list {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    margin-top: 0.5rem;
  }
}

/* btn */
.l-footer__btn {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 0.75rem;
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.1);
}

/* global footer */
.l-footer__common {
  width: calc(100% - var(--side-padding));
  margin-right: auto;
  margin-left: auto;
  padding-top: 2.5rem;
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 80em) {
  .l-footer__common {
    width: 100%;
  }
}

/* ==========================================================================
   Grid layout
   ========================================================================== */
.l-grid {
  display: grid;
  grid-row-gap: 5.25rem;
  row-gap: 5.25rem;
}
@media (min-width: 80em) {
  .l-grid {
    grid-template-columns: 1fr 17.5rem;
    -moz-column-gap: 5rem;
         column-gap: 5rem;
    row-gap: 0;
  }
}
@media (min-width: 80em) {
  .l-grid.--lg {
    grid-template-columns: 1fr 20rem;
  }
}
@media (min-width: 80em) {
  .l-grid.--xl {
    grid-template-columns: 1fr 22.5rem;
  }
}

@media (max-width: 79.99em) {
  .l-grid__aside > section:first-child {
    margin-top: 0;
  }
}
@media (max-width: 79.99em) {
  .l-grid__aside > section:first-child :is(h1, h2, h3, h4) {
    margin-top: 0;
  }
}

/* ==========================================================================
   Header layout
   ========================================================================== */
/* mobile layout */
@media (max-width: 79.99em) {
  /* header layout */
  .l-header {
    --theme-color: var(--color-primary-mid);
    --header-height: 3.75rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-30);
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    transition: top 300ms var(--ease-out-cubic);
  }

  .l-header.is-hide {
    top: calc(var(--header-height) * -1);
  }

  /* container */
  .l-header__container {
    height: 100%;
    padding-inline: 0.625rem;
  }

  /* inner layout */

  /* logo wrapper */

  /* logo */

  /* hamburger layout */

  /* menu & close common layout */

  /* close layout */

  /* icon */

  /* text */

  /* global navigation */
}
@media (max-width: 79.99em) and (min-width: 48em) {
  .l-header__container {
    padding-inline: 1.25rem;
  }
}
@media (max-width: 79.99em) {
  .l-header__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
  }
}
@media (max-width: 79.99em) {
  .l-header__logo-wrapper {
    margin-top: 0;
  }
}
@media (max-width: 79.99em) {
  .l-header__logo.--desktop {
    display: none;
  }
}
@media (max-width: 79.99em) {
  .l-header__logo.--mobile i {
    width: 10.5625rem;
    height: 2.375rem;
    vertical-align: top;
    stroke: none;
  }
}
@media (max-width: 79.99em) {
  .l-header__hamburger {
    position: relative;
    min-width: 2.5rem;
    margin-left: auto;
    color: var(--color-primary-mid);
    transform: translateY(-2px);
  }
}
@media (max-width: 79.99em) {
  .l-header__menu,
.l-header__close {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
    align-items: center;
    width: 100%;
    text-decoration: none;
  }
}
@media (max-width: 79.99em) {
  .l-header__close {
    position: absolute;
    top: 0;
    left: 0;
  }
}
@media (max-width: 79.99em) {
  .l-header__icon {
    visibility: visible;
    opacity: 1;
    transition: opacity 200ms var(--ease-in-cubic), visibility 200ms var(--ease-in-cubic), transform 300ms var(--ease-out-cubic);
  }
}
@media (max-width: 79.99em) {
  .l-header__icon.is-hidden {
    transform: scale(0);
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms var(--ease-out-cubic), visibility 300ms var(--ease-out-cubic), transform 300ms var(--ease-out-cubic);
  }
}
@media (max-width: 79.99em) {
  .l-header__icon i {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
  }
}
@media (max-width: 79.99em) {
  .l-header__text {
    color: var(--color-primary-mid);
    font-size: 0.5625rem;
    font-family: var(--font-db);
    line-height: 1;
    visibility: visible;
    opacity: 1;
    transition: opacity 200ms var(--ease-in-cubic), visibility 200ms var(--ease-in-cubic);
  }
}
@media (max-width: 79.99em) {
  .l-header__text.is-hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms var(--ease-out-cubic), visibility 300ms var(--ease-out-cubic);
  }
}
@media (max-width: 79.99em) {
  .l-header__gnav {
    position: fixed;
    top: 3.75rem;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 2.5rem;
    overflow-y: auto;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms var(--ease-in-cubic), visibility 200ms var(--ease-in-cubic);
    overscroll-behavior: contain;
  }
}
@media (max-width: 79.99em) {
  .l-header__gnav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 300ms var(--ease-out-cubic), visibility 300ms var(--ease-out-cubic);
    overscroll-behavior: contain;
  }
}
/* desktop layout */
@media (min-width: 80em) {
  /* firstView */
  body .l-header__logo-wrapper,
body .l-header__gnav {
    opacity: 0;
  }

  body .l-header__logo-wrapper {
    transition: opacity 500ms cubic-bezier(0, 0.47, 0.58, 1) 500ms;
  }

  body .l-header__gnav {
    transition: opacity 500ms cubic-bezier(0, 0.47, 0.58, 1) 500ms;
  }

  body.domContentLoaded .l-header__logo-wrapper,
body.domContentLoaded .l-header__gnav {
    opacity: 1;
  }

  /* header layout */
  .l-header {
    --theme-color: var(--color-primary-mid);
    position: relative;
    z-index: var(--z-30);
    background-color: #fff;
  }

  /* inner layout */
  .l-header__inner {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 12.5rem;
    height: 100vh;
  }

  /* logo wrapper */
  .l-header__logo-wrapper {
    z-index: 20;
    margin-top: 0;
    padding-top: 2.5rem;
    padding-inline: 2.5rem;
  }

  /* logo */
  .l-header__logo.--mobile {
    display: none;
  }

  .l-header__logo.--desktop i {
    width: 100%;
    height: auto;
    stroke: none;
  }

  /* map & hamburger */
  .l-header__map,
.l-header__hamburger {
    display: none;
  }

  /* gnav layout */
  .l-header__gnav {
    width: 100%;
  }
}
/* ==========================================================================
   Inner layout
   ========================================================================== */
.l-inner--xs {
  width: 100%;
  max-width: 43.75rem;
  margin-right: auto;
  margin-left: auto;
}

.l-inner--sm {
  width: 100%;
  max-width: 53.75rem;
  margin-right: auto;
  margin-left: auto;
}

.l-inner {
  width: 100%;
  max-width: 62.5rem;
  margin-right: auto;
  margin-left: auto;
}

.l-inner--lg {
  width: 100%;
  max-width: 77.5rem;
  margin-right: auto;
  margin-left: auto;
}

.l-inner--xl {
  width: 100%;
  max-width: 85rem;
  margin-right: auto;
  margin-left: auto;
}

/* ==========================================================================
   Header layout
   ========================================================================== */
.l-main {
  padding-bottom: 3.75rem;
}
@media (min-width: 48em) {
  .l-main {
    padding-bottom: 2rem;
  }
}
@media (min-width: 80em) {
  .l-main {
    padding-bottom: 2.5rem;
    padding-left: 12.5rem;
  }
}

/* ==========================================================================
   Section layout
   ========================================================================== */
.l-section--2xs {
  margin-top: 1.875rem;
}
@media (min-width: 48em) {
  .l-section--2xs {
    margin-top: 2.1875rem;
  }
}
@media (min-width: 80em) {
  .l-section--2xs {
    margin-top: 2.5rem;
  }
}
.l-section--2xs > h2,
.l-section--2xs > h3,
.l-section--2xs > h4 {
  margin-top: 0;
}

.l-section--xs {
  margin-top: 1.875rem;
}
@media (min-width: 48em) {
  .l-section--xs {
    margin-top: 2.5rem;
  }
}
@media (min-width: 80em) {
  .l-section--xs {
    margin-top: 3rem;
  }
}
.l-section--xs > h2,
.l-section--xs > h3,
.l-section--xs > h4 {
  margin-top: 0;
}

.l-section--sm {
  margin-top: 2.5rem;
}
@media (min-width: 48em) {
  .l-section--sm {
    margin-top: 3rem;
  }
}
@media (min-width: 80em) {
  .l-section--sm {
    margin-top: 3.75rem;
  }
}
.l-section--sm > *:first-child {
  margin-top: 0;
}

.l-section--md {
  margin-top: 3rem;
}
@media (min-width: 48em) {
  .l-section--md {
    margin-top: 4.0625rem;
  }
}
@media (min-width: 80em) {
  .l-section--md {
    margin-top: 5rem;
  }
}
.l-section--md > *:first-child {
  margin-top: 0;
}

.l-section {
  margin-top: 3.75rem;
}
@media (min-width: 48em) {
  .l-section {
    margin-top: 5rem;
  }
}
@media (min-width: 80em) {
  .l-section {
    margin-top: 6.25rem;
  }
}

.l-section--lg {
  margin-top: 5rem;
}
@media (min-width: 48em) {
  .l-section--lg {
    margin-top: 6.25rem;
  }
}
@media (min-width: 80em) {
  .l-section--lg {
    margin-top: 7.5rem;
  }
}

.l-section--xl {
  margin-top: 6.25rem;
}
@media (min-width: 48em) {
  .l-section--xl {
    margin-top: 7.5rem;
  }
}
@media (min-width: 80em) {
  .l-section--xl {
    margin-top: 8.75rem;
  }
}

.l-section--2xl {
  margin-top: 7.5rem;
}
@media (min-width: 48em) {
  .l-section--2xl {
    margin-top: 8.75rem;
  }
}
@media (min-width: 80em) {
  .l-section--2xl {
    margin-top: 10rem;
  }
}

.l-section__body {
  margin-top: 1.5rem;
}

[class*=l-section].-left-space {
  margin-left: 20px;
}
@media (min-width: 48em) {
  [class*=l-section].-left-space {
    margin-left: 2.5rem;
  }
}
@media (min-width: 80em) {
  [class*=l-section].-left-space {
    margin-left: 3.75rem;
  }
}

/* ==========================================================================
   Spacer layout
   ========================================================================== */
.l-spacer--2xs.l-spacer--2xs {
  margin-top: 0.5rem;
}
@media (min-width: 80em) {
  .l-spacer--2xs.l-spacer--2xs {
    margin-top: 0.75rem;
  }
}

.l-spacer--xs.l-spacer--xs {
  margin-top: 1rem;
}
@media (min-width: 80em) {
  .l-spacer--xs.l-spacer--xs {
    margin-top: 1.5rem;
  }
}

.l-spacer--sm.l-spacer--sm {
  margin-top: 2rem;
}
@media (min-width: 80em) {
  .l-spacer--sm.l-spacer--sm {
    margin-top: 1.5rem;
  }
}

.l-spacer--md.l-spacer--md {
  margin-top: 2rem;
}
@media (min-width: 80em) {
  .l-spacer--md.l-spacer--md {
    margin-top: 2.5rem;
  }
}

.l-spacer--lg.l-spacer--lg {
  margin-top: 2.5rem;
}
@media (min-width: 80em) {
  .l-spacer--lg.l-spacer--lg {
    margin-top: 3rem;
  }
}

.l-spacer--xl.l-spacer--xl {
  margin-top: 3rem;
}
@media (min-width: 80em) {
  .l-spacer--xl.l-spacer--xl {
    margin-top: 3.5rem;
  }
}