/*====================================
  page: company
=====================================*/
/*====================================
  color
=====================================*/
/*====================================
  font-family
=====================================*/
/*====================================
  font-size (fluid)
=====================================*/
/*====================================
  font-size variables
=====================================*/
/*====================================
  font-weight
=====================================*/
/*====================================
  font-size utility classes
=====================================*/
/*====================================
  letter-spacing
=====================================*/
/*====================================
  mt
=====================================*/
/*====================================
  mb
=====================================*/
/*====================================
  ml
=====================================*/
/*====================================
  mr
=====================================*/
/*====================================
  pt
=====================================*/
/*====================================
  pb
=====================================*/
/*====================================
  pl
=====================================*/
/*====================================
  pr
=====================================*/
/*====================================
  spacing utility classes
=====================================*/
/*====================================
  breakpoints
=====================================*/
#company {
  /*====================================
   about
  =====================================*/
  /*====================================
   overview
  =====================================*/
  /*====================================
  Philosophy,
  Vision,
  Mission
  =====================================*/
  /*====================================
   history
  =====================================*/
  /*====================================
   greeting
  =====================================*/
}
@media (max-width: 768px) {
  #company #about {
    overflow-x: clip;
  }
}
#company #about .about__inr {
  container-type: inline-size;
  overflow: hidden;
}
@media (max-width: 960px) {
  #company #about .about__inr {
    width: 105vw;
    max-width: 105vw;
    margin-left: calc(50% - 52.5vw);
    margin-right: calc(50% - 52.5vw);
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  #company #about .about__inr {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  #company #about .about__inr {
    margin-top: 0;
  }
}
#company #about .about__items {
  width: 100%;
}
@media (min-width: 768px) {
  #company #about .about__items {
    --about-gap: clamp(10px, 3cqi, 40px);
    --about-item-w: calc((100cqi - var(--about-gap) * 2.25) / 3.25);
    --about-item-h: var(--about-item-w);
    --about-unit: calc(var(--about-item-w) + var(--about-gap));
    --about-row2-offset: calc(var(--about-unit) / 4);
    --about-illust-overhang: calc(var(--about-item-w) * 0.52 * 0.35);
    --about-slope-a: 0.27;
    --about-slope-b: 0.4;
    --about-slope-c: 0.13;
    position: relative;
    width: 100%;
    max-width: 1300px;
    min-height: calc(var(--about-unit) + var(--about-illust-overhang) + var(--about-unit) * var(--about-slope-b) + var(--about-item-w));
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) and (max-width: 960px) {
  #company #about .about__items {
    --about-gap: clamp(6px, 1.8cqi, 24px);
    --about-row2-offset: calc(var(--about-unit) / 5);
    --about-slope-a: 0.2;
    --about-slope-b: 0.3;
    --about-slope-c: 0.09;
    max-width: none;
  }
}
@media (max-width: 768px) {
  #company #about .about__items {
    --about-m-w: min(47vw, 340px);
    --about-m-half: min(calc(var(--about-m-w) / 2),
        max(0px, calc(50cqi - var(--about-m-w) / 2 - 8px)));
    --about-m-illust-overhang: calc(var(--about-m-w) * 0.52 * 0.35);
    --about-m-overlap: calc(var(--about-m-w) * 0.36);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-top: calc(var(--about-m-illust-overhang) + 24px);
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  #company #about .about__items {
    --about-m-w: min(67vw, 250px);
    --about-m-overlap: calc(var(--about-m-w) * 0.24);
    --about-m-half: min(calc(var(--about-m-w) / 2), max(0px, calc(50cqi - var(--about-m-w) / 2)));
  }
}
#company #about .about__item {
  position: relative;
  width: 100%;
}
#company #about .about__item-illust {
  position: absolute;
  left: 25%;
  top: 0;
  width: 52%;
  height: 52%;
  object-fit: contain;
  transform: translateY(-35%);
  z-index: 1;
  pointer-events: none;
}
#company #about .about__item-body {
  position: relative;
  z-index: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  color: #ffffff;
  container-type: size;
  padding: 20% 15% 16%;
  text-align: center;
  overflow: hidden;
}
#company #about .about__item-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0172fd;
  z-index: -1;
}
#company #about .about__item-ttl {
  position: relative;
  font-size: clamp(14px, 8.8cqmin, 20px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 0.5em;
  z-index: 10;
}
#company #about .about__item-txt {
  position: relative;
  font-size: clamp(11px, 7.4cqmin, 18px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  z-index: 10;
}
@media (min-width: 768px) {
  #company #about .about__item {
    position: absolute;
    width: var(--about-item-w);
    margin: 0;
  }
  #company #about .about__item--1 {
    left: calc(var(--about-unit) / 2);
    top: calc(var(--about-illust-overhang) + var(--about-unit) * var(--about-slope-a));
    z-index: 1;
  }
  #company #about .about__item--2 {
    left: calc(var(--about-unit) * 1.5);
    top: var(--about-illust-overhang);
    z-index: 2;
  }
  #company #about .about__item--3 {
    left: var(--about-row2-offset);
    top: calc(var(--about-unit) + var(--about-illust-overhang) + var(--about-unit) * var(--about-slope-b));
    z-index: 3;
  }
  #company #about .about__item--4 {
    left: calc(var(--about-unit) + var(--about-row2-offset));
    top: calc(var(--about-unit) + var(--about-illust-overhang) + var(--about-unit) * var(--about-slope-c));
    z-index: 4;
  }
  #company #about .about__item--5 {
    left: calc(var(--about-unit) * 2 + var(--about-row2-offset));
    top: calc(var(--about-unit) + var(--about-illust-overhang) - var(--about-unit) * var(--about-slope-c));
    z-index: 5;
  }
}
@media (max-width: 768px) {
  #company #about .about__item {
    width: var(--about-m-w);
    align-self: center;
  }
  #company #about .about__item--1, #company #about .about__item--3, #company #about .about__item--5 {
    transform: translateX(calc(-1 * var(--about-m-half)));
  }
  #company #about .about__item--2, #company #about .about__item--4 {
    transform: translateX(var(--about-m-half));
  }
  #company #about .about__item--2, #company #about .about__item--3, #company #about .about__item--4, #company #about .about__item--5 {
    margin-top: calc(-1 * var(--about-m-overlap));
  }
  #company #about .about__item--1 {
    z-index: 1;
  }
  #company #about .about__item--2 {
    z-index: 2;
  }
  #company #about .about__item--3 {
    z-index: 3;
  }
  #company #about .about__item--4 {
    z-index: 4;
  }
  #company #about .about__item--5 {
    z-index: 5;
  }
}
#company #about .about__desc {
  font-size: clamp(14px, 14px + 4 * (100vw - 375px) / 905, 18px);
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.1em;
}
#company #about .about__desc-img {
  width: 100%;
  height: auto;
  margin-right: 0;
  margin-left: auto;
  display: block;
}
#company .overview .sec-ttl {
  width: 50%;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 640px) {
  #company .overview .sec-ttl {
    width: 100%;
    margin-left: 0;
  }
}
#company .overview__img1 {
  position: absolute;
  bottom: calc(100% - 10px);
  width: 189px;
  height: auto;
  right: 5%;
}
@media (max-width: 640px) {
  #company .overview__img1 {
    width: 120px;
    bottom: calc(100% - 5px);
  }
}
@media (max-width: 480px) {
  #company .overview__img1 {
    width: 80px;
  }
}
#company .overview__table {
  width: 50%;
  margin-left: auto;
  border-collapse: collapse;
  color: #ffffff;
}
#company .overview__table th {
  width: 92px;
  text-align-last: justify;
  font-weight: 700;
  padding: 32px 0;
  border-bottom: 1px solid #ffffff;
  vertical-align: top;
}
#company .overview__table td {
  font-weight: 700;
  padding: 32px 16px 32px 40px;
  border-bottom: 1px solid #ffffff;
  line-height: 2;
}
#company .overview__table tr:last-of-type th,
#company .overview__table tr:last-of-type td {
  border-bottom: none;
}
@media (max-width: 640px) {
  #company .overview__table {
    width: 100%;
    margin-left: 0;
    font-size: clamp(13px, 13px + 3 * (100vw - 375px) / 905, 16px);
  }
  #company .overview__table th {
    padding: 16px 0;
    width: 100px;
  }
  #company .overview__table td {
    padding: 16px 8px 16px 24px;
  }
}
#company .overview__bg1 {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: clamp(64px, 16vw, 166px);
  aspect-ratio: 166/215;
  z-index: -2;
}
@media (max-width: 640px) {
  #company .overview__bg1 {
    bottom: 0;
    right: 0;
    left: auto;
  }
}
#company .overview__bg1 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#company .overview__bg2 {
  position: absolute;
  display: block;
  width: clamp(100px, 26vw, 266px);
  height: clamp(100px, 26vw, 266px);
  top: 30%;
  left: 8%;
  z-index: -2;
}
#company .overview__bg2 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#company .about-cards__inr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  position: relative;
}
#company .about-cards__inr > section:first-child {
  grid-column: 1/-1;
  padding-left: 132px;
}
#company .about-cards__inr > section:nth-child(2) {
  grid-column: 1/2;
}
#company .about-cards__inr > section:nth-child(3) {
  grid-column: 2/3;
  margin-top: -36px;
}
@media (max-width: 768px) {
  #company .about-cards__inr {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 100%;
    width: 95%;
  }
  #company .about-cards__inr > section:first-child,
  #company .about-cards__inr > section:nth-child(2),
  #company .about-cards__inr > section:nth-child(3) {
    grid-column: auto;
    padding-left: 0;
    margin-top: 0;
  }
  #company .about-cards__inr > section:nth-child(2) {
    margin-right: 0;
    margin-left: auto;
  }
}
#company .about-cards .about-card {
  padding: 32px 40px;
  border: 1px solid #ffffff;
  max-width: 500px;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}
#company .about-cards .about-card .sec-ttl {
  margin-bottom: 16px;
}
#company .about-cards .about-card__ttl-sub {
  font-size: clamp(14px, 14px + 4 * (100vw - 375px) / 905, 18px);
  margin-left: -0.5em;
  margin-bottom: 8px;
}
#company .about-cards .about-card__txt-en {
  position: absolute;
  top: 40px;
  left: 0;
  transform: translateX(-50%);
  padding: 20px;
  background-color: #0172fd;
  font-family: "Josefin Sans", sans-serif;
  color: #000000;
  font-size: clamp(16px, 16px + 4 * (100vw - 375px) / 905, 20px);
  font-weight: 700;
  letter-spacing: 0;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  z-index: 10;
}
@media (max-width: 768px) {
  #company .about-cards .about-card {
    padding: 32px 24px;
  }
}
#company .about-cards .about-card__txt-en {
  top: -12px;
  padding: 8px;
}
@media (max-width: 480px) {
  #company .about-cards .about-card {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  #company .about-cards .sec-ttl__jp img {
    height: 20px;
  }
}
#company .history {
  position: relative;
  z-index: 1;
}
#company .history__inr {
  max-width: 800px;
}
#company .history__items {
  margin-left: auto;
  margin-right: 0;
}
#company .history__item {
  --history-year-half: 24px;
  --history-year-border-gap: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 24px 24px 24px 0;
  margin-left: 64px;
  margin-bottom: 24px;
}
#company .history__item::before, #company .history__item::after {
  content: "";
  position: absolute;
  display: block;
}
#company .history__item::before {
  width: calc(100% - 56px);
  height: 100%;
  top: 0;
  right: 0;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-left: none;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff);
  background-size: 1px calc(50% - var(--history-year-half) - var(--history-year-border-gap)), 1px calc(50% - var(--history-year-half) - var(--history-year-border-gap));
  background-position: left top, left bottom;
  background-repeat: no-repeat;
  z-index: -1;
}
#company .history__item::after {
  width: 64px;
  height: 64px;
  top: -32px;
  right: 80px;
  transform: translateX(50%);
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#0172fd, #0172fd);
  background-size: 1px 24px, 64px 64px;
  background-position: center center, center center;
  background-repeat: no-repeat;
  z-index: 10;
}
#company .history__item:first-child::after {
  display: none;
}
#company .history__item-year {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  font-size: 48px;
  color: #ffffff;
  position: relative;
  line-height: 1;
}
#company .history__item-txt {
  flex: 1;
}
#company .history__item-txt-ttl {
  font-family: "Noto Sans JP", sans-serif;
  color: #c4f6ff;
  font-weight: 700;
  letter-spacing: 0.1em;
}
#company .history__item-txt-txt {
  font-family: "Noto Sans JP", sans-serif;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
}
@media (max-width: 768px) {
  #company .history__item-txt-txt br {
    display: none;
  }
}
@media (max-width: 960px) {
  #company .history__item {
    --history-year-half: 16px;
    padding: 24px 40px;
    gap: 24px;
  }
  #company .history__item::before {
    width: calc(100% - 24px - 40px);
  }
  #company .history__item::after {
    display: none;
  }
  #company .history__item-year {
    font-size: clamp(20px, 20px + 12 * (100vw - 375px) / 905, 32px);
  }
  #company .history__item-year::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 24px;
    width: 2px;
    height: calc(100% + 16px);
  }
  #company .history__item-txt {
    flex: 1;
  }
  #company .history__item-txt-ttl {
    padding-bottom: 4px;
  }
  #company .history__item-txt-txt {
    line-height: 1.7;
  }
}
@media (max-width: 768px) {
  #company .history__item {
    --history-year-ch: 7;
    --history-year-offset: 24px;
    --history-year-border-gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 16px;
    width: 95%;
  }
  #company .history__item::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top: none;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff);
    background-size: calc(var(--history-year-offset) - var(--history-year-border-gap)) 1px, calc(100% - var(--history-year-offset) - var(--history-year-ch) * 1ch - var(--history-year-border-gap)) 1px;
    background-position: left top, right top;
    background-repeat: no-repeat;
    z-index: -1;
  }
  #company .history__item::after {
    display: none;
  }
  #company .history__item:nth-of-type(odd) {
    margin-left: 0;
    margin-right: auto;
  }
  #company .history__item:nth-of-type(even) {
    margin-left: auto;
    margin-right: 0;
  }
  #company .history__item-year {
    font-size: clamp(20px, 20px + 12 * (100vw - 375px) / 905, 32px);
    position: absolute;
    top: 0;
    left: var(--history-year-offset);
    transform: translate(0, -50%);
  }
  #company .history__item-txt {
    flex: 1;
  }
  #company .history__item-txt-ttl {
    padding-bottom: 4px;
  }
  #company .history__item-txt-ttl::before {
    display: none;
  }
  #company .history__item-txt-txt {
    line-height: 1.7;
  }
}
@media (max-width: 480px) {
  #company .history__item {
    --history-year-offset: 24px;
    padding: 24px;
  }
}
#company .greeting h2 img {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 480px) {
  #company .greeting .bg-blue-ttl p,
  #company .greeting .bg-blue-ttl .text-reveal-chars__line {
    font-size: clamp(14px, 14px + 3 * (100vw - 375px) / 905, 17px);
  }
}
#company .greeting__icon {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 240px;
  object-fit: contain;
  transform: translate(50%, -50%);
}
@media (max-width: 1024px) {
  #company .greeting__icon {
    height: 180px;
    transform: translate(0, -50%);
  }
}
@media (max-width: 768px) {
  #company .greeting__icon {
    height: 120px;
  }
}
@media (max-width: 480px) {
  #company .greeting__icon {
    height: auto;
    width: 20%;
  }
}
#company .greeting__txt {
  padding-top: 24px;
}
#company .greeting__txt P {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
  color: #1d1b33;
  padding-bottom: 2rem;
}
#company .greeting__txt-box {
  text-align: right;
}
#company .greeting__txt-position {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1;
  color: #1d1b33;
  padding-right: 20px;
}
#company .greeting__txt-name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1;
  color: #1d1b33;
  font-size: clamp(18px, 18px + 7 * (100vw - 375px) / 905, 25px);
}

#staff .staff__txt-desc {
  font-weight: 700;
  line-height: 2;
}
#staff .president-img {
  border-bottom: 1px;
}
#staff .president-img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}
#staff .president-img__btn {
  display: block;
  margin-inline: auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
#staff .president-img__btn:hover {
  transform: translateY(-20px);
  opacity: 1;
}
#staff .president-img__btn img {
  display: block;
}
#staff .staff__items-inr {
  gap: 48px 0;
}
#staff .staff__item {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
#staff .staff__item-en {
  width: 40px;
  height: auto;
  object-fit: contain;
}
#staff .staff__item-img {
  width: 96px;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1/1;
  border-radius: 50%;
}
#staff .staff__item-name {
  font-weight: 700;
  letter-spacing: 0.298em;
  color: #ffffff;
}
#staff .staff__item--btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
#staff .staff__item--btn:hover {
  transform: translateY(-20px);
  opacity: 1;
}
@media (max-width: 768px) {
  #staff .staff__items-inr {
    gap: 24px 0;
  }
  #staff .staff__item-en {
    width: 32px;
    height: auto;
    object-fit: contain;
  }
  #staff .staff__item-img {
    width: 72px;
  }
}
@media (max-width: 640px) {
  #staff .staff__item {
    width: 33.3333333333%;
  }
  #staff .staff__item-img {
    width: 80px;
  }
}

/*# sourceMappingURL=company.css.map */
