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

.p-serviceMv__inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
}
@media screen and (width < 768px) {
  .p-serviceMv__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.875rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__inner {
    gap: 4rem;
    max-width: none;
    padding-inline: 4rem;
  }
}

/* ---- 左：テキスト ---- */
.p-serviceMv__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 32.5rem;
  padding-bottom: 4rem;
}
@media screen and (width >= 768px) {
  .p-serviceMv__body {
    justify-content: flex-start;
    gap: 2rem;
    width: 27.125rem;
    padding-bottom: 0;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__body {
    gap: 2.5rem;
    max-width: none;
    padding-bottom: 0;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__body {
    flex: 1;
    gap: 1.5rem;
    width: auto;
    min-width: 0;
    max-width: none;
    padding-bottom: 0;
  }
}

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

.p-serviceMv__lead {
  font-size: 1.375rem;
  line-height: 2.4;
}
@media screen and (width >= 768px) {
  .p-serviceMv__lead {
    font-size: 1.125rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__lead {
    font-size: 0.875rem;
    line-height: 2;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__lead {
    font-size: 1rem;
    line-height: 2;
  }
  .p-serviceMv__lead br:nth-of-type(odd) {
    display: none;
  }
}

/* ---- 右：円環図 ---- */
.p-serviceMv__diagram {
  position: relative;
  flex-shrink: 0;
  width: 36.125rem;
  height: 37.5rem;
}
@media screen and (width >= 768px) {
  .p-serviceMv__diagram {
    height: 31.1875rem;
    translate: 0.375rem -2.5625rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__diagram {
    width: 100%;
    max-width: 81.7948717949vw;
    height: 84.8717948718vw;
    margin-inline: auto;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__diagram {
    width: 20.3125rem;
    height: 20.75rem;
    translate: none;
  }
}

.p-serviceMv__ringArea {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 36.4375rem;
  height: 34.75rem;
  pointer-events: none;
  animation: serviceMv-rotate 10s linear infinite;
}
@media screen and (width >= 768px) {
  .p-serviceMv__ringArea {
    left: calc(50% - 0.3125rem);
    width: 30.3125rem;
    height: 28.875rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__ringArea {
    width: 82.5641025641vw;
    height: 78.7179487179vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__ringArea {
    left: 50%;
    width: 20.125rem;
    height: 19.1875rem;
  }
}

@keyframes serviceMv-rotate {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}
.p-serviceMv__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid var(--c-color-border);
  width: 100%;
  height: 100%;
}

.p-serviceMv__ring--mid {
  rotate: 135deg;
}

.p-serviceMv__ring--mid2 {
  rotate: 60deg;
}

.p-serviceMv__dotRing {
  width: 26.4375rem;
  height: auto;
  aspect-ratio: 1;
  background: url(../img/service/mv_dotRing.webp) no-repeat center center/contain;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
}
@media screen and (width >= 768px) {
  .p-serviceMv__dotRing {
    width: 22rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__dotRing {
    width: 59.7435897436vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__dotRing {
    width: 14.625rem;
  }
}

.p-serviceMv__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 13.4375rem;
}
@media screen and (width >= 768px) {
  .p-serviceMv__logo {
    width: 11.1875rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__logo {
    width: 30.7692307692vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__logo {
    width: 7.5rem;
  }
}

.p-serviceMv__logo img {
  width: 100%;
  height: auto;
}

.p-serviceMv__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 9.625rem;
  height: 9.625rem;
  padding: 0.5rem;
  background-color: rgb(from var(--c-color-white) r g b/0.8);
  border-radius: 50%;
  box-shadow: 0.625rem 0.625rem 0.9375rem rgb(from var(--c-color-black) r g b/0.05);
  backdrop-filter: blur(0.8125rem);
}
@media screen and (width >= 768px) {
  .p-serviceMv__item {
    width: 8rem;
    height: 8rem;
    padding: 0.4375rem;
    box-shadow: 0.5625rem 0.5rem 0.78125rem rgb(from var(--c-color-black) r g b/0.05);
    backdrop-filter: blur(0.668rem);
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__item {
    width: 21.7948717949vw;
    height: 21.7948717949vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__item {
    width: 5.3125rem;
    height: 5.3125rem;
    padding: 0.3125rem;
  }
}

.p-serviceMv__itemText {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
  text-align: center;
}
@media screen and (width >= 768px) {
  .p-serviceMv__itemText {
    font-size: 0.875rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__itemText {
    font-size: 2.5641025641vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__itemText {
    font-size: 0.5625rem;
  }
}

.p-serviceMv__item--1 {
  top: 0;
  left: 50%;
  translate: -50% 0;
}

.p-serviceMv__item--2 {
  top: 5.875rem;
  right: 0;
}
@media screen and (width >= 768px) {
  .p-serviceMv__item--2 {
    top: 4.875rem;
    right: 3rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__item--2 {
    top: 13.3333333333vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__item--2 {
    top: 3.25rem;
    right: 0;
  }
}

.p-serviceMv__item--3 {
  bottom: 5.875rem;
  right: 0;
}
@media screen and (width >= 768px) {
  .p-serviceMv__item--3 {
    right: 3rem;
    bottom: 4.9375rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__item--3 {
    bottom: 13.3333333333vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__item--3 {
    right: 0;
    bottom: 3.25rem;
  }
}

.p-serviceMv__item--4 {
  bottom: 0;
  left: 50%;
  translate: -50% 0;
}

.p-serviceMv__item--5 {
  bottom: 5.875rem;
  left: 0;
}
@media screen and (width >= 768px) {
  .p-serviceMv__item--5 {
    bottom: 4.9375rem;
    left: 3rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__item--5 {
    bottom: 13.3333333333vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__item--5 {
    bottom: 3.25rem;
    left: 0;
  }
}

.p-serviceMv__item--6 {
  top: 5.875rem;
  left: 0;
}
@media screen and (width >= 768px) {
  .p-serviceMv__item--6 {
    top: 4.875rem;
    left: 3rem;
  }
}
@media screen and (width < 768px) {
  .p-serviceMv__item--6 {
    top: 13.3333333333vw;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceMv__item--6 {
    top: 3.25rem;
    left: 0;
  }
}

.p-serviceList {
  padding-bottom: 10rem;
}
@media screen and (width < 768px) {
  .p-serviceList {
    padding-bottom: 5rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceList {
    padding-bottom: 5rem;
  }
  .p-serviceList > .l-inner {
    max-width: none;
    padding-inline: 4rem;
  }
}

.p-serviceList__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
  row-gap: 5rem;
}
@media screen and (width < 768px) {
  .p-serviceList__grid {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}
@media screen and (768px <= width <= 1024px) {
  .p-serviceList__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 3rem;
  }
  .p-serviceList__grid .c-card4 {
    gap: 1.5rem;
  }
  .p-serviceList__grid .c-card4:nth-child(-n+2) {
    width: calc(100% - 0.5rem);
  }
  .p-serviceList__grid .c-card4:nth-child(2) {
    justify-self: end;
  }
  .p-serviceList__grid .c-card4__body {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "text" "btn";
    gap: 1.5rem;
  }
  .p-serviceList__grid .c-card4__title {
    font-size: 1.5rem;
  }
  .p-serviceList__grid .c-card4__text {
    font-size: 0.875rem;
    letter-spacing: 0;
  }
  .p-serviceList__grid .c-card4__btn.c-btn1 {
    grid-template-columns: 1fr 1.625rem;
    padding: 0.75rem 1.25rem;
  }
  .p-serviceList__grid .c-card4__btn .c-btn1__text {
    font-size: 0.875rem;
    line-height: 1.4285714286;
  }
  .p-serviceList__grid .c-card4__btn .c-btn1__arrow {
    width: 1.625rem;
    height: 1.25rem;
  }
  .p-serviceList__grid .c-card4__btn .c-btn1__arrow::before, .p-serviceList__grid .c-card4__btn .c-btn1__arrow::after {
    width: 0.875rem;
    height: 0.625rem;
  }
}