/* ---  共通スタイル ----*/
body {
  max-width: 100%;
}
main.page ul {
  padding: 0;
}
main.page li {
  list-style: none;
}
main.page img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
main.page dd {
  margin: 0;
}
main.page h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.13em;
  line-height: 2.75;
  font-weight: 400;
}
main.page h3 {
  margin: 0;
}
main.page p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.13em;
  line-height: 2.6;
  font-weight: 400;
}
main.page .section-inner {
  max-width: var(--base-width);
  margin: 0 auto;
}
main.page .container {
  box-sizing: border-box;
  width: calc(100% - 480px);
  margin-left: auto;
  margin-right: 0;
}
main.page .section-title {
  display: flex;
  flex-direction: column;
  row-gap: 88px;
}
main.page .section-title-en {
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 2.6;
  font-family: var(--font-tt-commons), sans-serif;
}
main.page .section-title--small {
  font-size: 14px;
  letter-spacing: 0.18em;
}
main.page .section__lead {
  margin-top: 47px;
}
main.page .section-text + .section-text {
  margin-top: 35px;
}

main.page .floating-menu__nav-item {
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: auto;
}

main.page .floating-menu__nav-item.is-footer-active {
  opacity: 0;
  pointer-events: none;
}

/* ------------ 会社概要ページ  ------------ */

.company p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.13em;
  line-height: 2.6;
  font-weight: 400;
}

.company .section-inner {
  max-width: var(--base-width);
  margin: 0 auto;
}
.company .container {
  box-sizing: border-box;
  width: calc(100% - 480px);
  margin-left: auto;
  margin-right: 0;
}

.company .section__lead {
  margin-top: 47px;
}
.company .section-text + .section-text {
  margin-top: 35px;
}
.company .section-body {
  box-sizing: border-box;
  padding-right: calc(93px / 1120px * 100%);
  display: grid;
  grid-template-columns: minmax(300px, calc(560px / 1027px * 100%)) 1fr;
  column-gap: calc(89px / 1027px * 100%);
}
/* mv */
.company .mv {
  margin-top: 96px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), center / cover no-repeat url("../images/company-mv.jpg");
  width: 100%;
}
.company .mv__inner {
  padding-top: 158px;
  padding-bottom: 207px;
  max-width: var(--base-width);
  margin: 0 auto;
}
.company .mv__title--en {
  color: white;
}
.company .mv__title--jp {
  color: white;
}
.company .mv-text {
  color: white;
}
/* floating-menu */
.company .floating-menu {
  position: fixed;
  top: 250px;
  left: 7.5%;
  z-index: 10;
}
.company .floating-menu__nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 21px;
}
.company .floating-menu__nav-item {
  position: relative;
  padding-bottom: 7px;
}
.company .floating-menu__nav-item.is-mission-active a {
  color: white;
}
.company .floating-menu__nav-item::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 100px;
  background: var(--color-accent);
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.company .floating-menu__nav-item.is-active::after {
  opacity: 1;
}

.company .floating-menu__nav-item a {
  font-size: 16px;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: var(--color-primary);
  font-family: var(--font-tt-commons), sans-serif;
}

/* vision */
.company .vision {
  padding-top: 100px;
  padding-bottom: 50px;
}

.company .vision__imgs {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 8px;
}

.company .vision__img img {
  aspect-ratio: 369 / 500;
  object-fit: cover;
}

/* greeting */
.company .greeting {
  padding-top: 116px;
  padding-bottom: 50px;
}
.company .greeting__section-title {
  row-gap: 67px;
}
.company .greeting__body {
  margin-top: 45px;
}

.company .greeting__body-img img {
  aspect-ratio: 560/546;
  object-fit: cover;
}
.company .greeting__body-lead {
  margin-top: -10px;
}
.company .greeting__body-text {
  color: var(--color-third);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 2.5;
}
.company .greeting__body-meta {
  margin-top: 55px;
}
.company .greeting__body-meta-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}
.company .greeting__body-meta-name {
  font-size: 18px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}
/* information */
.company .information {
  padding-top: 182px;
}
.company .information__body {
  margin-top: 108px;
}
.company .information__img img {
  aspect-ratio: 560 / 487;
  object-fit: cover;
}
.company .information__list {
  display: flex;
  flex-direction: column;
  row-gap: 21px;
}
.company .information__item {
  display: flex;
  column-gap: 8px;
}
.company .information__item-label {
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 120px;
}
.company .information__item-data {
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.12em;
}
/* -------------        FLOWページ  ------------------- */
.flow ul {
  padding: 0;
}
.flow li {
  list-style: none;
}
.flow img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
/* mv */
.flow .mv {
  margin-top: 97px;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 661;
  background: 50% 29% / cover no-repeat url("../images/flow-mv.png");
}
/* floating-menu */
.flow .floating-menu {
  position: fixed;
  top: 200px;
  left: 7.5%;
  z-index: 10;
}
.flow .floating-menu__nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 21px;
}
.flow .floating-menu__nav-item {
  position: relative;
  padding-bottom: 7px;
}
.flow .floating-menu__nav-item.is-mv-active {
  opacity: 0;
  pointer-events: none;
}
.flow .floating-menu__nav-item--en {
  min-width: 20px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-family: var(--font-tt-commons), sans-serif;
}
.flow .floating-menu__nav-item::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 200px;
  background: var(--color-accent);
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.flow .floating-menu__nav-item.is-active::after {
  opacity: 1;
}

.flow .floating-menu__nav-item a {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 400;
  color: var(--color-primary);
  display: flex;
  align-items: flex-end;
  column-gap: 10px;
}
/* flow-section */
.flow .flow-section {
  padding-top: 123px;
  padding-bottom: 100px;
}

.flow .flow-section__container {
  padding-right: calc(80px / 1120px * 100%);
}
.flow .flow-section__body {
  padding-top: 303px;
}
.flow .flow-section__item {
  position: relative;
  scroll-margin-top: 120px;
  padding-top: 27px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: calc(57px / 1120px * 100%);
}
.flow .flow-section__item:not(:last-of-type)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: calc(100% - 85px);
  background: var(--color-primary);
  left: 4px;
  bottom: 0;
}

.flow .flow-section__item-title {
  display: flex;
  align-items: flex-end;
  min-height: 25px;
  column-gap: 14px;
}
.flow .flow-section__item-title--en {
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 600;
  font-family: var(--font-tt-commons), sans-serif;
}
.flow .flow-section__item-title--jp {
  font-size: 18px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.flow .flow-section__item-info {
  display: flex;
  flex-direction: column;
}
.flow .flow-section__item-info-text {
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 400;
  line-height: 2.25;
}
.flow .flow-section__item-description {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 2.16;
}
/* -------------        STAFFページ  ------------------- */

main.page.staff .container {
  padding-right: 0;
}
.staff .mv {
  margin-top: 97px;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 661;
  background: 50% 65% / cover no-repeat url("../images/staff-mv.webp");
}
/* floating-menu */
.staff .floating-menu {
  position: fixed;
  top: 200px;
  left: 7.5%;
  z-index: 10;
}
.staff .floating-menu__nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 28px;
}
.staff .floating-menu__nav-item {
  position: relative;
  padding-bottom: 7px;
}
.staff .floating-menu__nav-item.is-mv-active {
  opacity: 0;
  pointer-events: none;
}
.staff .floating-menu__nav-item--en {
  min-width: 20px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-family: var(--font-tt-commons), sans-serif;
}
.staff .floating-menu__nav-item::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 140px;
  background: var(--color-accent);
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.staff .floating-menu__nav-item.is-active::after {
  opacity: 1;
}

.staff .floating-menu__nav-item a {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 400;
  color: var(--color-primary);
  display: flex;
  align-items: flex-end;
  column-gap: 3px;
}
/* staff-section */
.staff .staff-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.staff .staff-section .staff-section__title {
  row-gap: 108px;
}

.staff .staff-section__title .section-title-en {
  display: flex;
  align-items: flex-end;
  column-gap: 32px;
  line-height: 1;
}

.staff .staff-section__swiper-container {
  margin-top: 180px;
  position: relative;
}

.staff .staff-section__swiper-slide {
  width: 363px;
}

.staff .staff-section__swiper-slide-img img {
  aspect-ratio: 364 /500;
  object-fit: cover;
}
.staff .staff-section__swiper-pagination {
  display: none;
}
.staff .staff-section__body {
  margin-top: 168px;
  display: flex;
  flex-direction: column;
  row-gap: 154px;
}
.staff .staff-section__item {
  scroll-margin-top: 120px;
  box-sizing: border-box;
  padding-right: calc(93px / 1120px * 100%);
  display: grid;
  grid-template-columns: minmax(300px, calc(560px / 1027px * 100%)) 1fr;
  column-gap: calc(89px / 1027px * 100%);
}

.staff .staff-section__item-img img {
  aspect-ratio: 560/546;
  object-fit: cover;
}

.staff .staff-section__item-lead-title {
  margin-top: 7px;
}
.staff .staff-section__item-lead-title--en {
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-family: var(--font-tt-commons), sans-serif;
}
.staff .staff-section__item-lead-title--jp {
  font-size: 24px;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.staff .staff-section__item-text {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 2.5;
  font-weight: 400;
}

/*------------  1300px以下 ------------  */
@media screen and (max-width: 1300px) {
  /* ---  共通スタイル ----*/
  main.page .container {
    width: calc(100% - 350px);
  }
  /* -------------        FLOWページ  ------------------- */
  .flow .flow-section__container {
    padding-right: calc(20px / 950px * 100%);
  }
  .flow .flow-section__item {
    column-gap: calc(20px / 1120px * 100%);
  }
  /* -------------        STAFFページ  ------------------- */
  .staff .staff-section__item {
    padding-right: calc(40px / 950px * 100%);
    column-gap: calc(40px / 1120px * 100%);
  }
}

/*------------  1200px以下 ------------  */
@media screen and (max-width: 1200px) {
  /* ------------ 会社概要ページ  ------------ */
  .company .section-body {
    grid-template-columns: 1fr;
    row-gap: 43px;
  }
  /* -------------        STAFFページ  ------------------- */
  .staff .staff-section__item {
    grid-template-columns: 1fr;
  }
}
/*------------  1100px以下 ------------  */
@media screen and (max-width: 1100px) {
  /* -------------        FLOWページ  ------------------- */
  .flow .flow-section__body {
    padding-top: 194px;
  }
  .flow .flow-section__item {
    padding-top: 24px;
    padding-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0px;
    row-gap: 35px;
  }
  .flow .flow-section__item:not(:last-of-type)::after {
    height: calc(100% - 70px);
  }
  .flow .flow-section__item-right {
    padding-left: 30px;
  }
}
/*------------  1000px以下 ------------  */
@media screen and (max-width: 1000px) {
  main.page .container {
    width: calc(100% - 250px);
  }
}
/* ------------------ SP -------------------------- */
@media screen and (max-width: 768px) {
  /* ---  共通スタイル ----*/
  main.page h2 {
    font-size: 18px;
    letter-spacing: 0.35em;
    line-height: 2.85;
    font-weight: 400;
  }
  main.page p {
    font-size: 12px;
    letter-spacing: 0.13em;
    line-height: 2.2;
    font-weight: 400;
  }
  main.page .section-title {
    row-gap: 68px;
    max-width: 390px;
    margin-inline: auto;
  }
  main.page .section-title-en {
    font-size: 18px;
    letter-spacing: 0.15em;
    line-height: 2.6;
  }
  main.page .container {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
  main.page .section__lead {
    margin-top: 33px;
    max-width: 390px;
    margin-inline: auto;
  }
  main.page .section-text + .section-text {
    margin-top: 24px;
  }
  /*------------  会社概要ページ ------------  */

  .company .section-body {
    padding-right: 0px;
    max-width: 390px;
    margin-inline: auto;
  }
  /* mv */
  .company .mv {
    margin-top: 69px;
    background-position: 80% center;
  }
  .company .mv__inner {
    padding-top: 60px;
    padding-bottom: 110px;
  }

  /* floating-menu */
  .company .floating-menu {
    top: 100px;
    right: 22px;
    left: auto;
    width: fit-content;
  }
  .company .floating-menu__nav-list {
    row-gap: 1px;
  }
  .company .floating-menu__nav-item {
    padding-bottom: 0;
  }
  .company .floating-menu__nav-item::after {
    display: none;
  }
  .company .floating-menu__nav-item.is-mission-active a {
    color: var(--color-accent);
  }
  .company .floating-menu__nav-item a {
    font-size: 11px;
    color: var(--color-accent);
  }
  .company .floating-menu__nav-item.is-active a {
    color: var(--color-primary);
  }

  /* Vision */
  .company .vision {
    padding-top: 158px;
    overflow: hidden;
  }

  .company .vision__imgs {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    column-gap: 6px;
  }

  .company .vision__img img {
    aspect-ratio: 130 / 179;
  }
  /* greeting */
  .company .greeting {
    padding-top: 88px;
  }
  .company .greeting__section-title {
    row-gap: 17px;
  }
  .company .greeting__section-title .section-title-jp {
    font-size: 16px;
    letter-spacing: 0.16em;
  }
  .company .greeting__body {
    margin-top: 62px;
  }
  .company .greeting__body-img img {
    aspect-ratio: 340 /300;
  }
  .company .greeting__body-text {
    line-height: 2.16;
  }
  .company .greeting__body-meta {
    margin-top: 81px;
    display: grid;
    flex-direction: column;
    row-gap: 8px;
  }
  .company .greeting__body-meta-role {
    font-size: 11px;
  }
  .company .greeting__body-meta-name {
    font-size: 16px;
  }
  /* information */
  .company .information {
    padding-top: 154px;
    padding-bottom: 50px;
  }
  .company .information__body {
    margin-top: 62px;
    row-gap: 60px;
  }
  .company .information__item {
    column-gap: 20px;
  }
  .company .information__img img {
    aspect-ratio: 340 /300;
  }
  .company .information__item-label {
    font-size: 10px;
    min-width: 100px;
  }
  /* -------------        FLOWページ  ------------------- */
  /* mv */
  .flow .mv {
    margin-top: 69px;
    aspect-ratio: 400 / 180;
    background-position: 50% 50%;
  }
  /* floating-menu */
  .flow .floating-menu {
    display: none;
  }
  /* flow-section */
  .flow .flow-section {
    padding-top: 63px;
  }
  .flow .flow-section .section-title {
    row-gap: 78px;
  }
  .flow .flow-section__body {
    max-width: 390px;
    margin-inline: auto;
  }
  .flow .flow-section__item-info {
    row-gap: 5px;
  }
  .flow .flow-section__item-title {
    column-gap: 22px;
  }
  .flow .flow-section__item-info-text {
    font-size: 14px;
    line-height: 1.77;
  }
  .flow .flow-section__item-description {
    margin-top: 14px;
    line-height: 1.9;
  }
  /* -------------        STAFFページ  ------------------- */
  /* mv */
  .staff .mv {
    margin-top: 69px;
    aspect-ratio: 400 / 180;
  }
  /* floating-menu */
  .staff .floating-menu {
    margin-top: 97px;
    position: static;
    max-width: 390px;
    margin-inline: auto;
  }
  .staff .floating-menu__nav-list {
    row-gap: 19px;
  }
  .staff .floating-menu__nav-item--en {
    min-width: unset;
    font-size: 13px;
  }

  .staff .floating-menu__nav-item a {
    font-size: 12px;
    column-gap: 8px;
  }
  /* staff-section */
  .staff .staff-section {
    overflow: hidden;
    padding-top: 77px;
    padding-bottom: 120px;
  }
  .staff .staff-section .staff-section__title {
    row-gap: 99px;
  }
  .staff .section-title-jp {
    font-size: 16px;
    line-height: 2.575;
  }
  .staff .staff-section__title .section-title-en {
    column-gap: 13px;
  }
  .staff .staff-section__title .section-title--small {
    font-size: 10px;
  }
  .staff .staff-section .section__lead {
    margin-top: 44px;
    padding-right: 30px;
    letter-spacing: normal;
  }
  .staff .staff-section .section-text {
    letter-spacing: 0.18em;
  }
  .staff .staff-section__swiper-container {
    margin-top: 76px;
  }
  .staff .staff-section__swiper {
    max-width: 390px;
    margin-inline: auto;
  }

  .staff .staff-section__body {
    padding-right: 30px;
    max-width: 390px;
    margin-inline: auto;
  }
  .staff .staff-section__item {
    padding-right: 0;
  }
  .staff .staff-section__swiper-slide {
    width: 130px;
  }
  .staff .staff-section__swiper-slide-img img {
    aspect-ratio: 130 /179;
    object-fit: cover;
  }
  .staff .staff-section__swiper-pagination {
    display: block;
  }
  .staff .swiper-pagination-bullets.swiper-pagination-horizontal {
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    margin: 0;
    padding: 0;
  }
  .staff .swiper-pagination-progressbar.swiper-pagination-horizontal {
    top: calc(100% + 44px);
    left: 50%;
    translate: -58% 0;
    max-width: 200px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #d9d9d9;
  }
  .staff .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #757575;
  }
  .staff .staff-section__body {
    margin-top: 116px;
    row-gap: 100px;
  }

  .staff .staff-section__item-img img {
    aspect-ratio: 340/300;
    object-fit: cover;
  }
  .staff .staff-section__item-lead-title {
    margin-top: 20px;
  }
  .staff .staff-section__item-lead-title--en {
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 1.75;
  }
  .staff .staff-section__item-lead-title--jp {
    font-size: 16px;
    letter-spacing: 0.2em;
    line-height: 1.9;
  }
  .staff .staff-section__item-text {
    margin-top: 34px;
    line-height: 2.2;
  }
}
