@font-face {
  font-family: 'KC Yu Gothic';
  src: local('Yu Gothic Regular'), local('YuGothic-Regular');
  font-weight: 100 400;
  ascent-override: 106.49%;
  descent-override: 22.22%;
}

@font-face {
  font-family: 'KC Yu Gothic';
  src: local('Yu Gothic Medium'), local('YuGothic-Medium');
  font-weight: 500 600;
  ascent-override: 107.02%;
  descent-override: 21.69%;
}

@font-face {
  font-family: 'KC Yu Gothic';
  src: local('Yu Gothic Bold'), local('YuGothic-Bold');
  font-weight: 700 900;
  ascent-override: 106.83%;
  descent-override: 21.88%;
}

:root {

  --color-text: #111;
  --color-teal: #00a8a9;
  --color-teal-dark: #00a8a9;
  --color-gray-bg: #e9e9ef;
  --header-height: 90px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'KC Yu Gothic', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--color-text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  font-feature-settings: 'palt';
  letter-spacing: 0.05em;
  font-weight: 500;
}

button,
input,
select,
textarea {
  font-feature-settings: inherit;
  letter-spacing: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding-left: 20px;
  background: #fff;
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}

.site-header.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.site-header__group-logo,
.site-header__logo-image {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header__group-logo {
  width: 162px;
  height: 39px;
}

.site-header__logo {
  display: flex;
  gap: clamp(16px, 1.46vw, 28px);
  align-items: center;
  height: 40px;
  margin-left: 9px;
  padding-left: 10px;
  border-left: 1px solid #c8c8c8;
  color: var(--color-text);
  text-decoration: none;
}

.site-header__logo-image {
  width: 166px;
  height: 25px;
}

.site-header__label {
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 500;
  white-space: nowrap;
}

.site-header__menu-button {
  display: none;
}

.site-header__entry {
  display: grid;
  flex: 0 0 auto;
  width: clamp(120px, 8.34vw, 160px);
  height: 100%;
  place-items: center;
  background: var(--color-teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav {
  margin-right: clamp(24px, 2.92vw, 56px);
}

.global-nav__list {
  display: flex;
  gap: clamp(26px, 2.35vw, 45px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.global-nav__head {
  display: flex;
  align-items: center;
}

.global-nav__link {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav__toggle {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.global-nav__toggle::before,
.global-nav__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  content: '';
  background: currentColor;
  color: var(--color-text);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.global-nav__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.global-nav__toggle[aria-expanded='true']::after {
  opacity: 0;
}

.global-nav__sub {
  position: absolute;
  top: calc(100% - 20px);
  left: -72px;
  width: 226px;
  margin: 0;
  padding: 28px 22px 26px 26px;
  border-radius: 8px;
  background: var(--color-gray-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.25s;
}

.global-nav__item.is-open .global-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.global-nav__sub li + li {
  margin-top: 18px;
}

.global-nav__sub a {
  position: relative;
  display: block;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.global-nav__sub a::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: '';
  background: var(--color-teal);
}

.global-nav__entry {
  display: none;
}

@media (max-width: 1279px) {
  :root {
    --header-height: 83px;
  }

  .site-header__group-logo,
  .site-header__entry {
    display: none;
  }

  .site-header__logo {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .site-header__label {
    font-size: 12px;
  }

  .site-header__menu-button {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 64px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .site-header__menu-button span {
    position: absolute;
    right: 20px;
    width: 24px;
    height: 3px;
    background: #a0a0a0;
  }

  .site-header__menu-button span:nth-child(1) {
    top: calc(50% - 11px);
  }

  .site-header__menu-button span:nth-child(2) {
    top: calc(50% - 1.5px);
  }

  .site-header__menu-button span:nth-child(3) {
    top: calc(50% + 8px);
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
  }

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

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

  .global-nav__inner {
    padding: 31px 31px 44px;
    background: var(--color-gray-bg);
  }

  .global-nav__list {
    display: block;
  }

  .global-nav__item {
    display: block;
    height: auto;
    border-top: 1px solid #c3c3c5;
  }

  .global-nav__item:last-child {
    border-bottom: 1px solid #c3c3c5;
  }

  .global-nav__head {
    justify-content: space-between;
    min-height: 52px;
  }

  .global-nav__link,
  .global-nav__sub a {
    position: relative;
    padding-left: 23px;
    font-size: 17px;
    font-weight: 500;
  }

  .global-nav__link::before,
  .global-nav__sub a::before {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 8px;
    height: 8px;
    border-top: 2.5px solid var(--color-teal);
    border-right: 2.5px solid var(--color-teal);
    border-radius: 0;
    content: '';
    background: none;
    transform: translateY(-50%) rotate(45deg);
  }

  .global-nav__toggle {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .global-nav__toggle::before,
  .global-nav__toggle::after {
    width: 18px;
    height: 2px;
    color: var(--color-teal);
  }

  .global-nav__sub {
    position: static;
    display: none;
    width: auto;
    padding: 6px 0 26px 23px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .global-nav__item.is-open .global-nav__sub {
    display: block;
  }

  .global-nav__sub li + li {
    margin-top: 20px;
  }

  .global-nav__sub a {
    font-size: 15px;
    line-height: 1.4;
  }

  .global-nav__sub br {
    display: none;
  }

  .global-nav__entry {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-top: 43px;
    border-radius: 6px;
    background: var(--color-teal);
    color: #fff;
    text-decoration: none;
  }

  .global-nav__entry-label {
    font-size: 12px;
    font-weight: 700;
  }

  .global-nav__entry-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
  }
}

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

html.is-reveal-ready [data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease var(--reveal-delay, 0ms);
}

html.is-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
}

.section-heading {
  margin: 0;
  text-align: center;
}

.section-heading__en {

  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.section-heading__ja {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
}

.section-heading--light {
  color: #fff;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  height: 50px;
  border: 1.5px solid var(--color-text);
  border-radius: 25px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 7px;
  content: '';
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 7'%3E%3Cpath d='M0 6.5h35L28 .5' fill='none' stroke='%23111' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 7'%3E%3Cpath d='M0 6.5h35L28 .5' fill='none' stroke='%23111' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: translateY(-70%);
}

.button--light {
  border-color: #fff;
  color: #fff;
}

.button.is-disabled {
  cursor: default;
}

.ph {
  aspect-ratio: var(--ph-w) / var(--ph-h);
  background-image: var(--ph-src);
  background-repeat: no-repeat;
  background-position: calc(var(--ph-x) / (var(--ph-iw) - var(--ph-w)) * 100%) calc(var(--ph-y) / (var(--ph-ih) - var(--ph-h)) * 100%);
  background-size: calc(var(--ph-iw) / var(--ph-w) * 100%) auto;
}

.button--small {
  width: 240px;
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
}

.button--small::after {
  right: 16px;
  width: 30px;
}

.button--mini {
  width: 168px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 15px;
  color: #fff;
  font-size: 12px;
}

.button--mini::after {
  right: 12px;
  width: 22px;
  height: 5px;
}

.project__image,
.business-card__image,
.person__image,
.environment-card__image {
  position: relative;
  display: block;
  overflow: hidden;
}

.project__image picture,
.business-card__image picture,
.environment-card__image picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.project__image img,
.business-card__image img,
.person__image img,
.environment-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

html.is-reveal-ready .button[data-reveal],
html.is-reveal-ready .recruit-box__more[data-reveal] {
  transition:
    opacity 0.8s ease var(--reveal-delay, 0ms),
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

@media (hover: hover) {
  .button[href]:hover,
  .person:hover .person__button[href] {
    border-color: var(--color-teal);
    background-color: var(--color-teal);
    color: #fff;
  }

  .button--light[href]:hover,
  .project:hover .button--light,
  .business-card:hover .button--light {
    border-color: #fff;
    background-color: #fff;
    color: var(--color-teal);
  }

  .button--mini[href]:hover,
  .environment-card:hover .button--mini {
    border-color: #fff;
    background-color: #fff;
    color: var(--color-text);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project:hover .project__image img,
  .business-card:hover .business-card__image img,
  .person:hover .person__image[href] img,
  .environment-card:hover .environment-card__image img {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project .project__image img,
  .business-card .business-card__image img,
  .person .person__image img,
  .environment-card .environment-card__image img {
    transform: none;
    transition: none;
  }

  html.is-reveal-ready [data-reveal] {
    opacity: 1;
  }
}

.people__list {
  display: flex;
  flex-wrap: wrap;
  gap: 88px 4.36%;
  justify-content: center;
  margin-top: 110px;
}

.person {
  width: 30.4%;
}

.person__visual {
  position: relative;
}

.person__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 335 / 400;
  border-radius: 10px;
}

.person__dept {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 4px 10px;
  background: #000;
  color: #fff;
  font-size: clamp(14px, 0.94vw, 18px);
  font-style: italic;
  font-weight: 700;
}

.person__catch {
  position: absolute;
  top: -13px;

  right: 0;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: clamp(18px, 1.46vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.person__catch span {
  padding: 6px 3px;
  background: #fff;
  font-feature-settings: normal;
  writing-mode: vertical-rl;
}

.person__button {
  margin: 40px auto 0;
}

.entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px;
  padding-top: 74px;
  background: var(--color-teal);
  color: #fff;
}

.entry__label {
  margin: 0;

  font-size: 15.5px;
  font-weight: 700;
}

.entry__title {

  margin: 4px 0 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;

  font-size: 50.5px;
  font-weight: 700;
  line-height: 1.1;
}

.entry__button {
  margin-top: 22px;

  font-size: 20px;
}

.site-footer {
  padding: 92px 0 20px;
  border-bottom: 8px solid var(--color-teal);
  background: #fff;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 28.5% 20.7% 19.8% 20% 1fr;
}

.site-footer__heading {
  margin: 0 0 30px;
  font-size: 15px;
  font-weight: 700;
}

.site-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li + li {
  margin-top: 16px;
}

.site-footer a {
  color: var(--color-text);
  text-decoration: none;
}

.site-footer__column li a {
  font-size: 14px;
  font-weight: 500;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 132px;
}

.site-footer__group-logo,
.site-footer__logo {
  display: block;
  object-fit: contain;
}

.site-footer__group-logo {
  width: 162px;
  height: 39px;
  margin-right: 9px;
}

.site-footer__logo {
  box-sizing: content-box;
  width: 166px;
  height: 25px;
  padding: 7px 0 7px 10px;
  border-left: 1px solid #c8c8c8;
}

.site-footer__copyright {
  margin: 20px 0 0;
  font-size: 12px;
  text-align: center;
}

.site-footer__copyright small {
  font-size: inherit;
}

@media (max-width: 900px) {

  .button {
    width: 208px;
    height: 35px;
    font-size: 14px;
    line-height: 1.3;
  }

  .button::after {
    right: 14px;
    width: 28px;
  }

  .button--mini {
    width: 104px;
    height: 20px;
    font-size: 12px;
    line-height: 1.2;
  }

  .button--mini::after {
    right: 8px;
    width: 16px;
  }

  .people__list {
    gap: 40px 4%;
    justify-content: flex-start;
    margin-top: 48px;
  }

  .person {
    width: 48%;
  }

  .person__dept {
    padding: 2px 6px;
    font-size: 12px;
  }

  .person__catch {
    top: -6px;
    right: 0;
    gap: 4px;
    font-size: 12px;
  }

  .person__catch span {
    padding: 4px 2px;
  }

  .person__button {
    width: 100%;

    max-width: 114px;
    height: 20px;
    margin-top: 16px;
    font-size: 12px;
  }

  .person__button::after {
    right: 8px;
    width: 16px;
  }

  .entry {
    height: auto;
    padding: 56px 0 64px;
  }

  .entry__label {

    font-size: 12px;
  }

  .entry__title {

    font-size: 39.5px;
  }

  .entry__button {
    width: 240px;
    height: 44px;

    font-size: 15.5px;
    line-height: normal;
  }

  .entry__button::after {
    right: 22px;
    width: 36px;
  }

  .section-heading__en {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer__nav,
  .site-footer__group-logo {
    display: none;
  }

  .site-footer__brand {
    margin-top: 0;
  }

  .site-footer__logo {
    padding-left: 0;
    border-left: 0;
  }
}
