/* 全体のインナー幅調整 */
.container-w100 {
  width: 100%;
}

.page-wrap {
  padding-top: 0;
  padding-bottom: 0;
}



/* ーーーーーーーーーーーーーーーーーーーーーーーー
物件選びのポイント＆物件購入補助金 */

.p-ut-buy-tipsandincentives {
  background: #FEFDFB;
  padding: 50px 20px 25px 20px;
}

.p-ut-buy__tipsItems {
  display: flex;
  max-width: 1061px;
  margin-left: auto;
  margin-right: auto;
  gap : 20px;
  justify-content: center;
  margin-top: 30px;
}

.p-ut-buy__tipsItem {
  background: #FFF;
  padding: 15px 12.5px 20px 12.5px;
  border: 1px solid #123979;
  width: 33%;
}

.p-ut-buy__tipsItemTitle {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  margin-top: 30px;
}

.p-ut-buy__tipsItemText {
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 18px;
}

.p-ut-buy__tipsItemTitle3 {
  margin-top: 15px;
}

.p-ut-buy__tipsItemText3 {
  margin-top: 12px;
}

.p-ut-buy__tipsItemImg1 {
  max-width: 34.3px;
  margin-right: auto;
  margin-left: auto;
}
.p-ut-buy__tipsItemImg1 img{
  aspect-ratio: 34.3 / 46.4;
  object-fit: cover;
  width: 100%;
}

.p-ut-buy__tipsItemImg2 {
  max-width: 48.4px;
  margin-right: auto;
  margin-left: auto;
}
.p-ut-buy__tipsItemImg2 img{
  aspect-ratio: 48.4 / 48;
  object-fit: cover;
  width: 100%;
}

.p-ut-buy__tipsItemImg3 {
  max-width: 31.7px;
  margin-right: auto;
  margin-left: auto;
}
.p-ut-buy__tipsItemImg3 img{
  aspect-ratio: 31.7 / 45.7;
  object-fit: cover;
  width: 100%;
}


.p-ut-buy__incentives {
  margin-top: 60px;
}

.p-ut-buy__incentivesInner {
  max-width: 490px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 50px;
  font-size: 13px;
}

.p-ut-buy__purchaseItem {
  margin-top: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
}

.p-ut-buy__purchaseItemTit {
  font-size: 17px;
  font-weight: bold;
}

.p-ut-buy__purchaseItemText {
  margin-top: 30px;
}

.p-ut-buy__purchaseItemLast {
  border-bottom: unset;
}


@media (max-width: 768px) {
  .p-ut-buy__tipsItems  {
    display: block;
    max-width: 318px;
  }
  .p-ut-buy__tipsItem {
    width: 100%;
    padding: 15px 8.5px 20px 8.5px;
  }
  .p-ut-buy__tipsItem:nth-child(n + 2 ){
    margin-top: 20px;
  }
  .p-ut-buy__incentives {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ーーーーーーーーーーーーーーーーーーーーーーーー
林組の不動産購入の特徴 */

.p-ut-buy-feature {
  background: #123979;
  padding-top: 78px;
  padding-bottom: 50px;
  padding-left: 60px;
  padding-right: 20px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  .p-ut-buy-feature {
    padding-left: 20px;
  }
}

.p-ut-buy-feature .p-te-titleh2 h2,
.p-ut-buy-feature .p-te-titleh2 p {
  color: #FFF;
}

.p-ut-buy-feature .p-te-titleh2 p {
  font-size: 13px;
  letter-spacing: 0;
}

.p-ut-buy-feature .p-te-strength__underline {
  background: #FFF;
}


.p-ut-buy-feature__contents {
  padding: 60px 0px 60px 60px;
  background: #FEFDFB;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .p-ut-buy-feature__contents  {
    padding: 14px;
    max-width: 337px;
  }
}

.p-ut-buy-feature__contents:after {
  position: absolute;
  content: "";
  right: -1000px;
  top: 0;
  bottom: 0;
  background: #FEFDFB;
  width: 1001px;
  height: 100%;
  z-index: 0;
}

.p-ut-buy-feature__contents:before {
  position: absolute;
  content: "Features";
  font-size: 105px;
  top: -122px;
  right: -100px;
  font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .p-ut-buy-feature__contents:after {
    right: unset;
    background: unset;
    width: unset;
    height: unset;
    position: unset;
    content: unset;
  }

  .p-ut-buy-feature__contents:before {
    position: absolute;
    content: "Features";
    font-size: 43px;
    top: -52px;
    right: -24px;
    font-family: var(--font-main);
    font-style: normal;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.2);
  }
}

.p-ut-buy-feature__item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .p-ut-buy-feature__item  {
    display: block;
    padding-left: 0;
  }
}

.p-ut-buy-feature__itemTit {
  font-size: 27px;
  font-weight: bold;
}

.p-ut-buy-feature__itemText {
  font-size: 14px;
  margin-top: 30px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .p-ut-buy-feature__itemTit {
    font-size: 24px;
    margin-top: 10px;
  }
  .p-ut-buy-feature__itemText {
    font-size: 12px;
    padding-right: 0;
    margin-top: 10px;
  }
}

.p-ut-buy-feature__itemImg {
  width: 37.21%;
}

.p-ut-buy-feature__itemTextBox {
  width: 57.14%;
}





.p-ut-buy-feature__itemImg img {
  aspect-ratio: 320 / 213;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px)  {

  .p-ut-buy-feature__itemImg {
    width: 100%;
  }

  .p-ut-buy-feature__itemTextBox {
    width: 100%;
  }

}


.p-ut-buy-feature__item:nth-child(n + 2) {
  margin-top: 66px;
}

.p-ut-buy-feature__item:nth-child(n + 2) {
  position: relative;
}

.p-ut-buy-feature__item:nth-child(n + 2):after {
  position: absolute;
  content: "";
  top: -33px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-feature-line.png');
  background-size: cover;
}


.p-ubuy-none {
  display: none;
}


/* ーーーーーーーーーーーーーーーーーーーーーーーー
メインビュー */
.p-ut-buy-fv {
  overflow: hidden;
  position: relative;
  z-index: 0;
}


.p-ut-buy-fv::after {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #123979;
}

.p-ut-buy-fv__firstview-container {
  width: 100%;
  position: relative;
  height: calc(60vh + 40px);
  max-height: 467px;
  /* z-index: 1; */
  overflow: visible;
  /* margin-top: -40px; */
}

.p-ut-buy-fv__trapezoid {
  position: absolute;
  width: 100%;
  height: 60vh;
  max-height: 467px;
  /* background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-firstview.jpg'); */
  background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-first-view-naga2.png');
  background-size: 120%;
  background-position: center;
  background-repeat: no-repeat;
  /* clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 30% 100%); */
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 38% 100%);
  max-width: 100vw;
  z-index: 3;
  /* margin-top: 29px; */
  margin-top: 0;
  /* left: 7%; */
  left: 0px;
}

.sp-only-brbr {
  display: none;
}

@media (max-width: 768px)  {
  .p-ut-buy-fv__main-title,
  .p-ut-buy-fv__bottom-line {
    writing-mode: vertical-rl; /* 縦書き・右から左へ */
    text-orientation: upright; /* 文字を立てて表示 */
  }
  .sp-only-brbr {
    display: block;
  }
  .pc-only-textex {
    display: none;
  }
}

.p-ut-buy-fv__decoration-image {
  position: absolute;
  width: 50.5vw;
  height: 60vh;
  max-height: 427px;
  background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-firstview-left.jpg');
  background-size: cover;
  background-position: center;
  left: 0;
  top: 0;
  z-index: 1;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);
}

.p-ut-buy-fv__decoration-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.5;
  z-index: 2;
}

.p-ut-buy-fv__headline {
  position: absolute;
  top: 20%;
  left: 5%;
  z-index: 3;
  font-family: "Hiragino Mincho ProN", "游明朝", "YuMincho", serif;
  color: black;
}

.p-ut-buy-fv__headline .p-ut-buy-fv__top-line {
  font-size: 36px;
  font-weight: bold;
}

.p-ut-buy-fv__headline .p-ut-buy-fv__main-line {
  font-size: 42px;
  font-weight: bold;
  color: #123979;
}

.p-ut-buy-fv__headline .p-ut-buy-fv__bottom-line {
  font-size: 36px;
  font-weight: bold;
}

@media (max-width: 1140px) {
  .p-ut-buy-fv__trapezoid {
    clip-path: polygon(55% 0%, 100% 0%, 100% 100%, 35% 100%);
    margin-top: 40px;
  }

  .p-ut-buy-fv__decoration-image {
    width: 100%;
  }

  .p-ut-buy-fv__headline {
    left: 8%;
    top: 18%;
  }
}

@media (max-width : 768px) {
  .p-ut-buy-fv__trapezoid {
    position: absolute;
    width: 100%;
    height: 60vh;
    /* background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-firstview.jpg'); */
    background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-firstview.jpg');
    background-size: 170%;
    background-position: center;
    background-repeat: no-repeat;
    /* clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 30% 100%); */
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 38% 100%);
    max-width: 100vw;
    z-index: 3;
    /* margin-top: 40px; */
    margin-top: 29px;
    /* left: 7%; */
    right: -50px;
  }
}
@media (max-width : 362px) {
  .p-ut-buy-fv__trapezoid {
    background-size: 200%;
  }
}

.p-ut-buy-fv__headline {
  position: absolute !important;
  top: 10% !important;
  left: 5% !important;
  z-index: 10;
}

/* アニメーション */
@keyframes slideFadeIna {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* メインタイトル */
.p-ut-buy-fv__headline .p-ut-buy-fv__main-title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.4;
  color: black;
  opacity: 0;
  animation: slideFadeIna 1.4s ease-out forwards;
  animation-delay: 0.8s;
  font-family: var(--font-main);
  font-style: normal;
}

/* 黒文字部分 */
.p-ut-buy-fv__headline .p-ut-buy-fv__text-black {
  color: black;
  font-size: 36px;
  font-weight: bold;
  font-family: var(--font-main);
  font-style: normal;
}

/* 青文字部分 */
.p-ut-buy-fv__headline .p-ut-buy-fv__text-blue {
  color: #123979;
  font-size: 42px;
  font-weight: bold;
  font-family: var(--font-main);
  font-style: normal;
}

/* サブタイトル（下の一行） */
.p-ut-buy-fv__headline .p-ut-buy-fv__bottom-line {
  font-size: 36px;
  font-weight: bold;
  color: black;
  margin-top: 10px;
  opacity: 0;
  animation: slideFadeIna 1.4s ease-out forwards;
  animation-delay: 2.2s;
}

/* 説明テキスト */
.p-ut-buy-fv__headline-text {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  color: #000;
  max-width: 35vw;
  opacity: 0;
  animation: slideFadeIna 1.4s ease-out forwards;
  animation-delay: 3.5s;
  font-family: var(--font-main);
  font-style: normal;
}

/* デコ画像や装飾など共通フェード */
@keyframes fadeIna {
  0% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.p-ut-buy-fv__decoration-image,
.p-ut-buy-fv__trapezoid {
  animation: fadeIna 1.2s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}


@media (max-width: 990px)  {

  /* メインタイトル */
  .p-ut-buy-fv__headline .p-ut-buy-fv__main-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    color: black;
    opacity: 0;
    animation: slideFadeIna 1.4s ease-out forwards;
    animation-delay: 0.8s;
    font-family: var(--font-main);
    font-style: normal;
  }

  /* 黒文字部分 */
  .p-ut-buy-fv__headline .p-ut-buy-fv__text-black {
    color: black;
    font-size: 32px;
    font-weight: bold;
    font-family: var(--font-main);
    font-style: normal;
  }

  /* 青文字部分 */
  .p-ut-buy-fv__headline .p-ut-buy-fv__text-blue {
    color: #123979;
    font-size: 32px;
    font-weight: bold;
    font-family: var(--font-main);
    font-style: normal;
  }

  /* サブタイトル（下の一行） */
  .p-ut-buy-fv__headline .p-ut-buy-fv__bottom-line {
    font-size: 36px;
    font-weight: bold;
    color: black;
    margin-top: 10px;
    opacity: 0;
    animation: slideFadeIna 1.4s ease-out forwards;
    animation-delay: 2.2s;
  }

  /* 説明テキスト */
  .p-ut-buy-fv__headline-text {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.9;
    color: #000;
    max-width: 35vw;
    opacity: 0;
    animation: slideFadeIna 1.4s ease-out forwards;
    animation-delay: 3.5s;
    font-family: var(--font-main);
    font-style: normal;
  }
}

.p-ut-buy-fv__headline-text__sponly {
  display: none;
}

@media (max-width : 768px) {
  .p-ut-buy-fv__headline-text__pconly {
    display: none;
  }
  .p-ut-buy-fv__headline-text__sponly {
    display: block;
    color: #FFF;
    animation: unset;
    opacity: 1;
    margin-top: 0;
    max-width: unset;
    margin-bottom: 20px;
  }


/* メインタイトル */
.p-ut-buy-fv__headline .p-ut-buy-fv__main-title {
  /* font-size: 42px; */
  font-weight: bold;
  line-height: 1.2;
  color: black;
  opacity: 1;
  animation: unset;
  animation-delay: 0.8s;
  font-family: var(--font-main);
  font-style: normal;
}

/* 黒文字部分 */
.p-ut-buy-fv__headline .p-ut-buy-fv__text-black {
  color: black;
  font-size: 24px;
  font-weight: bold;
  font-family: var(--font-main);
  font-style: normal;
  padding-top: 23px;
}

/* 青文字部分 */
.p-ut-buy-fv__headline .p-ut-buy-fv__text-blue {
  color: #123979;
  font-size: 30px;
  font-weight: bold;
  font-family: var(--font-main);
  font-style: normal;
}

/* サブタイトル（下の一行） */
.p-ut-buy-fv__headline .p-ut-buy-fv__bottom-line {
  font-size: 36px;
  font-weight: bold;
  color: black;
  margin-top: 10px;
  opacity: 1;
  animation: unset;
  animation-delay: 2.2s;
}


.p-ut-buy-fv__decoration-image,
.p-ut-buy-fv__trapezoid {
  animation: unset;
  animation-delay: 0.2s;
  opacity: 1;
}


}


/* ーーーーーーーーーーーーーーーーーーーーーーーー
購入の流れ */

.p-ut-buy-process {
  background: #E8E8E8;
  padding: 30px;
  overflow: hidden;
}

.p-ut-buy-process__contents {
  max-width: 903px;
  margin-left: auto;
  margin-right: auto;
  background: #FFF;
  padding: 20px 40px;
  box-shadow: 6.6px 6.6px 2.8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:961px) {
  .p-ut-buy-process__contents {
    padding: 20px 10px;
    max-width: 400px;
  }
  .p-ut-buy-process {
    padding: 15px;
  }
}

@media screen and (min-width:962px) {
  .p-ut-buy-process__contents {
    position: relative;
  }
  .p-ut-buy-process__contents:after {
    position: absolute;
    content: "";
    background-image: url('/wp-content/themes/HayashiGumi/images/buy/buy-process-abso.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 374px;
    height: 215px;
    bottom: -20px;
    right: -90px;
  }
}

.p-ut-buy-process .p-te-titleh2 p {
  letter-spacing: unset;
  font-size: 12px;
}

   /* 全体のラッパー */
   .step-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
  }

  /* 各ステップのラッパー */
  .p-shimi-step__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    /* opacity: 0;
    transform: translateY(20px);
    animation: fadeInStep 1.5s ease forwards; */
  }

  /* アニメーションの遅延設定 */
  /* .step:nth-child(1) {
    animation-delay: 0.5s;
  }

  .step:nth-child(2) {
    animation-delay: 1.5s;
  }

  .step:nth-child(3) {
    animation-delay: 2.5s;
  }

  .step:nth-child(4) {
    animation-delay: 3.5s;
  } */




  @keyframes fadeInStep {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 円と点線 */
  .p-shimi-step__circle-and-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .p-shimi-step__circle {
    width: 90px;
    height: 90px;
    border: 5.6px solid #1998CD;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    line-height: 1;
  }

  .step-container {
    text-align: center;
  }

  .stepText {
    font-size: 16px;
    color: #1998CD;
  }

  .p-shimi-step__number {
    font-size: 36px;
    color: #1998CD;
    font-weight: bold;
  }

  .dotted-line {
    width: 2px;
    height: 120px;
    background: transparent;
    border-left: 4px dotted #1998CD;
    position: absolute;
    top: 92px;
    opacity: 0;
    animation: stretchLine 1s ease forwards;
    animation-delay: 0.5s;
  }

  @keyframes stretchLine {
    from {
      opacity: 0;
      height: 0;
    }
    to {
      opacity: 1;
      height: 168px;
    }
  }

  /* コンテンツ */
  .p-shimi-step__content-wrapper {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    /* align-items: center; */
    gap: 20px;
    position:relative;
    padding-top: 0;
    opacity: 1;
    transform: unset;
    animation: unset;
  }

  .content-wrapper1 {
    animation-delay: 1.5s;
  }
  .content-wrapper2 {
    animation-delay: 2.5s;
  }
  .content-wrapper3 {
    animation-delay: 3.5s;
  }
  .content-wrapper4 {
    animation-delay: 4.5s;
  }

  .p-shimi-step__content {
    flex: 1;
    background: #123979;
    padding: 10px 20px;
    border-radius: 16px;
  }

  .animated-heading {
    font-size: 24px;
    color: #1998CD;
    font-weight: bold;
  }

  .description-text {
    font-size: 14px;
    color: #808080;
    margin-top: 19.2px;
  }


  .image-container img {
    width: 100%;
    height: auto;
    max-width: 300px;
    aspect-ratio: 272.69 / 187.87;
    object-fit: cover;
  }

  /* Separator */
  .separator {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ABD5E6;
    bottom: -22px;
  }

  .separator .triangle {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ABD5E6;
  }


  .p-shimi-stepwhite {
    background: #FFF;
    padding: 37.2px 11px;
    border-radius:22.62px;
  }


  .p-shimi-oowaku-step {
    padding-top: 0;
    padding-bottom: 25px;
  }

  /* アニメーション: 円がふんわり表示される */
  /* @keyframes fadeInCircle {
    from {
      opacity: 0;
      transform: scale(0.8); 
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  } */




.p-shimi-syurui__btn {
  background: #B78092;
  width: 197.95px!important;
  height: 36.42px;
  justify-content: center;
  border-radius: 50px;
  margin: 40.9px auto 0;
  transition: .2s;
}

.p-shimi-syurui__btn:hover {
  opacity: 0.7;
}

.p-machine__link {
  font-size: 12px;
  text-decoration: none;
  color: #fff!important;
  font-weight: 700;
  display: inline-block;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none!important;
}

.p-shimi-syurui__btn .p-machine__link {
  font-size: 12px!important;
}

.p-shimi-step__titSp {
  display: none;
}

.image-containerSp {
  display: none;

}


@media screen and (max-width:961px) {
  .p-shimi-step__titPc {
    display: none;
  }

  .p-shimi-step__titSp {
    display: block;
  }

  .p-shimi-step__titSp:nth-child(2) {
    margin-bottom: 19px;
  }


  .p-shimi-step__content-wrapper  {
    display: block;
    flex-wrap: column;
  }

  .p-shimi-step__circle {
    width: 43px;
    height: 43px;
    background: #123979;
    color: #FFF;
    border: unset;
  }



  .stepText {
    font-size: 9px;
    color: #FFF;
  }

  .p-shimi-step__number {
    font-size: 16px;
    color: #FFF;
    font-weight: bold;
    margin-top: 2px;
  }

  .dotted-line {
    width: 2px;
    height: 120px;
    background: transparent;
    border-left: 2px solid #123979;
    position: absolute;
    top: 92px;
    opacity: 0;
    animation: stretchLine 1s ease forwards;
    animation-delay: 0.5s;
  }

  .p-shimi-stepwhite {
    background: #FFF;
    padding:0;
  }

  .content-wrapper {
    padding-top: 9px;
  }

  .animated-heading {
    font-size: 1.125rem;
    text-align: center;
  }


  .description-text {
    font-size: 0.875rem;
  }

  .image-container {
    order: 1;
  }


  .content {
    order: 2;
  }

  .image-containerSp {
    display: block;
  }

  .image-containerPc {
    display: none;
  }

  .p-shimi-step__step {
    gap: 11.5px;
    align-items: stretch
  }

  .image-containerSp {
    margin-top: 0;
    text-align: center;
  }


  .image-containerSp img {
    width: 100%;
  }


  .description-text {
    margin-top: 0.625rem;
    color: #FFF;
    line-height: 1.5;
    font-size: 12px;
  }

      /* Separator */
    .separator {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ABD5E6;
    bottom: -22px;
    display: none;
  }

  .separator .triangle {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ABD5E6;
    display: none;
  }


  .animated-heading {
    position: relative;
  }

  .animated-heading:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background-color: #ABD5E6;
    bottom: -0.8rem;
  }

  .animated-heading:after {
    content: '';
    position: absolute;
    bottom: -1.425rem;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ABD5E6;
  }

  .dotted-line {
    top: 42px;
    animation: unset;
    animation-delay: 0.5s;
    height: calc(100% - 20px);
    opacity: 1;
  }

  .p-ut-process__tit {
    color: #FFF;
    font-size: 16px;
    border-bottom: 2px solid #808080;
    padding-bottom: 10px;
    margin-bottom: 0;
    text-align: center;
    font-weight: bold;
  }

  .description-text {
    margin-top: 10px;
  }

}


.p-ut-buy-process-Sponly {
  display: none;
}
@media screen and (max-width:961px)  {
  .p-ut-buy-process-Sponly {
    display: block;
  }
}


.p-ut-buy-process-Pconly {
  margin-top: 30px;
}


@media screen and (max-width:961px)  {
  .p-ut-buy-process-Pconly {
    display: none;
  }
}


.p-ut-buy-process-pccont__step {
  background: #123979;
  color: #FFF;
  width: 54px;
  height: 54px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-radius: 50%;
  line-height: 1.2;
  padding-top: 10px;
  font-size: 12px;
}

.p-ut-buy-process-pccont__step span {
  font-size: 21px;
}



@media screen and (min-width:962px) {
  .p-ut-buy-process-pccont__stepItem {
    position: relative;
  }
  .p-ut-buy-process-pccont__step {
    position: relative;
  }
  .p-shimi-step__content-wrapper .description-text{
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 0;
  }
  .p-ut-buy-process-pccont__step-tateline {
    position: absolute;
    content: "";
    width: 2px;
    height: 77px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%) scaleY(0);
    transform-origin: top;
    animation: lineGrow 1.2s ease-out forwards;
    /* animation-play-state: paused; */
    background: #123979;
    animation-delay: 1.2s;
  }
  @keyframes lineGrow {
    to {
      transform: translate(-50%, 100%) scaleY(1);
    }
  }
  .p-ut-buy-process-pccont__step {
    background: #FFF;
    color: #FFF;
    width: 54px;
    height: 54px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-radius: 50%;
    line-height: 1.2;
    padding-top: 10px;
    font-size: 12px;
  }
  .p-ut-buy-process-pccont__stepItemtet {
    opacity: 0;
    animation: fadeInStep 1.2s forwards;
    background: #123979;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    margin-top: -10px;
    padding-top: 10px;
    animation-delay: 0.5s;
  }
  .p-ut-buy-process-pccont__stepItemtet2 {
    animation-delay: 2.2s;
  }
  .p-ut-buy-process-pccont__stepItemtet3 {
    animation-delay: 3.9s;
  }
  .p-ut-buy-process-pccont__stepItemtet4 {
    animation-delay: 5.6s;
  }
  .p-ut-buy-process-pccont__stepItemtet5 {
    animation-delay: 7.3s;
  }

  @keyframes fadeInStep {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .p-ut-process__tit,
  .description-text {
    color: #FFF;
  }
  .p-ut-process__tit {
    color: #FFF;
    font-size: 16px;
    border-bottom: 2px solid #808080;
    padding-bottom: 10px;
    margin-bottom: 0;
    text-align: center;
    font-weight: bold;
  }
  .p-shimi-step__content-wrapper {
    max-width: 323px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fadeInStep 1.2s forwards;
    animation-delay: 2.2s;
  }

  .content-wrapper2 {
    top: -20px;
    left: unset;
    right: 0;
    animation-delay: 3.9s;
  }
  .content-wrapper3 {
    top: -20px;
    left: 0;
    animation-delay: 5.6s;
  }

  .content-wrapper4 {
    animation-delay: 7.3s;
  }
  .content-wrapper5 {
    animation-delay: 9.0s;
  }

  .p-ut-buy-process-pccont__step-tateline2 {
    height: 250px;
    animation-delay: 2.9s;
  }
  .p-ut-buy-process-pccont__step-tateline3 {
    height: 121px;
    animation-delay: 4.6s;
  }
  .p-ut-buy-process-pccont__step-tateline4 {
    height: 247px;
    animation-delay: 6.3s;
  }
  .p-ut-buy-process-pccont__step-tateline5 {
    height: 344px;
    animation-delay: 8.0s;
  }

  .p-ut-buy-process-pccont__stepItem2 {
    margin-top: 77px;
  }
  .p-ut-buy-process-pccont__stepItem3 {
    margin-top: 250px;
  }
  .p-ut-buy-process-pccont__stepItem4 {
    margin-top: 121px;
  }
  .p-ut-buy-process-pccont__stepItem5 {
    margin-top: 247px;
  }

  .p-ut-buy-process-Pconlymt {
    margin-top: 342px!important;
  }

  .p-ut-buy-process__svg {
    position: absolute;
    content: "";
    width: 100%;
    top: 50%;
    right: 0;
    transform: translate(-100% , -50%);
  }

  .p-ut-buy-process__svgR {
    right: unset;
    left: 0;
    transform: translate(100% , -50%);
  }


  .p-ut-buy-process__svg svg {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    animation: fadeSlideInRightToLeft 1.2s ease-out forwards;
    animation-delay: 1.2s;
  }

  @keyframes fadeSlideInRightToLeft {
    0% {
      opacity: 0;
      clip-path: inset(0 0 0 100%);
    }
    100% {
      opacity: 1;
      clip-path: inset(0 0 0 0);
    }
  }

  .p-ut-buy-process__svgR svg {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    animation: fadeSlideInLeftToRight 1.2s ease-out forwards;
  }
  @keyframes fadeSlideInLeftToRight {
    0% {
      opacity: 0;
      clip-path: inset(0 100% 0 0);
    }
    100% {
      opacity: 1;
      clip-path: inset(0 0% 0 0);
    }
  }

  .p-ut-buy-process__svg2 svg {
    animation-delay: 2.9s;
  }
  .p-ut-buy-process__svg3 svg {
    animation-delay: 4.6s;
  }
  .p-ut-buy-process__svg4 svg {
    animation-delay: 6.3s;
  }
  .p-ut-buy-process__svg5 svg {
    animation-delay: 8.0s;
  }
}




/* 購入ページ物件情報ボタンcss */



.p-te-contact-buyJohoBtn .p-te-strength__contact-button {
  display: block;
  width: 195.5px;
  margin: 40px auto 0 auto;
  padding: 10px 20px;
  background-color: #fff833;
  color: #000;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.p-te-contact-buyJohoBtn .p-te-strength__contact-button:hover {
  background-color: #fff96a;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #000;
}

@media screen and (min-width:769px)  {
  .p-te-contact-buyJohoBtn {
    margin-right: 40px;
  }
  .p-te-contact-buyJohoBtn .p-te-strength__contact-button {
    display: block;
    width: 320.5px;
    margin: 40px auto 0 auto;
    padding: 12px 20px;
    background-color: #fff833;
    color: #000;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 18px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
}



.p-te-contact-buyJohoBtn2 .p-te-strength__contact-button {
  background: #123979;
  color: #FFF;
  font-weight: normal;
  margin-bottom: 60px;
}
.p-te-contact-buyJohoBtn2 .p-te-strength__contact-button:hover {
  background-color: #2f59a0;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #FFF;
}

@media screen and (min-width:769px)  {
  .p-te-contact-buyJohoBtn2 {
    margin-right: 14px;
  }
  .p-te-contact-buyJohoBtn2 .p-te-strength__contact-button {
    width: 296px;
  }
}

@media screen and (max-width:768px) {
  .p-te-contact-buyJohoBtn2 .p-te-strength__contact-button {
    max-width: 274px;
    width: 100%;
    margin: 5px auto 15px auto;
  }
}



@media screen and (max-width: 1005px) {
  .p-ut-buy-process-Pconlymt2  a{
    margin-right: auto;
    margin-left: auto;
  }

  .p-te-real-estate__btn2 a{
    margin-right: auto;
    margin-left: auto;
  }
  .p-te-contact-buyJohoBtn2 .p-te-strength__contact-button {
    max-width: 274px;
    width: 100%;
  }
  .p-te-contact-buyJohoBtn2 {
    margin-right: 0;
  }
}