/* =========================
   下層ページ共通：メインビジュアル
========================= */
.page-mv {
  position: relative;
  width: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-mv__inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.page-mv__label {
  width: min(540px, 100%);
  font-size: var(--fz30);
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 12px 0;
  background-color: var(--yellow);
  clip-path: polygon(8% 0, 100% 0%, 92% 100%, 0% 100%);
}

@media (max-width: 1024px) {
  .page-mv {
    min-height: 320px;
  }

  .page-mv__inner {
    padding-inline: 24px;
  }

  .page-mv__label {
    width: min(520px, 100%);
    padding: 10px 0;
    clip-path: polygon(7% 0, 100% 0%, 93% 100%, 0% 100%);
  }
}

@media (max-width: 767px) {
  .page-mv {
    min-height: 250px;
    background-position: 55% center;
  }

  .page-mv__label {
    width: min(300px, 100%);
    clip-path: polygon(6% 0, 100% 0%, 94% 100%, 0% 100%);
  }
}
@media only screen and (max-width: 499px) {
  .page-mv {
    min-height: 220px;
    background-position: 65% center;
  }
  .page-mv__label {
    width: min(250px, 100%);
  }
}
@media only screen and (max-width: 399px) {
  .page-mv {
    min-height: 210px;
    background-position: 67% center;
  }
}

/* =========================
   共通：CTAバナー
========================= */
.cta-banner {
  padding-bottom: 130px;
}
.cta-banner__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: content-box;
}

.cta-banner__box {
  position: relative;
  background: var(--yellow);
  border: 6px solid var(--green);
  border-radius: 30px;
  padding: 24px;
  box-sizing: border-box;
}

/* 右上キャラ */
.cta-banner__chara {
  position: absolute;
  top: -12.5%;
  right: 5%;
  width: min(225px, 24%);
  pointer-events: none;
  z-index: 10;
}

.cta-banner__top {
  padding-right: min(240px, 26%);
}

.cta-banner__lead {
  font-size: var(--fz55);
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: 0.01em;
  color: #ff1d25;
  -webkit-text-stroke: 7px #ffffff;
  paint-order: stroke fill;
}

.cta-banner__br {
  display: none;
}

.cta-banner__divider {
  height: 5px;
  background: var(--white);
  margin: 20px 0 20px;
}

.cta-banner__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-banner__tel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #231815;
}

.cta-banner__tel-icon img {
  max-width: 48px;
  margin-top: 4px;
}

.cta-banner__tel-num {
  font-size: var(--fz55);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.sub-cta__button {
  font-size: var(--fz24);
  margin-top: 0;
}
@media only screen and (max-width: 1440px) {
  .cta-banner__chara {
    top: -21.5%;
  }
}
@media (max-width: 1024px) {
  .cta-banner__inner {
    max-width: 770px;
  }

  .cta-banner__box {
    padding: 32px 28px 28px;
  }

  .cta-banner__chara {
    top: -13.5%;
  }

  .cta-banner__btn {
    min-width: 42%;
  }
}
@media only screen and (max-width: 899px) {
  .cta-banner__inner {
    max-width: 90%;
  }
  .cta-banner__chara {
    top: -14.5%;
  }
}
@media (max-width: 768px) {
  .cta-banner {
    padding-bottom: 60px;
  }

  .cta-banner__box {
    padding: 1rem;
    border-width: 8px;
    border-radius: 22px;
  }

  .cta-banner__chara {
    position: absolute;
    top: -28px;
    right: 40px;
    width: 140px;
    opacity: 0.95;
  }

  .cta-banner__top {
    padding-right: 150px;
    text-align: center;
  }

  .cta-banner__br {
    display: inline;
  }

  .cta-banner__divider {
    margin: 16px 0 16px;
  }

  .cta-banner__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cta-banner__tel {
    justify-content: center;
  }

  .cta-banner__tel-icon img {
    width: 36px;
  }

  .cta-banner__btn {
    min-width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
  }
}

@media (max-width: 540px) {
  .cta-banner__top {
    padding-right: 0;
  }
  .cta-banner {
    padding-bottom: 40px;
  }
  .cta-banner__chara {
    position: static;
    width: 140px;
    margin: 0 auto 10px;
  }

  .cta-banner__lead {
    text-align: center;
  }

  .cta-banner__tel {
    gap: 10px;
  }
}
@media only screen and (max-width: 399px) {
  .cta-banner__lead {
    font-size: 22px;
  }
  .cta-banner__chara {
    width: 120px;
  }
}
@media only screen and (max-width: 359px) {
  .cta-banner__inner {
    padding: 0 10px;
  }
  .cta-banner__box {
    padding: 0.5rem;
  }
}
/* =========================
   当社について
========================= */
.page-mv--about {
  background-image: url(../images/about/mainvisual.png);
}
.reason {
  padding-top: 87px;
  padding-bottom: 100px;
}

.reason-head {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.reason-head::before,
.reason-head::after {
  content: "";
  position: absolute;
  top: 0;
  width: 77px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.reason-head::before {
  left: 0;
  background-image: url("../images/about/reason-head-left.png");
}

.reason-head::after {
  right: 0;
  background-image: url("../images/about/reason-head-right.png");
}

.reason-head__title {
  color: var(--green);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.reason-head__top {
  display: block;
  font-size: var(--fz64);
  letter-spacing: 0.02em;
}

.reason-head__main {
  display: block;
  font-size: var(--fz90);
  letter-spacing: 0.02em;
}

.reason__honeycomb {
  display: flex;
  justify-content: center;
  margin-bottom: 135px;
}

.reason__honeycomb-img {
  width: min(1350px, 70%);
  height: auto;
  display: block;
}

.reason-list {
  display: grid;
  gap: 75px;
}

.reason-item {
  display: grid;
  grid-template-columns: 1fr min(600px, 40%);
  align-items: start;
  gap: 48px;
}

.reason-item__header {
  display: flex;
  align-items: start;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 8px solid var(--yellow);
  margin-bottom: 30px;
}

.reason-item__num {
  max-width: 55px;
}

.reason-item__title {
  font-size: var(--fz42);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #006837;
  line-height: 1.2;
}

.reason-item__text p {
  font-size: var(--fz20);
  line-height: 2;
  color: var(--black);
}

@media only screen and (max-width: 1440px) {
  .reason-head {
    max-width: 600px;
  }
  .reason-item__header {
    align-items: center;
  }
}
@media (max-width: 1100px) {
  .reason__honeycomb {
    margin-bottom: 100px;
  }
  .reason-list {
    gap: 56px;
  }

  .reason-item {
    grid-template-columns: 1fr min(520px, 44%);
    gap: 32px;
  }

  .reason-item__header {
    gap: 16px;
    margin-bottom: 22px;
    border-bottom-width: 6px;
  }

  .reason-item__num {
    max-width: 48px;
    height: auto;
    flex: 0 0 auto;
  }
}
@media (max-width: 1024px) {
  .reason__honeycomb-img {
    width: min(960px, 90%);
  }
  .reason-head {
    max-width: 520px;
  }
  .reason-list {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .reason {
    padding-top: 60px;
  }
  .reason-head {
    max-width: 440px;
  }
  .reason__honeycomb {
    margin-bottom: 70px;
  }
  .reason__honeycomb-img {
    width: min(700px, 100%);
  }
  .reason-list {
    gap: 44px;
  }

  .reason-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reason-item__header {
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom-width: 5px;
  }

  .reason-item__num {
    max-width: 44px;
  }
}
@media only screen and (max-width: 499px) {
  .reason {
    padding-top: 45px;
    padding-bottom: 50px;
  }
  .reason-head {
    max-width: 350px;
  }
  .reason__honeycomb {
    margin-bottom: 40px;
  }
  .reason-list {
    gap: 36px;
  }

  .reason-item__num {
    max-width: 40px;
  }
}
/* =========================
   会社概要
========================= */
.page-mv--company {
  background-image: url(../images/company/mainvisual.png);
}

.company-profile {
  padding: 120px 0 64px;
}
.company-profile__inner {
  max-width: 62.5%;
}
.company-profile__box {
  background: #f2f2f2;
  padding: 40px 100px;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  column-gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid #808080;
}
.company-profile__row:last-child {
  border-bottom: none;
}
.company-profile__term {
  font-size: var(--fz18);
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
}

.company-profile__desc {
  font-size: var(--fz18);
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
}

.feature-panel {
  padding-bottom: 80px;
}
.feature-panel__inner {
  max-width: 62.5%;
}

.feature-panel__box {
  border-radius: 20px;
  padding: 50px;
  background: linear-gradient(-45deg, #000 0%, #666666 50%, #000 100%);
}

.feature-panel__title {
  font-size: var(--fz51);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--white);
  text-align: center;
  margin-bottom: 30px;
}

.feature-panel__title-line {
  display: block;
}

.feature-panel__em {
  display: inline-block;
  background: #ff0000;
  color: var(--white);
  padding: 6px;
  line-height: 1;
}

.feature-panel__media {
  display: flex;
  justify-content: center;
}

.feature-panel__media img {
  width: min(610px, 100%);
}
@media (max-width: 1440px) {
  .company-profile__inner {
    max-width: 80%;
  }
  .feature-panel__inner {
    max-width: 80%;
  }
}

@media (max-width: 1024px) {
  .company-profile__box {
    padding: 34px 40px;
  }
  .company-profile__row {
    grid-template-columns: 200px 1fr;
    column-gap: 28px;
  }
  .feature-panel__box {
    padding: 45px;
  }
}
@media only screen and (max-width: 899px) {
  .company-profile__inner {
    max-width: 90%;
  }
  .feature-panel__inner {
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  .company-profile {
    padding: 50px 0;
  }

  .company-profile__box {
    padding: 26px 18px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 20px 0;
  }

  .company-profile__term,
  .company-profile__desc {
    font-size: 16px;
  }
}
@media only screen and (max-width: 499px) {
  .company-profile__term,
  .company-profile__desc {
    font-size: 15px;
  }
  .feature-panel__box {
    padding: 16px;
  }
  .feature-panel__title {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .feature-panel__em {
    padding: 3px;
  }
  .feature-panel__media img {
    max-width: 90%;
  }
  .feature-panel {
    padding-bottom: 45px;
  }
}
@media only screen and (max-width: 399px) {
  .company-profile__term,
  .company-profile__desc {
    font-size: 14px;
  }
  .feature-panel__title {
    font-size: 16px;
  }
}
/* =========================
   事業内容
========================= */
.page-mv--service {
  background-image: url(../images/service/mainvisual.png);
}

.service-section {
  padding: 120px 0 100px;
}
.service-section__inner {
  padding: 0 50px;
  box-sizing: content-box;
}
.service-section__title {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}
.service-section__title img {
  width: min(430px, 80%);
  height: auto;
}

.service-section__lead p {
  font-size: var(--fz24);
  font-weight: 400;
  line-height: 2;
}
.service-section__lead p + p {
  margin-top: 50px;
}

.service-section__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 120px;
}

.service-section__cases {
  max-width: 475px;
  background: #ffffe6;
  padding: 32px 40px;
}

.service-section__cases-title {
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 30px;
}

.service-section__cases-list {
  padding-left: 1em;
  display: grid;
  gap: 20px;
}

.service-section__cases-list li {
  font-size: var(--fz22);
  line-height: 2;
  list-style: disc;
}

@media only screen and (max-width: 1024px) {
  .service-section {
    padding: 90px 0 0;
  }
  .service-section__inner {
    max-width: 80%;
    padding: 0;
  }
  .service-section__title {
    margin-bottom: 50px;
  }
  .service-section__title img {
    width: min(350px, 80%);
  }
  .service-section__lead p + p {
    margin-top: 35px;
  }
  .service-section__cases {
    max-width: 100%;
    padding: 24px 20px;
  }
  .service-section__bottom {
    gap: 40px;
    margin-top: 40px;
  }
}

@media (max-width: 899px) {
  .service-section__title {
    margin-bottom: 40px;
  }
  .service-section__title img {
    width: min(300px, 80%);
  }
  .service-section__bottom {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 100px;
  }
  .service-section__lead p + p {
    margin-top: 25px;
  }
}
@media only screen and (max-width: 499px) {
  .service-section {
    padding: 60px 0 0;
  }
  .service-section__inner {
    max-width: 90%;
  }
  .service-section__title {
    margin-bottom: 35px;
  }

  .service-section__title img {
    width: min(230px, 80%);
  }
  .service-section__lead p + p {
    margin-top: 25px;
  }
  .service-section__cases {
    padding: 16px 30px;
  }
  .service-section__bottom {
    gap: 4px;
    margin-top: 25px;
    margin-bottom: 60px;
  }
  .service-section__cases-title {
    margin-bottom: 20px;
  }
  .service-section__cases-list {
    gap: 10px;
  }
}
/* =========================
   よくある質問
========================= */

.page-mv--qa {
  background-image: url(../images/faq/mainvisual.png);
}

.faq-section {
  padding: 70px 0 120px;
}
.faq-section__inner {
  max-width: 1100px;
  padding: 0 20px;
  box-sizing: content-box;
}
.faq-box {
  background: var(--yellow);
  border-radius: 20px;
  padding: 50px 40px;
}

.faq-box__list {
  display: grid;
  gap: 50px;
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  padding: 26px;
}

.faq-item__q,
.faq-item__a {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  align-items: start;
}

.faq-item__a {
  margin-top: 25px;
}

.faq-item__icon img {
  width: 55px;
  height: auto;
  display: block;
}

.faq-item__q-text {
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.75;
  color: #009245;
  margin-top: 10px;
}

.faq-item__a-body {
  margin-top: 2px;
}

.faq-item__a-lead {
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.75;
  color: #f15a24;
}

.faq-item__a-text {
  font-size: var(--fz16);
  font-weight: 400;
  line-height: 1.75;
  color: var(--black);
}
@media only screen and (max-width: 1279px) {
  .faq-section__inner {
    max-width: 85%;
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .faq-section {
    padding: 60px 0;
  }
  .faq-section__inner {
    max-width: 80%;
  }
  .faq-box {
    padding: 44px 32px;
  }

  .faq-item {
    padding: 28px 26px;
  }
}
@media only screen and (max-width: 899px) {
  .faq-section__inner {
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  .faq-box {
    border-radius: 22px;
    padding: 36px 20px;
  }

  .faq-item {
    border-radius: 16px;
    padding: 1rem;
  }

  .faq-item__q,
  .faq-item__a {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .faq-item__icon img {
    width: 56px;
  }
  .faq-box__list {
    gap: 40px;
  }
}

@media (max-width: 499px) {
  .faq-section {
    padding: 50px 0;
  }

  .faq-box {
    padding: 28px 16px;
  }

  .faq-box__list {
    gap: 22px;
  }

  .faq-item__q,
  .faq-item__a {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .faq-item__icon img {
    width: 40px;
  }

  .faq-item__a {
    margin-top: 14px;
  }
  .faq-item__q-text {
    line-height: 1.5;
    margin-top: 5px;
  }
  .faq-item__a-lead {
    line-height: 1.5;
    margin: 4px 0 4px;
  }
}
/* =========================
   解体実績
========================= */
.page-mv--works {
  background-image: url(../images/works/mainvisual.png);
}

.works-detail {
  padding-block: 120px;
}

.works-detail__layout {
  display: grid;
  grid-template-columns: 1fr 21.5%;
  gap: 180px;
  align-items: start;
}

.works-detail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--black);
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.works-detail__title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fz30);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
}

.works-detail__title-mark {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  flex: 0 0 auto;
  margin-top: 5px;
}

.works-detail__date {
  font-size: var(--fz20);
  color: var(--black);
  white-space: nowrap;
}

.works-detail__photo {
  position: relative;
  margin: 0;
}
.works-detail__photo img {
  max-height: 500px;
}
.works-detail__photo + .works-detail__photo {
  margin-top: 25px;
}

.works-detail__photo-tag {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 190px;
  padding: 14px 16px;
  font-size: var(--fz30);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  text-align: center;
}

.works-detail__photo-tag--before {
  background: #333333;
}

.works-detail__photo-tag--after {
  background: var(--green);
}

/* ===== 物件情報 ===== */
.works-detail__info {
  margin-top: 24px;
}

.works-detail__client {
  font-size: var(--fz20);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 15px;
}

.works-detail__spec {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.works-detail__spec-row {
  display: grid;
  grid-template-columns: 5em 1fr;
  align-items: start;
}

.works-detail__spec-row dt,
.works-detail__spec-row dd {
  font-size: var(--fz20);
  line-height: 1.5;
  color: var(--black);
}

.works-detail__comment-title {
  font-size: var(--fz18);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.works-detail__comment-text {
  font-size: var(--fz18);
  line-height: 1.66;
  color: var(--black);
}

/* サイドバー */
.works-side + .works-side {
  margin-top: 75px;
}

.works-side__title {
  font-size: var(--fz18);
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  position: relative;
  padding-left: 1.2em;
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.works-side__title::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--black);
}
.works-side__list li {
  line-height: 1.4;
}
.works-side__list li span {
  font-weight: bold;
}
.works-side__link {
  display: inline-block;
  font-size: var(--fz18);
  color: var(--black);
}

@media (max-width: 1440px) {
  .works-detail__layout {
    gap: 90px;
  }
  .works-detail__photo-tag {
    font-size: var(--fz24);
  }
  .works-side__title::before {
    top: 6px;
  }
}

@media (max-width: 1200px) {
  .works-detail {
    padding-block: 90px;
  }

  .works-detail__layout {
    grid-template-columns: 1fr 26%;
    gap: 100px;
  }

  .works-side + .works-side {
    margin-top: 60px;
  }
}

@media (max-width: 1024px) {
  .works-detail {
    padding-block: 80px;
  }
  .works-detail__inner {
    max-width: 80%;
  }
  .works-detail__layout {
    grid-template-columns: 1fr 30%;
    gap: 60px;
  }

  .works-detail__title-mark {
    width: 18px;
    height: 18px;
    margin-top: 4px;
  }
}

@media (max-width: 899px) {
  .works-detail {
    padding-block: 70px;
  }

  .works-detail__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .works-detail__aside {
    order: 2;
  }

  .works-side + .works-side {
    margin-top: 40px;
  }

  .works-detail__photo + .works-detail__photo {
    margin-top: 20px;
  }
  .works-side__list li {
    margin-block: 8px;
    line-height: 1.5;
  }
}

@media (max-width: 599px) {
  .works-detail {
    padding-block: 60px;
  }
  .works-detail__inner {
    max-width: 85%;
  }
  .works-detail__head {
    gap: 12px;
  }

  .works-detail__info {
    margin-top: 20px;
  }

  .works-detail__spec {
    gap: 8px;
    margin-bottom: 24px;
  }

  .works-detail__photo-tag {
    min-width: 140px;
    padding: 12px 14px;
  }
}

@media (max-width: 499px) {
  .works-detail {
    padding-block: 50px;
  }
  .works-detail__inner {
    max-width: 90%;
  }
  .works-detail__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .works-detail__photo + .works-detail__photo {
    margin-top: 16px;
  }
  .works-detail__photo-tag {
    min-width: 120px;
    padding: 10px 12px;
  }

  .works-detail__spec-row {
    grid-template-columns: 6em 1fr;
  }
  .works-detail__title-mark {
    margin-top: 0;
  }
  .works-side__title::before {
    top: 5px;
    width: 12px;
    height: 12px;
  }
  .works-detail__photo img {
    max-height: 330px;
  }
}
/* =========================
   解体実績の一覧ページ
========================= */
.works-archive {
  padding-block: 120px;
}
.works-archive__grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 16px;
}
.works__excerpt {
  margin-top: 12px;
}
.works__client {
  font-size: var(--fz20);
  font-weight: 700;
  margin-bottom: 4px;
}
.works__comment {
  font-size: var(--fz16);
  line-height: 1.8;
  margin-bottom: 8px;
}
.works__more-link {
  font-size: var(--fz18);
  text-decoration: underline;
}
@media (max-width: 1200px) {
  .works-archive {
    padding-block: 90px;
  }
}

@media (max-width: 1024px) {
  .works-archive {
    padding-block: 80px;
  }
}
@media (max-width: 899px) {
  .works-archive {
    padding-block: 70px;
  }
}
@media (max-width: 599px) {
  .works-archive {
    padding-block: 60px;
  }
}

@media (max-width: 499px) {
  .works-archive {
    padding-block: 50px;
  }
  .works-archive__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
ページネーション
 * ================================ */
.works-archive__pagination {
  margin-top: 40px;
}

.works-archive__pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.works-archive__pagination-item a,
.works-archive__pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;
  padding: 0 14px;

  font-size: var(--fz16);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;

  color: var(--black);
  text-decoration: none;

  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;

  transition: transform 0.12s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* hover：控えめに“浮く” */
.works-archive__pagination-item a:hover {
  border-color: rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* 現在ページ（WordPressは span.current） */
.works-archive__pagination-item .current {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* …（dots）は枠なしで自然に */
.works-archive__pagination-item .dots {
  min-width: auto;
  padding: 0 4px;
  border: none;
  opacity: 0.65;
}

/* prev / next を少しアイコンっぽく */
.works-archive__pagination-item a.prev,
.works-archive__pagination-item a.next {
  font-size: var(--fz18);
  padding: 0 12px;
}

/* SP微調整 */
@media (max-width: 480px) {
  .works-archive__pagination-item a,
  .works-archive__pagination-item span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
  }
}
/* ================================
サンクスページ
 * ================================ */
.page-mv--contact {
  background-image: url(../images/common/mainvisual.png);
}

.thanks-main__box {
  background-color: #f2f2f2;
  text-align: center;
  padding: 80px 20px;
  margin-top: 120px;
}
.thanks-main__title {
  font-size: var(--fz32);
  font-weight: 600;
  color: #4e575c;
  margin-bottom: 40px;
}

.thanks-main__text {
  font-size: var(--fz16);
  line-height: 1.75;
  color: #666666;
}
.thanks__button-wrap {
  margin: 14px 0 80px;
}
@media only screen and (max-width: 899px) {
  .thanks-main__inner {
    max-width: 80%;
  }
}
@media (max-width: 767px) {
  .thanks-main__inner {
    max-width: 90%;
  }
  .thanks-main__box {
    padding: 40px 15px 60px;
    margin-top: 60px;
  }
  .thanks__button-wrap {
    margin: 10px 0 60px;
  }
  .thanks-main__title {
    margin-bottom: 25px;
  }
}
@media only screen and (max-width: 399px) {
  .thanks-main__box {
    padding: 40px 10px 40px;
  }
}
