body[data-id="company"] .l-main {
  background-color: var(--base-color);
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 400;
  line-height: 1;

  --base-color: #333;
  --border-color: #999999;
  --white: #fff;
  --point-text-color: #444444;
  --base-font-weight: 400;
  --title-font-weight: 700;
  --inner-padding: clamp(15px, -51.54758px + 9.84975vw, 83px);
  --inner-width: 1200;
  --inner-width-px: calc(var(--inner-width) * 1px);
  --base-border-radius: 10px;
  --vw: 1vw;
  --vh: 1vh;
  --slope-1px: clamp(0px, -.95663px + .2551vw, 1px);
  --slope-1px-desktop: clamp(0px, -1.7778px + .2315vw, 1px);
}

body[data-id="company"] .l-main__body {
  padding-block: 0;
}

/* p-company-common-title
============================== */
.p-company-common-title {
  position: relative;
  z-index: 0;
  text-align: center;
  font-weight: bold;
  font-size: calc(28px + var(--slope-1px) * 12);
  font-family: var(--base-font-family);
}

.p-company-common-title._left {
  text-align: left;
}

.p-company-common-title:not(:last-child) {
  padding-bottom: calc(30px + var(--slope-1px) * 15);
}

.p-company-common-title:before {
  content: attr(data-en);
  position: relative;
  z-index: -1;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: calc(20px + var(--slope-1px) * 4);
  border-bottom: 1px solid;
  color: var(--point-text-color);
  font-weight: var(--title-font-weight);
  font-size: calc(62px + var(--slope-1px) * 66);
  font-family: var(--en-font-family);

  text-box: trim-both cap alphabetic;
}

.p-company-common-title._left:before {
  margin-left: 0;
}

/* p-company-button
============================== */
.p-company-button {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 247px;
  height: 51px;
  border: 1px solid var(--base-color);
  border-radius: var(--ovall-radius);
  background-color: var(--base-color);
  color: var(--white);
  text-decoration: none;
  /* font-size: min(calc(100cqi * (15 / 1366)), 15px); */
  font-weight: bold;
  font-size: calc(14px + var(--slope-1px) * 1);
  font-family: var(--base-font-family);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

@media screen and (max-width: 767px) {
  .p-company-button {
    width: 303px;
  }
}

.p-company-button._white {
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--base-color);
}

.p-company-button:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 9%;
  flex-shrink: 0;
  width: 6px;
  height: 10px;
  background-color: var(--white);
  transition: background-color .3s ease;
  transform: translateY(-50%);

  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M0.175686 0.173798C0.409934 -0.0579327 0.791197 -0.0579327 1.02545 0.173798L5.02431 4.12969C5.25856 4.36142 5.25856 4.73858 5.02431 4.97031L1.02545 8.9262C0.791197 9.15793 0.409934 9.15793 0.175686 8.9262C-0.0585621 8.69447 -0.0585621 8.31731 0.175686 8.08558L3.74967 4.55L0.175686 1.01442C-0.0585621 0.782694 -0.0585621 0.405529 0.175686 0.173798Z' fill='black'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M0.175686 0.173798C0.409934 -0.0579327 0.791197 -0.0579327 1.02545 0.173798L5.02431 4.12969C5.25856 4.36142 5.25856 4.73858 5.02431 4.97031L1.02545 8.9262C0.791197 9.15793 0.409934 9.15793 0.175686 8.9262C-0.0585621 8.69447 -0.0585621 8.31731 0.175686 8.08558L3.74967 4.55L0.175686 1.01442C-0.0585621 0.782694 -0.0585621 0.405529 0.175686 0.173798Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.p-company-button._white:after {
  background-color: var(--base-color);
}

.p-company-button:hover {
  border: 1px solid var(--base-color);
  background-color: var(--white);
  color: var(--base-color);
  transition: all .3s;
}

.p-company-button:hover:after {
  background-color: var(--base-color);
}

.p-company-button._white:hover {
  border: 1px solid var(--white);
  background-color: var(--base-color);
  color: var(--white);
}

.p-company-button._white:hover:after {
  background-color: var(--white);
}

/* p-company-mv
============================== */
.p-company-mv {
  position: relative;
  width: 100cqi;
  margin-inline: calc(50% - 50cqi);
}

.p-company-mv:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 55%, var(--base-color) 100%);
  pointer-events: none;
  /* z-index: 1; */
}

@media screen and (max-width: 560px) {
  .p-company-mv {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
}

@media screen and (max-width: 560px) {
  .p-company-mv-slide {
    display: flex;
    width: 630vw;
    animation: mvslider 35s linear infinite;
  }
}

/* p-company-mv-bg
============================== */
.p-company-mv-bg[mv-hidden="true"] {
  display: none;
}

.p-company-mv-bg {
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(8, 1fr);
  width: 100%;

  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

@media screen and (max-width: 560px) {
  .p-company-mv-bg {
    flex-shrink: 0;
    width: 315vw;
    aspect-ratio: 1366 / 620;
  }
  .p-company-mv-bg[mv-hidden="true"] {
    display: grid;
  }
}

@keyframes mvslider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.p-company-mv-bg__item-01 {
  grid-area: 1 / 1 / 2 / 2;
}

.p-company-mv-bg__item-02 {
  grid-area: 1 / 2 / 2 / 4;
}

.p-company-mv-bg__item-03 {
  grid-area: 1 / 4 / 3 / 6;
}

.p-company-mv-bg__item-04 {
  grid-area: 1 / 6 / 2 / 7;
}

.p-company-mv-bg__item-05 {
  grid-area: 1 / 7 / 3 / 9;
}

.p-company-mv-bg__item-06 {
  grid-area: 2 / 1 / 3 / 3;
}

.p-company-mv-bg__item-07 {
  grid-area: 2 / 3 / 3 / 4;
}

.p-company-mv-bg__item-08 {
  grid-area: 2 / 6 / 3 / 7;
}

.p-company-mv-bg__item-09 {
  grid-area: 3 / 1 / 4 / 3;
}

.p-company-mv-bg__item-10 {
  grid-area: 3 / 3 / 5 / 5;
}

.p-company-mv-bg__item-11 {
  grid-area: 3 / 5 / 5 / 7;
}

.p-company-mv-bg__item-12 {
  grid-area: 3 / 7 / 4 / 9;
}

.p-company-mv-bg__item-13 {
  grid-area: 4 / 1 / 5 / 3;
}

.p-company-mv-bg__item-14 {
  grid-area: 4 / 7 / 5 / 9;
}

.p-company-mv-bg > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* p-company-mv__inner
============================== */
.p-company-mv__inner {
  width: calc(100% - var(--inner-padding) * 2);
  max-width: var(--inner-width-px);
  margin-inline: auto;
}

/* p-company-mv__title
============================== */
.p-company-mv__title {
  position: absolute;
  bottom: 13%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .39em;
  white-space: nowrap;
  font-weight: bold;
  font-size: min(calc(100cqi * (76 / 1366)), 76px);
  font-family: "Montserrat", sans-serif;
}

@media screen and (max-width: 560px) {
  .p-company-mv__title {
    font-size: calc(100cqi * (33 / 375));
  }
}

.p-company-mv__title p {
  display: flex;
  gap: .13158em;
  letter-spacing: -.76px;
}

@media screen and (max-width: 560px) {
  .p-company-mv__title p {
    gap: .2424241em;
  }
}

.p-company-mv__title p span {
  position: relative;
  top: .085em;
  font-weight: 900;
  font-size: min(calc(100cqi * (59 / 1366)), 59px);
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 560px) {
  .p-company-mv__title p span {
    top: 0;
    font-size: calc(100cqi * (30 / 375));
  }
}

.p-company-mv__title em {
  font-size: min(calc(100cqi * (140 / 1366)), 140px);
  font-family: var(--base-font-family);
}

@media screen and (max-width: 560px) {
  .p-company-mv__title em {
    font-size: calc(100cqi * (72 / 375));
  }
}

.p-company-mv__title em span {
  position: relative;
  right: .3em;
}

/* p-company-mv-image
============================== */
.p-company-mv-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.p-company-mv-image img {
  width: 100%;
  object-fit: cover;
}

/* p-company-mv-lead
============================== */
.p-company-mv-lead {
  font-size: calc(16px + var(--slope-1px-desktop) * 4);
  font-family: var(--base-font-family);

  --text-width: calc(25em + 26px);
}

.p-company-mv-lead__body {
  position: relative;
  padding-block: calc(3px + var(--slope-1px) * 19) min(calc(100cqi * (80 / 1366)), 80px);
}

@media screen and (max-width: 768px) {
  .p-company-mv-lead__body {
    padding-bottom: 4em;
  }
}

.p-company-mv-lead__title {
  width: 57%;
  margin-bottom: calc(22.4px + var(--slope-1px-desktop) * 7.6);
  font-size: calc(24px + var(--slope-1px-desktop) * 8);
}

@media screen and (max-width: 768px) {
  .p-company-mv-lead__title {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .p-company-mv-lead__title {
    white-space: nowrap;
  }
}

.p-company-mv-lead p {
  max-width: var(--text-width);
  line-height: 2.2;
}

@media screen and (max-width: 768px) {
  .p-company-mv-lead p {
    width: 100%;
    line-height: 2.2;
  }
}

@media screen and (max-width: 560px) {
  .p-company-mv-lead p {
    font-size: calc(100cqi * (16 / 375));
  }
}

/* p-company-mv-map
============================== */
.p-company-mv-map {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(calc(100% - var(--text-width)), 670px);
  margin-inline: calc(50% - 50cqi);
}

@media screen and (max-width: 1000px) {
  .p-company-mv-map {
    bottom: 50%;
    transform: translateY(40%);
  }
}

@media screen and (max-width: 768px) {
  .p-company-mv-map {
    position: static;
    width: 100cqi;
    padding-top: 2em;
    padding-left: 1em;
    transform: none;
  }
  .p-company-mv-map img {
    width: 100%;
  }
}

/* p-company-philosophy
============================== */
.p-company-philosophy {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(40px + var(--slope-1px) * 40);
  overflow: hidden;
  width: min(1100px, 100%);
  margin-inline: auto;
  margin-top: calc(37px + var(--slope-1px) * 46);
  margin-bottom: calc(32px + var(--slope-1px) * 68);
  padding: calc(30px + var(--slope-1px) * 50) calc(15px + var(--slope-1px) * 68);
  border-radius: calc(var(--base-border-radius) * 2);
  background: var(--dark-base-color);
}

.p-company-philosophy__title {
  display: grid;
  grid-template-columns: 100%;
  text-align: center;
  font-weight: 700;
  line-height: 1;

  text-box: trim-both cap alphabetic;
}

.p-company-philosophy__title:before {
  content: "Philosophy";
  position: relative;
  left: 50%;
  width: fit-content;
  margin-bottom: calc(20px + var(--slope-1px) * 4);
  border-bottom: 1px solid;
  color: #444;
  font-weight: 700;
  font-size: calc(62px + var(--slope-1px) * 66);
  font-family: var(--en-font-family);
  transform: translateX(-50%);

  text-box: trim-both cap alphabetic;
}

.p-company-philosophy__title-sub {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5em;
  margin-bottom: calc(16px + var(--slope-1px) * 8);
  font-size: calc(16px + var(--slope-1px) * 8);

  text-box: trim-both cap alphabetic;
}

.p-company-philosophy__title-sub i {
  font-size: calc(20px + var(--slope-1px) * 10);
  font-family: var(--en-font-family);
}

.p-company-philosophy__title-main {
  font-size: calc(28px + var(--slope-1px) * 12);
}

.p-company-philosophy__body {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(40px + var(--slope-1px) * 24);
}

.p-company-philosophy__lead {
  margin-block: var(--leading-trim);
  text-align: center;
  letter-spacing: 0;
  font-size: calc(26px + var(--slope-1px) * 6);
  line-height: 1.25;
}

.p-company-philosophy__list {
  display: grid;
  grid-template-columns: 100%;
  gap: 40px;
  list-style: decimal;
}

.p-company-philosophy__item {
  margin-block: var(--leading-trim);
  margin-left: 1.5em;
  list-style: decimal;
  list-style-position: outside;
  font-size: calc(18px + var(--slope-1px) * 2);
  line-height: 1.75;
}

/* p-company-showroom-section
============================== */
.p-company-showroom-section {
  position: relative;
  width: 100cqi;
  height: 120vh;
  margin-inline: calc(50% - 50cqi);
  transition-delay: .5s;

  --scroll-progress: 0;
}

@media screen and (max-width: 768px) {
  .p-company-showroom-section {
    height: 100%;
    transition-delay: 0s;
  }
}

/* p-company-showroom-wrapper
============================== */
.p-company-showroom-wrapper {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100svh;
}

@media screen and (max-width: 768px) {
  .p-company-showroom-wrapper {
    height: 100%;
  }
}

/* p-company-showroom
============================== */
.p-company-showroom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(85% + (15% * var(--scroll-progress)));
  margin-inline: 0;
  padding-block: calc(32px + var(--slope-1px) * 24);
  border-radius: 40px;
  background: linear-gradient(90deg, #1976c7 0%, #841f58 50%, #d41818 100%);
  transition: border-radius .1s linear;
}

@media screen and (max-width: 768px) {
  .p-company-showroom {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #d41818 0%, #841f58 50%, #1976c7 100%);
  }
}

/* p-company-showroom__inner
============================== */
.p-company-showroom__inner {
  width: calc(100% - var(--inner-padding) * 2);
  max-width: var(--inner-width-px);
  margin-inline: auto;
  opacity: 0;
  transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  transform: translateY(50px);
}

@media screen and (max-width: 768px) {
  .p-company-showroom__inner {
    width: calc(100% - var(--inner-padding) * 0);
    opacity: 1;
    transform: none;
  }
}

/* p-company-showroom__container
============================== */
.p-company-showroom__container {
  padding: calc(15px + var(--slope-1px) * 5);
  background-image: url(../img/company/bg-showroom.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .p-company-showroom__container {
    background-image: url(../img/company/bg-showroom_sp.png);
    /* background-size: cover; */
  }
}

/* p-company-showroom__body
============================== */
.p-company-showroom__body {
  display: flex;
  justify-content: center;
  gap: calc(24px + var(--slope-1px) * 16);
}

@media screen and (max-width: 768px) {
  .p-company-showroom__body {
    flex-direction: column;
  }
}

.p-company-showroom-section.is-scrolled .p-company-showroom__inner {
  opacity: 1;
  transform: translateY(0);
}

/* p-company-showroom__block
============================== */
.p-company-showroom__block {
  width: 48.276%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--white);
  background-image: url(../img/company/map-matsumotominami.png);
  background-position: 46% 51%;
  background-size: 48%;
  background-repeat: no-repeat;

  container-type: inline-size;
}

.p-company-showroom__block.--yamanashi {
  background-image: url(../img/company/map-yamanashihigashi.png);
  background-position: 59.5% 65%;
  background-size: 58%;
}

@media screen and (max-width: 768px) {
  .p-company-showroom__block {
    width: 100%;
  }
  .p-company-showroom__block.--yamanashi {
    background-position: 59.5% 60%;
    background-size: 64%;
  }
}

/* p-company-showroom__item
============================== */
.p-company-showroom__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100cqi / 560 * 367);
  height: 100%;
  margin-inline: auto;
  padding-top: min(calc(100cqi * .2143), 120px);
}

@media screen and (max-width: 560px) {
  .p-company-showroom__item {
    width: calc(100cqi / 345 * 226);
    padding-top: calc(100cqi / 345 * 79);
  }
  .--yamanashi .p-company-showroom__item {
    padding-top: calc(100cqi / 345 * 42);
  }
}

/* p-company-showroom__head
============================== */
.p-company-showroom__head {
  width: calc(100cqi / 560 * 283);
  margin-bottom: calc(100cqi / 560 * 32);
}

@media screen and (max-width: 768px) {
  .p-company-showroom__head {
    width: 59.2%;
  }
}

@media screen and (max-width: 560px) {
  .p-company-showroom__head {
    width: calc(100cqi / 345 * 180);
    margin-bottom: calc(100cqi / 345 * 24);
  }
}

/* p-company-showroom__foot
============================== */
.p-company-showroom__foot {
  display: flex;
  align-items: center;
  gap: calc(12px + var(--slope-1px) * 12);
  width: 100%;
}

/* p-company-showroom__counter
============================== */
.p-company-showroom__counter {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: calc(2px + var(--slope-1px) * 2);
  width: calc(100cqi / 560 * 166);
  padding-block: calc(100cqi / 560 * 30);
  border: 1px solid var(--border-color);
  border-radius: var(--base-border-radius);
  color: var(--base-color);
  white-space: nowrap;
  font-weight: bold;
  font-size: calc(100cqi / 560 * 26);
  font-family: var(--base-font-family);
}

@media screen and (max-width: 560px) {
  .p-company-showroom__counter {
    width: calc(100cqi / 345 * 88);
    padding-block: calc(100cqi / 345 * 28);
  }
}

.p-company-showroom__counter em {
  font-weight: var(--base-font-weight);
  font-size: calc(100cqi / 560 * 80);
  font-family: var(--en-font-family);
  line-height: .78;
}

@media screen and (max-width: 560px) {
  .p-company-showroom__counter em {
    font-size: calc(100cqi / 345 * 48);
  }
}

/* p-company-showroom__nav
============================== */
.p-company-showroom__nav {
  display: flex;
  flex-direction: column;
  gap: calc(8px + var(--slope-1px) * 8);
  width: 50%;
}

.p-company-showroom__nav .p-company-button {
  width: 100%;
  font-size: calc(100cqi / 560 * 15);
}

@media screen and (max-width: 560px) {
  .p-company-showroom__nav .p-company-button {
    font-size: calc(100cqi / 345 * 14);
  }
}

/* p-company-showroom__button
============================== */
.p-company-showroom__button {
  width: 100%;
  margin-top: calc(100cqi / 560 * 32);
}

@media screen and (max-width: 560px) {
  .p-company-showroom__button {
    margin-top: calc(100cqi / 345 * 24);
  }
}

.p-company-showroom__button a {
  width: calc(100cqi / 560 * 367);
  font-size: calc(100cqi / 560 * 15);
}

@media screen and (max-width: 560px) {
  .p-company-showroom__button a {
    height: 3em;
    font-size: calc(100cqi / 345 * 14);
  }
  .p-company-showroom__button a:after {
    right: 16px;
  }
}

/* p-company-message
============================== */
.p-company-message {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(80px + var(--slope-1px) * 20);
  padding-block: calc(32px + var(--slope-1px) * 32);
}

.p-company-message__body {
  display: contents;
}

/* p-company-message-block
============================== */
.p-company-message-block {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(48px + var(--slope-1px) * 16);
}

.p-company-message-block__head {
  margin-block: var(--leading-trim);
  text-align: center;
  font-weight: 500;
  font-size: calc(23px + var(--slope-1px) * 11);
  line-height: 1.7;
}

@media screen and (max-width: 767px) {
  .p-company-message-block__head {
    text-align: left;
  }
}

.p-company-message-block__body {
  display: grid;
  align-items: flex-start;
  grid-template-columns: auto 1fr;
  gap: 48px;
}

@media screen and (max-width: 767px) {
  .p-company-message-block__body {
    grid-template-columns: 100%;
  }
}

.p-company-message-block__image {
  width: calc(285px + var(--slope-1px) * 0);
}

@media screen and (max-width: 767px) {
  .p-company-message-block__image {
    margin-inline: auto;
  }
}

.p-company-message-block__contents {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(36px + var(--slope-1px) * 24);
}

.p-company-message-block__text {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(1lh - var(--leading-trim) * 2);
  font-size: calc(15px + var(--slope-1px) * 1);
  line-height: 2.2;
}

.p-company-message-block__text > p {
  margin-block: var(--leading-trim);
}

.p-company-message-block__sign {
  margin-block: var(--leading-trim);
  text-align: right;
  line-height: 1.75;
}

/* p-company-information
============================== */
.p-company-information {
  padding-block: calc(24px + var(--slope-1px) * 24) calc(24px + var(--slope-1px) * 40);
  transition-delay: .5s;
}

/* p-company-information__body
============================== */
.p-company-information__body {
  width: calc(100% - var(--inner-padding) * 2);
  max-width: 836px;
  margin-inline: auto;
}

@media screen and (max-width: 560px) {
  .p-company-information__body {
    width: 100%;
    max-width: 100%;
  }
}

/* p-company-information-profile
============================== */
.p-company-information-profile {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(14px + var(--slope-1px) * 2);
  font-family: var(--base-font-family);
}

.p-company-information-profile th {
  width: 8.75em;
  font-weight: 500;
  line-height: 1.2;
}

@media screen and (max-width: 560px) {
  .p-company-information-profile th {
    width: 7em;
  }
}

.p-company-information-profile td {
  padding-left: calc(24px + var(--slope-1px) * 8);
  font-weight: var(--base-font-weight);
  line-height: 1.75;
}

@media screen and (max-width: 560px) {
  .p-company-information-profile td {
    letter-spacing: 0;
  }
}

.p-company-information-profile th, .p-company-information-profile td {
  padding-block: calc(16.75px + var(--slope-1px) * 7.25);
  border-top: 1px solid var(--border-color);
}

.p-company-information-profile tr:last-of-type th,
.p-company-information-profile tr:last-of-type td {
  border-bottom: 1px solid var(--border-color);
}

/* p-company-history
============================== */
.p-company-history {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(32px + var(--slope-1px) * 18);
  padding-block: calc(24px + var(--slope-1px) * 24) calc(24px + var(--slope-1px) * 40);
}

/* p-company-history-tab
============================== */
.p-company-history-tab {
  display: none;
}

@media screen and (max-width: 767px) {
  .p-company-history-tab {
    display: block;
  }
}

/* p-company-history-block-wrapper
============================== */
.p-company-history-block-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

/* p-company-history-block
============================== */
.p-company-history-block {
  position: relative;
  display: flex;
  flex-direction: column;

  --theme-color: linear-gradient(90deg, #2358c9 15%, #dc352c 85%);
  --dot-color: #80477b;
}

.p-company-history-block._nagano {
  --theme-color: var(--point-color);
  --dot-color: var(--point-color);
}

.p-company-history-block._yamanashi {
  --theme-color: var(--key-color);
  --dot-color: var(--key-color);
}

@media screen and (max-width: 767px) {
  .p-company-history-block {
    grid-column: span 2;
  }
}

@media screen and (min-width: 768px) {
  .p-company-history-block {
    display: flex !important;
  }
  .p-company-history-block._koshin {
    grid-column: span 2;
  }
}

.p-company-history-block__head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  padding: 15px;
  border-radius: 10px;
  background: var(--theme-color);
}

@media screen and (max-width: 767px) {
  .p-company-history-block__head {
    display: none;
  }
  .p-company-history-block._koshin .p-company-history-block__head {
    display: flex;
  }
}

.p-company-history-block__head img {
  width: auto;
  height: calc(22px + var(--slope-1px) * 3);
  object-fit: contain;
}

.p-company-history-block__body {
  flex-grow: 1;
}

.p-company-history-block__list {
  display: grid;
  grid-template-columns: 100%;
  height: 100%;
}

.p-company-history-block__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.p-company-history-block__item-head {
  display: flex;
  align-items: baseline;
  font-weight: 700;
  font-size: calc(14px + var(--slope-1px) * 2);
}

.p-company-history-block__item-head em {
  width: 2.70833em;
  text-align: right;
  font-size: calc(20px + var(--slope-1px) * 4);
  font-family: var(--en-font-family);
}

.p-company-history-block__item-body {
  position: relative;
  display: flex;
  gap: 20px;
  margin-block: var(--leading-trim);
  padding-bottom: 40px;
  line-height: 1.75;
}

.p-company-history-block__item-body > p {
  padding-top: .2em;
}

.p-company-history-block__item-body:before {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  aspect-ratio: 1/1;
  margin-top: calc(8px + var(--slope-1px) * 2);
  border: 4px solid #fff;
  border-radius: var(--ovall-radius);
  background: var(--dot-color);
}

.p-company-history-block__item-body:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 7px;
  display: block;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--border-color);
}

.p-company-history-block._koshin .p-company-history-block__item-body:after {
  height: calc(100% + 40px);
}

.p-company-history-block__item-date {
  flex-shrink: 0;
  margin-right: -10px;
  padding-top: .35em;
  font-weight: 700;
  font-size: calc(14px + var(--slope-1px) * 2);
  line-height: 1;
}

.p-company-history-block__item-date em {
  font-size: calc(20px + var(--slope-1px) * 4);
  font-family: var(--en-font-family);

  text-box: trim-both cap alphabetic;
}

/* p-company-recruit
============================== */
.p-company-recruit {
  padding-block: calc(24px + var(--slope-1px) * 40) calc(100px + var(--slope-1px) * 50);
  transition-delay: .3s;
}

/* p-company-recruit-title
============================== */
.p-company-recruit-title {
  position: relative;
  z-index: 0;
  padding-bottom: calc(28px + var(--slope-1px) * -13);
  font-weight: bold;
  font-size: calc(28px + var(--slope-1px) * 12);
  font-family: var(--base-font-family);
}

.p-company-recruit-title:before {
  content: attr(data-en);
  position: relative;
  z-index: -1;
  display: block;
  color: var(--point-text-color);
  font-weight: var(--title-font-weight);
  font-size: calc(62px + var(--slope-1px) * 66);
  font-family: var(--en-font-family);
}

.p-company-recruit-title:after {
  content: "";
  position: absolute;
  bottom: 37.5%;
  left: 0;
  display: block;
  width: 464px;
  margin-inline: auto;
  border: 1px solid var(--point-text-color);
}

@media screen and (max-width: 560px) {
  .p-company-recruit-title:after {
    bottom: 50%;
    width: 264px;
  }
}

/* p-company-recruit__body
============================== */
.p-company-recruit__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  font-family: var(--base-font-family);
}

@media screen and (max-width: 768px) {
  .p-company-recruit__body {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* p-company-recruit__lead
============================== */
.p-company-recruit__lead {
  font-weight: var(--base-font-weight);
  font-size: calc(14px + var(--slope-1px) * 2);
  line-height: 1.75;
}

@media screen and (max-width: 560px) {
  .p-company-recruit__lead {
    letter-spacing: .05px;
  }
}

/* p-company-recruit__button
============================== */
.p-company-recruit__button {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .p-company-recruit__button {
    justify-content: center;
    width: 100%;
  }
}

/* p-company-recruit-slider
============================== */
.p-company-recruit-slider {
  padding-top: calc(48px + var(--slope-1px) * 24);
}

.p-company-recruit-slider__list {
  width: 100%;
  max-width: calc(350px * 3);
}

@media screen and (max-width: 560px) {
  .p-company-recruit-slider {
    max-width: 240px;
  }
}

.p-company-recruit-slider .slick-list {
  overflow: visible;
}

.p-company-recruit-slider__item {
  width: 350px;
  padding-inline: 8px;
}

@media screen and (max-width: 560px) {
  .p-company-recruit-slider__item {
    width: 240px;
  }
}

.p-company-recruit-slider__item img {
  border-radius: var(--base-border-radius);
}
