@charset "UTF-8";

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
/* variables */
:root {
  --color-primary: #2E2E2E;
  --color-secondary: #CE6B2F;
  --white: #fff;
  --black: #000;
  --blue: #2B5274;
  --brown: #95664D;
  --orange: #EA6515;
  --gray-light: #D0D0D0;
  --gray: #B1B1B1;
  --yellow: #FDF6BC;
}

:root {
  --font-gothic: "Zen Maru Gothic", "serif";
  --font-kaisei: "Kaisei Tokumin", "serif";
  --font-rubik: "Rubik Dirt", "serif";
  --font-homemade: "Homemade Apple", "serif";
  --font-primary: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-secondary: "Poppins", "Roboto", sans-serif;
}



body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
}

body:not(.home) {
  background-image: url("../img/background/white-bg.webp");
  background-repeat: repeat;
  background-size: contain;
}

.section-ttl {
  width: fit-content;
  text-align: center;
  margin: 0 auto;
}

.section-ttl__en {
  font-size: clamp(56px, 8vw, 120px);
  font-family: var(--font-rubik);
  color: var(--white);
}

.section-ttl__ja {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}


.section-ttl__ja--promise {
  width: 24vw;
}

@media screen and (max-width: 600px) {
  .section-ttl__ja--promise {
    width: 65vw;
  }
}

.section-ttl__ja--menu {
  width: 19vw;
  max-width: 380px;
}

@media screen and (max-width: 600px) {
  .section-ttl__ja--menu {
    width: 55vw;
  }
}



.section-ttl__ja--plan {
  width: 24vw;

}

@media screen and (max-width: 600px) {
  .section-ttl__ja--plan {
    width: 65vw;
  }
}

.section-ttl__ja--works {
  width: 15vw;
  max-width: 300px;
}

@media screen and (max-width: 600px) {
  .section-ttl__ja--works {
    width: 34vw;
  }
}


/* ========================================
    セクション共通ヘッド (アクセント付き)
    ======================================== */
.m-section-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.m-section-head__en {
  font-family: var(--font-homemade);
  color: var(--orange);
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
  transform: rotate(-8deg);
  display: inline-block;
}

.m-section-head__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.m-section-head__ttl-text {
  font-family: var(--font-kaisei);
  font-size: clamp(18px, 3vw, 34px);
  color: var(--color-primary);
  line-height: 1.4;
  font-weight: 500;
}

.m-section-head__ttl-icon {
  width: 120px;
  flex-shrink: 0;
}

.m-section-head__ttl-icon img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1080px) {
  .m-section-head__ttl-icon {
    width: 80px;
  }
}

@media screen and (max-width: 768px) {
  .m-section-head__ttl {
    gap: 16px;
  }

  .m-section-head__ttl-icon {
    width: 60px;
  }
}

@media screen and (max-width: 600px) {
  .m-section-head {
    margin-bottom: 32px;
  }

  .m-section-head__en {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .m-section-head__ttl-icon {
    width: 40px;
  }
}

/* ========================================
    コンテナ幅
    ======================================== */

.container-sm {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(800px + 32px);
}

.container-md {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(940px + 32px);
}

.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1080px + 32px);
}

.container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1200px + 32px);
}

.container-xl {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(85vw + 32px);
}

@media screen and (max-width: 768px) {
  .container-xl {
    max-width: calc(90vw + 32px);
  }
}

@media screen and (max-width: 600px) {
  .container-xl {
    max-width: calc(100% + 32px);
  }
}


/* ========================================
    共通
    ======================================== */
.m-grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .m-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .m-grid-3-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

.m-grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .m-grid-2-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ========================================
    ヘッダー
    ======================================== */

.body-top {
  width: 100%;
  height: 14px;
  background-color: var(--color-secondary);
}

@media screen and (max-width: 600px) {
  .body-top {
    height: 10px;
  }
}

/* ========================================
    フッター
    ======================================== */


.footer-cta {
  background: url("../img/background/cta-bg.webp") center top / cover no-repeat;
  padding: 120px 0 80px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .footer-cta {
    padding: 100px 0 60px;
    background: url("../img/background/cta-bg-sp.webp") center top / cover no-repeat;
  }
}

.footer-cta__box {
  background-color: var(--orange);
  border-radius: 32px;
  padding: 4px;
  margin: 0 auto;
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  .footer-cta__box {
    border-radius: 20px;
  }
}

.footer-cta__box-head {
  padding: 32px 16px 24px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .footer-cta__box-head {
    padding: 24px 8px 16px;
  }
}

.footer-cta__box-ttl {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-gothic);
  font-size: clamp(17px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.footer-cta__box-ttl-white {
  display: inline-block;
  background-color: var(--white);
  color: var(--orange);
  padding: 8px 16px;
  border-radius: 12px;
  margin-right: 8px;
  vertical-align: middle;
}

@media screen and (max-width: 600px) {
  .footer-cta__box-ttl-white {
    padding: 6px 16px;
    border-radius: 8px;
    margin-right: 4px;
  }
}

.footer-cta__box-ttl span:not(.footer-cta__box-ttl-white) {
  font-size: 26px;
  color: var(--white);
  vertical-align: middle;
}

@media screen and (max-width: 600px) {
  .footer-cta__box-ttl span:not(.footer-cta__box-ttl-white) {
    font-size: 15px;
  }

}


.footer-cta__box-body {
  background-color: transparent;
  color: var(--white);
}

.footer-cta__box-text {
  text-align: center;
  font-weight: 700;
  line-height: 1.8;
  font-size: 26px;
  margin-bottom: 32px;
  padding: 0 16px;
}

@media screen and (max-width: 600px) {
  .footer-cta__box-text {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 400px) {
  .footer-cta__box-text {
    font-size: 13px;
  }
}

.footer-cta__contact {
  background-color: var(--white);
  border-radius: 0 0 28px 28px;
  display: flex;
  color: var(--color-primary);
  padding: 40px;
  position: relative;
  gap: 80px;
}

@media screen and (max-width: 768px) {
  .footer-cta__contact {
    flex-direction: column;
    padding: 32px 16px;
    gap: 32px;
  }
}

@media screen and (max-width: 600px) {
  .footer-cta__contact {
    border-radius: 0 0 16px 16px;
    padding: 24px 16px;
    gap: 24px;
  }
}

.footer-cta__tel,
.footer-cta__web {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Dotted separator */
.footer-cta__tel-separator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 80%;
}

.footer-cta__tel-separator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .footer-cta__tel-separator {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-cta__tel-separator img {
    width: auto;
    height: 100%;
    max-width: 100%;
  }
}

.footer-cta__label {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-cta__label::before,
.footer-cta__label::after {
  content: "";
  width: 28px;
  height: 14px;
  background: url(../img/accent/line-accent.png) no-repeat center center / contain;
}

@media screen and (max-width: 600px) {
  .footer-cta__label {
    font-size: 22px;
    margin-bottom: 8px;
    gap: 12px;
  }

  .footer-cta__label::before,
  .footer-cta__label::after {
    width: 22px;
    height: 11px;
  }
}

.footer-cta__tel-link {
  font-family: var(--font-secondary);
  font-size: clamp(40px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 8px;
}

@media screen and (max-width: 400px) {
  .footer-cta__tel-link {
    font-size: 32px;
  }
}

.footer-cta__tel-icon {
  width: 40px;
  display: flex;
  align-items: center;
  line-height: 1;
}

@media screen and (max-width: 600px) {
  .footer-cta__tel-icon {
    width: 24px;
  }
}

.footer-cta__tel-icon img {
  width: 100%;
  height: auto;
}

.footer-cta__time {
  font-size: 16px;
  font-weight: 700;
}

@media screen and (max-width: 600px) {
  .footer-cta__time {
    font-size: 14px;
  }
}

.footer-cta__web-btn {
  background-color: var(--orange);
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 26px;
  width: 100%;
  transition: 0.3s;
  position: relative;
  min-height: 64px;
}

.footer-cta__web-btn::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  position: absolute;
  right: 24px;
}

.footer-cta__web-btn:hover {
  opacity: 0.8;
}

@media screen and (max-width: 600px) {
  .footer-cta__web-btn {
    font-size: 16px;
    padding: 12px 24px;
  }

  .footer-cta__web-btn::after {
    right: 16px;
  }
}

.footer-cta__web-icon {
  width: 30px;
  display: flex;
  align-items: center;
  line-height: 1;
}

@media screen and (max-width: 600px) {
  .footer-cta__web-icon {
    width: 20px;
  }
}

.footer-cta__web-icon img {
  width: 100%;
  height: auto;
}

/* Footer Slider */
.footer-slider {
  width: 100%;
}

.footer-slider .splide__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media screen and (max-width: 600px) {
  .footer-slider .splide__slide img {
    aspect-ratio: 4 / 3;
  }
}

/* Footer Info */
.footer-info {
  padding: 64px 0;
  text-align: center;
  background: url(../img/background/footer-bg.webp) no-repeat center center / cover;
}

@media screen and (max-width: 600px) {
  .footer-info {
    padding: 40px 0;
  }
}

.footer-info__logo {
  margin-bottom: 8px;
}

.footer-info__logo img {
  height: 64px;
  width: auto;
}

@media screen and (max-width: 600px) {
  .footer-info__logo img {
    height: 48px;
  }
}

.footer-info__name {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

@media screen and (max-width: 600px) {
  .footer-info__name {
    font-size: 20px;
  }
}

.footer-info__address {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 24px;
}

@media screen and (max-width: 600px) {
  .footer-info__address {
    font-size: 13px;
    margin-bottom: 16px;
  }
}

.footer-info__contact {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
  .footer-info__contact {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-info__label {
  background-color: var(--color-primary);
  color: var(--white);
  padding: 1px 12px;
  font-size: 16px;
  font-weight: 700;
  min-width: 80px;
  text-align: center;
  width: 6em;
}

.footer-info__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-info__value--tel {
  font-size: 16px;
  text-decoration: none;
}

/* Footer Copy Bar */
.footer-copy-bar {
  background-color: var(--color-secondary);
  padding: 12px 0;
  text-align: center;
}

.footer-copy-bar__text {
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ========================================
    メインビジュアル
    ======================================== */
@media screen and (max-width: 600px) {
  .mainV__inner {
    padding: 10px 0;
  }
}

/* ========================================
    ナビゲーションドロワー
    ======================================== */
/* ========================================
    投稿一覧ページ
    ======================================== */
/* ========================================
    投稿詳細ページ
    ======================================== */
.m-post-main img {
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.m-post-main p {
  margin-bottom: 20px;
  line-height: 2;
}

@media (max-width: 600px) {
  .m-post-main p {
    font-size: 14px;
  }
}

.m-post-main a {
  display: inline-block;
  margin-bottom: 20px;
  color: #00AFED;
  text-decoration: underline;
}

.m-post-main h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h1 {
    font-size: 28px;
  }
}

.m-post-main h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h2 {
    font-size: 22px;
  }
}

.m-post-main h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h3 {
    font-size: 18px;
  }
}

/* ========================================
    トップページ
    ======================================== 
*/


.top-promise {
  padding: 80px 0;
  padding-bottom: 180px;
  background: url("../img/background/promise-bg.webp") center bottom / cover no-repeat;
}

@media screen and (max-width: 600px) {
  .top-promise {
    padding: 40px 0;
    background: url("../img/background/promise-bg-sp.webp") center bottom / cover no-repeat;
  }
}

.top-promise__inner {
  overflow: hidden;
}

.promise-swiper {
  padding: 60px 0 80px !important;
  overflow: visible !important;
}

@media screen and (max-width: 600px) {
  .promise-swiper {
    padding: 40px 16px 60px !important;
  }
}

.promise-card {
  height: auto !important;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.promise-card.swiper-slide-active {
  opacity: 1;
}

.promise-card__inner {
  background: url("../img/top/promise-card-bg.webp") center / cover no-repeat;
  padding: 48px 48px 48px 48px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

@media screen and (max-width: 1080px) {
  .promise-card__inner {
    padding: 32px 32px 32px 32px;
  }
}

@media screen and (max-width: 768px) {
  .promise-card__inner {
    flex-direction: column-reverse;
    padding: 24px;
  }
}

.promise-card__content {
  flex: 0 0 50%;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .promise-card__content {
    flex: 1;
    padding-right: 0;
    margin-top: 10px;
  }
}

.promise-card__head {
  margin-bottom: 24px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .promise-card__head {
    margin-bottom: 16px;
  }
}

.promise-card__num {
  background-color: var(--brown);
  color: var(--white);
  padding: 8px 48px 8px 24px;
  font-family: var(--font-kaisei);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: -48px;
  z-index: 1;
  /* 右端に左向きの切り欠き(◀)を作成 */
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 50%, 100% 100%, 0 100%);
}

@media screen and (max-width: 1080px) {
  .promise-card__num {
    margin-left: -32px;
    padding: 6px 40px 6px 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%);
  }
}

@media screen and (max-width: 768px) {
  .promise-card__num {
    margin-left: -24px;
  }
}

/* Ribbon arrow effect - clip-pathを使用するため非表示 */
.promise-card__num::after {
  display: none;
}

.promise-card__title {
  color: var(--orange);
  font-family: var(--font-kaisei);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .promise-card__title {
    margin-bottom: 16px;
  }
}

.promise-card__text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

@media screen and (max-width: 600px) {
  .promise-card__text {
    font-size: 14px;
  }
}

.promise-card__img {
  width: 50%;
  flex: 0 0 50%;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .promise-card__img {
    width: 100%;
    flex: 1;
  }
}

.promise-card__img img {
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

/* Swiper controls */
.promise-swiper-button-prev,
.promise-swiper-button-next {
  color: var(--white) !important;
  width: 64px !important;
  height: 64px !important;
  margin-top: -32px !important;
}

.promise-swiper-button-prev {
  left: 18% !important;
}

.promise-swiper-button-next {
  right: 18% !important;
}

.promise-swiper-button-prev::after,
.promise-swiper-button-next::after {
  font-size: 56px !important;
}

@media screen and (max-width: 1400px) {
  .promise-swiper-button-prev {
    left: 15% !important;
  }

  .promise-swiper-button-next {
    right: 15% !important;
  }
}

@media screen and (max-width: 1200px) {
  .promise-swiper-button-prev {
    left: 12% !important;
  }

  .promise-swiper-button-next {
    right: 12% !important;
  }
}

@media screen and (max-width: 1080px) {
  .promise-swiper-button-prev {
    left: 8% !important;
  }

  .promise-swiper-button-next {
    right: 8% !important;
  }
}

@media screen and (max-width: 800px) {

  .promise-swiper-button-prev,
  .promise-swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
  }

  .promise-swiper-button-prev {
    left: 2% !important;
  }

  .promise-swiper-button-next {
    right: 2% !important;
  }

  .promise-swiper-button-prev::after,
  .promise-swiper-button-next::after {
    font-size: 32px !important;
  }
}

@media screen and (max-width: 600px) {

  .promise-swiper-button-prev,
  .promise-swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
  }

  .promise-swiper-button-prev {
    left: 8px !important;
  }

  .promise-swiper-button-next {
    right: 8px !important;
  }

  .promise-swiper-button-prev::after,
  .promise-swiper-button-next::after {
    font-size: 24px !important;
  }
}

.promise-swiper-pagination {
  bottom: 32px !important;
}

.promise-swiper-pagination .swiper-pagination-bullet {
  background: var(--white) !important;
  opacity: 1 !important;
  width: 10px;
  height: 10px;
}

.promise-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--orange) !important;
}

/* ========================================
    下層ページ
    ======================================== */
.l-sub-page {
  padding-bottom: 80px;
}

@media screen and (max-width: 600px) {
  .l-sub-page {
    padding-bottom: 0px;
  }
}

/* ========================================
    下層メインビジュアル
    ======================================== */
.l-sub-mv {
  padding-bottom: 40px;
}

@media screen and (max-width: 600px) {
  .l-sub-mv {
    padding-bottom: 24px;
  }
}

.l-sub-mv__inner {
  display: grid;
  overflow: hidden;
  width: 100%;
  padding: 2%;
}



.l-sub-mv__bg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.l-sub-mv__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.l-sub-mv__overlay {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.l-sub-mv__area-map {
  position: absolute;
  width: 12vw;
  height: 10vh;
  top: 0%;
  left: 0%;
  z-index: 10;
  padding: 16px 24px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .l-sub-mv__area-map {
    height: 5vh;
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  .l-sub-mv__area-map {
    height: 8vh;
    width: 30%;
    padding: 8px 16px;
    font-size: 14px;
  }
}

.l-sub-mv__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.l-sub-mv__title-area {
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0 5%;
}

.l-sub-mv__title {
  font-family: var(--font-rubik);
  font-size: 6vw;
  color: var(--white);
  font-weight: 500;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 600px) {
  .l-sub-mv__title {
    font-size: 12vw;
  }
}

.l-sub-mv__subtitle {
  display: inline-block;
  width: 15vw;
  max-width: 300px;
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 1080px) {
  .l-sub-mv__subtitle {
    width: 18vw;
  }
}

@media screen and (max-width: 600px) {
  .l-sub-mv__subtitle {
    width: 30vw;
    margin-top: 0;
  }
}

.l-sub-mv__subtitle img {
  width: 100%;
  height: auto;
}





/* ========================================
    プライバシーポリシー
    ======================================== */
.policy {
  padding-top: 100px;
  padding-bottom: 100px;
}

.policy__title {
  font-size: 24px;
  margin-bottom: 40px;
}

.policy__content {
  line-height: 1.75;
}

.policy__content .wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
}

.policy__content .wp-block-spacer {
  height: 40px !important;
}

.policy__content .wp-block-list {
  padding: 20px 0;
  list-style: disc;
  margin-left: 1em;
}

.policy__content p,
.policy__content a,
.policy__content li {
  margin-top: 1em;
}

/* ========================================
    お問い合わせ
    ======================================== */

.l-sub-page.contact {
  padding-bottom: 0;
}

.contact__info {
  font-size: 14px;
  text-align: center;
  line-height: 2;
}

@media (max-width: 600px) {
  .contact__info {
    font-size: 13px;
  }
}

.contact__intro {
  text-align: center;
  margin-bottom: 64px;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .contact__intro {
    margin-bottom: 0px;
  }
}

.contact__intro-text {
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 48px;
}

@media (max-width: 600px) {
  .contact__intro-text {
    font-size: 13px;
    margin-bottom: 32px;
  }
}

.contact__tel-banner {
  max-width: 500px;
  margin: 0 auto;
}

.contact__tel-banner img {
  width: 100%;
  height: auto;
}

/* ========================================
    お問い合わせフォーム
    ======================================== */
.contact-form {
  background: url("../img/background/cta-bg.webp") center top / cover no-repeat;
  padding: 100px 0;
  padding-top: 200px;
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .contact-form {
    background-image: url("../img/background/cta-bg-sp.webp");
    padding: 60px 0;
    padding-top: 180px;
    margin-top: 40px;
  }
}

@media screen and (max-width: 600px) {
  .contact-form {
    margin-top: 0px;

  }
}

.contact-form__card {
  background-color: var(--white);
  border-radius: 32px;
  padding: 80px 100px;
  margin-top: 64px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 1080px) {
  .contact-form__card {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 600px) {
  .contact-form__card {
    padding: 40px 16px;
    border-radius: 20px;
    margin-top: 32px;
  }
}

.form-unit {
  width: 100%;
  display: flex;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid #eeeeee;
}

.form-unit:first-child {
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  .form-unit {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}

.form-unit__head {
  width: 300px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 40px;
  margin-bottom: 0;
}

@media screen and (max-width: 1080px) {
  .form-unit__head {
    width: 240px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .form-unit__head {
    width: 100%;
    padding-right: 0;
    margin-bottom: 12px;
  }
}

.m-required::after,
.m-optional::after {
  content: "必須";
  display: inline-block;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: auto;
  line-height: 1.2;
}

.m-required::after {
  background-color: #e54d42;
}

.m-optional::after {
  content: "任意";
  background-color: #b1b1b1;
}

.wpcf7-form-control-wrap {
  flex: 1;
  width: 100%;
}

.form-unit__input,
.form-unit__textarea {
  width: 100%;
  background-color: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 16px;
  color: var(--color-primary);
  font-family: var(--font-primary);
  transition: 0.3s;
}

.form-unit__input:focus,
.form-unit__textarea:focus {
  outline: none;
  background-color: #eeeeee;
}

.form-unit__textarea {
  height: 180px;
}

/* ラジオボタンのカスタマイズ */
.form-unit__radio {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  flex-direction: column;
  margin-top: 0;
}

@media screen and (max-width: 600px) {
  .form-unit__radio {
    gap: 10px;
  }
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.wpcf7-list-item-label {
  font-size: 16px;
  font-weight: 500;
}

.wpcf7-radio input[type="radio"] {
  display: none;
}

.wpcf7-radio .wpcf7-list-item-label {
  position: relative;
  padding-left: 32px;
}

.wpcf7-radio .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--black);
  background-color: var(--white);
  border-radius: 4px;
  transition: 0.3s;
}

.wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label {
  color: var(--orange);
}

.wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label::before {
  background-color: var(--orange);
  border-color: var(--orange);
}

.wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

/* プログレス表示 */
.contact-form__progress {
  text-align: center;
  margin-top: 48px;
}

.contact-form__progress-text {
  color: #b1b1b1;
  font-size: 14px;
  font-weight: 500;
}

#js-required-count,
#js-required-total {
  font-family: var(--font-secondary);
}

/* 送信ボタン */
.form__submit,
.wpcf7-submit {
  background-color: var(--gray);
  color: var(--white);
  border: none;
  border-radius: 40px;
  width: 320px;
  max-width: 100%;
  padding: 16px 32px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin: 32px auto 0;
  pointer-events: none;
}

.form__submit.is-active,
.wpcf7-submit.is-active {
  background-color: var(--orange);
  pointer-events: auto;
}

.form__submit.is-active:hover,
.wpcf7-submit.is-active:hover {
  opacity: 0.8;
  transform: translateY(2px);
  box-shadow: none;
}

@media screen and (max-width: 600px) {

  .form__submit,
  .wpcf7-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }
}


.form-unit__policy-link {
  border-bottom: 1px solid #555;
}

@media screen and (max-width: 768px) {
  .form-unit__policy-link {
    font-size: 15px;
  }
}

.form-consent {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
}

input.wpcf7-form-control.wpcf7-previous {
  display: block;
  margin: 0 auto;
}

/* ========================================
    お問い合わせ完了
    ======================================== */
.thanks-content {
  padding: 100px 0;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .thanks-content {
    padding: 60px 0;
  }
}

.thanks-content__body {
  margin-top: 48px;
}

.thanks-content__text {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
}

@media screen and (max-width: 600px) {
  .thanks-content__text {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }
}

.thanks-content__sub-text {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-primary);
}

@media screen and (max-width: 600px) {
  .thanks-content__sub-text {
    margin-top: 32px;
    font-size: 13px;
    text-align: left;
    display: inline-block;
  }
}

.thanks-content__btn-area {
  margin-top: 64px;
}

@media screen and (max-width: 600px) {
  .thanks-content__btn-area {
    margin-top: 48px;
  }
}

.m-section-head--thanks .m-section-head__ttl {
  gap: 16px;
}

.m-section-head--thanks .m-section-head__ttl-icon {
  width: 25px;
  line-height: 1;
}

/* ========================================
    施工メニュー
    ======================================== */
.top-menu {
  position: relative;
  padding-top: 200px;
  padding-bottom: 120px;
  overflow: hidden;
  margin-top: -100px;
}

.top-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url("../img/background/menu-bg01.webp") center / cover no-repeat;
}

@media screen and (max-width: 600px) {
  .top-menu {
    margin-top: -30px;
    padding-bottom: 60px;
  }
}


.top-menu__bg-item {
  width: 100%;
}

.top-menu__bg-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: translateY(-1px);
}

.top-menu__accent {
  position: absolute;
  top: 140px;
  left: 0;
  width: clamp(130px, 25vw, 360px);
  z-index: 1;
  pointer-events: none;
}

@media screen and (max-width: 600px) {
  .top-menu__accent {
    top: 40px;
    transform: translateX(-40%);
  }
}

.top-menu__inner {
  position: relative;
  z-index: 2;
}

.top-menu__list {
  margin-top: 64px;
}

.top-menu__item {
  background: var(--white);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.top-menu__item-img {
  width: 100%;
  aspect-ratio: 312 / 208;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .top-menu__item-img {
    border-radius: 13px;
  }
}

.top-menu__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-menu__item-icon {
  width: 50px;
  height: auto;
  margin-bottom: 16px;
}

.top-menu__item-title {
  font-size: clamp(20px, 2.6vw, 36px);
  font-family: var(--font-kaisei);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  text-align: center;
}

@media screen and (max-width: 400px) {
  .top-menu__item-title {
    font-size: 18px;
  }
}

.top-menu__item-border {
  width: 100%;
  max-width: 180px;
}

@media (max-width: 768px) {
  .top-menu {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .top-menu__list {
    margin-top: 40px;
    gap: 15px;
  }
}

@media screen and (max-width: 600px) {
  .top-menu__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
    お住まいの各部位と名称
    ======================================== */
.house-parts {
  padding: 96px 0;
  background-color: var(--white);
}

.house-parts__img {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.house-parts__img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .house-parts {
    padding: 60px 0;
  }
}

@media screen and (max-width: 600px) {
  .house-parts {
    padding: 40px 0;
  }
}

/* ========================================
    PLANセクション
    ======================================== */
.top-plan {
  padding: 80px 0;
  background: url("../img/background/plan-bg.webp") center top / cover no-repeat;
}

@media screen and (max-width: 600px) {
  .top-plan {
    padding: 60px 0;
  }
}

.top-plan__content {
  margin-top: 64px;
}

@media screen and (max-width: 600px) {
  .top-plan__content {
    margin-top: 40px;
  }
}

.top-plan__img img {
  width: 100%;
  height: auto;
}

/* ========================================
    WORKSセクション
    ======================================== */
.top-works {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .top-works {
    padding: 80px 0;
    padding-bottom: 20px;
  }
}

.top-works__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.top-works__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-works__content {
  position: relative;
  margin-top: 130px;
}

@media screen and (max-width: 768px) {
  .top-works__content {
    margin-top: 40px;
  }
}

.top-works__decor-top {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 280px;
  z-index: 5;
  pointer-events: none;
}

@media screen and (max-width: 1080px) {
  .top-works__decor-top {
    top: -120px;
    right: -40px;
    width: 200px;
  }
}

@media screen and (max-width: 600px) {
  .top-works__decor-top {
    top: -40px;
    right: 5%;
    width: 140px;
    z-index: 1;
  }
}

.top-works__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 1080px) {
  .top-works__list {
    gap: 32px 16px;
  }
}

@media screen and (max-width: 600px) {
  .top-works__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }
}

.top-works__item {
  position: relative;
}

@media screen and (min-width: 601px) {
  .works__list .top-works__item {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .works__list .top-works__item {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

.top-works__list .top-works__item {
  width: calc(33.333% - 16px);
}

@media screen and (max-width: 768px) {
  .top-works__list .top-works__item {
    width: calc(50% - 16px);
  }
}

@media screen and (max-width: 600px) {
  .top-works__list .top-works__item {
    width: 60%;
    max-width: 240px;
  }

  .top-works__list .top-works__item:nth-child(odd) {
    align-self: flex-start;
  }

  .top-works__list .top-works__item:nth-child(even) {
    align-self: flex-end;
    margin-top: -15%;
  }

  .top-works__list .top-works__item:nth-child(n+3):nth-child(odd) {
    margin-top: -15%;
  }
}

/* Positioning and rotation for staggered layout */
.top-works__list .top-works__item--1 {
  transform: rotate(-3deg);
}

.top-works__list .top-works__item--2 {
  transform: rotate(2deg);
}

@media screen and (min-width: 769px) {
  .top-works__list .top-works__item--2 {
    margin-top: -40px;
  }
}

.top-works__list .top-works__item--3 {
  transform: rotate(-2deg);
}

.top-works__list .top-works__item--4 {
  transform: rotate(3deg);
}

.top-works__list .top-works__item--5 {
  transform: rotate(-1.5deg);
}

.top-works__badge {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 200px;
  z-index: 3;
  transform: rotate(-15deg);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  pointer-events: none;
}

.top-works__item:hover .top-works__badge {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 600px) {
  .top-works__badge {
    width: 120px;
    top: -24px;
    left: -24px;
  }

  .top-works__item--1 .top-works__badge {
    opacity: 1;
    visibility: visible;
    width: 100px;
    top: -30px;
    left: -20px;
  }
}

.top-works__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.top-works__link:hover {
  opacity: 1;
}

.top-works__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M47,2 Q50,0 53,2 L97,45 Q100,48 96,48.5 L92,49 Q90,49.5 89.5,51 L77,98 Q75,100 72,100 L28,100 Q25,100 23,98 L10.5,51 Q10,49.5 8,49 L4,48.5 Q0,48 3,45 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M47,2 Q50,0 53,2 L97,45 Q100,48 96,48.5 L92,49 Q90,49.5 89.5,51 L77,98 Q75,100 72,100 L28,100 Q25,100 23,98 L10.5,51 Q10,49.5 8,49 L4,48.5 Q0,48 3,45 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.top-works__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.top-works__item:hover .top-works__img img {
  transform: scale(1.1);
}

.top-works__info {
  text-align: center;
}

.top-works__city,
.top-works__name {
  font-family: var(--font-kaisei);
  font-weight: 700;
  line-height: 1.4;
  font-size: 16px;
}

@media screen and (max-width: 600px) {

  .top-works__city,
  .top-works__name {
    font-size: 12px;
  }
}

.top-works__btn-wrap {
  margin-top: 80px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .top-works__btn-wrap {
    margin-top: 40px;
  }
}

/* ========================================
    共通パーツ (Button)
    ======================================== */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 32px;
  border: 2px solid var(--orange);
  border-radius: 99px;
  color: var(--orange);
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--white);
  transition: 0.3s;
  position: relative;
  min-height: 52px;
}

.m-btn::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: rotate(45deg);
  margin-left: 16px;
  transition: 0.3s;
}

.m-btn:hover {
  background-color: var(--orange);
  color: var(--white);
}

.m-btn:hover::after {
  border-color: var(--white);
}

@media screen and (max-width: 600px) {
  .m-btn {
    min-width: 240px;
    font-size: 16px;
    padding: 8px 24px;
  }
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-only {
  display: block;
}

@media (max-width: 600px) {
  .u-pc-only {
    display: none;
  }
}

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

@media (max-width: 600px) {
  .u-sp-only {
    display: block;
  }
}

.u-xsm-br {
  display: none;
}

@media (max-width: 400px) {
  .u-xsm-br {
    display: block;
  }
}

.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

/*# sourceMappingURL=main.css.map */

/* ========================================
    追従ボタン (Floating Contact)
    ======================================== */
.m-floating-contact {
  position: fixed;
  z-index: 999;
  transition: opacity 0.3s;
}

.m-floating-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* PC */
@media screen and (min-width: 601px) {
  .m-floating-contact {
    bottom: 32px;
    right: 0;
  }

  .m-floating-contact__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    /* 右端に寄せる */
  }

  .m-floating-contact__btn {
    display: flex;
    align-items: stretch;
    width: 430px;
    background-color: var(--orange);
    border: 5px solid var(--orange);
    border-right: none;
    /* 右側のボーダーを消す */
    border-radius: 16px 0 0 16px;
    /* 左側だけ角丸 */
    overflow: hidden;
    text-decoration: none;
    box-shadow: -4px 6px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }

  .m-floating-contact__btn:hover {
    transform: translateX(8px);
    /* 左に少し動かす */
    opacity: 1;
    box-shadow: -6px 10px 25px rgba(234, 101, 21, 0.2);
  }

  .m-floating-contact__icon-box {
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    flex-shrink: 0;
  }

  .m-floating-contact__icon {
    width: 32px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  .m-floating-contact__content-box {
    background-color: var(--white);
    padding: 12px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 260px;
    position: relative;
  }

  .m-floating-contact__btn--web .m-floating-contact__content-box {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  /* メール用 */
  .m-floating-contact__btn--web .m-floating-contact__text {
    font-size: 25px;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-gothic);
    letter-spacing: 0.05em;
  }

  @media screen and (max-width: 600px) {
    .m-floating-contact__btn--web .m-floating-contact__text {
      font-size: 14px;
    }
  }

  .m-floating-contact__arrow {
    width: 22px;
    height: 22px;
    background-color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .m-floating-contact__arrow::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 2px;
  }

  /* 電話用 */
  .m-floating-contact__btn--tel .m-floating-contact__content-box {
    padding-right: 24px;
  }

  .m-floating-contact__tel-number {
    font-size: 35px;
    font-weight: 700;
    color: var(--orange);
    font-family: var(--font-secondary);
    line-height: 1;
  }

  .m-floating-contact__tel-time {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 4px;
  }
}

/* SP (Sticky Footer) */
@media screen and (max-width: 600px) {
  .m-floating-contact {
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .m-floating-contact__inner {
    display: flex;
    width: 100%;
    height: 64px;
  }

  .m-floating-contact__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
  }

  .m-floating-contact__btn:hover {
    opacity: 0.8;
  }

  .m-floating-contact__btn--web {
    background-color: var(--orange);
  }

  .m-floating-contact__btn--tel {
    background-color: var(--blue);
  }

  .m-floating-contact__icon-box {
    display: flex;
    align-items: center;
  }

  .m-floating-contact__icon {
    width: 20px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  .m-floating-contact__content-box {
    display: flex;
    align-items: center;
  }
}

/* ========================================
    共通パーツ：パンくず
    ======================================== */
.m-breadcrumb {
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 600px) {
  .m-breadcrumb {
    margin-top: -12px;
  }
}

.m-breadcrumb__inner {
  display: flex;
}

.m-breadcrumb__list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  padding: 6px 32px 6px 16px;
  margin: 0;
  background-color: #EDEDED;
  border-radius: 0 100px 100px 0;
  color: var(--color-primary);
}

@media screen and (max-width: 600px) {
  .m-breadcrumb__list {
    font-size: 10px;
    padding: 4px 24px 4px 12px;
    gap: 4px;
  }
}

.m-breadcrumb__item {
  display: flex;
  align-items: center;
}

.m-breadcrumb__item a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.m-breadcrumb__item a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.m-breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  font-size: 10px;
  color: var(--color-primary);
  font-family: var(--font-secondary);
}

@media screen and (max-width: 600px) {
  .m-breadcrumb__item:not(:last-child)::after {
    margin-left: 4px;
  }
}

/* ========================================
    施工事例詳細
    ======================================== */


.works-detail__inner {
  padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .works-detail__inner {
    padding-bottom: 64px;
  }
}

.works-recommend {
  position: relative;
  padding-top: 20vh;
  overflow: hidden;
  margin-bottom: -200px;
  padding-bottom: 304px;
}

@media screen and (max-width: 768px) {
  .works-recommend {
    padding-top: 15vh;
    padding-bottom: 264px;
  }
}

.works-recommend__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.works-recommend__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.works-recommend__list {
  max-width: 1000px;
  margin: 0 auto;
}

.works-recommend__list .top-works__item {
  width: 100%;
}

@media screen and (max-width: 600px) {
  .works-recommend__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .works-recommend__list .top-works__item {
    width: 100%;
  }
}

/* 施工事例ナビゲーション */
.works-nav {
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  .works-nav {
    margin-top: 48px;
  }
}

.works-nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media screen and (max-width: 768px) {
  .works-nav__inner {
    gap: 16px;
  }
}

.works-nav__item a,
.works-nav__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 8px 24px;
  border: 1.5px solid var(--orange);
  border-radius: 99px;
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background-color: var(--white);
  transition: 0.3s;
  position: relative;
}

@media screen and (max-width: 1080px) {

  .works-nav__item a,
  .works-nav__item span {
    min-width: 160px;
    padding: 8px 16px;
  }
}

@media screen and (max-width: 600px) {
  .works-nav__inner {
    width: 100%;
    gap: 8px;
  }

  .works-nav__item {
    flex: 1;
  }

  .works-nav__item a,
  .works-nav__item span {
    min-width: 0;
    width: 100%;
    font-size: 11px;
    padding: 8px 4px;
  }
}

.works-nav__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.works-nav__item a:hover {
  background-color: var(--orange);
  color: var(--white);
}

/* 矢印（CSSで精緻に実装） */
.works-nav__item--prev a::before,
.works-nav__item--prev span::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--orange);
  border-left: 1.5px solid var(--orange);
  transform: rotate(-45deg);
  margin-right: 12px;
  transition: 0.3s;
}

@media screen and (max-width: 600px) {

  .works-nav__item--prev a::before,
  .works-nav__item--prev span::before {
    margin-right: 6px;
  }
}

.works-nav__item--next a::after,
.works-nav__item--next span::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--orange);
  border-right: 1.5px solid var(--orange);
  transform: rotate(45deg);
  margin-left: 12px;
  transition: 0.3s;
}

@media screen and (max-width: 600px) {

  .works-nav__item--next a::after,
  .works-nav__item--next span::after {
    margin-left: 6px;
  }
}

.works-nav__item a:hover::before,
.works-nav__item a:hover::after {
  border-color: var(--white);
}

.works-detail__content {
  margin-top: 64px;
}

@media screen and (max-width: 600px) {
  .works-detail__content {
    margin-top: 40px;
  }
}

/* 不要なスタイルの削除 */
/*.works-detail__head {
    text-align: center;
    margin-bottom: 64px;
}
@media screen and (max-width: 600px) {
    .works-detail__head {
        margin-bottom: 40px;
    }
}

.works-detail__head-en {
    font-family: var(--font-homemade);
    font-size: 40px;
    color: var(--orange);
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media screen and (max-width: 600px) {
    .works-detail__head-en {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

.works-detail__head-en-top {
    transform: rotate(-3deg);
    margin-left: -20px;
}

.works-detail__head-en-bottom {
    transform: rotate(3deg);
    margin-right: -20px;
    margin-top: -5px;
}

.works-detail__title-wrap {
    position: relative;
    display: inline-block;
    padding: 0 80px;
}
@media screen and (max-width: 600px) {
    .works-detail__title-wrap {
        padding: 0 40px;
    }
}

.works-detail__title-wrap::before,
.works-detail__title-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 30px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30L10 0M15 30L25 0M30 30L40 0' stroke='%23EA6515' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
@media screen and (max-width: 600px) {
    .works-detail__title-wrap::before,
    .works-detail__title-wrap::after {
        width: 30px;
        height: 15px;
    }
}

.works-detail__title-wrap::before {
    left: 0;
}

.works-detail__title-wrap::after {
    right: 0;
    transform: translateY(-50%) scaleX(-1);
}

.works-detail__title {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.4;
}
@media screen and (max-width: 1080px) {
    .works-detail__title {
        font-size: 24px;
    }
}
@media screen and (max-width: 600px) {
    .works-detail__title {
        font-size: 18px;
    }
}*/

.works-detail__comparison {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

@media screen and (max-width: 600px) {
  .works-detail__comparison {
    gap: 24px;
    margin-bottom: 20px;
  }
}

.works-detail__comparison-item {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.works-detail__label {
  position: absolute;
  top: 32px;
  left: 0;
  padding: 8px 48px 8px 32px;
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  font-family: var(--font-gothic);
  z-index: 5;
  clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 600px) {
  .works-detail__label {
    top: 16px;
    left: 0px;
    padding: 6px 32px 6px 20px;
    font-size: 14px;
  }
}

.works-detail__label--before {
  background-color: var(--brown);
}

.works-detail__label--after {
  background-color: var(--orange);
}

.works-detail__img {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s;
}

.works-detail__img.is-fading {
  opacity: 0;
}

@media screen and (max-width: 600px) {
  .works-detail__img {
    border-radius: 15px;
  }
}

.works-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-detail__arrow {
  width: 120px;
  height: auto;
  margin: 20px 0;
}

@media screen and (max-width: 600px) {
  .works-detail__arrow {
    width: 80px;
  }
}

.works-detail__gallery {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
  position: relative;
}

@media screen and (max-width: 1080px) {
  .works-detail__gallery {
    padding: 0 40px;
  }
}

@media screen and (max-width: 600px) {
  .works-detail__gallery {
    margin-top: 20px;
    padding: 0 40px;
  }
}

.works-detail__gallery-img {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1.25;
}

@media screen and (max-width: 600px) {
  .works-detail__gallery-img {
    border-radius: 8px;
  }
}

.works-detail__gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Customize */
.works-gallery-swiper {
  padding-bottom: 60px !important;
}

.works-gallery-prev,
.works-gallery-next {
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--orange) !important;
  top: 50% !important;
  margin-top: -40px !important;
  /* pagination(60px)の半分(30px) + ボタン自身の半分(20px) を考慮して画像を中央にする */
  transition: opacity 0.3s;
}

.works-gallery-prev:hover,
.works-gallery-next:hover {
  opacity: 0.7;
}

.works-gallery-prev {
  left: -50px !important;
}

.works-gallery-next {
  right: -50px !important;
}

@media screen and (max-width: 1080px) {
  .works-gallery-prev {
    left: 0 !important;
  }

  .works-gallery-next {
    right: 0 !important;
  }
}

@media screen and (max-width: 600px) {

  .works-gallery-prev,
  .works-gallery-next {
    width: 32px !important;
    height: 32px !important;

  }

  .works-gallery-prev::after,
  .works-gallery-next::after {
    width: 12px;
    height: 12px;
  }
}

.works-gallery-prev::after,
.works-gallery-next::after {
  content: "" !important;
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
}

.works-gallery-prev::after {
  transform: rotate(-45deg);
  margin-left: 4px;
}

.works-gallery-next::after {
  transform: rotate(135deg);
  margin-right: 4px;
}

.works-gallery-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray);
  opacity: 0.5;
}

.works-gallery-pagination .swiper-pagination-bullet-active {
  background: var(--orange);
  opacity: 1;
}

/* DATAセクション */
.works-data {
  margin-top: 80px;
  padding: 0 16px;
}

@media screen and (max-width: 600px) {
  .works-data {
    margin-top: 40px;
  }
}

.works-data__inner {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 48px 64px;
  color: var(--white);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .works-data__inner {
    padding: 32px 24px;
    border-radius: 16px;
  }
}

.works-data__header {
  margin-bottom: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media screen and (max-width: 600px) {
  .works-data__header {
    margin-bottom: 24px;
  }
}

.works-data__title-area {
  text-align: center;
}

.works-data__title {
  font-size: 48px;
  font-weight: 500;
  font-family: var(--font-rubik);
  line-height: 1;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 600px) {
  .works-data__title {
    font-size: 32px;
  }
}

.works-data__title-deco {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.works-data__title-deco span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--white);
  transform: skewX(-25deg);
}

.works-data__date {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-secondary);
}

@media screen and (max-width: 600px) {
  .works-data__date {
    font-size: 16px;
  }
}

.works-data__list {
  border-top: none;
}

.works-data__item {
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: none;
}

.works-data__term {
  width: 140px;
  font-size: 16px;
  font-weight: bold;
  border-right: none;
  padding: 16px 0;
  flex-shrink: 0;
  white-space: nowrap;
  border-bottom: 2px solid var(--white);
  transform: translateY(.5px);
}

@media screen and (max-width: 600px) {
  .works-data__term {
    width: 100px;
    padding: 12px 0;
    font-size: 14px;
  }
}

.works-data__description {
  font-size: 16px;
  font-weight: 500;
  flex-grow: 1;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

@media screen and (max-width: 600px) {
  .works-data__description {
    font-size: 14px;
    padding: 12px 0;
  }
}

.l-sub-content {
  padding-top: 80px;
  padding-bottom: 120px;
}

@media screen and (max-width: 600px) {
  .l-sub-content {
    padding-top: 40px;
    padding-bottom: 80px;
  }
}

/* Floating Logo */
.p-floating-logo {
  position: fixed;
  top: 2vw;
  left: 2vw;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}

.p-floating-logo.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.p-floating-logo img {
  height: 64px;
  width: auto;
}

@media screen and (max-width: 1080px) {
  .p-floating-logo {
    top: 2vw;
    left: 2vw;
  }

  .p-floating-logo img {
    height: 56px;
  }
}

@media screen and (max-width: 600px) {
  .p-floating-logo {
    top: 16px;
    left: 16px;
  }

  .p-floating-logo img {
    height: 48px;
  }
}

.m-grid-3-col .top-works__item {
  width: 100%;
}

/* 施工事例一覧
    ======================================== */
.works__inner {
  padding-top: 60px;
  padding-bottom: 120px;
}

@media screen and (max-width: 600px) {
  .works__inner {
    padding-bottom: 60px;
  }
}

.works__list--archive {
  max-width: 1000px;
  margin: 80px auto 0;
  gap: 64px 24px;
}

@media screen and (max-width: 600px) {
  .works__list--archive {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 16px;
    justify-items: stretch;
  }

  .works__list--archive .top-works__item {
    width: 100%;
    max-width: none;
  }
}

/* ページネーション */
.m-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.m-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  transition: 0.3s;
  background: var(--white);
}

.m-pagination .page-numbers:hover,
.m-pagination .page-numbers.current {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.m-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--gray);
}