@charset "utf-8";

/* ==========================
   Works list (SP)
   ========================== */

/* 背景やフォントは共通CSSと同じ想定 */
.main.works {
  padding-top: 65px; /* 固定ヘッダー分 */
}

/* セクション */
.section {
    padding: 48px 0 20px;
}
.container { width: min(84%, 640px); margin-inline: auto; }

.sec-title {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 14px;
  text-align: center;
  font-weight: 500;
}
.sec-lead {
  font-size: 1.4rem;
  color: var(--txt_black);
  font-family: "Zen Kurenaido";
}


@media screen and (min-width: 769px) {
  .sec-title {
    font-size: 3rem;
    text-align: center;
  }

  .sec-lead {
    font-size: 1.8rem;
    text-align: center;
  }

  .sponly {
    display: none;
  }

  .container {
    width: 74%;
  }

  .section {
    padding: 88px 0 20px;
  }


}

/* ===== Work card =====
   カードの「うっすら暗い背景」= 黒 5% 透過 */
.work-card {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.work-card__inner {
    padding: 19px 0px 19px;
}

.work-card__head {
    text-align: center;
    margin-bottom: 10px;
}
.work-card__title {
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.work-card__sub {
    font-size: 1.2rem;
    color: var(--blue);
    font-weight: 500;
}

.work-card__visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    margin: 10px auto 12px;
    max-width: 370px;
}

.work-card__client {
    font-size: 1.3rem;
    color: var(--txt_black);
    text-align: center;
    margin-bottom: 8px;
}

.work-card__cta {
    text-align: center;
}

.tokage {
    width: 80%;
    margin: 0 auto;
}

.Img_pc {
    display: none;
}


@media screen and (min-width: 769px) {
  .Img_pc {
    display: block;
    width: 35vw;
  }

  .tokage_pc {
    width: 26vw;
    margin-left: 7%;
  }

  .work-card__visual {
    display: none;
  }

  .work-card__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4% 5%;
  
  }

  .work-card__title {
    font-size: 3.0rem;
  }  

  .work-card__sub {
    font-size: 1.6rem;
  }

  .work-card__client {
    font-size: 1.8rem;
  }

  .pcflex {
    width: 27vw;
  }

}


/* ===== CTA (page bottom) ===== */
.section-works-cta { 
    padding-top: 10px; 
    padding-bottom: 70px; 
}

.works-cta__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em; /* ← テキストと線の距離を一定に保つ */
  text-align: center;
  font-size: 1.4rem;
  color: var(--txt_black);
  font-family: "Zen Kurenaido";
  line-height: 1.8;
    margin: 40px auto 0px;
}

.works-cta__lead::before,
.works-cta__lead::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--blue);
}

.works-cta__lead::before {
  transform: rotate(30deg);

}

.works-cta__lead::after {
  transform: rotate(-30deg);
}
.works-cta__btns { gap: 12px; }


/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-block;
  font-weight: 400;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform .1s ease, opacity .2s ease;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 3.2%;
  flex-wrap: wrap;
}

.btn-primary {
    margin: 38px 0 0 0;
    background: var(--blue);
    color: var(--white);
    padding: 6px 52px 6px 41px;
}
.btn-secondary {
    margin: 24px 0 0 0;
    background: var(--blue);
    color: var(--white);
    padding: 6px 52px 6px 41px;
}

.btncontact {
    padding: 6px 66px 6px 56px;
}

.btn:hover { 
    opacity: .92; 
    transform: translateY(-1px);
}

/* 矢印（白 or 青） */
.btn--arrow::before,
.btn--arrow-blue::before{
  content: "";
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.btn--arrow::before{
  right: 18px;
  border-left: 6px solid var(--white);
}
.btn--arrow-blue::before{
  right: 14px;
  border-left: 6px solid var(--blue);
}

/* 余白調整 */
.section-work + .section-work { margin-top: -8px; } /* スクショの詰まり感に寄せる */


@media screen and (min-width: 769px) {

  .btn-primary {
    padding: 16px 63px 16px 52px;
  }

  .btn {
    font-size: 1.8rem;
  }

  .btn-secondary {
    padding: 16px 52px 16px 41px;
  }

  .btn--arrow::before {
    right: 28px;
  }

  .works-cta__lead {
    font-size: 1.8rem;
  }

  .works-cta__lead::before, .works-cta__lead::after {
     width: 29px;
  }

  .works-cta__lead::before {
    transform: rotate(55deg);
  } 

  .works-cta__lead::after {
    transform: rotate(-55deg);
  }

  .btn-row {
    gap: 9.2%;
  }

  .btn-secondary {
    margin: 37px 0 0 0;
  }

  .section-works-cta  {
    padding-top: 120px;
  }

  
.btncontact {
    padding: 16px 72px 16px 56px;
  }


}

