@charset "UTF-8";
/*
 * GarageSincerityサイトテーマ共通の独自スタイルシート (style.scss)
 * * 2025/11/09 もうすぐ終わる こちら
 * サイト固有のデザイン（タイムライン、ヒーローセクションなど）を定義します。
 */
/* ====== 基本のスタイルシート（base.scss)======  */
/* -------------インデックス-------------
共通・全体設定
ヘッダー（全ページ共通）
--------------------------------------*/
/*共通・全体設定*/
body {
  font-family: "Noto Sans JP", sans-serif;
  padding-top: 70px;
}

.page-header {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.nav-link-custom .nav-ja,
.nav-link-custom .nav-en {
  display: block;
  width: 100%;
}
.nav-link-custom .nav-ja {
  font-size: 1rem;
  font-weight: 500;
}
.nav-link-custom .nav-en {
  font-size: 0.75rem;
  color: #6c757d;
  padding-left: 0.5rem;
}
@media (min-width: 992px) {
  .nav-link-custom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    line-height: 1.2;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .nav-link-custom .nav-ja {
    font-size: 0.8rem;
    font-weight: 500;
  }
  .nav-link-custom .nav-en {
    font-size: 0.65rem;
    color: #6c757d;
    padding-left: 0;
  }
}

.page-id-8 .page-header, .page-id-2 .page-header, .page-id-10 .page-header, .page-id-12 .page-header, .page-id-14 .page-header, .page-id-16 .page-header, .page-id-18 .page-header, .page-id-20 .page-header, .page-id-34 .page-header, .page-id-36 .page-header, .page-id-38 .page-header, .page-id-40 .page-header, .page-id-42 .page-header, .page-id-45 .page-header, .page-id-57 .page-header, .page-id-3 .page-header, .page-id-101 .page-header, .post-type-archive-works .page-header {
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
}
.page-id-8 .page-header h1, .page-id-2 .page-header h1, .page-id-10 .page-header h1, .page-id-12 .page-header h1, .page-id-14 .page-header h1, .page-id-16 .page-header h1, .page-id-18 .page-header h1, .page-id-20 .page-header h1, .page-id-34 .page-header h1, .page-id-36 .page-header h1, .page-id-38 .page-header h1, .page-id-40 .page-header h1, .page-id-42 .page-header h1, .page-id-45 .page-header h1, .page-id-57 .page-header h1, .page-id-3 .page-header h1, .page-id-101 .page-header h1, .post-type-archive-works .page-header h1 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.page-id-8 .page-header .text-secondary, .page-id-2 .page-header .text-secondary, .page-id-10 .page-header .text-secondary, .page-id-12 .page-header .text-secondary, .page-id-14 .page-header .text-secondary, .page-id-16 .page-header .text-secondary, .page-id-18 .page-header .text-secondary, .page-id-20 .page-header .text-secondary, .page-id-34 .page-header .text-secondary, .page-id-36 .page-header .text-secondary, .page-id-38 .page-header .text-secondary, .page-id-40 .page-header .text-secondary, .page-id-42 .page-header .text-secondary, .page-id-45 .page-header .text-secondary, .page-id-57 .page-header .text-secondary, .page-id-3 .page-header .text-secondary, .page-id-101 .page-header .text-secondary, .post-type-archive-works .page-header .text-secondary {
  color: #E0E0E0 !important;
}

.page-id-57 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-7.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-7.jpg");
}

.page-id-2 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-1.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-1.jpg");
}

.page-id-3 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-11.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-11.jpg");
}

.page-id-8 .page-header, .page-id-34 .page-header, .page-id-36 .page-header, .page-id-38 .page-header, .page-id-40 .page-header, .page-id-42 .page-header, .page-id-45 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-2.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-2.jpg");
}

.page-id-10 .page-header, .post-type-archive-works .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-3.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-3.jpg");
}

.page-id-12 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-4.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-4.jpg");
}

.page-id-14 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-5.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-5.jpg");
}

.page-id-16 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-6.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-6.jpg");
}

.page-id-18 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-8.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-8.jpg");
}

.page-id-20 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-9.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-9.jpg");
}

body.page-id-101 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/base/img-page-header-10.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/base/img-page-header-10.jpg");
}

.single-works .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("../img/base/img-page-header-10.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/base/img-page-header-10.jpg");
  color: #fff;
}
.single-works .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.single-post .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("../img/base/img-page-header-9.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/base/img-page-header-9.jpg");
  color: #fff;
}
.single-post .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-news-archive .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4))), url("https://placehold.co/1920x600/4a5568/FFFFFF?text=News+Archive");
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://placehold.co/1920x600/4a5568/FFFFFF?text=News+Archive");
}

.page-404 .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4))), url("https://placehold.co/1920x600/dc3545/FFFFFF?text=404+Error");
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://placehold.co/1920x600/dc3545/FFFFFF?text=404+Error");
}

.page-privacy .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4))), url("https://placehold.co/1920x600/718096/FFFFFF?text=Privacy+Policy");
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://placehold.co/1920x600/718096/FFFFFF?text=Privacy+Policy");
}

#footer {
  background-color: var(--bs-gray-900);
  background-image: linear-gradient(135deg, var(--bs-dark) 0%, var(--bs-gray-900) 100%);
  color: var(--bs-gray-500);
  border-top: none;
}
#footer h5 {
  color: var(--bs-light);
}
#footer .text-muted {
  color: var(--bs-gray-500) !important;
}
#footer .footer-nav a {
  color: var(--bs-gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
#footer .footer-nav a:hover {
  color: var(--bs-light);
  text-decoration: underline;
}
#footer hr {
  border-color: rgba(255, 255, 255, 0.8);
}
#footer .fs-4 {
  color: var(--bs-gray-500);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
#footer .fs-4:hover {
  color: var(--bs-light);
}

.works-card {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.works-card .works-card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 75%;
  background-color: #eee;
}
.works-card .works-card-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.works-card .works-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}
.works-card .works-card-category .badge {
  position: relative;
  z-index: 2;
}
.works-card:hover {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
          box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.works-card:hover .works-card-img {
  -webkit-transform: translate(-50%, -50%) scale(1.05);
          transform: translate(-50%, -50%) scale(1.05);
}

/* ====== ホームのスタイルシート（home.scss)======  */
/* -------------インデックス-------------
ヒーローセクション
施工事例（タブフィルター)
--------------------------------------*/
/* ヒーローセクション */
#hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
#hero .carousel-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
}
#hero .carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
#hero .carousel-content {
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  color: #fff;
}
#hero .carousel-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
#hero .carousel-content p {
  font-size: 1.2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
#hero .carousel-indicators {
  bottom: 20px;
}

.section-title .section-title-en {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bs-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.section-title .section-title-ja {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title .section-title-ja::after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--bs-primary);
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 2px;
}

/*
 * 強みセクションのアイコン（画像）のスタイル
 */
.feature-icon {
  /* 画像の高さを固定（例: 72px） */
  /* 元の display-3 は非常に大きいですが、画像に合わせて調整してください */
  height: 72px;
  /* 横幅は自動（アスペクト比を維持）*/
  width: auto;
}

#services .card-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#services .card-title i {
  color: var(--bs-primary);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}
#services .card-title span {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/* 施工事例（タブフィルター) */
#works-filter .nav-link {
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #0d6efd;
  margin: 0.25rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#works-filter .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
#works-filter .nav-link:hover:not(.active) {
  background-color: #f8f9fa;
}

.cta-home {
  position: relative;
  padding: 6rem 0;
  background-color: var(--bs-dark);
}
.cta-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/home/bg_cta.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: 1;
}
.cta-home .container {
  position: relative;
  z-index: 2;
}
.cta-home .section-title-en,
.cta-home .section-title-ja,
.cta-home .section-title-desc {
  color: #fff;
}
.cta-home .section-title-desc {
  color: rgba(255, 255, 255, 0.7);
}
.cta-home .section-title-ja::after {
  background-color: #fff;
}
.cta-home .cta-home-btn {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.cta-home .cta-home-btn:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ====== 会社概要のスタイルシート（about.scss)======  */
.page-index-nav .nav-link {
  border-radius: 0;
  background-color: transparent;
  border-bottom: 3px solid transparent;
  color: var(--bs-secondary);
  padding: 0.8rem 0.5rem;
  margin: 0 0.75rem;
  font-weight: 500;
  -webkit-transition: border-color 0.2s ease, color 0.2s ease;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-index-nav .nav-link:hover {
  color: var(--bs-body-color);
  border-bottom-color: var(--bs-gray-300);
}
.page-index-nav .nav-link.active {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
  background-color: transparent;
}

.page-about main section[id] {
  scroll-margin-top: 120px;
}

/* // ====== 3. about.html, workflow.html（沿革・流れ） ====== */
.timeline-list {
  list-style: none;
  padding-left: 0;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
  left: 50%;
  margin-left: -2px;
}
.timeline-list .timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-list .timeline-item::after {
  content: "";
  display: table;
  clear: both;
}
.timeline-list .step-number {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background-color: #0d6efd;
  color: white;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  border: 4px solid #fff;
  z-index: 1;
}
.timeline-list .step-content {
  position: relative;
  width: 45%;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
}
.timeline-list .step-content::after {
  content: "";
  position: absolute;
  top: 20px;
  border-style: solid;
}
.timeline-list .timeline-item:nth-child(odd) .step-content {
  float: left;
  text-align: right;
}
.timeline-list .timeline-item:nth-child(odd) .step-content::after {
  right: -15px;
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent #f8f9fa;
}
@media (min-width: 768px) {
  .timeline-list .timeline-item:nth-child(odd) .step-number {
    right: -1.75rem;
    left: auto;
    -webkit-transform: none;
            transform: none;
  }
}
.timeline-list .timeline-item:nth-child(even) .step-content {
  float: right;
}
.timeline-list .timeline-item:nth-child(even) .step-content::after {
  left: -15px;
  border-width: 15px 15px 15px 0;
  border-color: transparent #f8f9fa transparent transparent;
}
@media (min-width: 768px) {
  .timeline-list .timeline-item:nth-child(even) .step-number {
    left: -1.75rem;
    -webkit-transform: none;
            transform: none;
  }
}

@media (max-width: 767.98px) {
  .timeline-list::before {
    left: 1.75rem;
  }
  .timeline-list .step-number {
    left: 1.75rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .timeline-list .step-content {
    width: 100%;
    float: none;
    margin-left: 4.5rem;
    text-align: left !important;
  }
  .timeline-list .timeline-item:nth-child(odd) .step-content::after,
  .timeline-list .timeline-item:nth-child(even) .step-content::after {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent #f8f9fa transparent transparent;
  }
}
/* 沿革 (History) */
.history-list {
  list-style-type: none;
  padding-left: 0;
  position: relative;
}

/* タイムラインの縦線 (Bootstrapのボーダーユーティリティで代用も可) */
.history-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5.5rem;
  width: 2px;
  background-color: #dee2e6;
  /* ボーダーカラー */
}

.history-item {
  position: relative;
  padding-left: 8rem;
  /* 日付の分+余白 */
  margin-bottom: 2rem;
}

.history-item dt {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.25rem;
  color: #0d6efd;
  /* Primaryカラー */
  background-color: #fff;
  padding-right: 1rem;
}

.history-item dd {
  margin-left: 0;
  padding-top: 0.25rem;
}

/* ====== サービスのスタイルシート（services.scss)======  */
/* サービス一覧（メディアオブジェクト風） */
.service-item-horizontal {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  /* Bootstrapの .rounded */
  overflow: hidden;
  /* 画像の角丸を効かせるため */
}

.service-item-horizontal img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 768px) {
  .service-item-horizontal img {
    width: 300px;
    /* PCサイズでは画像幅を固定 */
    height: auto;
    /* 高さは成り行きに */
    min-height: 100%;
  }
}
/* ====== 施工事例のスタイルシート（works.scss) ====== */
/* 施工事例カード */
.works-card .card-img-top {
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
.works-card .card-body {
  padding: 1.25rem;
}
.works-card .card-category {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e8503c;
}
.works-card .card-title {
  font-weight: 600;
  font-size: 1.15rem;
}

.breadcrumbs .breadcrumb {
  margin-bottom: 0;
}
.breadcrumbs .breadcrumb-item {
  font-size: 0.9rem;
}
.breadcrumbs .breadcrumb-item a {
  text-decoration: none;
}

.work-meta {
  color: var(--bs-gray-600);
}
.work-meta .badge {
  font-size: 0.8rem;
  font-weight: 500;
}

.work-summary-table th {
  width: 40%;
}
.work-summary-table td, .work-summary-table th {
  font-size: 0.9rem;
  padding: 0.75rem;
}

.work-pagination .page-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0.75rem 1rem;
  line-height: 1.4;
}
.work-pagination .page-link.prev {
  text-align: left;
}
.work-pagination .page-link.prev span:last-child {
  font-size: 0.8rem;
  color: var(--bs-gray-600);
}
.work-pagination .page-link.next {
  text-align: right;
}
.work-pagination .page-link.next span:last-child {
  font-size: 0.8rem;
  color: var(--bs-gray-600);
}

#beforeAfterSlider {
  overflow: hidden;
}
#beforeAfterSlider .carousel-item-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #eee;
}
#beforeAfterSlider .carousel-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#beforeAfterSlider .carousel-caption {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

/* カルーセルの表示を強制的に担保する */
#beforeAfterSlider {
  display: block !important;
  min-height: 200px; /* 一時的に高さを確保 */
  background-color: #f8f9fa; /* 枠が見えるように背景色を付ける */
}

.carousel-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== 施工事例のスタイルシート（works.scss) ====== */
/* 施工事例カード */
/* ====== ご依頼の流れのスタイルシート（workflow.scss)======  */
/* --- workflow.html 固有CSS --- */
/* 施工の流れステップ (タイムライン風) */
.workflow-list {
  list-style: none;
  padding-left: 0;
  position: relative;
}

/* タイムラインの縦線 */
.workflow-list::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.75rem;
  /* STEP番号の円の中心に合わせる */
  width: 4px;
  background-color: #e9ecef;
  z-index: 1;
}

.workflow-list .workflow-item {
  position: relative;
  padding-left: 5rem;
  /* 左側の余白 */
  padding-bottom: 2.5rem;
  /* ステップ間の余白 */
  z-index: 2;
}

.workflow-list .workflow-item:last-child {
  padding-bottom: 0;
}

.workflow-list .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #c63226;
  /* Bootstrap Primary */
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 4px solid #fff;
  /* 縦線との重なりを隠す */
  z-index: 3;
}

.workflow-list .step-title {
  font-weight: 600;
  font-size: 1.4rem;
  color: #c63226;
}

.workflow-list .step-description {
  font-size: 1.1rem;
  color: #333;
}

/* 中画面以上では、左右交互に配置 */
@media (min-width: 768px) {
  .workflow-list::before {
    left: 50%;
    /* 画面中央に縦線 */
    margin-left: -2px;
    /* 線の太さの半分 */
  }
  .workflow-list .workflow-item {
    padding-left: 0;
    width: 50%;
    padding-bottom: 4rem;
    /* ステップ間の余白を広げる */
  }
  /* 奇数番目 (左側) */
  .workflow-list .workflow-item:nth-child(odd) {
    padding-right: 4rem;
    /* 右側の余白 */
    text-align: right;
  }
  /* ===== ↓↓↓ ここから修正 (番号ズレの修正) ===== */
  /* 奇数番目の番号 (中央の縦線の右側に配置) */
  .workflow-list .workflow-item:nth-child(odd) .step-number {
    left: auto;
    /* left: 0 をリセット */
    right: -1.75rem;
    /* 右側に円の半径分はみ出す */
  }
  /* 偶数番目 (右側) */
  .workflow-list .workflow-item:nth-child(even) {
    margin-left: 50%;
    /* 右側に配置 */
    padding-left: 4rem;
    /* 左側の余白 */
    text-align: left;
  }
  /* 偶数番目の番号 (中央の縦線の左側に配置) */
  .workflow-list .workflow-item:nth-child(even) .step-number {
    left: -1.75rem;
    /* 左側に円の半径分はみ出す */
  }
  /* ===== ↑↑↑ ここまで修正 ===== */
  .workflow-list .step-title {
    font-size: 1.5rem;
  }
}
/* ====== 料金案内のスタイルシート（price.scss)======  */
/* 料金表のテーブルヘッダー */
.price-table thead th {
  background-color: #f1f3f5;
  /* やや薄いグレー */
}

/* ====== 施工事例のスタイルシート（works.scss) ====== */
/* 施工事例カード */
/* ====== お問い合わせのスタイルシート(faq)======  */
/* 下層ページ共通ヘッダー (共通) */
/* .page-header {
  background-color: #f8f9fa;
  padding: 4rem 0;
  text-align: center;
} */
/* FAQタブ (nav-pills) */
.faq-tabs .nav-link {
  border: 1px solid #dee2e6;
  color: #c63226;
}

.faq-tabs .nav-link.active {
  color: #fff;
  background-color: #0dfd6d;
  border-color: #0d6efd;
}

/* FAQアコーディオン (カスタム) */
.accordion-button {
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  color: #373536;
  background-color: #e7f1ff;
}

.accordion-button:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ====== アクセスのスタイルシート（access.scss)======  */
/* ====== お問い合わせのスタイルシート(contact.scss)====== */
#accordionVehicleInfo .accordion-button:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}
#accordionVehicleInfo .accordion-button:not(.collapsed) {
  color: #000;
  background-color: #e7f1ff;
}

.article-sidebar .widget {
  margin-bottom: 2rem;
}
.article-sidebar .widget .widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 2px solid var(--bs-primary-bg-subtle);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.article-sidebar .widget .widget-list {
  list-style: none;
  padding-left: 0;
}
.article-sidebar .widget .widget-list li {
  margin-bottom: 0.5rem;
}
.article-sidebar .widget .widget-list a {
  text-decoration: none;
  color: var(--bs-body-color);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.article-sidebar .widget .widget-list a:hover {
  color: var(--bs-primary);
}

/* 記事全体のフォントサイズと行間調整 */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

/* 記事内の見出し(h2) - 帯を付けてプロっぽさを演出 */
.article-body h2.wp-block-heading {
  position: relative;
  padding: 1rem 1.2rem;
  background: #f8f9fa; /* 薄いグレー */
  border-left: 6px solid #d93333; /* アクセントカラー：赤（ロゴに合わせて調整してください） */
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-radius: 0 4px 4px 0;
}

/* 記事内の小見出し(h3) - 下線でアクセント */
.article-body h3.wp-block-heading {
  font-size: 1.25rem;
  font-weight: bold;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* リスト(ul)の装飾 - メリットを読みやすく */
.article-body ul.wp-block-list {
  background: #fff9f9; /* ほんのり赤みの背景（メリット強調） */
  border: 1px solid #ffeded;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.article-body ul.wp-block-list li {
  margin-bottom: 1rem;
  list-style-type: none;
  position: relative;
}

/* リストの先頭にチェックアイコンを擬似要素で追加 */
.article-body ul.wp-block-list li::before {
  content: "✔";
  position: absolute;
  left: -1.5rem;
  color: #d93333;
  font-weight: bold;
}

/* 区切り線(hr)の調整 */
.article-body hr.wp-block-separator {
  border: none;
  border-top: 1px dashed #ccc;
  margin: 2.5rem 0;
}

/* 強調文字(strong) */
.article-body strong {
  color: #d93333;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(70%, #ffdfdf));
  background: linear-gradient(transparent 70%, #ffdfdf 70%); /* マーカー風 */
}

/* 整備士より一言セクション - 吹き出しや枠で囲むと親しみやすさアップ */
.article-body h2:last-of-type + p,
.article-body h2:last-of-type ~ p {
  font-style: italic;
  background: #fdfdfd;
  padding: 0.5rem 1rem;
}

/* メタ情報（日付・カテゴリ）の微調整 */
.work-meta {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.work-meta i {
  color: #d93333;
}

.page-service-repair .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/556677/FFFFFF?text=Repair+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/556677/FFFFFF?text=Repair+Header");
  color: #fff;
}
.page-service-repair .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-service-maintenance .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/776655/FFFFFF?text=Maintenance+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/776655/FFFFFF?text=Maintenance+Header");
  color: #fff;
}
.page-service-maintenance .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-service-shaken .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/557766/FFFFFF?text=Shaken+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/557766/FFFFFF?text=Shaken+Header");
  color: #fff;
}
.page-service-shaken .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-service-headlight .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/777755/FFFFFF?text=Headlight+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/777755/FFFFFF?text=Headlight+Header");
  color: #fff;
}
.page-service-headlight .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-service-custom .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/556688/FFFFFF?text=Custom+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/556688/FFFFFF?text=Custom+Header");
  color: #fff;
}
.page-service-custom .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.page-service-sales .page-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("https://placehold.co/1920x400/886655/FFFFFF?text=Sales+Header");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("https://placehold.co/1920x400/886655/FFFFFF?text=Sales+Header");
  color: #fff;
}
.page-service-sales .page-header h1 .d-block {
  color: rgba(255, 255, 255, 0.8);
}

.widget-services-list .list-group-item {
  font-weight: 500;
  color: var(--bs-body-color);
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.widget-services-list .list-group-item i {
  color: var(--bs-primary);
  margin-right: 0.75rem;
  font-size: 1.1em;
}
.widget-services-list .list-group-item:hover, .widget-services-list .list-group-item.active {
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}

.service-recommend-list {
  list-style-type: none;
  padding-left: 0;
}
.service-recommend-list li {
  position: relative;
  padding-left: 2.25rem;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.service-recommend-list li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--bs-success);
}

/*
 * sidebar.php 用のスタイル
 * (style.css または SCSSファイルに追加してください)
 *
 * single.php や page-news-archive.php で使用されている
 * Bootstrap 5 のデザインに合わせて、
 * WordPressのデフォルトウィジェットのスタイルを調整します。
 */
/* サイドバー（.col-lg-4）内のウィジェット共通 */
.widget {
  background-color: #ffffff; /* カードの背景色 */
  border: 1px solid rgba(0, 0, 0, 0.125); /* カードの枠線 */
  border-radius: 0.375rem; /* カードの角丸 (Bootstrap 5 の .rounded) */
  margin-bottom: 2rem; /* ウィジェット間のマージン */
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
          box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* .shadow-sm 相当 */
}

/* ウィジェットタイトル (例: 「カテゴリー」「最新の投稿」) */
.widget-title,
.widget .widget-title { /* テーマによって h2, h3, h5 などが使われるため */
  font-size: 1.25rem; /* h5.card-title 相当 */
  font-weight: 500;
  padding: 1rem 1rem; /* .card-body または .card-header 相当のパディング */
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125); /* ヘッダーとボディの区切り線 */
  background-color: rgba(0, 0, 0, 0.03); /* .card-header 相当の背景色 */
  /* 角丸 (上部のみ) */
  border-top-left-radius: calc(0.375rem - 1px);
  border-top-right-radius: calc(0.375rem - 1px);
}

/* ウィジェットのコンテンツ部分 (ul, textwidget など) */
/* * WordPressのウィジェットは様々なHTML構造を出力します。
 * 1. .widget > h2 + ul (タイトルとリストが兄弟)
 * 2. .widget > div > h2 + ul (divでラップされている)
 * 3. .widget > ul (タイトルがない)
 * これらに対応します。
 */
.widget-title + ul,
.widget-title + div,
.widget-title + form,
.widget-title + select {
  /* list-group でパディングを制御するため、親のパディングを削除 */
  padding: 0;
}

/* 2. コンテンツが div などでラップされている場合 */
.widget > div {
  /* list-group でパディングを制御するため、親のパディングを削除 */
  padding: 0;
}

/* (もし div の中にタイトル h2 が含まれている場合、タイトル側のスタイルで調整) */
.widget > div > .widget-title {
  padding: 0;
  border: 0;
  background-color: transparent;
  margin-bottom: 0.75rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.widget > div > .widget-title + * {
  padding-top: 0;
}

/* 3. タイトルがないリストの場合 */
.widget > ul {
  /* list-group でパディングを制御するため、親のパディングを削除 */
  padding: 0;
}

/* --- リスト系ウィジェット (カテゴリー、最新の投稿、アーカイブなど) --- */
.widget ul {
  list-style: none; /* デフォルトの黒丸 (•) を削除 */
  padding-left: 0; /* 左側のパディングを削除 */
  margin-bottom: 0; /* ulのデフォルトマージン削除 */
  /* * タイトルがある場合（.widget-title がある）は、
   * タイトルの border-bottom があるので、ul の border-top は不要。
   * タイトルがない場合（スクリーンショットの「カテゴリー」など）
   * のために調整
   */
}

/* タイトルがないウィジェットの最初のリスト */
.widget > ul:first-child {
  /* 角丸（上） */
  border-top-left-radius: calc(0.375rem - 1px);
  border-top-right-radius: calc(0.375rem - 1px);
}

/* ウィジェットの最後のリスト */
.widget > ul:last-child {
  /* 角丸（下） */
  border-bottom-left-radius: calc(0.375rem - 1px);
  border-bottom-right-radius: calc(0.375rem - 1px);
}

.widget li {
  margin: 0;
  padding: 0; /* li のパディングは外し、a タグに任せる */
  /* .list-group-item 相当の境界線 */
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.widget li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0; /* 最後の項目は線なし */
}

.widget li a {
  text-decoration: none; /* 下線を削除 */
  color: var(--bs-body-color, #212529); /* Bootstrapの本文色 */
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  display: block; /* クリック領域を広げる */
  padding: 1rem 1rem; /* .list-group-item 相当のパディング */
}

.widget li a:hover {
  color: var(--bs-primary, #0d6efd); /* Bootstrapのプライマリ色 */
  background-color: #f8f9fa; /* ホバー時の背景色 */
  text-decoration: none; /* ホバー時の下線は不要 */
}

/* カテゴリーウィジェットなどの子階層 (ドロップダウンではない場合) */
.widget ul.children,
.widget li ul {
  list-style: none; /* 子階層もスタイルをリセット */
  padding-left: 1rem; /* 子階層は少しインデント */
  margin-top: 0.5rem; /* 親とのマージン */
  border-top: 1px dashed #eee;
  padding-top: 0.5rem;
}/*# sourceMappingURL=style.css.map */


