:root {
  --font-site: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tracking-body: .05em;
  --paper: #f8f5ee;
  --ink: #231e1b;
  --blue: #009fe8;
  --green: #00a199;
  --yellow: #fff000;
  --red: #ba2344;
  --line: #6d645c;
  --white: #fff;
  --content: 1000px;
}

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  
  font-family: var(--font-site);
  font-feature-settings: "palt" 1;
  letter-spacing: var(--tracking-body);
  font-weight: 400;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

.parallax-layer {
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.parallax-layer.is-parallax-active {
  will-change: transform;
}

.hero__accents img,
.bento__pattern img,
.work__shape img,
.work__pattern img,
.work__accents img,
.recruit__pattern img,
.site-footer__linebar img {
  width: 100%;
  max-width: none;
}

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

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

button {
  color: inherit;
}

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

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  border-radius: 6px;
  background: var(--ink);
  transform: translateY(calc(-100% - 20px));
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop-only {
  display: inline;
}

.mobile-break {
  display: none;
}

.section-title {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--tracking-body);
}

.section-title__mark {
  flex: 0 0 auto;
  width: 51px;
  margin-right: 28px;
}

.section-heading p {
  position: relative;
  z-index: 3;
  margin-top: 27px;
  font-size: 1rem;
  line-height: 2;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 188px;
  height: 49px;
  padding: 0 25px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.pill-link__icon {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  margin-left: 18px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.pill-link--primary {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

/* Header */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.site-header__inner {
  position: relative;
  width: 1155px;
  height: 300px;
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  top: 140px;
  left: 0;
  width: 500px;
}

.site-header__nav {
  position: absolute;
  top: 58px;
  left: 426px;
}

.site-header__nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
}

.site-header__nav li,
.footer-nav li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: var(--tracking-body);
}

.site-header__nav li::before,
.footer-nav li::before {
  width: 1px;
  height: 1em;
  margin-right: 12px;
  background: #837a73;
  content: "";
}

.site-header__nav li:last-child::after,
.footer-nav li:last-child::after {
  width: 1px;
  height: 1em;
  margin-left: 12px;
  background: #837a73;
  content: "";
}

.site-header__nav a,
.footer-nav a {
  white-space: nowrap;
}

.menu-toggle {
  position: absolute;
  z-index: 30;
  top: 58px;
  right: 0;
  display: grid;
  width: 42px;
  height: 33px;
  padding: 0;
  border: 0;
  background: transparent;
  align-content: space-between;
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle__line:first-child {
  transform: translateY(16px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-16px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: grid;
  padding: 120px 30px 40px;
  background: rgb(248 245 238 / 97%);
  opacity: 0;
  place-items: center;
  transition: opacity 0.2s ease;
}

.mobile-menu.is-open {
  z-index: 10;
  opacity: 1;
}

.mobile-menu ul {
  width: min(320px, 100%);
}

.mobile-menu a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid #cfc7be;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-body);
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  height: 1280px;
  overflow: hidden;
}

.hero__photo,
.hero__shape,
.hero__accents {
  position: absolute;
  pointer-events: none;
}

.hero__photo {
  z-index: 2;
}

.hero__photo img {
  width: 100%;
}

.hero__photo--primary {
  top: 345px;
  left: calc(50% - 465px);
  width: 520px;
}

.hero__photo--secondary {
  top: 168px;
  left: calc(50% + 83px);
  width: 530px;
}

.hero__shape {
  z-index: 1;
  top: 568px;
  left: calc(50% + 66px);
  width: 470px;
}

.hero__shape img {
  width: 100%;
}

.hero__accents {
  z-index: 3;
  top: 205px;
  left: 50%;
  width: 1094px;
  max-width: none;
  transform: translateX(-50%);
}

.hero__copy {
  position: relative;
  z-index: 4;
  width: var(--content);
  margin: 0 auto;
  padding-top: 879px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: var(--tracking-body);
  padding-top: 1em;
}

.hero__intro {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 16px;
  margin-top: 66px;
}

.hero__intro p {
  font-size: 1.375rem;
  line-height: 1.82;
}

.hero__links {
  padding-top: 3px;
}

.hero__links .pill-link {
  display: flex;
  width: 188px;
  margin-bottom: 20px;
}

/* Bento */
.bento {
  position: relative;
  height: 930px;
  overflow-x: clip;
  overflow-y: visible;
}

.bento__pattern {
  position: absolute;
  z-index: 0;
  top: 98.53px;
  left: -394.54px;
  width: 1061.22px;
  max-width: none;
  pointer-events: none;
  transform: none;
  transform-origin: center;
}

.bento__inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding-top: 45px;
}

.section-title--centered {
  justify-content: center;
  width: 600px;
  margin-left: auto;
}

.bento-gallery {
  width: 650px;
  margin: 37px -70px 0 auto;
}

.bento-gallery__main {
  position: relative;
  width: 490px;
  height: 355px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 37px;
  touch-action: pan-y;
}

.bento-gallery__autoplay {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background: rgb(35 30 27 / 86%);
  place-items: center;
  cursor: pointer;
}

.bento-gallery__autoplay-icon {
  width: 12px;
  height: 15px;
  border-right: 4px solid currentColor;
  border-left: 4px solid currentColor;
}

.bento-gallery__autoplay.is-paused .bento-gallery__autoplay-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.bento-gallery__main > .parallax-layer {
  width: 100%;
  height: 100%;
}

.bento-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.bento-gallery__main img.is-changing {
  opacity: 0;
}

.bento-gallery__controls {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 18px;
  align-items: center;
  margin-top: 48px;
}

.gallery-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  
  font-size: 2rem;
  line-height: 1;
  place-items: center;
  cursor: pointer;
}

.bento-gallery__thumbs {
  display: grid;
  grid-template-columns: 151px 200px 151px;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.bento-gallery__thumb {
  height: 114px;
  padding: 0 10px;
  overflow: hidden;
  border: 0;
  background: transparent;
  opacity: 0.92;
  cursor: pointer;
}

.bento-gallery__thumb--center {
  height: 111px;
  padding-right: 25px;
  padding-left: 25px;
}

.bento-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.bento-gallery__thumb.is-current {
  opacity: 1;
}

.bento__text {
  width: 595px;
  margin: 41px -38px 0 auto;
  font-size: 1rem;
  line-height: 2;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  width: 595px;
  margin: 21px -38px 0 auto;
}

.button-row .pill-link {
  min-width: 185px;
}

.button-row .pill-link--primary {
  min-width: 188px;
}

/* Work */
.work {
  position: relative;
  height: 1040px;
  overflow-x: clip;
  overflow-y: visible;
}

.work__inner {
  position: relative;
  z-index: 3;
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  padding-top: 37px;
}

.work__photo {
  position: absolute;
  z-index: 2;
  top: 245px;
  left: -28px;
  width: 520px;
}

.work__photo img {
  width: 100%;
}

.work-menu {
  position: absolute;
  z-index: 4;
  top: 422px;
  right: 0;
  width: 375px;
}

.work-menu li + li {
  margin-top: 9px;
}

.work-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 1.25rem;
}

.work-menu__arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.work__shape,
.work__pattern,
.work__accents {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
}

.work__shape--blue {
  top: 25.56px;
  left: calc(50% - 120.7px);
  width: 345.87px;
  transform: none;
}

.work__shape--green {
  top: 610.95px;
  left: calc(50% - 292.76px);
  width: 368.3px;
  transform: none;
}

.work__shape--yellow {
  top: 669.13px;
  left: calc(50% + 63.01px);
  width: 453.05px;
  transform: none;
}

.work__pattern {
  top: -6.64px;
  right: auto;
  left: calc(50% + 274.96px);
  width: 1187.66px;
  transform: none;
}

.work__accents {
  z-index: 2;
  top: 45px;
  left: 50%;
  width: 1094px;
  transform: translateX(-50%);
}

/* Facilities */
.facilities {
  position: relative;
  height: 660px;
}

.facilities__inner {
  width: var(--content);
  margin: 0 auto;
  padding-top: 38px;
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 12px;
}

.facility-card {
  text-align: center;
}

.facility-card__image-frame {
  width: 100%;
}

.facility-card__image {
  width: 100%;
  height: 228px;
  object-fit: cover;
  border-radius: 7px;
}

.facility-card h3 {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.facility-card p {
  margin-top: 9px;
  font-size: 1rem;
  line-height: 2;
}

.facility-card .pill-link {
  margin-top: 23px;
}

/* Recruit */
.recruit {
  position: relative;
  height: 890px;
  overflow-x: clip;
  overflow-y: visible;
}

.recruit__pattern {
  position: absolute;
  z-index: 0;
  top: -23.02px;
  left: -777.24px;
  width: 1191.45px;
  max-width: none;
  clip-path: none;
  pointer-events: none;
  transform: none;
}

.recruit__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: 77px;
  text-align: center;
}

.section-title--recruit {
  justify-content: center;
  
}

.section-title--recruit > span {
  letter-spacing: 0.16em;
}

.recruit__inner > p {
  margin-top: 23px;
  font-size: 1.25rem;
  line-height: 1.6;
}

.recruit__stage {
  position: absolute;
  z-index: 1;
  top: 214px;
  left: 50%;
  width: 100%;
  height: 495px;
  transform: translateX(-50%);
}

.recruit__stage::before {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: 1px;
  left: -70px;
  height: 225px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.recruit__staff {
  position: absolute;
  top: 0;
  left: 50%;
  width: 836px;
  max-width: none;
  transform: translateX(-50%);
}

.recruit__staff img {
  width: 100%;
  max-width: none;
}

.recruit__button {
  position: absolute;
  z-index: 3;
  bottom: 44px;
  left: 50%;
  width: 225px;
  transform: translateX(-50%);
}

/* News */
.news {
  height: 320px;
  padding-top: 8px;
}

.news__inner {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr) 185px;
  align-items: start;
  width: min(1142px, calc(100% - 80px));
  min-height: 288px;
  margin-left: max(calc((100% - 1142px) / 2), 40px);
  padding: 63px 36px 32px 92px;
  border-radius: 30px 0 0 30px;
  background: var(--white);
  box-shadow: 150px 0 0 var(--white);
}

.news h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--tracking-body);
}

.news-list {
  padding-top: 2px;
}

.news-list li {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  font-size: 1rem;
  line-height: 2.25;
}

.news-list a {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.news__more {
  align-self: end;
  margin-bottom: 17px;
}

/* Instagram */
.instagram {
  height: 530px;
  padding-top: 58px;
}

.instagram > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.instagram > h2 img {
  width: 35px;
  height: 35px;
}

.instagram > h2 a {
  margin-left: 17px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: var(--content);
  margin: 60px auto 0;
}

.instagram-grid__item {
  height: 141px;
  overflow: hidden;
  border-radius: 8px;
}

.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-grid__item--1 {
  order: 1;
}
.instagram-grid__item--2 {
  order: 2;
}
.instagram-grid__item--3 {
  order: 3;
}
.instagram-grid__item--4 {
  order: 4;
}
.instagram-grid__item--5 {
  order: 5;
}
.instagram-grid__item--6 {
  order: 6;
}
.instagram-grid__item--7 {
  order: 7;
}
.instagram-grid__item--8 {
  order: 8;
}
.instagram-grid__item--9 {
  order: 9;
}
.instagram-grid__item--10 {
  order: 10;
}

/* Footer */
.site-footer {
  position: relative;
  height: auto;
  min-height: 652px;
  overflow: hidden;
}

.site-footer__linebar {
  position: absolute;
  z-index: 0;
  top: -80px;
  left: 50%;
  width: 1440px;
  max-width: none;
  transform: translateX(-50%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 335px 240px 358px;
  grid-template-rows: 235px auto auto;
  column-gap: 27px;
  width: var(--content);
  margin: 0 auto;
  padding-top: 190px;
}

.site-footer__logo {
  width: 300px;
}

.site-footer address {
  margin-top: 25px;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.9;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.site-footer address strong {
  font-size: 1.05rem;
  font-weight: 500;
}

.site-footer address a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer__contact {
  padding-top: 145px;
}

.site-footer__contact-button {
  justify-content: center;
  width: 212px;
  padding: 0 20px;
}

.site-footer__instagram {
  display: flex;
  align-items: center;
  margin-top: 17px;
  font-size: 0.95rem;
}

.site-footer__instagram img {
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  margin-right: 14px;
}

.site-footer__instagram span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer__map {
  width: 358px;
  height: 294px;
  object-fit: cover;
  transform: translateY(-25px);
}

.footer-nav li {
  font-size: 0.875rem;
}

.footer-nav--desktop {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: end;
  margin-top: 37px;
}

.footer-nav--mobile {
  display: none;
}

.site-footer__copyright {
  grid-column: 1 / 3;
  grid-row: 3;
  margin-top: 18px;
  
  font-size: 0.75rem;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --content: calc(100% - 96px);
  }

  .site-header__inner {
    width: calc(100% - 96px);
  }

  .site-header__nav {
    display: none;
  }

  .site-header__logo {
    width: 43vw;
  }

  .hero__photo--primary {
    left: 10vw;
    width: 42vw;
  }

  .hero__photo--secondary {
    left: 55vw;
    width: 40vw;
  }

  .hero__shape {
    left: 57vw;
    width: 37vw;
  }

  .bento-gallery,
  .bento__text,
  .button-row {
    width: 62vw;
  }

  .bento-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

  .work__photo {
    left: 0;
    width: 48vw;
  }

  .work-menu {
    width: 38vw;
  }

  .site-footer__inner {
    grid-template-columns: 33% 24% 36%;
  }
}

@media (max-width: 767px) {
  :root {
    --content: calc(100% - 20px);
  }

  .desktop-only {
    display: none;
  }

  .mobile-break {
    display: block;
  }

  .parallax-layer {
    --parallax-x: 0px !important;
  }

  .work,
  .recruit {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .section-title {
    justify-content: center;
    font-size: 1.5625rem;
    line-height: 1.5;
  }

  .section-title__mark {
    width: 42px;
    margin-right: 20px;
  }

  .section-heading p {
    margin-top: 21px;
    font-size: 1rem;
    line-height: 2;
  }

  .pill-link {
    min-width: 186px;
    height: 49px;
    padding-left: 23px;
    font-size: 1rem;
  }

  .pill-link__icon {
    width: 29px;
    height: 29px;
  }

  .site-header__inner {
    width: 100%;
    height: 90px;
  }

  .site-header__logo {
    top: 17px;
    left: 15px;
    width: 195px;
  }

  .site-header__nav {
    display: none;
  }

  .menu-toggle {
    top: 23px;
    right: 10px;
    width: 41px;
    height: 32px;
  }

  .menu-toggle__line {
    width: 41px;
  }

  .hero {
    height: 1240px;
  }

  .hero__photo--primary {
    top: 75px;
    left: 25px;
    width: 330px;
  }

  .hero__photo--secondary {
    top: 402px;
    left: 26px;
    width: 330px;
  }

  .hero__shape {
    top: 641.26px;
    left: 25.95px;
    width: 349.57px;
    transform: none;
  }

  .hero__accents {
    top: 52px;
    left: -353px;
    width: 1094px;
    transform: none;
  }

  .hero__copy {
    width: 100%;
    padding: 754px 22px 0;
  }

  .hero h1 {
    font-size: 1.5625rem;
    line-height: 1.535;
    letter-spacing: var(--tracking-body);
  }

  .hero__intro {
    display: block;
    margin-top: 39px;
  }

  .hero__intro p {
    font-size: 1.125rem;
    line-height: 1.78;
  }

  .hero__links {
    margin-top: 50px;
  }

  .hero__links .pill-link {
    margin-bottom: 20px;
  }

  .bento {
    height: 1595px;
  }

  .bento__pattern {
    top: -31.58px;
    left: -515.47px;
    width: 1061.22px;
    transform: none;
  }

  .bento__inner {
    width: 100%;
    padding-top: 561px;
  }

  .section-title--centered {
    width: 100%;
    margin: 0;
  }

  .bento-gallery {
    width: 100%;
    margin: 48px 0 0;
  }

  .bento-gallery__main {
    width: calc(100% - 20px);
    height: 377px;
    border-radius: 29px;
  }

  .bento-gallery__controls {
    position: relative;
    display: block;
    width: 100%;
    height: 114px;
    margin-top: 30px;
  }

  .gallery-arrow {
    display: none;
  }

  .bento-gallery__thumbs {
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    grid-template-columns: 151px 201px 151px;
    gap: 0;
    width: 503px;
    transform: translateX(calc(-50% + 4px));
  }

  .bento__text {
    width: auto;
    margin: 42px 25px 0;
    font-size: 1rem;
    line-height: 2;
  }

  .button-row {
    display: block;
    width: auto;
    margin: 44px 25px 0;
  }

  .button-row .pill-link {
    display: flex;
    width: 186px;
    margin-bottom: 21px;
  }

  .button-row .pill-link--primary {
    min-width: 186px;
  }

  .work {
    height: 1063px;
  }

  .work__inner {
    width: 100%;
    padding-top: 23px;
  }

  .work .section-heading {
    padding: 0 25px;
  }

  .work .section-heading p br {
    display: none;
  }

  .work__photo {
    top: 159px;
    left: -66px;
    width: 529px;
  }

  .work-menu {
    top: 580px;
    right: 10px;
    width: calc(100% - 20px);
  }

  .work-menu li + li {
    margin-top: 10px;
  }

  .work-menu a {
    height: 66px;
    padding: 0 22px;
    font-size: 1.25rem;
  }

  .work__shape--blue {
    top: -231.44px;
    left: 271.21px;
    width: 291.11px;
    transform: none;
  }

  .work__shape--green {
    top: 477.15px;
    left: -140.75px;
    width: 309.83px;
    transform: none;
  }

  .work__shape--yellow {
    top: 763.35px;
    left: 108.03px;
    width: 381.16px;
    transform: none;
  }

  .work__pattern,
  .work__accents {
    display: none;
  }

  .facilities {
    height: 2010px;
  }

  .facilities__inner {
    width: 100%;
    padding: 29px 10px 0;
  }

  .facilities .section-heading {
    padding: 0 15px;
  }

  .facilities .section-heading p br {
    display: none;
  }

  .facility-list {
    display: block;
    margin-top: 10px;
  }

  .facility-card + .facility-card {
    margin-top: 20px;
  }

  .facility-card:nth-child(3) {
    margin-top: 20px;
  }

  .facility-card__image {
    height: 388px;
    border-radius: 28px;
  }

  .facility-card h3 {
    margin-top: 20px;
    font-size: 1.25rem;
  }

  .facility-card p {
    margin-top: 7px;
    font-size: 1rem;
    line-height: 2;
  }

  .facility-card .pill-link {
    margin-top: 20px;
  }

  .recruit {
    height: 1040px;
  }

  .recruit__pattern {
    top: -126.24px;
    left: -897.18px;
    width: 1191.45px;
    clip-path: none;
    transform: none;
  }

  .recruit__inner {
    padding-top: 216px;
  }

  .section-title--recruit {
    justify-content: flex-start;
    padding-left: 27px;
    font-size: 2rem;
  }

  .section-title--recruit .section-title__mark {
    margin-right: 44px;
  }

  .section-title--recruit > span {
    letter-spacing: 0.12em;
  }

  .recruit__inner > p {
    margin-top: 25px;
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .recruit__stage {
    top: 402px;
    height: 420px;
  }

  .recruit__stage::before {
    right: -85px;
    bottom: -8px;
    left: -85px;
    height: 210px;
  }

  .recruit__staff {
    width: 848px;
  }

  .recruit__button {
    bottom: 49px;
  }

  .news {
    height: 465px;
    padding-top: 3px;
  }

  .news__inner {
    display: block;
    width: calc(100% - 10px);
    min-height: 433px;
    margin-left: 10px;
    padding: 22px 17px 25px;
    border-radius: 30px 0 0 30px;
    box-shadow: none;
  }

  .news h2 {
    font-size: 2rem;
    text-align: center;
  }

  .news-list {
    margin-top: 5px;
    padding: 0;
  }

  .news-list li {
    display: block;
    font-size: 1rem;
    line-height: 1.42;
  }

  .news-list li + li {
    margin-top: 8px;
  }

  .news-list time,
  .news-list a {
    display: block;
  }

  .news-list a {
    max-width: 100%;
    white-space: nowrap;
  }

  .news__more {
    display: flex;
    width: 172px;
    min-width: 172px;
    margin: 22px auto 0;
  }

  .instagram {
    height: 556px;
    padding-top: 26px;
  }

  .instagram > h2 {
    display: grid;
    grid-template-columns: 36px auto;
    gap: 15px 14px;
    justify-content: center;
    font-size: 1.5rem;
  }

  .instagram > h2 img {
    width: 36px;
    height: 36px;
    transform: translateX(30px);
  }

  .instagram > h2 > span {
    transform: translateX(30px);
  }

  .instagram > h2 a {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 14px;
  }

  .instagram-grid__item {
    height: 133px;
    border-radius: 8px;
  }

  .instagram-grid__item--1 {
    order: 1;
  }
  .instagram-grid__item--2 {
    order: 2;
  }
  .instagram-grid__item--6 {
    order: 3;
  }
  .instagram-grid__item--7 {
    order: 4;
  }
  .instagram-grid__item--3 {
    order: 5;
  }
  .instagram-grid__item--4 {
    order: 6;
  }

  .instagram-grid__item--5,
  .instagram-grid__item--8,
  .instagram-grid__item--9,
  .instagram-grid__item--10 {
    display: none;
  }

  .site-footer {
    height: auto;
    min-height: 950px;
  }

  .site-footer__linebar {
    top: -38px;
    width: 440px;
  }

  .site-footer__inner {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 118px 0 0;
    flex-direction: column;
  }

  .site-footer__identity {
    padding: 0 33px;
  }

  .site-footer__logo {
    width: 310px;
    max-width: 100%;
    margin: 0 0 0 -13px;
  }

  .site-footer address {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.55;
    letter-spacing: 0.065em;
  }

  .site-footer address strong {
    font-size: 1rem;
  }

  .site-footer__contact {
    display: flex;
    padding: 17px 0 0;
    align-items: center;
    flex-direction: column;
  }

  .site-footer__contact-button {
    width: 212px;
    margin: 0;
  }

  .site-footer__instagram {
    margin-top: 21px;
  }

  .footer-nav--desktop {
    display: none;
  }

  .footer-nav--mobile {
    display: block;
    margin-top: 39px;
    padding: 0 23px;
    order: 3;
  }

  .footer-nav--mobile ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .footer-nav--mobile li {
    font-size: 0.875rem;
  }

  .footer-nav--mobile li::before {
    margin-right: 9px;
  }

  .footer-nav--mobile li:last-child::after {
    margin-left: 9px;
  }

  .site-footer__map {
    width: calc(100% - 18px);
    height: 294px;
    margin: 8px 0 0 15px;
    object-fit: cover;
    order: 4;
    transform: none;
  }

  .site-footer__copyright {
    margin: 17px 19px 0;
    font-size: 0.75rem;
    order: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-layer {
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .menu-toggle__line,
  .mobile-menu,
  .bento-gallery__main img {
    transition: none;
  }
}

@media (forced-colors: active) {
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline-color: CanvasText;
    box-shadow: none;
  }
}

/* =========================
   PC / SP 表示切り替え
========================= */

.pc {
  display: revert;
}

.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: revert !important;
  }
}

/* Semantic emphasis; existing page-specific heading weights remain in effect. */
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
strong, b { font-weight: 700; }

/* Only the latter half of the facility name uses tighter tracking. */
.text-moko { letter-spacing: -0.03em; }

/* Optical centering: text offsets use the shape's content width (cqw).
   Keep artwork geometry and motion transforms independent of typography. */
.shape-heading, .recruit-top-stat { container-type: inline-size; }
.shape-heading > h2, .shape-heading > h3, .shape-heading > small,
.recruit-top-stat > dt, .recruit-top-stat > dd {
  position: relative;
  left: var(--optical-text-x, 0px);
  top: var(--optical-text-y, 0px);
}
.page-services .service-detail--consult .shape-heading { --optical-text-x: -10cqw; }
.page-services .service-detail--short .shape-heading { --optical-text-x: -4cqw; }
.page-services .service-detail--day .shape-heading { --optical-text-x: -3cqw; }
.page-about .history-era--growth .shape-heading { --optical-text-x: -4cqw; }
.page-about .history-era--community .shape-heading { --optical-text-x: -3cqw; }
.page-about .history-era--home .shape-heading { --optical-text-x: -6cqw; }
.recruit-top-stat--yellow { --optical-text-x: -5cqw; --optical-text-y: -2cqw; }
.recruit-top-stat--blue { --optical-text-x: -3cqw; }
@media (min-width: 768px) {
  .page-services .service-feature__banner:not(.service-feature__banner--home) .shape-heading { --optical-text-x: -6.78cqw; }
}

@media (max-width: 767px) {
  .recruit-top-stat--staff { --optical-text-x: 0px; --optical-text-y: 0px; }
}

/* Spotlight owns the grid; reserve space before the footer decoration. */
.page-top .instagram { height: auto; padding-bottom: 64px; }
.instagram-feed { width: var(--content); margin: 60px auto 0; }
@media (max-width: 767px) {
  .page-top .instagram { padding-bottom: 40px; }
  .instagram-feed { width: 100%; margin-top: 14px; }
}



.FeedGridLayout__cell {
  border-radius: 12px;
  overflow: hidden;
}

