.main-img {
  position: relative;
  height: 1027px;
  isolation: isolate;
}

.fv_slides {
  position: relative;
  width: calc(100% - 180px);
  max-width: 1260px;
  height: 660px;
  top: 22px;
  margin-inline: auto;
  border: 1px solid rgb(51, 51, 51);
  border-radius: 20px;
  overflow: hidden;
}

.fv_slide {
  position: absolute;
  inset: 0px;
  opacity: 0;
  transition: opacity 0.8s;
}

.fv_slide.is-current {
  opacity: 1;
}

.fv_slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv_side {
  position: absolute;
  right: 15px;
  top: 62px;
  writing-mode: vertical-rl;
  font-family: "Public Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.fv_copy {
  position: absolute;
  top: 483px;
  left: 30px;
  z-index: 2;
}

.fv_label {
  display: table;
  padding: 6px 14px;
  background: var(--erg-paper);
  border: 1px solid rgb(51, 51, 51);
  border-radius: 50px;
  transform: rotate(-2deg);
  margin-bottom: 12px;
  margin-left: 20px;
  font-family: "Public Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.fv_copy > h1 {
  font-size: clamp(35px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.fv_copy > h1 > span {
  background: var(--erg-paper);
  border: 1px solid rgb(51, 51, 51);
  padding: 0px 18px;
  line-height: 1.25;
}

.fv_background {
  position: absolute;
  left: 0px;
  top: 268px;
  width: 100%;
  height: 921px;
  z-index: -1;
  object-fit: fill;
}

.fv_word {
  position: absolute;
  top: 755px;
  left: 0px;
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

.fv_controls {
  position: absolute;
  right: 110px;
  top: 700px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.fv_controls > a {
  display: grid;
  place-items: center;
  border: 1px solid rgb(51, 51, 51);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: rgb(255, 255, 255);
}

.fv_controls > a > p {
  font-size: 12px;
  font-family: "Public Sans", sans-serif;
}

.fv_controls > a.is-current {
  background: var(--erg-green);
  color: rgb(255, 255, 255);
}

.fv_controls > .fv_pause {
  width: 48px;
  border-radius: 40px;
}

.home_about {
  position: relative;
  min-height: 870px;
  padding: 0px 25px 80px !important;
}

.about_inner {
  max-width: 1390px;
  position: relative;
  margin: auto;
  min-height: 790px;
}

.about_copy {
  position: relative;
  width: 590px;
  max-width: 45%;
  margin: auto;
  padding-top: 140px;
  text-align: center;
}

.western_heading {
  font-family: Moul, serif;
  font-weight: 400;
  font-size: 100px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.about_copy > h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 25px 0px 40px;
}

.about_copy > .prose {
  text-align: left;
  line-height: 2;
}

.about_photo {
  position: absolute;
  border-radius: 20px;
}

.about_photo01 {
  left: 28px;
  top: 0px;
  width: 255px;
  height: 210px;
}

.about_photo02 {
  right: 0px;
  top: 75px;
  width: 320px;
  height: 270px;
}

.about_photo03 {
  left: 73px;
  top: 500px;
  width: 260px;
  height: 290px;
}

.about_photo04 {
  right: 160px;
  top: 605px;
  width: 210px;
  height: 180px;
}

.since {
  position: absolute;
  right: 340px;
  top: 41px;
  font-family: "Public Sans", sans-serif;
  font-size: 25px;
}

.about_illustration {
  position: absolute;
  left: 125px;
  top: 354px;
}

.experience_card {
  display: grid;
  grid-template-columns: minmax(0px, 700fr) minmax(0px, 500fr);
  align-items: center;
  min-height: 500px;
  margin-top: 60px;
  position: relative;
}

.experience_card > .photo_frame {
  height: 470px;
}

.experience_copy {
  position: relative;
  z-index: 1;
  padding: 35px 0px 35px 55px;
  background: var(--erg-gray);
  margin-left: -70px;
  border-radius: 20px;
}

.experience_card:nth-child(2n+1) {
  grid-template-columns: minmax(0px, 500fr) minmax(0px, 700fr);
}

.experience_card:nth-child(2n+1) > .photo_frame {
  grid-area: 1 / 2;
}

.experience_card:nth-child(2n+1) > .experience_copy {
  grid-area: 1 / 1;
  margin-left: 0px;
  margin-right: -70px;
  padding: 35px 55px 35px 0px;
}

.experience_english {
  font-family: "Public Sans", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 15px;
  margin: 18px 0px 6px;
}

.experience_copy > h3 {
  font-size: 30px;
  margin-bottom: 22px;
}

.experience_copy > .prose {
  line-height: 1.9;
}

.home_staff .more_btn {
  justify-content: flex-end;
}

.nature_section {
  position: relative;
  height: 810px;
}

.nature_section > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nature_section > h2 {
  position: absolute;
  right: 8%;
  top: 28%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.7;
}

.nature_section > h2 > img {
  position: relative;
  top: 10px;
}

.facility_home_layout {
  display: grid;
  grid-template-columns: minmax(0px, 553fr) minmax(0px, 497fr);
  gap: 150px;
}

.facility_home_layout .section_intro {
  display: block;
}

.facility_shortcuts {
  display: grid;
  gap: 18px;
  align-content: start;
}

.facility_shortcuts > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(0, 0, 0);
  border-radius: 100px;
  padding: 36px;
  min-height: 148px;
}

.facility_shortcuts h3 {
  font-family: "Public Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.facility_shortcuts p {
  font-size: 15px;
}

.facility_shortcuts img {
  transition: transform 0.35s;
}

@media (hover: hover) {
  .facility_shortcuts > a:hover img {
    transform: translateX(5px);
  }
}

.home_lunch {
  position: relative;
  min-height: 620px;
}

.home_lunch > .photo_frame {
  width: 800px;
  max-width: 75%;
  height: 540px;
  margin-left: auto;
}

.lunch_copy {
  position: relative;
  width: 500px;
  max-width: 55%;
  padding: 60px;
  margin-top: -378px;
  background: var(--erg-paper);
  border-radius: 20px;
}

.lunch_copy .section_intro {
  display: block;
  margin-bottom: 30px;
}

.lunch_copy .section_english {
  font-size: 80px;
}

.lunch_illustration {
  position: absolute;
  right: 50px;
  bottom: -16px;
}

.home_news > .width-1200-max {
  display: grid;
  grid-template-columns: 340px minmax(0px, 1fr);
  gap: 50px;
  max-width: 1240px;
}

.home_news_heading .section_intro {
  display: block;
}

.home_news_heading .more_btn {
  margin-top: 90px;
}

.home_news .news_item {
  grid-template-columns: 260px minmax(0px, 1fr) 54px;
  gap: 32px;
}

.instagram_section {
  padding: 60px 30px;
}

.instagram_inner {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 235px minmax(0px, 1fr);
  gap: 25px;
  align-items: center;
}

.instagram_heading > h2 {
  font-size: 18px;
}

.instagram_heading > p {
  font-family: "Public Sans", sans-serif;
  font-size: 39px;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-top: 20px;
}

.instagram_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  gap: 10px;
}

.instagram_grid > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  padding: 20px;
  border: 1px solid rgba(51, 51, 51, 0.467);
  border-radius: 24px;
  overflow: hidden;
}

.instagram_post > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram_more > p {
  text-align: center;
  font-size: 15px;
}

body:not(.on) .main-img {
  height: auto;
  padding-bottom: 40px;
}

body:not(.on) .fv_slides {
  height: auto;
  top: 0px;
}

body:not(.on) .fv_slide {
  position: relative;
  opacity: 1;
  aspect-ratio: 1260 / 660;
}

body:not(.on) .fv_copy {
  position: relative;
  top: auto;
  left: auto;
  margin: 25px;
}

body:not(.on) .fv_word, body:not(.on) .fv_background {
  display: none;
}

@media (max-width: 1200px) {
  .home_news > .width-1200-max {
    grid-template-columns: 280px minmax(0px, 1fr);
    gap: 30px;
  }

  .home_news .news_item {
    grid-template-columns: 190px minmax(0px, 1fr);
    gap: 20px;
  }

  .home_news .news_arrow {
    display: none;
  }

  .about_photo01 {
    width: 200px;
    height: 180px;
    left: 0px;
  }

  .about_photo02 {
    width: 230px;
    height: 200px;
  }

  .about_photo03 {
    width: 200px;
    height: 240px;
    left: 0px;
  }

  .about_photo04 {
    right: 20px;
  }

  .about_illustration {
    left: 50px;
  }

  .since {
    right: 240px;
    font-size: 20px;
  }

  .about_copy {
    max-width: 50%;
  }

  .facility_home_layout {
    gap: 70px;
  }

  .instagram_inner {
    grid-template-columns: 200px minmax(0px, 1fr);
  }

  .instagram_heading > p {
    font-size: 33px;
  }

  .instagram_grid > a {
    padding: 10px;
    border-radius: 18px;
  }

  .instagram_more > p {
    font-size: 12px;
  }
}

@media (max-width: 1080px) {
  .main-img {
    height: 850px;
  }

  .fv_slides {
    width: calc(100% - 80px);
    height: 550px;
  }

  .fv_copy {
    top: 430px;
    left: 20px;
  }

  .fv_word {
    top: 665px;
  }

  .fv_background {
    height: 700px;
  }

  .fv_controls {
    top: 625px;
    right: 50px;
  }

  .fv_side {
    right: 8px;
  }

  .home_about {
    padding-top: 0px !important;
  }

  .about_copy {
    padding-top: 100px;
  }

  .about_copy > h3 {
    font-size: 23px;
  }

  .western_heading {
    font-size: 80px;
  }

  .experience_copy {
    margin-left: -40px;
    padding-left: 30px;
  }

  .experience_card:nth-child(2n+1) > .experience_copy {
    margin-right: -40px;
    padding-right: 30px;
  }

  .experience_copy > h3 {
    font-size: 26px;
  }

  .experience_number {
    font-size: 40px;
  }

  .experience_card > .photo_frame {
    height: 420px;
  }

  .facility_home_layout {
    gap: 40px;
  }

  .facility_shortcuts > a {
    padding: 28px;
  }

  .lunch_copy {
    padding: 40px;
  }

  .lunch_copy .section_english {
    font-size: 65px;
  }

  .home_news > .width-1200-max {
    grid-template-columns: 1fr;
  }

  .home_news_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
  }

  .home_news_heading .section_intro, .home_news_heading .more_btn {
    margin: 0px;
  }

  .home_news .news_item {
    grid-template-columns: 260px minmax(0px, 1fr) 54px;
  }

  .home_news .news_arrow {
    display: grid;
  }

  .instagram_inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .instagram_heading {
    text-align: center;
  }

  .instagram_heading > p {
    font-size: 32px;
  }

  .instagram_grid {
    max-width: 900px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .main-img {
    height: 750px;
  }

  .fv_slides {
    width: calc(100% - 40px);
    height: 480px;
  }

  .fv_copy {
    top: 380px;
    left: 15px;
  }

  .fv_copy > h1 {
    font-size: clamp(28px, 6vw, 45px);
  }

  .fv_copy > h1 > span {
    padding: 3px 10px;
  }

  .fv_side {
    font-size: 11px;
    right: 2px;
  }

  .fv_word {
    top: 590px;
    font-size: 9.6vw;
  }

  .fv_controls {
    top: 550px;
    right: 25px;
  }

  .home_about {
    min-height: 0px;
    padding: 30px 25px 80px !important;
  }

  .about_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 0px;
  }

  .about_copy {
    grid-area: 2 / 1 / auto / -1;
    width: 100%;
    max-width: 590px;
    padding: 30px 0px;
  }

  .about_photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.3 / 1;
  }

  .about_photo03, .about_photo04 {
    grid-row: 3;
  }

  .about_illustration {
    left: 0px;
    top: auto;
    bottom: 25px;
    width: 90px;
  }

  .since {
    right: 0px;
    top: 200px;
    font-size: 18px;
  }

  .about_copy > h3 {
    font-size: 24px;
  }

  .experience_card, .experience_card:nth-child(2n+1) {
    display: flex;
    flex-direction: column;
    min-height: 0px;
    gap: 0px;
    margin-top: 50px;
  }

  .experience_card > .photo_frame {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 470;
  }

  .experience_copy, .experience_card:nth-child(2n+1) > .experience_copy {
    width: calc(100% - 30px);
    padding: 30px;
    margin: -35px auto 0px;
    background: var(--erg-gray);
  }

  .experience_card:nth-child(2n+1) > .experience_copy {
    order: 1;
  }

  .experience_card:nth-child(2n+1) > .photo_frame {
    order: 0;
  }

  .nature_section {
    height: 580px;
  }

  .nature_section > h2 {
    right: 6%;
    font-size: 30px;
  }

  .facility_home_layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facility_home_layout .section_intro {
    margin-bottom: 30px;
  }

  .facility_shortcuts > a {
    min-height: 110px;
  }

  .home_lunch > .photo_frame {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 540;
  }

  .lunch_copy {
    max-width: 100%;
    width: calc(100% - 30px);
    padding: 35px;
    margin: -35px auto 0px;
  }

  .lunch_illustration {
    right: 0px;
    bottom: -30px;
    width: 110px;
  }

  .home_news .news_item {
    grid-template-columns: 170px minmax(0px, 1fr);
  }

  .home_news .news_arrow {
    display: none;
  }

  .instagram_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .instagram_grid > a {
    width: calc(33.3333% - 8px);
    max-width: 200px;
  }

  .instagram_grid > .instagram_more {
    width: calc(33.3333% - 8px);
  }
}

@media (max-width: 576px) {
  .main-img {
    height: 660px;
  }

  .fv_slides {
    height: 420px;
    width: calc(100% - 30px);
    top: 18px;
    border-radius: 14px;
  }

  .fv_copy {
    top: 340px;
    left: 10px;
  }

  .fv_copy > h1 {
    font-size: clamp(23px, 5.9vw, 34px);
    letter-spacing: 0px;
  }

  .fv_label {
    font-size: 11px;
    margin-left: 8px;
  }

  .fv_side {
    font-size: 8px;
    right: 0px;
    top: 45px;
  }

  .fv_controls {
    top: 490px;
    right: 20px;
  }

  .fv_word {
    top: 555px;
  }

  .fv_background {
    top: 180px;
    height: 600px;
  }

  .home_about {
    padding-inline: 20px !important;
  }

  .western_heading {
    font-size: 60px;
  }

  .about_copy > h3 {
    font-size: 21px;
  }

  .about_copy > .prose {
    text-align: left;
  }

  .about_illustration {
    display: block;
    width: 70px;
    bottom: 0px;
  }

  .since {
    top: 145px;
    font-size: 14px;
  }

  .experience_copy, .experience_card:nth-child(2n+1) > .experience_copy {
    padding: 25px 20px;
  }

  .experience_number, .experience_english, .experience_copy > h3 {
    text-align: center;
  }

  .experience_copy > h3 {
    font-size: 24px;
  }

  .home_staff .more_btn {
    justify-content: center;
  }

  .nature_section {
    height: 460px;
  }

  .nature_section > h2 {
    font-size: 24px;
  }

  .facility_shortcuts h3 {
    font-size: 28px;
  }

  .home_news_heading {
    gap: 15px;
  }

  .home_news_heading .section_heading {
    text-align: left;
  }

  .home_news_heading .section_japanese {
    margin-left: 0px;
  }

  .home_news_heading .section_english {
    font-size: 40px;
  }

  .home_news_heading .more_btn > a {
    padding: 14px 18px;
    gap: 8px;
  }

  .home_news_heading .more_btn p {
    font-size: 13px;
  }

  .home_news .news_item {
    grid-template-columns: 1fr;
  }

  .lunch_copy {
    padding: 28px 22px;
  }

  .lunch_copy .section_english {
    font-size: 52px;
  }

  .instagram_heading > h2 {
    font-size: 17px;
  }

  .instagram_grid > a, .instagram_grid > .instagram_more {
    width: calc(50% - 6px);
    padding: 14px;
  }

  .instagram_more > p {
    font-size: 14px;
  }

  .instagram_section {
    padding: 50px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv_slide {
    transition: none;
  }
}

body:not(.on) .fv_slide {
  transition: none !important;
}

.fv_word {
  font-family: "Public Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(50px, 10.07vw, 145px);
  letter-spacing: 0.0069em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(238, 235, 226);
}

.since {
  display: flex;
  align-items: baseline;
  gap: 8px;
  transform: none;
  letter-spacing: 0.08em;
  line-height: 1;
}

:nth-child(n):where(.since>span:first-child) {
  font-family: "Public Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

:nth-child(n):where(.since>span:last-child) {
  font-family: "Public Sans", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.25;
}

.nature_section > h2 {
  color: rgb(255, 255, 255);
}

.nature_section > h2 > img {
  filter: brightness(0) invert(1);
}

.experience_number {
  position: relative;
  font-family: Moul, serif;
  font-weight: 400;
  font-size: 66px;
  line-height: 1;
  letter-spacing: 0.04em;
}

body.on .experience_number::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-left: 24px;
  vertical-align: middle;
  background: rgb(51, 51, 51);
}

.experience_copy > h3 {
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.lunch_copy .section_english {
  line-height: 0.65;
}

@media (min-width: 769px) {
  .experience_card.copy_left {
    grid-template-columns: minmax(0px, 500fr) minmax(0px, 700fr);
  }

  .experience_card.copy_left > .photo_frame {
    grid-area: 1 / 2;
  }

  .experience_card.copy_right {
    grid-template-columns: minmax(0px, 700fr) minmax(0px, 500fr);
  }

  .experience_card.copy_right > .photo_frame {
    grid-area: 1 / 1;
  }

  .experience_card.copy_left > .experience_copy {
    grid-area: 1 / 1;
    margin: 0px;
    padding: 20px 80px 20px 40px;
    background: transparent;
    border-radius: 0px;
  }

  .experience_card.copy_right > .experience_copy {
    grid-area: 1 / 2;
    margin: 0px;
    padding: 20px 40px 20px 80px;
    background: transparent;
    border-radius: 0px;
  }

  .experience_english {
    position: absolute;
    top: 24px;
    margin: 0px;
    writing-mode: vertical-rl;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .copy_left .experience_english {
    left: 5px;
  }

  .copy_right .experience_english {
    left: 40px;
  }

  .experience_copy > h3 {
    margin: 24px 0px 20px;
    font-size: 30px;
  }

  .experience_card > .photo_frame {
    height: 470px;
  }

  .experience_copy .more_btn {
    margin-top: 20px;
  }

  .home_lunch > .photo_frame {
    width: 800px;
    max-width: 66.6667%;
    height: 540px;
  }

  .lunch_copy {
    max-width: 41.6667%;
    width: 500px;
    padding: 60px;
    margin-top: -378px;
  }

  .lunch_illustration {
    right: 49.57px;
    top: 490px;
    bottom: auto;
  }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .experience_card.copy_left > .experience_copy {
    padding: 20px 30px;
  }

  .experience_card.copy_right > .experience_copy {
    padding: 20px 20px 20px 45px;
  }

  .copy_left .experience_english {
    left: 0px;
  }

  .copy_right .experience_english {
    left: 10px;
  }

  .experience_copy > h3 {
    font-size: 24px;
  }

  .experience_number {
    font-size: 50px;
  }

  .experience_card > .photo_frame {
    height: 420px;
  }

  .lunch_copy {
    padding: 35px;
    max-width: 48%;
  }
}

@media (max-width: 768px) {
  .experience_number {
    font-size: 50px;
  }

  .experience_english {
    position: static;
    writing-mode: horizontal-tb;
    margin: 15px 0px 6px;
  }

  :nth-child(n):where(.since>span:first-child) {
    font-size: 14px;
  }

  :nth-child(n):where(.since>span:last-child) {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .fv_word {
    font-size: 9.5vw;
    letter-spacing: 0px;
  }

  :nth-child(n):where(.since>span:first-child) {
    font-size: 12px;
  }

  :nth-child(n):where(.since>span:last-child) {
    font-size: 30px;
  }

  .experience_number {
    font-size: 44px;
  }
}

.home_staff .collage_caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  text-align: right;
}

.home_staff .collage_caption p {
  color: rgb(255, 255, 255);
  text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 5px;
}

.home_staff .collage_kind {
  font-family: "Public Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.home_staff .collage_name {
  margin-top: 3px;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .home_staff .collage_caption {
    right: 12px;
    bottom: 12px;
  }

  .home_staff .collage_kind {
    font-size: 10px;
  }

  .home_staff .collage_name {
    font-size: 14px;
  }
}

body.on .home_staff .collage_item::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.48) 100%);
  opacity: 1;
  transition: opacity 0.35s;
}

.home_staff .collage_caption {
  z-index: 2;
}

@media (hover: hover) {
  body.on .home_staff .collage_item:hover::before {
    opacity: 0.35;
  }
}

body.on .home_staff .collage_item:focus-visible::before {
  opacity: 0.35;
}

@media (min-width: 769px) {
  .home_staff .photo_collage {
    grid-template-columns: minmax(0px, 300fr) minmax(0px, 560fr) minmax(0px, 300fr);
    grid-template-rows: repeat(2, clamp(155px, 17.014vw, 245px));
    gap: 15px 20px;
    padding-bottom: 50px;
  }

  .home_staff .collage_item:not(:nth-child(3)) {
    top: 50px;
  }

  .home_staff .collage_item:nth-child(3) {
    top: 0px;
  }
}

@media (max-width: 768px) {
  .home_staff .collage_item {
    top: 0px;
  }

  .home_staff .photo_collage {
    padding-bottom: 0px;
  }
}

.instagram_heading > h2 {
  position: relative;
  display: inline-block;
  padding-left: 25px;
}

body.on .instagram_heading > h2::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: rgb(33, 165, 128);
  border-radius: 50%;
}

@media (min-width: 769px) and (max-width: 1080px) {
  .experience_copy .more_btn > a {
    padding-inline: 22px;
    gap: 14px;
  }

  .experience_copy .more_btn > a > p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  body.on .experience_number::after {
    display: none;
  }

  .experience_number {
    text-align: center;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .experience_copy > .experience_english, .experience_copy > h3 {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .experience_copy > .experience_english {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .home_news .home_news_heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }

  .home_news .home_news_heading .section_intro {
    display: block;
    flex: 0 0 auto;
    min-width: 0px;
    margin: 0px;
  }

  .home_news .home_news_heading .section_heading {
    width: auto;
    text-align: left;
  }

  .home_news .home_news_heading .section_japanese {
    white-space: nowrap;
    margin-left: 0px;
    margin-right: 0px;
  }

  .home_news .home_news_heading .section_english {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .home_news .home_news_heading .more_btn {
    width: auto;
    flex: 0 0 auto;
    margin: 0px;
  }
}

@media (max-width: 576px) {
  .home_news .home_news_heading {
    gap: 12px;
  }

  .home_news .home_news_heading .section_english {
    font-size: 40px;
  }

  .home_news .home_news_heading .more_btn > a {
    padding-inline: 18px;
    min-height: 56px;
  }
}

.experience_section_title > span {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .home_about {
    padding-bottom: 30px !important;
  }

  .main-wrap > .home_experience {
    padding-top: 35px;
  }

  .experience_section_title > span {
    display: block;
  }
}

/* Static Instagram post cards linking to the official profile */
.instagram_grid>a.instagram_post{display:block;padding:0;background:#fff;border:1px solid #ccc;border-radius:14px;overflow:hidden;}
.instagram_post_header{display:flex;align-items:center;gap:7px;padding:10px 9px;}
.instagram_post_header>img{width:18px;height:18px;object-fit:contain;flex:none;}
.instagram_post_header>p{font-family:'Public Sans',sans-serif;font-size:11px;line-height:1.3;white-space:nowrap;}
.instagram_grid>a.instagram_post>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0;}
.instagram_post_footer{padding:8px 10px;}
.instagram_post_footer>p:first-child{font-size:18px;line-height:1.3;}
.instagram_post_footer>p:last-child{font-size:11px;line-height:1.6;margin-top:4px;}

/* Instagram Webgene post template */
.instagram_grid>.webgene-blog{display:contents;}
.instagram_grid>.webgene-blog>.webgene-item{display:block;min-width:0;padding:20px;border:1px solid #aaa;border-radius:24px;overflow:hidden;}
.instagram_grid .webgene-item>.bg_img_wrap2{display:block;width:100%;aspect-ratio:1;overflow:hidden;background-size:cover;background-position:center;}
.instagram_grid .webgene-item>.bg_img_wrap2>img{display:block;width:100%;height:100%;object-fit:cover;opacity:1;visibility:visible;}
@media(max-width:1200px){.instagram_grid>.webgene-blog>.webgene-item{padding:10px;border-radius:18px;}}
@media(max-width:768px){.instagram_grid>.webgene-blog>.webgene-item{width:calc((100% - 24px)/3);max-width:200px;}}
@media(max-width:576px){.instagram_grid>.webgene-blog>.webgene-item{width:calc((100% - 12px)/2);padding:14px;}}
.facility_home_layout .section_english {
  white-space: nowrap;
  font-size: clamp(32px, 5vw, 80px);
}
.more_btn > a:hover,
.more_btn > a:hover p,
.more_btn > a:hover .btn_arrow {
  color: #fff;
}
/* 英語見出しを単語の途中で改行しない */
.main-wrap .section_english {
  word-break: normal;
  overflow-wrap: normal;
}

/* NEWS・FACILITYを1行で表示 */
.main-wrap .home_news .section_english,
.main-wrap .facility_home_layout .section_english {
  white-space: nowrap;
  font-size: clamp(32px, 5vw, 80px);
}


/* 矢印の動き */
.main-wrap .btn_arrow,
.main-wrap .news_arrow,
.main-wrap .facility_shortcuts > a > img {
  transition: translate .35s ease !important;
}

@media (hover: hover) {
  .main-wrap .more_btn > a:hover .btn_arrow,
  .main-wrap .news_item:hover .news_arrow,
  .main-wrap .facility_shortcuts > a:hover > img {
    translate: 6px 0;
  }
}