/* ==================== 
ボタン
下線とドットホバーアニメーション：別クラス
==================== */
.button {
  display: flex;
  justify-content: space-between;
  width: fit-content;
  min-width: 15rem;
  gap: 0.625rem;
  font-family: var(--familyZenOldMincho);
  font-size: var(--14);
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.07rem;
  padding-right: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  position: relative;
}
.button::before {
  content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--colorWhite);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease 0.1s;
  pointer-events: none;
}
.button::after {
  display: inline-block;
  content: "";
  background-color: #fff;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  margin-block: auto;
  box-shadow: 0 0 0 0 rgba(255,255,255,.4);
  transition: box-shadow .3s ease 0.1s;
  pointer-events: none;
}
@media (hover:hover) {
  .button:hover {
    border-bottom-color: transparent;
  }
  .button:hover::before {
    transform-origin: left;
		transform: scaleX(1);
  }
  .button:hover::after {
    box-shadow: 0 0 0 1rem rgba(255,255,255,.1);
  }
}
.button:focus-visible {
  border-bottom-color: transparent;
}
.button:focus-visible::before {
  transform-origin: left;
  transform: scaleX(1);
}
.button:focus-visible::after {
  box-shadow: 0 0 0 1rem rgba(255,255,255,.1);
}

/* ==================== 
アニメーション
リンクの下線（左から右に光る）
==================== */
.animation-hoverLine {
  position: relative;
}
.animation-hoverLine::before {
  content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--colorWhite);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
  pointer-events: none;
}
@media (hover:hover) {
  .animation-hoverLine:hover::before,
  a:hover .animation-hoverLine::before {
    transform-origin: left;
		transform: scaleX(1);
	}
}



/* ==================== 
ドット周りのhoverアニメーション
（afterの白いドットを中心に薄い円が広がる）
==================== */
/* afterの白いドット */
.dotted--white {
  position: relative;
}
.dotted--white::after {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  width: 0.25rem;
  height: 0.25rem;
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  pointer-events: none;
}

/* 薄い円が広がるアニメーション */
.dottedHoverScale::after {
  box-shadow: 0 0 0 0 rgba(255,255,255,.4);
  border-radius: 50%;
  transition: box-shadow .3s ease;
}
@media (hover:hover) {
  a.dottedHoverScale:hover::after,
  a:hover .dottedHoverScale::after {
    box-shadow: 0 0 0 1rem rgba(255,255,255,.1);
  }
}

/* ==================== 
下層パンくずリスト
==================== */
.breadcrumbs {
  margin-block: 1rem;
  padding-right: var(--padding40);
  padding-left: var(--padding40);
}
.breadcrumbs__lists {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  column-gap: 1.78125rem;
  row-gap: 0.25rem;
}

.breadcrumbs__list,
.breadcrumbs__link {
  color: rgba(255,255,255, .5);
  font-family: var(--familyNotoSans);
  font-size: var(--11);
  font-weight: 400;
  letter-spacing: 0.0275rem;
  white-space: nowrap;
}
.breadcrumbs__list:last-of-type {
  max-width: 15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumbs__list:not(:last-of-type) {
  position: relative;
}
.breadcrumbs__list:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  background: url(../../images/common/breadcrumbs-line.svg) no-repeat center center / contain;
  width: 0.78125rem;
  height: 0.78125rem;
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transform: translate(100%, -50%);
}
.breadcrumbs__link {
  display: block;
  width: 100%;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 0.25em;
}
@media screen and (max-width: 767px) {
  .breadcrumbs {
    padding-inline: 1.5rem;
    margin-block: 1.015625rem;
  }
  .breadcrumbs__list:last-of-type {
    max-width: 13rem;
  }
}

/* ==================== 
下層ファーストビュー
==================== */
.pageMv {
  padding-top: 7.1875rem;
  position: relative;
}
.pageMv::before {
  content: "";
  background-image: url(../../images/common/mv.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.3;
}
.pageMv__container {
  display: grid;
  row-gap: var(--margin80);
  padding-right: var(--padding-side);
  padding-left: var(--padding-side);
  margin-top: 5.8rem;
}
.pageMv::after {
  content: "";
  background: linear-gradient(0deg, #20291E 0%, rgba(32, 41, 30, 0.00) 100%);
  width: 100%;
  height: 22.2vw;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.pageMv__title-en {
  display: block;
  color: rgba(255,255,255,.6);
  font-family: var(--familyNotoSans);
  font-size: var(--14);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 1.12px;
  text-align: center;
}
.pageMv__title-jp {
  display: block;
  color: var(--white);
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: var(--52);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.13rem;
  margin-top: 0.7rem;
}
.pageMv__title-jp .text-s {
  font-size: var(--44);
}
.pageMv__texts {
  font-size: var(--18);
  font-family: var(--familyZenOldMincho);
  font-weight: 400;
  line-height: 240%;
  letter-spacing: 0.09rem;
  text-align: center;
}

/* 縦線アニメーション */
.clip-wrap {
  position: relative;
  text-align: center;
}
.clip-wrap svg {
    display: inline-block;
    width: 0.0625rem;
    height: 8rem;
    /* 最初は非表示 */
    clip-path: inset(0 0 100% 0);
    animation: lineMask 1.8s linear infinite;
  }
  .line {
    stroke: #FC60AF;
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 2 4 4 4 35;
  }

@keyframes lineMask {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  30% {
    clip-path: inset(0 0 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  80% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

@media screen and (max-width: 767px) {
  .pageMv {
    padding-top: 5rem;
  }
  .pageMv::before {
    background-image: url(../../images/common/mv-sp.webp);
  }
  .pageMv::after {
    height: 15rem;
  }
  .pageMv__container {
    margin-top: 3.25rem;
  }
  .pageMv__title-jp {
    letter-spacing: 0.09rem;
    margin-top: 0.75rem;
  }
  .clip-wrap svg {
    height: 5rem;
  }
  .pageMv__texts {
    text-align: justify;
    line-height: 220%;
    padding-top: 2.5rem;
    letter-spacing: 0.075em;
  }
}

/* 下層タイトル（上ラインあり） */
.title-h2 {
  display: flex;
  align-items: center;
}
.title-h2.top-line {
  position: relative;
  padding-top: 3.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
}
.title-h2.top-line::after {
  content: "";
  background-color: #fff;
  width: var(--margin80);
  height: 1px;
  position: absolute;
  top: -1px;
  left: 0;
}
.title-h2__ja {
  font-size: var(--26);
  font-weight: 500;
  line-height: 175%;
  letter-spacing: 0.065rem;
  margin-right: 1.5rem;
}
.title-h2__en {
  font-family: var(--familyNotoSans);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--13);
  line-height: 120%;
  letter-spacing: 0.065rem;
}

@media screen and (max-width: 767px) {
  .title-h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .title-h2.top-line {
    padding-top: 3rem;
  }
}

/* ====================== */
/*  ご相談　セクション */
/* ====================== */
.contactCTA {
  text-align: center;
  padding-block: 10rem;
  background: url(../../images/business/contactCTA-bg-pc.webp) no-repeat center center / cover;
}
.contactCTA__title {
  font-size: var(--24);
  font-weight: 500;
  line-height: 175%;
  letter-spacing: 0.06rem;
}
.contactCTA__text {
  font-size: var(--15);
  font-weight: 400;
  line-height: 240%;
  letter-spacing: 0.0375rem;
  text-align: center;
  margin-top: 1.5rem;
}
.contactCTA__button {
  margin: 2.5rem auto 0;
}

@media screen and (max-width: 767px) {
  .contactCTA {
    padding-block: 6rem;
  }
  .contactCTA__text {
    text-align: justify;
    line-height: 2.2;
    letter-spacing: 0.035rem;
  }
  .contactCTA__button {
    width: 100%;
  }
}

/* ==================== */
/* inquiry 注意事項セクション */
/* ==================== */
.section__form-attention {

  .container {
    max-width: 960px;
  }
  .attention {
    padding: var(--margin64) var(--margin80);
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
    margin-top: 8rem;
    opacity: 0.8;
  }
  .attention__title {
    font-size: var(--18, 1.125rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.09rem;
    text-align: center;
  }
  .attention__lists {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
  }
  .attention__lists li {
    font-size: var(--14);
    font-weight: 500;
    line-height: 200%;
    letter-spacing: 0.07rem;
    padding-left: 1.5rem;
    position: relative;
  }
  .attention__lists li::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.30);
    width: 0.5rem;
    height: 0.0625rem;
    position: absolute;
    left: 0;
    top: 1rem;
  }
  
  @media screen and (max-width: 767px) {
    .attention {
      margin-top: 3rem;
      padding-inline: 1.5rem;
    }
    .attention__lists li {
      font-size: 0.75rem;
      letter-spacing: 0.06rem;
      padding-left: 1rem;
    }
    .attention__lists li::before {
      top: 0.75rem;
    }
  }
}