/* .header,.header-menu,.nav_sp{
  display:none;
} */

main {
  background: #FFFFFF;
}

.trapezoid_left {
  width: 80rem;
  height: 47rem;
  background-color: #F0F0F0;
  clip-path: polygon(0 0, 100% 0, 58.5% 100%, 0 100%);
  position: relative
}

.left-section {
  position: absolute;
  top: 10rem;
  left: 0rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 7rem;
}

.section-title {
  color: #003A98;
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 10.1rem;
  margin-bottom: 4.2rem;
  margin-left: 5rem;
}

.main-text {
  width: 39.7rem;
  height: 6.4rem;
  font: 2rem/3.5rem "Noto Sans JP";
  font-weight: 500;
  margin-bottom: 4.8rem;
  margin-top: -0.1rem;
  margin-left: 16.8rem;
  text-align: center;
}

.circle-row {
  display: flex;
  align-items: center;
  margin-left: 8.2rem;
  margin-bottom: 3.2rem;
}

.circle {
  width: 14rem;
  height: 14rem;
  background: #003A98;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 1.6rem/2.4rem "Noto Sans JP";
  font-weight: 500;
  text-align: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.sp_br {
  display: none;
}

.circle-multiply {
  width: 4rem;
  height: 2.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
}

.circle-multiply::before,
.circle-multiply::after {
  content: "";
  position: absolute;
  left: 2.3rem;
  top: 1.6rem;
  width: 4rem;
  height: 0.1rem;
  background: #000000;
  transform-origin: center;
}

.circle-multiply::before {
  transform: translate(-50%, -50%) rotate(40deg);
}

.circle-multiply::after {
  transform: translate(-50%, -50%) rotate(-40deg);
}

.bottom-text {
  width: 51.8rem;
  height: 8.4rem;
  font: 1.6rem/3rem "Noto Sans JP";
  font-weight: 500;
  color: #000000;
  margin-left: 11.3rem;
  margin-top: 0rem;
}

.right-section {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.main-image {
  position: absolute;
  width: 52rem;
  max-width: 100%;
  height: 37rem;
  object-fit: cover;
  top: 20rem;
  right: 5.2rem;
}

.electric-section {
  width: 108rem;
  margin: 2rem auto;
  margin-bottom: -3.5rem;
  margin-left: 10rem;
}
.electric-section-2 {
  width: 108rem;
  margin: 2rem auto;
  margin-bottom: -3.5rem;
  margin-left: 10rem;
  margin-top: -4rem;
}
.electric-title {
  text-align: center;
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 19.8rem;
  margin-bottom: 1.5rem;
}
.electric-title-2 {
  text-align: center;
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-top: 16.8rem;
  margin-bottom: 1.5rem;
}

.electric-lead {
  text-align: center;
  font: 1.6rem/2.4rem "Noto Sans JP";
  font-weight: 500;
  margin-bottom: 5.1rem;
  color: #000000;
}

.work-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
}
.work-row-2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
  flex-flow: row-reverse;
}
.work-row-3 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
}
.work-row-4 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
  flex-flow: row-reverse;
}
.work-row-5 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
}
.work-row-6 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
  flex-flow: row-reverse;
}
.work-row-7 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
}
.work-row-8 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10rem;
  margin-bottom: 11rem;
  flex-flow: row-reverse;
}

.work-row:nth-child(even) {
  flex-direction: row-reverse;
}

.work-text {
  flex: 1;
  min-width: 0;
}

.work-title {
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-top: -0.2rem;
  margin-bottom: 1.5rem;
}
.work-title-2 {
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-top: -0.2rem;
  margin-bottom: 1.5rem;
}

.work-desc {
  font: 1.6rem/3rem "Noto Sans JP";
  font-weight: 500;
  color: #000000;
  width: 44.5rem;
  height: 11.4rem;
  margin-top: -0.3rem;
}

.work-photo {
  width: 49rem;
  height: 23rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  border-radius: 0.3rem;
  object-fit: cover;
  overflow: hidden;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* .photo-placeholder {
  background: #D0D0D0;
  color: #000000;
  font:3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
} */

.consult-section {
  position: relative;
  width: 90%;
  max-width: 108rem;
  margin: 40rem auto;
  overflow: hidden;
  margin-top: 15.5rem;
  margin-bottom: 13.8rem;
  margin-left: 10rem;
}

.consult-bg {
  background-position: center;
  filter: brightness(103%);
  position: absolute;
  z-index: 1;
  width: 108rem;
  height: 25.6m;
}

.consult-content {
  position: relative;
  z-index: 2;
  padding: 4.3rem 2rem 3rem 2rem;
  text-align: center;
  top: -2rem;
}

.consult-tytle {
  color: #003A98;
  font: 3.5rem/5.1rem "Noto Sans JP";
  font-weight: 500;
  margin-bottom: 3.7rem;
}

.consult-buttons {
  display: flex;
  justify-content: center;
  gap: 4.6rem;
  flex-wrap: nowrap;
}

.consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31rem;
  height: 11.5rem;
  border-radius: 2rem;
  font: 3rem/4.4rem "Noto Sans JP";
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.consult-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.consult-btn.kirakira::after {
  animation: kirakira-effect 0.8s forwards;
  opacity: 1;
}

@keyframes kirakira-effect {
  0% {
    left: -75%;
    opacity: 0.2;
  }

  30% {
    opacity: 1;
  }

  100% {
    left: 110%;
    opacity: 0;
  }
}

.consult-btn.phone {
  background: #000000;
}

.consult-btn.line {
  background: #62BB0F;
}

.consult-btn.form {
  background: #003A98;
}

.pc_br {
  display: inline;
}

.consult-btn:hover {
  transform: translateY(-0.5rem) scale(1.03);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.14);
  opacity: 0.93;
}

.electric_poji_id1{
  position: relative;
}
.electric_poji_id2{
  position: relative;
}


.electric_ab_id1{
  position: absolute;
  top: -15rem;
}

.electric_ab_id2{
  position: absolute;
  top: -15rem;
}
.electric-lead-sp{
  display: none;
}
.work-desc-sp{
  display: none;
}
/* .electric-title-2 {
    display: none;
} */
/* .work-title-2 {
    display:none;
} */

@media screen and (max-width:699.98px) {
  main{
    max-width: 37.5rem;
    margin-top: 6.5rem;
  }
  .container {
    display: block;
    margin-top: 2rem;
    /* 必要に応じて調整 */
    position: relative;
  }

  .trapezoid_left {
    width: 37.5rem;
    max-width: 100%;
    height: 23.8rem;
    /* 台形の高さは調整可 */
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
    background-color: #F0F0F0;
    position: relative;
    margin-bottom: 15rem;
  }

  .left-section {
    top: 3rem;
    margin-bottom: 2.5rem;
  }

  .section-title {
    color: #003A98;
    font: 2.5rem/3.6rem "Noto Sans JP";
    font-weight: 500;
    margin: 0rem;
    margin-left: 1rem;
  }

  .main-text {
    width: 28rem;
    height: 12.1rem;
    font: 2rem/3rem "Noto Sans JP";
    font-weight: 500;
    margin-left: 4.8rem;
    margin-top: 1.3rem;
  }

  .circle-row {
    display: flex;
    margin: 0rem;
    gap: 1rem;
    margin-top: 2rem;
    margin-left: 1rem;
  }

  .circle {
    width: 8.7rem;
    /* 円のサイズ調整 */
    height: 8.7rem;
    font: 1.6rem/2.1rem "Noto Sans JP";
    font-weight: 500;
    margin: 0;
    margin-right: 0.8rem;
  }

  .sp_br {
    display: inline;
  }

  .circle-multiply {
    width: 1.868rem;
    height: 1.557rem;
    margin: 0.5rem 0;
  }

  .circle-multiply::before,
  .circle-multiply::after {
    width: 2.5rem;
    height: 0.08rem;
    content: "";
    position: absolute;
    left: 0.74rem;
    top: 0.7rem;
  }

  .bottom-text {
    width:auto;
    max-width: 100%;
    height: auto;
    font: 1.6rem/2.4rem "Noto Sans JP";
    font-weight: 500;
    color: #000000;
    margin:0rem;
    margin-top: 2.2rem;
    margin-left: 1rem;
    
  }

  .right-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 42rem;
  }

  .main-image {
    width: 35.5rem;
    max-width: 100%;
    height: 25.3rem;
    object-fit: cover;
    position: absolute;
    top: 35rem;
    left: 1rem;
    margin-top: 5.7rem;
  }

  .electric-section {
    width: 35.5rem;
    max-width: 100%;
    margin: 0rem;
  }
  .electric-section-2 {
    width: 35.5rem;
    max-width: 100%;
    margin: 0rem;
  }


  .electric-title {
    text-align: left;
    font: 2.5rem/3.6rem "Noto Sans JP";
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 11.8rem;
    margin-left: 1rem;
  }
  .electric-title-2 {
    display: block;
    text-align: left;
    font: 2.5rem/3.6rem "Noto Sans JP";
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 4.8rem;
    margin-left: 1rem;
  }
  .electric-lead{
    display: none;
  }
  .electric-lead-sp{
    display: block;
    text-align: left;
    font: 1.6rem/2.4rem "Noto Sans JP";
    font-weight: 500;
    margin-bottom: 2rem;
    margin-left: 1rem;
    color: #000000;
} 

  .work-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 3.5rem;
  }
  .work-row-2{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 2.5rem;
  }
  .work-row-3{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 2.5rem;
  }
  .work-row-4{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 2.5rem;
  }
  .work-row-5{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 1.5rem;
  }
  .work-row-6{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 1.5rem;
  }
  .work-row-7{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 1.5rem;
  }
  .work-row-8{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: var(--sp-gap); */
    margin-bottom: 2.4rem;
    margin-top: 1.5rem;
  }


  .work-row:nth-child(even) {
    flex-direction: column;
  }

  .work-text {
    flex: none;
    min-width: 0;
  }

  .work-title {
    font: 2.46rem/3.6rem" Noto Sans JP";
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 0rem;
    margin-left: 1rem;
  }
  .work-title-2 {
    display: block;
    font: 2.46rem/3.6rem" Noto Sans JP";
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    margin-left: 1rem;
  }

  .work-desc{
    display: none;
  }
  .work-desc-sp {
    display: block;
    font: 1.6rem/2.4rem "Noto Sans JP";
    font-weight: 500;
    color: #000000;
    width:100%;
    margin-top: -0.3rem;
    margin-left: 1rem;
  }

  .work-photo {
    width: 35.5rem;
    max-width: 100%;
    height: 17rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.3rem;
    object-fit: cover;
    overflow: hidden;
    margin-top: -9rem;
    margin-left: 1rem;
  }

  .work-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .photo-placeholder {
    background: #D0D0D0;
    color: #000000;
    font-weight: 500;
    font-size: 3.5rem;
  }

  .consult-section {
    width: 100%;
    max-width: 100%;
    margin:0rem;
    margin-bottom: 9.2rem;
    margin-top: -0.5rem;
  }

  .consult-content {
    text-align: center;
    padding: 0;
    top: 0rem;
    right: 0rem;
    margin-top: 0rem;
  }

  .consult-tytle {
    font: 2.2rem/3.2rem "Noto Sans JP";
    font-weight: 500;
    margin-bottom: 2.6rem;
    margin-top: 6.8rem;
  }

  .consult-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: stretch;
    margin-left: 0.7rem;
  }

  .consult-btn {
    width: 33rem;
    max-width: 100%;
    min-width: 0;
    height: 6.6rem;
    font: 2rem/2.9rem "Noto Sans JP";
    font-weight: 500;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
    text-decoration: none;
    letter-spacing: 0.07em;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .consult-btn.phone {
    background: #000000;
    padding-right: 0.5rem;
    letter-spacing: 0rem;
    }
    .consult-btn.line {
    background: #62BB0F;
    padding-right: 0.5rem;
    letter-spacing: 0rem;
    }

    .consult-btn.form {
        background: #003A98;
        padding-right: 0.5rem;
        letter-spacing: 0rem;
    }
  .consult-btn::after {
    /* PC版と同じアニメーション用 */
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .consult-btn.kirakira::after {
    animation: kirakira-effect 0.8s forwards;
    opacity: 1;
  }

  /* ボタンの色はPC版と同じ */
  .consult-btn.phone {
    background: #000000;
  }

  .consult-btn.line {
    background: #62BB0F;
  }

  .consult-btn.form {
    background: #003A98;
  }

  .pc_br {
    display: none;
  }

  .consult-btn:hover {
    transform: translateY(-0.2rem) scale(1.01);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.13);
    opacity: 0.96;
  }


}