@charset "utf-8";

.gjs-dashed .flow-wrap .flow-item{
  opacity:1;
}

.service-top .about-top-img {
  width: 37%;
}

.service-top .about-top-img .about-top-img-sub{
  margin: 0 0 0 auto;
}

.service-top .about-top-img .about-top-img-main{
  top: 3rem;
  left: 0;
  width: 82%;
  aspect-ratio: 466 / 600;
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}

.service-top .about-top-txt{
  max-width: 750px;
  margin-left: 5%;
  padding: 11rem 0;
}

.strengh{
  margin:180px 0;
}

.strengh .why-wrap{
  max-width: 1110px;
}

.strengh .why-item{
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 5% 3rem 7.5%;
  background-image: linear-gradient(#d5d5d5, #747474);
}

.strengh .why-item img{
  width: 15%;
  margin:0;
}

.strengh .strengh-txt{
  width: 75%;
  text-align:left;
  color:#000000;
}

.strengh .strengh-txt h3{
  margin-bottom:1.5rem;
  padding:0;
  border:none;
  font-size:clamp(1.125rem, 0.917rem + 0.69vw, 1.75rem);
}

.service{
  padding:7.5rem 0;
  background:url(https://pulsegiken.co.jp/system_panel/uploads/images/20260803094406182295.png) no-repeat center/cover;
}

.service.strengh .why-wrap{
  max-width:1345px;
  gap: 100px;
  margin-top: 8rem;
}

.service.strengh .why-item{
  background-image: linear-gradient(#727272, #3E3E3E);
  position: relative;
  justify-content: end;
  min-height: 258px;
}

.service.strengh .strengh-txt{
  color:#fff;
  width: 60%;
}

.service.strengh .why-item img {
  margin: 0;
  border-radius: 0px;
  box-shadow: none;
  width: 36%;
  position: absolute;
  left: 2.5%;
  bottom: 2rem;
  aspect-ratio: 483 / 273;
  clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%);
  object-fit: cover;
}

.service + .value .value-right img{
  aspect-ratio: 564 / 532;
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  object-fit: cover;
}

/* ========================================
ご依頼の流れ
======================================== */

.flow-wrap {
  --flow-line-color: rgba(255, 255, 255, 0.55);
  --flow-icon-size: 100px;
  --flow-line-position: 50%;

  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 30%);
  justify-content: space-between;
  align-items: start;
  min-height: 320px;
  padding: 20px 5%;
  box-sizing: border-box;
  color: #fff;
}

/* 中央の横線 */
.flow-wrap::before {
  content: "";
  position: absolute;
  top: var(--flow-line-position);
  left: -7.5%;
  height: 1px;
  background: var(--flow-line-color);
  transform: translateY(-50%);
  width:115%;
}

/* 右端の矢印 */
.flow-wrap::after {
  content: "";
  position: absolute;
  top: var(--flow-line-position);
  right: -7.4%;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--flow-line-color);
  border-right: 1px solid var(--flow-line-color);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

/* ========================================
各フロー項目
======================================== */

.flow-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  opacity:0;
  transition:0.5s;
}

.flow-wrap.fadeUp .flow-item{
  opacity:1;
}

/* 01 */
.flow-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  transition-delay:0.3s;
}

/* 03 */
.flow-item:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
  transition-delay:0.9s;
}

/* 05 */
.flow-item:nth-child(5) {
  grid-column: 3;
  grid-row: 1;
  transition-delay:1.5s;
}

/* 02・04を下段へabsolute配置 */
.flow-item:nth-child(2),
.flow-item:nth-child(4) {
  position: absolute;
  bottom: 20px;
  width: 30%;
}

/* 01と03の間 */
.flow-item:nth-child(2) {
  left: 17.5%;
  transition-delay:0.6s;
}

/* 03と05の間 */
.flow-item:nth-child(4) {
  left: 52.5%;
  transition-delay:1.2s;
}

/* ========================================
アイコン
======================================== */

.flow-img {
  position: relative;
  z-index: 3;
  flex: 0 0 var(--flow-icon-size);
  width: var(--flow-icon-size);
  height: var(--flow-icon-size);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

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

/* ========================================
テキスト
======================================== */

.flow-txt {
  flex: 1;
  min-width: 0;
}

.flow-txt h3 {
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.flow-txt p {
  margin: 0;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* ========================================
縦線・白丸
======================================== */

.flow-item::before {
  content: "";
  position: absolute;
  left: calc(var(--flow-icon-size) / 2);
  width: 1px;
  background: var(--flow-line-color);
  transform: translateX(-50%);
}

.flow-item::after {
  content: "";
  position: absolute;
  left: calc(var(--flow-icon-size) / 2);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

/* 上段：01・03・05 */
.flow-item:nth-child(1)::before,
.flow-item:nth-child(3)::before,
.flow-item:nth-child(5)::before {
  top: var(--flow-icon-size);
  height: calc(140px - var(--flow-icon-size));
}

.flow-item:nth-child(1)::after,
.flow-item:nth-child(3)::after,
.flow-item:nth-child(5)::after {
  top: 136px;
}

/* 下段：02・04 */
.flow-item:nth-child(2)::before,
.flow-item:nth-child(4)::before {
  bottom: var(--flow-icon-size);
  height: calc(140px - var(--flow-icon-size));
}

.flow-item:nth-child(2)::after,
.flow-item:nth-child(4)::after {
  bottom: 136px;
}

/* ========================================
タブレット
======================================== */

@media screen and (max-width: 1024px) {
  .flow-wrap {
    --flow-icon-size: 40px;
    padding-inline: 0px;
    width: 110%;
    margin-left: -5%;
  }

  .flow-item {
    gap: 10px;
  }

  .flow-txt h3 {
    font-size: 13px;
    white-space: normal;
  }

  .flow-txt p {
    font-size: 10px;
  }

  .flow-item:nth-child(2), .flow-item:nth-child(4){
    width: 37%;
  }

  .flow-item:nth-child(2) {
    left: 14%;
  }

  .flow-item:nth-child(4) {
    left: 55%;
  }
  .flow-txt{
    min-height: 88px;
  }
}

/* ========================================
SP：縦並び
======================================== */

@media screen and (max-width: 767px) {
  .flow-wrap {
    --flow-icon-size: 64px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: auto;
    padding: 0 0 24px;
    width: 100%;
    margin-left: 0%;
  }

  /* SP用の縦ライン */
  .flow-wrap::before {
    top: 0;
    right: auto;
    bottom: 16px;
    left: calc(var(--flow-icon-size) / 2);
    width: 1px;
    height: auto;
    transform: none;
  }

  /* SP用の下向き矢印 */
  .flow-wrap::after {
    top: auto;
    right: auto;
    bottom: 17px;
    left: calc(var(--flow-icon-size) / 2);
    width: 14px;
    height: 14px;
    border-top: none;
    border-right: 1px solid var(--flow-line-color);
    border-bottom: 1px solid var(--flow-line-color);
    transform: translateX(-50%) rotate(45deg);
  }

  .flow-item,
  .flow-item:nth-child(1),
  .flow-item:nth-child(2),
  .flow-item:nth-child(3),
  .flow-item:nth-child(4),
  .flow-item:nth-child(5) {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 100px;
    padding-bottom: 30px;
    transform: none;
  }

  .flow-item:last-child {
    min-height: auto;
    padding-bottom: 24px;
  }

  /* PC用の縦線・白丸を非表示 */
  .flow-item::before,
  .flow-item::after {
    display: none;
  }

  .flow-img {
    flex: 0 0 var(--flow-icon-size);
    width: var(--flow-icon-size);
    height: var(--flow-icon-size);
  }

  .flow-txt {
    padding-top: 4px;
  }

  .flow-txt h3 {
    margin-bottom: 6px;
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }

  .flow-txt p {
    font-size: 12px;
  }

  .flow-txt br {
    display: none;
  }
}

/* ========================================
画面幅が狭いSP
======================================== */

@media screen and (max-width: 414px) {
  .flow-wrap {
    --flow-icon-size: 58px;
  }

  .flow-item {
    gap: 12px;
    min-height: 125px;
  }

  .flow-txt h3 {
    font-size: 14px;
  }

  .flow-txt p {
    font-size: 11px;
  }
}

.main:has(.faq){
  margin-bottom:180px;
}

.faq{
  margin: 4rem 0 0;
}

.faq-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.faq-right{
  width: calc(100% - 350px);
  max-width: 900px;
  padding-top: 2rem;
}

.accordion {
  margin-bottom:2rem;
  box-shadow:0px 6px 10px rgba(0,0,0,0.16);
}

.accordion p{
  line-height: 1.5;
}

.accordion-header {
  padding: 20px 3rem;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  color:#fff;
  background:#6C6C6C;
  font-size:clamp(1rem, 0.917rem + 0.28vw, 1.25rem);
  font-weight: bold;
  font-family: "Shippori Mincho", serif;
}

.accordion-content {
  display: none;
  color:#000000;
  padding: 2rem 3rem;
  background:#E2E2E2;
}

.gjs-dashed .accordion-content {
  display:block;
}

.accordion-header::before, .accordion-header::after {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  right: 20px;
  width: 20px;
  height: 2px;
  margin: auto;
  background:#FFFFFF;
}


.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}


.accordion-header.active::after {
  transform: rotate(0deg);
}


@media screen and (max-width: 1280px) {
  .service-top .about-top-txt{
    margin-left: 0;
  }
  .about-top-txt h2{
    margin-bottom: 2rem;
  }
  .service .container.small-container {
    width: 80%;
  }
  .service .small-container h2,
  .service .lower-title{
    margin-left: 5%;
  }
}

@media screen and (max-width: 1279px) {
  .faq-wrap{
    flex-direction: column;
  }
  .faq-right {
    width: 100%;
  }
  .about-top-wrap {
    width: 90%;
  }
  .service.strengh .why-item{
    justify-content: space-between;
    padding: 2rem 1rem;
  }
  .service.strengh .why-item img{
    position: relative;
    left: auto;
    bottom: auto;
  }
  .service.strengh .why-wrap{
    gap: 2rem;
    margin-top: 5rem;
  }
}

@media screen and (max-width: 1024px) {
  .service-top .about-top-txt{
    padding: 6rem 0;
  }
  .strengh .why-item{
    padding: 2rem 1rem;
  }
  .strengh .why-item img {
    width: 20%;
  }
  .strengh .strengh-txt h3 {
    margin-bottom: 1rem;
  }
}


@media screen and (max-width: 767px) {
  .about-top-wrap{
    flex-direction: column-reverse;
  }
  .service-top .about-top-img {
    width: 100%;
  }
  .service-top .about-top-txt {
    padding: 2rem 0 3rem;
  }
  .strengh {
    margin: 4rem 0;
  }
  .strengh .why-item{
    flex-direction: column;
    gap: 1.5rem;
  }
  .strengh .strengh-txt {
    width: 100%;
  }
  .strengh .why-item img {
    width: 6rem;
  }
  .strengh .strengh-txt h3{
    text-align:center;
  }
  .service .container.small-container {
    width: 90%;
  }
  .service .small-container h2, .service .lower-title {
    margin-left: 0%;
  }
  .service.strengh .why-item img,
  .service.strengh .strengh-txt{
    width: 100%;
  }
  .service {
    padding: 4rem 0;
  }
  .service.strengh .why-wrap{
    margin-top: 2rem;
  }
  .accordion-header::before, .accordion-header::after{
    right: 10px;
    width: 16px;
    height: 2px;
  }
  .accordion-header {
    padding: 16px 2rem 16px 1rem;
  }
  .accordion-content{
    padding:1rem;
  }
  .main:has(.faq) {
    margin-bottom: 3rem;
  }
}