:root {
  --my-ink: #282b2d;
  --my-base: #f1ece9;
  --my-border: #cbc8c6;
  --my-blue: #a7dae2;
  --my-mint: #afdac8;
  --my-lime: #c3da88;
  --my-yellow: #d6db50;
}

.about .about_fv,
.about .about_intro,
.about .about_flow,
.about .about_project,
.about .about_story {
  display: none !important;
}

.my-about-page {
  color: var(--my-ink);
  background: var(--my-base);
  overflow: hidden;
}

.my-about-hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
  background: linear-gradient(135deg, #f1ece9 4%, #edf0e8 52%, #e9f0df 100%);
}

.my-about-hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 25%, rgba(167, 218, 226, 0.72), transparent 34%),
    radial-gradient(circle at 83% 72%, rgba(214, 219, 80, 0.48), transparent 35%);
}

.my-about-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 96px));
  margin: auto;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
}

.my-about-hero__copy {
  padding: 70px 0;
}

.my-about-kicker {
  margin-bottom: 28px;
  color: #6e6b65;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.my-about-hero h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.my-about-lead {
  max-width: 560px;
  margin-top: 32px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2;
}

.my-about-lead + .my-about-lead {
  margin-top: 1.2em;
}

.my-about-hero__visual {
  height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.my-about-hero__visual img {
  max-width: 100%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 25px 38px rgba(40, 43, 45, 0.09));
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.my-about-page.is-ready .my-about-hero__visual img {
  opacity: 1;
  transform: none;
}

.my-about-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.my-about-line path {
  fill: none;
  stroke: url(#aboutLineGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.my-about-page.is-ready .my-about-line path {
  stroke-dashoffset: 0;
}

.my-about-message,
.my-about-position,
.my-about-strengths,
.my-about-support,
.my-about-profile,
.my-about-clients,
.my-about-links {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
  padding: 140px 0;
}

.my-about-profile {
  padding: 140px 0 20px;
}

.my-about-links {
  padding: 20px 0 140px;
}

/* ---- 3事業 / 会社概要 / 取引先（company から統合） ---- */
.my-about-services {
  width: 100%;
  box-sizing: border-box;
  margin: auto;
  padding: 140px max(48px, calc((100% - 1240px) / 2));
  background: linear-gradient(
    145deg,
    rgba(167, 218, 226, 0.36),
    rgba(241, 236, 233, 0.92) 42%,
    rgba(195, 218, 136, 0.33)
  );
}

.my-about-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 70px;
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
}

.my-about-service {
  position: relative;
  min-width: 0;
  padding: 32px 34px 48px;
  border-right: 1px solid var(--my-border);
}

.my-about-service:last-child {
  border-right: 0;
}

.my-about-service__number {
  color: #6e6b65;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.my-about-service__image {
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.my-about-service__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(40, 43, 45, 0.07));
}

.my-about-service h3 {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 500;
}

.my-about-service h3 + p {
  margin-top: 8px;
  color: #6e6b65;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.my-about-service h3 + p + p {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.my-about-profile {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 70px;
}

.my-about-profile__table dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid var(--my-border);
  padding: 23px 0;
  font-size: 15px;
  line-height: 1.8;
}

.my-about-profile__table dl:last-child {
  border-bottom: 1px solid var(--my-border);
}

.my-about-profile__table dt {
  color: #6e6b65;
}

.my-about-profile__note {
  margin-top: 16px;
  color: #77746f;
  font-size: 11px;
  line-height: 1.7;
}

.my-about-clients {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 70px;
  border-top: 1px solid var(--my-border);
}

.my-about-clients__body {
  padding-top: 42px;
  font-size: 16px;
  line-height: 2;
}

.my-about-clients__areas {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--my-border);
  color: #555753;
  font-size: 13px;
  line-height: 2.1;
}

.my-about-section-head > p {
  margin-bottom: 24px;
  color: #6e6b65;
  font-size: 13px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.my-about-section-head h2 {
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.my-about-message {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 60px;
}

.my-about-message__body {
  padding-top: 42px;
  font-size: 16px;
  line-height: 2.2;
}

.my-about-message__body p + p {
  margin-top: 26px;
}

.my-about-position {
  width: 100%;
  box-sizing: border-box;
  padding: 140px max(48px, calc((100% - 1240px) / 2));
  background: linear-gradient(
    145deg,
    rgba(167, 218, 226, 0.34),
    rgba(241, 236, 233, 0.92) 42%,
    rgba(195, 218, 136, 0.3)
  );
}

.my-about-position__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
}

.my-about-card {
  min-width: 0;
  padding: 36px 32px 48px;
  border-right: 1px solid var(--my-border);
}

.my-about-card:last-child {
  border-right: 0;
}

.my-about-card__no {
  color: #6e6b65;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: 0.12em;
}

.my-about-card h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.my-about-card p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
}

.my-about-strengths__list {
  margin-top: 64px;
  border-top: 1px solid var(--my-border);
}

.my-about-strength {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--my-border);
}

.my-about-strength h3 {
  font-size: 22px;
  font-weight: 500;
}

.my-about-strength p {
  font-size: 15px;
  line-height: 2;
}

.my-about-flow {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
}

.my-about-flow li {
  padding: 36px 28px 44px;
  border-right: 1px solid var(--my-border);
}

.my-about-flow li:last-child {
  border-right: 0;
}

.my-about-flow span {
  display: block;
  color: #6e6b65;
  font-size: clamp(18px, 1.4vw, 24px);
  letter-spacing: 0.12em;
}

.my-about-flow strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 500;
}

.my-about-flow p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
}

.my-about-links__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--my-border);
  border-bottom: 1px solid var(--my-border);
}

.my-about-link {
  display: block;
  padding: 36px 32px 48px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--my-border);
  transition: background 0.35s ease;
}

.my-about-link:last-child {
  border-right: 0;
}

.my-about-link:hover {
  background: rgba(255, 255, 255, 0.35);
}

.my-about-link .t_en {
  color: #6e6b65;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.my-about-link h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 500;
}

.my-about-link p:last-child {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
}

.my-about-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.my-about-reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .my-about-hero {
    min-height: 640px;
  }

  .my-about-hero__inner {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
  }

  .my-about-hero__copy {
    padding: 110px 0 0;
  }

  .my-about-hero__visual {
    position: absolute;
    right: -6%;
    bottom: 0;
    width: 52%;
    height: 360px;
    opacity: 0.85;
  }

  .my-about-message,
  .my-about-strengths,
  .my-about-support,
  .my-about-profile,
  .my-about-clients,
  .my-about-links {
    width: calc(100% - 48px);
    padding: 100px 0;
  }

  .my-about-profile {
    padding: 100px 0 16px;
  }

  .my-about-links {
    padding: 16px 0 100px;
  }

  .my-about-profile,
  .my-about-clients {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .my-about-clients__body {
    padding-top: 0;
  }

  .my-about-services {
    padding: 100px 24px;
  }

  .my-about-services__grid {
    margin-top: 55px;
  }

  .my-about-service {
    padding: 24px 18px 35px;
  }

  .my-about-service__image {
    height: 240px;
  }

  .my-about-service h3 {
    font-size: 18px;
  }

  .my-about-profile__table dl {
    grid-template-columns: 145px 1fr;
  }

  .my-about-message {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .my-about-message__body {
    padding-top: 0;
  }

  .my-about-position {
    padding: 100px 24px;
  }

  .my-about-position__grid,
  .my-about-flow,
  .my-about-links__grid {
    margin-top: 48px;
  }

  .my-about-card,
  .my-about-flow li,
  .my-about-link {
    padding: 28px 20px 36px;
  }

  .my-about-strength {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .my-about-hero {
    min-height: 680px;
    align-items: flex-start;
  }

  .my-about-hero__inner {
    width: calc(100% - 40px);
  }

  .my-about-hero__copy {
    padding-top: 96px;
  }

  .my-about-hero h2 {
    font-size: 34px;
  }

  .my-about-lead {
    margin-top: 22px;
    font-size: 14px;
  }

  .my-about-hero__visual {
    right: -18%;
    width: 78%;
    height: 300px;
  }

  .my-about-message,
  .my-about-strengths,
  .my-about-support,
  .my-about-profile,
  .my-about-clients,
  .my-about-links {
    width: calc(100% - 40px);
    padding: 80px 0;
  }

  .my-about-profile {
    padding: 80px 0 12px;
  }

  .my-about-links {
    padding: 12px 0 80px;
  }

  .my-about-services {
    padding: 80px 20px;
  }

  .my-about-services__grid {
    display: block;
  }

  .my-about-service {
    border-right: 0;
    border-bottom: 1px solid var(--my-border);
    padding: 26px 0 42px;
  }

  .my-about-service:last-child {
    border-bottom: 0;
  }

  .my-about-service__image {
    height: 280px;
  }

  .my-about-profile__table dl {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px 0;
    font-size: 13px;
  }

  .my-about-clients__body {
    font-size: 14px;
  }

  .my-about-position {
    padding: 80px 20px;
  }

  .my-about-position__grid,
  .my-about-flow,
  .my-about-links__grid {
    display: block;
  }

  .my-about-card,
  .my-about-flow li,
  .my-about-link {
    border-right: 0;
    border-bottom: 1px solid var(--my-border);
    padding: 28px 0 36px;
  }

  .my-about-card:last-child,
  .my-about-flow li:last-child,
  .my-about-link:last-child {
    border-bottom: 0;
  }

  .my-about-section-head h2 {
    font-size: 28px;
  }

  .my-about-message__body,
  .my-about-strength p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-about-hero__visual img,
  .my-about-line path,
  .my-about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .my-about-line path {
    stroke-dashoffset: 0;
  }
}
