@charset "UTF-8";
/* ========================================================
# デザイントークン
# ・色 / フォント = CSS 変数（実体は foundation/_token.scss の :root --c-*）
#   → 納品 CSS の :root 1か所でリテーマ可・カスケード上書き可。
# ・レイアウト = Sass 変数（rem() で px 基準）
#   → 演算・@media で扱いやすい。
# theme.json は不使用。
======================================================== */
/* ========================================================
# SCSS 実装専用
======================================================== */
/* ========================================================
# 下線（線なし→出てくる→線が流れて消える）
======================================================== */
/* ========================================================
# 下線（最初に線が出てる→消える→また出てくる）
======================================================== */
.p-subMv2 {
  padding-top: 3.375rem;
  margin-bottom: 7.5rem;
}
@media screen and (width < 768px) {
  .p-subMv2 {
    padding-top: 1.5rem;
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-subMv2 {
    margin-bottom: 5rem;
  }
}

.p-subMv2__inner {
  display: grid;
  grid-template-columns: 19.875rem 1fr;
  grid-template-areas: "title image" "links image";
  align-items: start;
  justify-content: space-between;
  column-gap: 7.625rem;
  row-gap: 11rem;
  padding-left: max(2.5rem, (100% - 75rem) / 2);
}
@media screen and (width < 768px) {
  .p-subMv2__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "image" "links";
    justify-content: stretch;
    column-gap: 0;
    row-gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-subMv2__inner {
    grid-template-columns: 17.5rem minmax(0, 24rem);
    column-gap: 2.5rem;
    row-gap: 1.5rem;
    width: auto;
    margin-inline: 4rem;
    padding-inline: 0;
  }
}

.p-subMv2__title {
  grid-area: title;
}
@media screen and (768px <= width <= 1024px) {
  .p-subMv2__title .c-title1--lg {
    gap: 0.5rem;
  }
  .p-subMv2__title .c-title1--lg .c-title1__heading {
    font-size: 3rem;
    line-height: 1.4;
  }
}

.p-subMv2__links {
  display: flex;
  flex-direction: column;
  grid-area: links;
}

.p-subMv2__linkItem {
  position: relative;
  background-image: linear-gradient(to right, var(--c-color-black) 1px, transparent 1px);
  background-size: 5px 1px;
  background-repeat: repeat-x;
  background-position: top;
}
.p-subMv2__linkItem:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-image: linear-gradient(to right, var(--c-color-black) 1px, transparent 1px);
  background-size: 5px 1px;
  background-repeat: repeat-x;
}

.p-subMv2__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1rem;
  color: var(--c-color-black);
  text-decoration: none;
}
@media screen and (width < 768px) {
  .p-subMv2__link {
    padding: 0.75rem 0.75rem;
  }
}
@media (any-hover: hover) {
  .p-subMv2__link:hover {
    opacity: 1;
  }
  .p-subMv2__link:hover .slot-char > span {
    transform: translateY(100%);
  }
  .p-subMv2__link:hover .slot-char::before {
    transform: translateY(100%);
  }
  .p-subMv2__link:hover .p-subMv2__linkIcon::before {
    translate: 0 500%;
  }
  .p-subMv2__link:hover .p-subMv2__linkIcon::after {
    translate: 0 -50%;
  }
}

.p-subMv2__linkText {
  flex: 1 0 0;
  font-size: 1rem;
  line-height: 1.4;
  font-feature-settings: "palt";
  font-weight: 500;
}
@media screen and (width < 768px) {
  .p-subMv2__linkText {
    font-size: 0.875rem;
  }
}

.p-subMv2__linkIcon {
  position: relative;
  flex-shrink: 0;
  overflow: clip;
  width: 1.625rem;
  height: 1.0625rem;
  background-image: linear-gradient(to bottom, var(--c-color-black) 0.0625rem, transparent 0.0625rem);
  background-size: 0.0625rem 0.25rem;
  background-repeat: repeat-y;
  background-position: left top;
}
.p-subMv2__linkIcon::before, .p-subMv2__linkIcon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.75rem;
  height: 0.5rem;
  background: url("../img/common/icon_arrow.svg") no-repeat center center/contain;
  transform: rotate(90deg);
  transition: translate 0.3s ease-in-out;
}
.p-subMv2__linkIcon::before {
  translate: 0 -50%;
}
.p-subMv2__linkIcon::after {
  translate: 0 -500%;
}

.p-subMv2__imageWrap {
  position: relative;
  grid-area: image;
  height: 100%;
  min-height: 30.625rem;
  overflow: clip;
}
@media screen and (width < 768px) {
  .p-subMv2__imageWrap {
    margin-right: calc(50% - 50vw);
    height: auto;
    min-height: 0;
    aspect-ratio: 960/490;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-subMv2__imageWrap {
    min-height: 20.8125rem;
    height: 20.8125rem;
  }
}

.p-subMv2__imageBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.p-subMv2__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (width < 768px) {
  .p-subMv2__image {
    object-position: 20% 50%;
  }
}

.p-mvv {
  margin-top: 7.5rem;
  margin-bottom: 10rem;
  position: relative;
  overflow: clip;
  padding-block: 6rem 15.1875rem;
}
@media screen and (width < 768px) {
  .p-mvv {
    padding-block: 6rem 7rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv {
    margin-top: 0;
    margin-bottom: 0;
    padding-block: 5rem 12.4375rem;
  }
}

.p-mvv .c-title2__heading {
  line-height: 1.4;
}

.p-mvv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.p-mvv__bgImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-mvv__lineTrack {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.p-mvv__lineWrap {
  position: sticky;
  top: 13.75rem;
  margin-top: 13.75rem;
  width: max(109.75rem, 121.9444444444vw);
  margin-left: calc(50% - max(54.875rem, 60.9722222222vw));
  aspect-ratio: 1756/409;
}
@media screen and (width < 768px) {
  .p-mvv__lineWrap {
    margin-top: 19.25rem;
    width: 40.875rem;
    margin-left: calc(50% - 20.4375rem);
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__lineWrap {
    margin-top: 18.0625rem;
    margin-left: -18.125rem;
    width: 72.4375rem;
  }
}

.p-mvv__line {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.p-mvv__linePath {
  fill: none;
  stroke: var(--c-color-white);
  stroke-width: 6;
  opacity: 0.6;
}
@media screen and (width < 768px) {
  .p-mvv__linePath {
    stroke-width: 16;
  }
}

.p-mvv__inner {
  position: relative;
  z-index: 1;
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__inner {
    width: 100%;
    padding-inline: 4rem;
  }
}

.p-mvv__body {
  width: 55rem;
  margin-top: 1.5rem;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  transform: translateY(1rem);
  transition: transform 0.8s ease-in-out;
}
@media screen and (width < 768px) {
  .p-mvv__body {
    width: 100%;
    margin-top: 4rem;
    gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__body {
    width: 100%;
    margin-top: 4rem;
    gap: 3rem;
  }
}

.p-mvv__body.is-inview {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .p-mvv__body {
    transform: none;
    transition: none;
  }
}
.p-mvv__block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-mvv__blockLine {
  display: none;
  width: 2rem;
  height: 0.0625rem;
  background-image: linear-gradient(to right, var(--c-color-black) 1px, transparent 1px);
  background-size: 4px 1px;
  background-repeat: repeat-x;
}
@media screen and (width < 768px) {
  .p-mvv__blockLine {
    width: 1.5rem;
  }
}

.p-mvv__blockMain {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (width < 768px) {
  .p-mvv__blockMain {
    gap: 1.5rem;
  }
}

.p-mvv__blockLabel {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-mvv__blockLabel {
    gap: 0.5rem;
    font-size: 0.875rem;
  }
}

.p-mvv__blockLabelMain {
  font-weight: 700;
}

.p-mvv__blockLabelSub {
  font-size: 0.875rem;
  font-weight: 500;
}
@media screen and (width < 768px) {
  .p-mvv__blockLabelSub {
    font-size: 0.75rem;
  }
}

.p-mvv__lead {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  line-height: 1.4;
  color: var(--c-color-black);
}

.p-mvv__lead--mission {
  font-size: 3rem;
}
@media screen and (width < 768px) {
  .p-mvv__lead--mission {
    font-size: 2rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__lead--mission {
    font-size: 2.5rem;
  }
}

.p-mvv__lead--mission .p-mvv__leadSub {
  font-size: 2.375rem;
}
@media screen and (width < 768px) {
  .p-mvv__lead--mission .p-mvv__leadSub {
    font-size: 1.5rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__lead--mission .p-mvv__leadSub {
    font-size: 1.875rem;
  }
}

.p-mvv__lead--vision {
  font-size: 2.5rem;
}
@media screen and (width < 768px) {
  .p-mvv__lead--vision {
    font-size: 1.5rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__lead--vision {
    font-size: 2rem;
  }
}

.p-mvv__lead--vision .p-mvv__leadSub {
  font-size: 1.75rem;
  font-feature-settings: initial;
}
@media screen and (width < 768px) {
  .p-mvv__lead--vision .p-mvv__leadSub {
    font-size: 1.25rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__lead--vision .p-mvv__leadSub {
    font-size: 1.25rem;
  }
}

@media screen and (width < 768px) {
  .p-mvv__lead--vision .p-mvv__leadSub--small {
    font-size: 1rem;
  }
}

.p-mvv__description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--c-color-black);
  font-feature-settings: "palt";
  opacity: 0.8;
}
@media screen and (width < 768px) {
  .p-mvv__description {
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.8;
  }
}

.p-mvv__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  row-gap: 4rem;
}
@media screen and (width < 768px) {
  .p-mvv__values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.p-mvv__value {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-mvv__valueHead {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-mvv__valueRule {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.p-mvv__valueRuleShort {
  display: block;
  flex-shrink: 0;
  width: 1.5rem;
  height: 0.0625rem;
  background-color: var(--c-color-black);
}

.p-mvv__valueRuleLong {
  display: block;
  flex: 1 0 0;
  height: 0.0625rem;
  background-color: rgba(29, 33, 32, 0.2);
}

.p-mvv__valueNum {
  font-family: var(--c-font-family-sans-en);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-mvv__valueNum {
    font-size: 0.875rem;
  }
}

.p-mvv__valueText {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-mvv__valueText {
    font-size: 1.25rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-mvv__valueText {
    font-size: 1.5rem;
  }
}

.p-mvv__valueTitle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media screen and (width < 768px) {
  .p-mvv__valueTitle {
    gap: 0.375rem;
  }
}

.p-mvv__valueSub {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-mvv__valueSub {
    font-size: 0.75rem;
  }
}

.p-mvv__valueDescription {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-color-black);
  font-feature-settings: "palt";
  opacity: 0.8;
}
@media screen and (width < 768px) {
  .p-mvv__valueDescription {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}

.p-companyAbout {
  margin-top: 7.5rem;
  margin-bottom: 10rem;
}
@media screen and (width < 768px) {
  .p-companyAbout {
    margin-top: 3rem;
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAbout {
    margin-top: 0;
    margin-bottom: 0;
    padding-block: 5rem;
  }
}

.p-companyAbout__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media screen and (width < 768px) {
  .p-companyAbout__inner {
    gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAbout__inner {
    width: 100%;
    padding-inline: 4rem;
    gap: 3rem;
  }
}

.p-companyAbout__body {
  display: flex;
  align-items: flex-start;
  gap: 0.0625rem;
}
@media screen and (width < 768px) {
  .p-companyAbout__body {
    flex-direction: column;
    gap: 1.5rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAbout__body {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.p-companyAbout__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1 1 0;
  min-width: 0;
}
@media screen and (width < 768px) {
  .p-companyAbout__col {
    width: 100%;
  }
}

.p-companyAbout__row {
  display: flex;
  gap: 1rem;
}

.p-companyAbout__label {
  flex-shrink: 0;
  width: 6.9375rem;
  padding-right: 1rem;
  background-image: linear-gradient(to bottom, #1D2120 0.0625rem, transparent 0.0625rem);
  background-size: 0.0625rem 0.25rem;
  background-repeat: repeat-y;
  background-position: right top;
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--c-color-mute);
  font-feature-settings: "palt";
  padding-top: 0.25rem;
}
@media screen and (width < 768px) {
  .p-companyAbout__label {
    width: 6rem;
    font-size: 0.75rem;
    padding-right: 0.625rem;
    padding-top: 0.125rem;
  }
}

.p-companyAbout__value {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--c-font-family-sans-ja);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyAbout__value {
    font-size: 0.875rem;
  }
}

.p-companyAbout__contactLink {
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.p-companyAbout__contactLink[href^="tel:"] {
  pointer-events: none;
}
@media screen and (width < 768px) {
  .p-companyAbout__contactLink[href^="tel:"] {
    pointer-events: auto;
  }
}

.p-companyAbout__offices {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-companyAbout__officeName {
  font-weight: 700;
}

.p-companyMessage {
  margin-top: 10rem;
  margin-bottom: 10rem;
}
@media screen and (width < 768px) {
  .p-companyMessage {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage {
    margin-top: 0;
    margin-bottom: 0;
    padding: 5rem 0 8.25rem;
  }
}

@media screen and (768px <= width <= 1024px) {
  .p-companyMessage + .p-slider {
    margin-block: 0;
  }
}
.p-companyMessage__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media screen and (width < 768px) {
  .p-companyMessage__inner {
    gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__inner {
    width: 100%;
    padding-inline: 4rem;
    gap: 5rem;
  }
}

.p-companyMessage__body {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}
@media screen and (width < 768px) {
  .p-companyMessage__body {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__body {
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
  }
}

.p-companyMessage__lead {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  flex: 0 1 45rem;
  min-width: 0;
}
@media screen and (width < 768px) {
  .p-companyMessage__lead {
    order: 2;
    width: 100%;
    gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__lead {
    order: 2;
    width: 100%;
    flex-basis: auto;
  }
}

.p-companyMessage__block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media screen and (width < 768px) {
  .p-companyMessage__block {
    gap: 1.5rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__block {
    gap: 1.5rem;
  }
}

.p-companyMessage__blockTitle {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-companyMessage__blockTitle {
    font-size: 1.5rem;
    line-height: 1.4;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__blockTitle {
    font-size: 1.75rem;
  }
}

.p-companyMessage__portrait {
  width: 15rem;
  aspect-ratio: 240/179;
  border-radius: 0.125rem;
  overflow: clip;
  background-color: var(--c-color-surface);
}
@media screen and (width < 768px) {
  .p-companyMessage__portrait {
    width: 11.625rem;
    aspect-ratio: 186/139;
    margin-inline: auto;
  }
}

.p-companyMessage__portraitImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-companyMessage__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-companyMessage__paragraph {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 400;
  font-size: 1rem;
  line-height: 2.6;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyMessage__paragraph {
    font-size: 0.875rem;
  }
}

.p-companyMessage__signature {
  margin-top: 1rem;
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-color-black);
  text-align: right;
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyMessage__signature {
    font-size: 0.875rem;
  }
}

.p-companyMessage__media {
  position: sticky;
  top: 7.5rem;
  align-self: flex-start;
  flex-shrink: 0;
  width: 30rem;
}
@media screen and (width < 768px) {
  .p-companyMessage__media {
    position: static;
    order: 1;
    width: min(20.375rem, 100%);
    margin-inline: auto;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__media {
    display: block;
    position: static;
    order: 1;
    width: min(20.375rem, 100%);
    margin-inline: auto;
  }
}

.p-companyMessage__figure {
  position: relative;
}

.p-companyMessage__photo {
  width: 100%;
  aspect-ratio: 480/617;
  border-radius: 0.125rem;
  overflow: clip;
  background-color: var(--c-color-surface);
}
@media screen and (width < 768px) {
  .p-companyMessage__photo {
    aspect-ratio: 326/451;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__photo {
    aspect-ratio: 326/451;
  }
}

.p-companyMessage__photoImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-companyMessage__profile {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: fit-content;
  padding: 1.0625rem 1rem 0.6875rem;
  border-radius: 0.125rem;
  background-color: var(--c-color-surface);
}
@media screen and (width < 768px) {
  .p-companyMessage__profile {
    bottom: 0.5rem;
    left: 0.5rem;
    gap: 0.25rem;
    width: 10.1875rem;
    padding: 0.5625rem 0.75rem 0.6875rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__profile {
    bottom: 0.5rem;
    left: 0.5rem;
    gap: 0.25rem;
    width: 10.1875rem;
  }
}

.p-companyMessage__profileRole {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyMessage__profileRole {
    font-size: 0.75rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__profileRole {
    font-size: 0.75rem;
  }
}

.p-companyMessage__profileName {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-companyMessage__profileName {
    font-size: 1.25rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyMessage__profileName {
    font-size: 1.25rem;
  }
}

.p-companyAccess {
  margin-bottom: 10rem;
}
@media screen and (width < 768px) {
  .p-companyAccess {
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAccess {
    margin-bottom: 0;
    padding-block: 5rem;
  }
}

.p-companyAccess__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media screen and (width < 768px) {
  .p-companyAccess__inner {
    gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAccess__inner {
    width: 100%;
    padding-inline: 4rem;
    gap: 3rem;
  }
}

/* ---- 拠点グリッド ---- */
.p-companyAccess__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  row-gap: 5rem;
}
@media screen and (width < 768px) {
  .p-companyAccess__list {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAccess__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
    row-gap: 5rem;
  }
}

.p-companyAccess__item {
  position: relative;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 2.5rem;
}
@media screen and (width < 768px) {
  .p-companyAccess__item {
    row-gap: 1rem;
    grid-template-rows: initial;
  }
}

.p-companyAccess__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1.25rem;
  width: 0.0625rem;
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, var(--c-color-border) 0 0.125rem, transparent 0.125rem 0.25rem);
}

.p-companyAccess__item:nth-child(3n)::after {
  display: none;
}
@media screen and (width < 768px) {
  .p-companyAccess__item:nth-child(3n)::after {
    display: block;
  }
}

@media screen and (768px <= width <= 1024px) {
  .p-companyAccess__item:nth-child(3n)::after {
    display: block;
  }
  .p-companyAccess__item:nth-child(2n)::after {
    display: none;
  }
}
@media screen and (width < 768px) {
  .p-companyAccess__item::after {
    inset: auto 0 -1.5rem 0;
    width: 100%;
    height: 0.0625rem;
    background-image: repeating-linear-gradient(to right, var(--c-color-border) 0 0.125rem, transparent 0.125rem 0.25rem);
  }
  .p-companyAccess__item:nth-child(3n)::after {
    display: block;
  }
  .p-companyAccess__item:last-child::after {
    display: none;
  }
}
/* ---- カード見出し（拠点名 + Google Maps） ---- */
.p-companyAccess__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media screen and (width < 768px) {
  .p-companyAccess__head {
    gap: 1rem;
  }
}

.p-companyAccess__nameRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.p-companyAccess__name {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyAccess__name {
    font-size: 1.125rem;
  }
}

.p-companyAccess__maps {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding-bottom: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-color-ink-sub, #3f504c);
  font-family: var(--c-font-family-sans-en);
  font-weight: 700;
  font-stretch: 80%;
}

.p-companyAccess__maps::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 0.0625rem;
  background-color: rgba(32, 32, 29, 0.2);
  scale: 1 1;
  transform-origin: left;
  transition: scale 0.3s ease-in-out;
}

@media (any-hover: hover) {
  .p-companyAccess__maps:hover::before {
    scale: 0 1;
    transform-origin: right;
  }
}
.p-companyAccess__mapsIcon {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
}

.p-companyAccess__mapsIcon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- 住所 ---- */
.p-companyAccess__address {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-companyAccess__address {
    font-size: 0.875rem;
  }
}

/* ---- 地図（Google Maps iframe） ---- */
.p-companyAccess__map {
  width: 100%;
  height: 16rem;
  border-radius: 0.125rem;
  overflow: hidden;
  background-color: #d9d9d9;
}
@media screen and (width < 768px) {
  .p-companyAccess__map {
    height: 14rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-companyAccess__map {
    height: 12.03125rem;
  }
}

.p-companyAccess__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-parallaxImg {
  margin-top: 10rem;
  margin-bottom: 10rem;
}
@media screen and (width < 768px) {
  .p-parallaxImg {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-parallaxImg {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.p-parallaxImg__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1440/380;
  overflow: clip;
}
@media screen and (width < 768px) {
  .p-parallaxImg__frame {
    aspect-ratio: 390/200;
  }
}

.p-parallaxImg__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.p-parallaxImg__bgImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}