/* --------------------------------
about page
-------------------------------- */

.about-page {
  padding-inline: max(30px, 2.14vw);
  transition:
    background-color 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* dark */

.about-page.is-dark {
  background: #282828;
  color: #fff;
}

/* ========================================
dark mode
======================================== */

.about-page,
.about-page * {
  transition:
    color 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* text */

.about-page.is-dark .top-common-title,
.about-page.is-dark .strength-number,
.about-page.is-dark .strength-heading,
.about-page.is-dark .strength-text p,
.about-page.is-dark .company-info,
.about-page.is-dark .top-message,
.about-page.is-dark .philosophy {
  color: #fff;
}

/* border */

.about-page.is-dark .strength-item,
.about-page.is-dark .company-info-row,
.about-page.is-dark .strength-list {
  border-color: rgba(255, 255, 255, 0.2);
}

.about-page.is-dark .header-logo {
  filter: invert(1);
}

/* ========================================
hero
======================================== */

.about-hero {
  padding-top: clamp(140px, 12vw, 220px);
}

.about-hero-inner {
  width: min(100%, 980px);
  margin-inline: auto;
}

.about-sub {
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  margin-bottom: clamp(4rem, 2.85vw, 4.8rem);
  line-height: 1;
}

.main-heading-sp {
  display: none;
}

.about-heading {
  font-size: clamp(3.6rem, 4vw, 5.6rem);
  /* font-size: clamp(2.4rem, 3vw, 3.2rem); */
  line-height: 1.4;
}

/* JSで生成される1文字 */

.about-heading span {
  position: relative;

  display: inline-block;
  overflow: hidden;

  opacity: 0;
  transform: translateY(110%);

  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.9s ease;
}

.about-heading.is-show span {
  opacity: 1;
  transform: translateY(0);
}
/* ========================================
intro
======================================== */

.about-intro {
  padding-top: clamp(80px, 8vw, 140px);
  padding-top: clamp(40px, 4vw, 140px);
}

.about-intro-inner {
  width: min(100%, 980px);
  margin-inline: auto;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 4vw, 80px);
}

.about-intro-text p {
  font-size: clamp(1.6rem, 1.28vw, 2.2rem);
  /* font-size: clamp(1.6rem, 1.43vw, 2.2rem); */
  line-height: 2.25;
  letter-spacing: 0;
}

/* ========================================
fade up
======================================== */

.js-fade-up {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
image
======================================== */

.about-image-sec {
  padding-top: clamp(80px, 8vw, 140px);
}

/* ========================================
kv image
======================================== */

.kv-media {
  overflow: hidden;
}

.kv-media .reveal-mask {
  overflow: hidden;

  clip-path: inset(100% 0 0 0);

  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.kv-image {
  width: 100%;
  height: auto;
  display: block;

  transform: scale(1.15) translateY(-8%);

  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* show */

.kv-media.is-show .reveal-mask {
  clip-path: inset(0 0 0 0);
}

.kv-media.is-show .kv-image {
  transform: scale(1) translateY(0);
}

/* ========================================
philosophy
======================================== */

.philosophy {
  padding: clamp(4.8rem, 4.28vw, 9.6rem) 0;
}

/* grid */

.philosophy-grid {
  display: grid;
  grid-template-columns: max(16rem, 32.6vw) 1fr;
}

/* left */

.philosophy-left {
  position: relative;
}

.top-common-title {
  font-size: clamp(1.6rem, 1.43vw, 2.2rem);
  line-height: 1.5;
  /* position: sticky;
  top: 60px; */
}

/* right */

.philosophy-right {
  width: min(100%, 78rem);
  padding-top: clamp(6rem, 6.85vw, 16rem);
}

/* block */

.value-block {
  margin-top: clamp(8rem, 8.57vw, 14.4rem);
}

/* label */

.philosophy-label {
  font-size: clamp(1.4rem, 1.14vw, 2rem);
  line-height: 1.5;
}

/* heading */

.philosophy-heading {
  margin-top: 4rem;
  font-size: clamp(2.4rem, 2.85vw, 6.4rem);
  line-height: 1.5;
}

/* en */

.philosophy-en {
  margin-top: 3.6rem;
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 1.5;
}

/* text */

.philosophy-text {
  margin-top: clamp(3.6rem, 4.28vw, 6.4rem);
}

.philosophy-text p {
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 2.25;
  letter-spacing: 0;
}

.philosophy-text p + p {
  margin-top: 2rem;
}

.philosophy-value-heading {
  margin-top: 12rem;
  font-size: clamp(2.4rem, 2.14vw, 4.8rem);
  line-height: 1.5;
}

.philosophy-block:first-of-type .philosophy-value-heading {
  margin-top: 4rem;
}

.philosophy-value-text {
  margin-top: clamp(3rem, 2.85vw, 4.8rem);
}

/* ========================================
char animation
======================================== */

.js-char-animation {
  overflow: hidden;
}

.js-char-animation span {
  display: inline-block;

  opacity: 0;
  transform: translateY(110%);

  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s ease;
}

.js-char-animation.is-show span {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
fade up
======================================== */

.js-fade-up {
  opacity: 0;
  transform: translateY(4rem);

  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
text reveal
======================================== */

.js-text-mask {
  overflow: hidden;
}

.js-text-mask p {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-text-mask.is-show p {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
top message
======================================== */

.top-message {
  padding-top: clamp(12rem, 11.42vw, 20rem);
}

/* grid */

.top-message-grid {
  display: grid;
  grid-template-columns: max(16rem, 32.6vw) 1fr;
}

/* left */

.top-message-left {
  position: relative;
}

/* right */

/* inner */

.top-message-inner {
  display: grid;
  grid-template-columns: minmax(20rem, 22rem) 1fr;

  column-gap: clamp(4rem, 6vw, 12rem);

  align-items: start;

  /* width: min(100%, 112rem); */
}

/* image */

.top-message-image-wrap {
  overflow: hidden;
}

.top-message-image-wrap .reveal-mask {
  overflow: hidden;

  clip-path: inset(100% 0 0 0);

  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-message-image {
  width: 100%;
  height: auto;
  display: block;

  transform: scale(1.15) translateY(-8%);

  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-message-image-wrap.is-show .reveal-mask {
  clip-path: inset(0 0 0 0);
}

.top-message-image-wrap.is-show .top-message-image {
  transform: scale(1) translateY(0);
}

/* content */

.top-message-content {
  width: calc(100% - 8.8vw);
  margin-left: auto;
  margin-right: 4.07vw;
}

/* name */

.top-message-name {
  font-size: clamp(1.8rem, 1.71vw, 3.2rem);
  line-height: 1.5;
}

/* position */

.top-message-position {
  margin-top: 2rem;
  font-size: clamp(1.2rem, 1.14vw, 1.6rem);
  line-height: 1.5;
}

/* text */

.top-message-text {
  margin-top: clamp(3rem, 2.85vw, 6rem);
}

.top-message-text p {
  font-size: clamp(1.4rem, 1.14vw, 1.6rem);
  line-height: 2;
}

.top-message-text p + p {
  margin-top: 2rem;
}

/* profile */

.top-message-profile {
  margin-top: clamp(8rem, 8.57vw, 9.6rem);
}

.top-message-profile-title {
  font-size: clamp(1.8rem, 1.43vw, 2.2rem);
  line-height: 1.5;
}

.top-message-profile-text {
  margin-top: clamp(1.6rem, 1.43vw, 3.6rem);
}

.top-message-profile-text p {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  line-height: 2;
}

/* ========================================
Our Strengths
======================================== */

.strengths {
  padding-top: clamp(12rem, 11.42vw, 20rem);
}

/* grid */

.strengths-grid {
  display: grid;
  grid-template-columns: max(16rem, 32.6vw) 1fr;
}

/* left */

.strengths-left {
  position: relative;
}

.strengths-title {
  font-size: clamp(1.8rem, 1.43vw, 2.6rem);
  line-height: 1.5;
}

/* right */

.strengths-right {
  width: calc(100% - 4.07vw);
  width: 100%;
}
/* ========================================
strength item
======================================== */

.strength-item {
  padding-top: clamp(2rem, 1.43vw, 4rem);
  padding-bottom: clamp(4.8rem, 5.71vw, 9.6rem);
  border-top: 0.1rem solid #000;
}

.strength-item:last-child {
  border-bottom: 0.1rem solid #000;
}

/* .strength-item + .strength-item {
  margin-top: clamp(6rem, 6vw, 10rem);
} */

/* top */

.strength-top {
  width: 100%;
}

.strength-number {
  font-size: clamp(1.8rem, 1.43vw, 2.4rem);
  line-height: 2;
  font-weight: 700;
}

/* bottom */

.strength-bottom {
  display: grid;

  grid-template-columns: minmax(24rem, 24.28vw) 1fr;
  padding-inline: 4.07vw;
  margin-top: clamp(4rem, 5vw, 8rem);
}

/* heading */

.strength-heading {
  font-size: clamp(1.8rem, 1.71vw, 3.2rem);
  line-height: 1.75;
}

/* text */

.strength-text p {
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 2;
}

/* ========================================
company info
======================================== */

.company-info {
  padding: clamp(12rem, 12.85vw, 24rem) 0 clamp(12rem, 14.28vw, 24rem);
}

/* grid */

.company-info-grid {
  display: grid;
  grid-template-columns: max(16rem, 32.6vw) 1fr;
}

/* left */

.company-info-left {
  position: relative;
}

.company-info-title {
  font-size: clamp(1.8rem, 1.71vw, 3.2rem);
  line-height: 1.5;
}

/* right */

.company-info-right {
  width: 100%;
}

/* list */

.company-info-list {
  border-top: 0.1rem solid #cfcfcf;
}

/* item */

.company-info-item {
  display: grid;
  grid-template-columns: max(14rem, 18vw) 1fr;
  column-gap: clamp(4rem, 5vw, 10rem);
  padding-top: clamp(3rem, 4vw, 6rem);
  padding-bottom: clamp(3rem, 4vw, 6rem);
  padding-right: 4.07vw;
  border-bottom: 0.1rem solid rgb(0, 0, 0, 0.15);
}

/* head */

.company-info-head {
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 2;
}

/* body */

.company-info-body {
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 2;
}

.company-info-body p + p {
  margin-top: 2rem;
}

/* ========================================
google map link
======================================== */

.company-map-link {
  position: relative;

  margin-top: 2.4rem;

  font-size: clamp(1.2rem, 1vw, 1.6rem);
  line-height: 1.5;

  width: fit-content;

  display: inline-block;
}

/* line */

.company-map-link::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -0.1rem;

  width: 100%;
  height: 1px;

  background: rgba(0, 0, 0, 0.15);
  background-color: #000;

  transform-origin: right center;
  transform: scaleX(1);

  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

/* hover */

.company-map-link:hover::after {
  transform-origin: left center;
  transform: scaleX(0);
}

/* ========================================
pdf button
======================================== */

.company-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;

  margin-top: 2.4rem;
}

/* text */

.company-pdf-text {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  line-height: 1.5;
}

/* arrow */

.company-pdf-arrow {
  width: 3.2rem;
  height: 3.2rem;

  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.4rem;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.company-pdf-arrow-icon {
  position: relative;

  width: 1.2rem;
  height: 1.2rem;

  overflow: hidden;
}

/* arrow image */

.company-pdf-arrow-current,
.company-pdf-arrow-next {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

/* initial */

.company-pdf-arrow-current {
  transform: translate(0, 0);
}

.company-pdf-arrow-next {
  transform: translate(-140%, 140%);
}

/* hover */

.company-pdf-link:hover .company-pdf-arrow-current {
  transform: translate(140%, -140%);
}

.company-pdf-link:hover .company-pdf-arrow-next {
  transform: translate(0, 0);
}

/* security */

.company-info-security {
  display: block;

  width: clamp(6rem, 5vw, 9rem);
  height: auto;

  margin-top: clamp(3rem, 4vw, 6rem);
}

/* ========================================
responsive
======================================== */

@media screen and (max-width: 1024px) {
  .strength-bottom {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .about-page {
    padding-inline: 30px;
  }

  .about-hero {
    padding-top: 12rem;
    padding-inline: 4rem;
  }
  .about-intro-inner {
    padding-inline: 4rem;
  }
  .about-sub {
    font-size: clamp(1.4rem, 1.143vw, 1.6rem);
  }
  .kv-media .reveal-mask {
    aspect-ratio: 1/1;
  }
  .kv-image {
    height: 100%;
    object-fit: cover;
  }
  .top-common-title {
    font-size: 2rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-right {
    margin-left: 0;
    width: 100%;
    padding-top: 6rem;
    padding-inline: 4rem;
  }

  .philosophy-heading {
    font-size: clamp(3.6rem, 10vw, 5rem);
    margin-top: 3.6rem;
  }

  .philosophy-en {
    font-size: 1.6rem;
    margin-top: 2.4rem;
  }
  .philosophy-value-heading {
    margin-top: 3.6rem;
    font-size: clamp(3.6rem, 10vw, 4rem);
  }
  .philosophy-text p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }

  .top-message-grid {
    grid-template-columns: 1fr;
  }

  .top-message-right {
    padding-top: 6rem;
    padding-inline: 4rem;
  }
  .top-message-content {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .top-message-inner {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .top-message-image-wrap {
    max-width: 28rem;
  }

  .top-message-profile-text p {
    font-size: 1.4rem;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strengths-right {
    width: 100%;
    margin-top: 6rem;
    padding-inline: 4rem;
  }
  .strengths {
    padding-top: 16rem;
  }

  .strength-heading {
    font-size: 2.4rem;
    line-height: 1.5;
  }
  .company-info {
    padding-top: 16rem;
  }
  .company-info-grid {
    grid-template-columns: 1fr;
  }
  .company-info-right {
    margin-top: 6rem;
    padding-inline: 4rem;
  }
}

@media screen and (max-width: 599px) {
  .about-hero {
    padding-top: 6rem;
    padding-inline: 2rem;
  }
  .main-heading-pc {
    display: none;
  }
  .main-heading-sp {
    display: block;
  }
  .about-heading {
    font-size: 2.1rem;
  }

  .about-intro {
    padding: 4rem 2rem 0;
  }
  .about-intro-inner {
    padding-inline: 0;
  }
  .about-intro-text p {
    font-size: 1.4rem;
  }
  .about-intro-text p br {
    display: none;
  }
  .about-intro-text {
    gap: 2rem;
  }
  .about-image-sec {
    padding-top: 4rem;
  }
  .top-common-title {
    font-size: 2rem;
  }
  .philosophy-right {
    padding-inline: 2rem;
  }
  .philosophy-heading {
    margin-top: 2.4rem;
    font-size: 2.6rem;
  }
  .philosophy-en {
    font-size: 1.4rem;
    margin-top: 1.6rem;
  }
  .philosophy-text p {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .philosophy-text p br {
    display: none;
  }
  .philosophy-value-heading {
    margin-top: 4rem;
    font-size: 2.6rem;
  }

  .philosophy-block:first-of-type .philosophy-value-heading {
    margin-top: 2.4rem;
  }
  .top-message {
    padding-top: 6rem;
  }
  .top-message-right {
    padding-inline: 2rem;
  }
  .top-message-text p br {
    display: none;
  }
  .top-message-profile {
    margin-top: 4rem;
  }
  .strengths {
    padding-top: 10.8rem;
  }
  .strengths-right {
    padding-inline: 2rem;
  }
  .strength-bottom {
    padding-inline: 0;
    margin-top: 2rem;
  }
  .company-info {
    padding-top: 10.8rem;
    padding-bottom: 9.6rem;
  }
  .company-info-right {
    padding-inline: 2rem;
  }
  .company-info-item {
    grid-template-columns: 9rem 1fr;
    column-gap: 3rem;
    padding: 2rem 0 2.4rem;
  }
  .company-info-head {
    font-size: 1.3rem;
  }
  .company-info-body {
    font-size: 1.3rem;
  }
  .company-map-link {
    margin-top: 1.2rem;
  }
}
