.fb-section-sp,
#about-sp,
.banner-section-sp,
#info-sp,
#service-sp,
#repair-sp,
#reason-sp,
#blog-sp,
.banner-button-wrap-search,
.banner-button-wrap-sp,
.scroll-to-top-btn-sp {
  display: none;
}

.swiper-wrapper {
  height: auto !important;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .fb-section-sp,
  #about-sp,
  .banner-section-sp,
  #info-sp,
  #service-sp,
  #repair-sp,
  #reason-sp,
  #blog-sp,
  .banner-button-wrap-search,
  .banner-button-wrap-sp,
  .scroll-to-top-btn-sp {
    display: block;
  }
  .fb-section,
  .banner-section,
  .service-header-section,
  .repair-section,
  .about-section,
  .reason-section,
  .blog-section,
  #info .banner-button-wrap,
  .scroll-to-top-btn {
    display: none;
  }
  .banner-button-wrap {
    margin: 0 auto !important;
  }
  #popupSearchBtn {
    height: 38px;
  }
}

/* ───────── お知らせ一覧 ───────── */
.info-list {
  padding: 0;
  width: auto;

  /* Figmaの破線に合わせて背景で描画 */
  border: none;
  background: linear-gradient(to bottom, transparent, transparent),
    repeating-linear-gradient(
      to right,
      #b32223,
      #b32223 6px,
      transparent 6px,
      transparent 12px
    );
  background-repeat: repeat-x;
  background-size: 100% 2px; /* 高さ2pxの破線 */
  background-position: top;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;

  /* 破線の代わりに背景で再現 */
  border: none;
  background: linear-gradient(to right, transparent, transparent),
    repeating-linear-gradient(
      to right,
      #b32223,
      #b32223 6px,
      transparent 6px,
      transparent 12px
    );
  background-repeat: repeat-x;
  background-size: 100% 2px; /* 高さ2pxで破線 */
  background-position: bottom;
}
.info-item a {
  display: flex;
  gap: 55px;
  align-items: center;
  text-decoration: none;
  color: #333;
  flex: 1;
}
.info-item:hover .info-title {
  text-decoration: underline;
}
.info-thumb {
  width: 108px;
  height: 108px;
  object-fit: cover;
  flex: 0 0 auto;
}
.info-meta {
  flex: 1;
}
.info-meta-top {
  margin-bottom: 10px;
}
.info-date {
  font-family: "Zen Kaku Gothic New", sans-serif;
  width: 90px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.info-label {
  display: inline-block;
  font-size: 16px;
  background: #b32223;
  color: #fff;
  border-radius: 50px;
  min-width: 120px;
  text-align: center;
  font-weight: 500;
}
.info-text {
  flex: 1;
  line-height: 1.6;
  font-size: 20px;
  font-family: "Zen Kaku Gothic New";
  letter-spacing: 1px;
  color: #1a1a1a;
}
.banner-button-wrap {
  margin-top: 40px;
  text-align: center;
}

/* ───────── モバイル対応 ───────── */
@media (max-width: 768px) {
  .news-head {
    margin: 0 24px;
    padding: 0;
  }
  .news-head__ja {
    font-size: 20px;
  }
  .news-head__en {
    font-size: 40px;
    padding-bottom: 10px;
  }
  .news-list__items {
    margin: 0 0 20px;
    width: auto;
  }
  .news-thumb {
    width: 80px;
    height: 80px;
  }
  .news-date {
    font-size: 16px;
  }
  .news-label {
    font-size: 14px;
    width: 110px;
  }
  .news-title {
    font-size: 16px;
    font-weight: 500;
  }
  .more-news-button {
    margin-bottom: 30px;
  }
  .repair-side,
  .blog-side {
    position: relative;
    width: auto;
    margin-bottom: 50px;
  }
  .repair-search,
  .repair-cat,
  .repair-archive {
    padding: 0 20px;
  }
  .search-form .search-field {
    width: 85%;
  }
  .news-list {
    display: block;
    margin: 0;
    padding: 0 24px;
  }
  .side-cats li {
    display: contents;
    margin-bottom: 10px;
  }
  .blog-cat-tag {
    margin-bottom: 10px;
  }
  .header-section,
  .info-list {
    margin: 0 20px !important;
  }
  .section-subtitle {
    font-size: 20px;
  }
  .section-title {
    font-size: 40px;
  }
  .info-date {
    font-size: 16px;
    width: auto;
  }
  .info-text {
    font-size: 16px;
    margin-top: 6px;
  }
  .info-label {
    font-size: 14px;
    margin: 0;
    width: 90px;
  }
  .more-label {
    font-size: 20px;
  }
  #info {
    background: url(../images/top/info/sp/BG-sp.png) no-repeat center top;
    background-size: 100% 100%;
  }
}

/* 全体の余白調整 */
.service-detail,
.header-section {
  margin-left: 13%;
  margin-right: 13%;
}

.header-text {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 4px;
}

.footer-text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 4px;
  margin: 50px 0 90px;
}

/* サービスカード（PC版） */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  padding: 0;
}

.service-card {
  border: 1px solid #e06364;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.service-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-title {
  font-size: 28px;
  color: #b32223;
  font-weight: bold;
  margin: 5px 15px 15px;
  text-align: center;
  padding: 10px 0;
  font-family: "Zen Kaku Gothic New", sans-serif;

  border-bottom: 1px dashed #5c1816;
  border-image: repeating-linear-gradient(
      to right,
      #5c1816 0,
      #5c1816 6px,
      transparent 6px,
      transparent 12px
    )
    100% 1;
}

.service-card-links {
  list-style: none;
  padding: 0 15px 15px;
  margin: 0;
}

.service-card-links li {
  padding-left: 10%;
}

.service-card-links li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  align-items: center;
  text-decoration: none;
  color: #5c1816;
  font-weight: 400;
  font-size: 16px;
}

.service-card-links li a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(../images/icons/arrow.png) no-repeat center center;
  background-size: contain;
  margin-right: 10%;
}

.service-card-links li a:hover {
  color: #e06364;
  text-decoration: underline;
}

.service-cards.full-support {
  grid-template-columns: repeat(3, 1fr);
}

.service-cards.partial-support {
  grid-template-columns: repeat(3, 1fr);
}

.full-support-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 5px 18px;
  background-color: #b32223;
  color: #fff;
  font-size: 16px;
  border-radius: 50px;
  vertical-align: middle;
  margin-bottom: 6px;
}

.service-cards.full-support {
  margin: 0 13%;
}
.service-cards.partial-support {
  margin: 40px 13% 0;
}
.service-text {
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  letter-spacing: 1;
  line-height: 32px;
  margin: 60px 13%;
}

/* PC/SP表示切替 */
.pc-view {
  display: block;
}
.sp-view {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-view {
    display: none;
  }
  .sp-view {
    display: block;
  }
  .swiper-slide {
    border-radius: 10px;
  }
  /* カード全体 */
  .service-slide-link {
    display: block;
    border: 1px solid #b32223;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
  }

  /* カード画像 */
  .service-slide-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }

  /* カードテキスト */
  .service-slide-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    color: #5c1816;
  }

  /* 右矢印画像 */
  .service-slide-title::after {
    content: "";
    display: inline-block;
    width: 11px; /* アップロード画像のサイズ */
    height: 18px;
    background: url(../images/icons/arrow.png) no-repeat center top;
    background-size: contain;
  }
}

.blog-section .swiper-slide {
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* COMING SOONスライドのシャドウを除去 */
.blog-section .swiper-slide.coming-soon-slide {
  box-shadow: none;
  background: transparent;
  justify-content: center;
  align-items: center;
  display: flex !important;
  width: 100% !important;
}

.blog-section .swiper-slide.coming-soon-slide .coming-soon-message {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.blog-section .swiper-slide.coming-soon-slide .coming-soon-text {
  margin: 0;
}

.coming-soon-text {
  font-size: 24px;
}

/* バナースライダー画像の統一 */
.banner-swiper-pc .swiper-slide {
  width: 240px;
  height: 240px;
  overflow: hidden;
}

.banner-swiper-pc .swiper-slide img {
  width: 240px;
  height: 240px;
  object-fit: cover; /* アスペクト比を保ちつつ、指定サイズに収める */
  object-position: center; /* 中央を基準にクロップ */
}

.blog-slide-link {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.blog-slide-link img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-date {
  display: inline-block;
  color: #b32223;
  font-size: 20px;
  font-weight: 700;
  margin: 10px 10px 0 10px;
}

.blog-badge {
  display: inline-block;
  color: #b32223;
  border: 1px solid #b32223;
  border-radius: 999px;
  padding: 2px 20px;
  margin-left: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  background-color: #f5f5f5;
}

.blog-message {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 30px;
  margin: 0 10px 12px 6px;
  padding-top: 14px;
  min-height: 64px;

  /* Figma破線 */
  border: none;
  background: linear-gradient(to bottom, transparent, transparent),
    repeating-linear-gradient(
      to right,
      #b32223,
      #b32223 8px,
      transparent 8px,
      transparent 16px
    );
  background-repeat: repeat-x;
  background-size: 100% 1px; /* 線の高さ 1px */
  background-position: top;
}

.swiper-pagination-bullet {
  background-color: #b32223;
}

/* スライダーナビゲーションボタン（PC版） */
.swiper-button-prev,
.swiper-button-next {
  color: #7c7c7c !important;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  width: 36px !important;
  height: 36px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px !important;
  color: #7c7c7c !important;
  font-weight: bold;
}
.swiper-button-next,
.swiper-button-prev {
  svg {
    width: 11 !important;
  }
}

@media screen and (max-width: 768px) {
  .blog-slide-title {
    font-size: 16px;
    font-weight: 700;
    border-top: 2px dashed #b32223;
    padding-top: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
    line-height: 24px;
  }
  .blog-date {
    font-size: 16px;
    font-weight: 700;
  }
  .blog-badge {
    font-size: 14px;
    margin-top: 12px;
  }
  #blog-sp .blog-slide-link {
    text-align: left; /* 親要素の中央寄せを上書き */
  }

  #blog-sp .blog-date,
  #blog-sp .blog-badge {
    display: inline-block;
    margin-left: 0;
    vertical-align: middle;
  }
}
.repair-slide-link {
  text-decoration: none; /* アンダーライン削除 */
  color: inherit; /* テキスト色も親要素に合わせる */
}

.repair-slide-link:hover {
  text-decoration: none; /* ホバー時も消す */
}

@media screen and (max-width: 768px) {
  #repair-sp .swiper-slide {
    width: 100%;
  }
  #repair-sp .service-swiper img {
    width: 50%;
    height: 232px;
  }
  #repair-sp .banner-button-wrap {
    margin-bottom: 50px;
  }
  .info-item a {
    gap: 10px;
  }
  .info-meta-top {
    gap: 20px;
  }
  .header-section-sp {
    padding: 30px 20px 20px;
  }
  .clip {
    width: 39px !important;
    height: 57px !important;
    top: -47px !important;
  }
  #repair-sp .header-section-sp {
    padding-bottom: 0;
  }
  #repair-sp .service-swiper {
    padding-top: 20px;
  }
  #about-sp .service-text-sp {
    margin-bottom: 25px;
  }
  #about-sp {
    padding-bottom: 25px;
  }

  #reason-sp .header-section-sp {
    padding-bottom: 0;
  }
  .info-section {
    padding-bottom: 0;
  }
  #info .section-title {
    margin-bottom: 25px;
  }
  #info .section-subtitle {
    margin-top: 0;
    margin-bottom: 0;
  }
  .info-item {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .info-thumb {
    width: 80px;
    height: 80px;
  }
  #info .banner-button-wrap-sp {
    margin-top: 25px;
  }
  #blog-sp .header-section-sp {
    padding-bottom: 15px;
  }
  .blog-date {
    margin: 0;
  }
  .blog-badge {
    margin: 2px 0 0;
  }
  .blog-data {
    margin-top: 15px;
    margin-bottom: 3px;
  }
  .store-search-button {
    width: 280px;
    margin-top: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    height: 50px;
  }
  .search-icon-background {
    width: 40px;
    height: 40px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    color: #7c7c7c !important;
    width: 6px !important;
    height: 12px !important;
    background-color: rgba(255, 255, 255, 0.8); /* #FFFFFF 80% */
    border-radius: 50%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
  .swiper-navigation-icon {
    width: 11px !important;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 16px !important;
    color: #7c7c7c !important;
    font-weight: bold;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
  }
  .shop-search-box {
    margin-left: 24px;
    margin-right: 24px;
  }
  .banner-button-wrap-search .more-button-search {
    max-width: 360px;
  }
}
