/* ==========================================================================
   service-section / タブ（service-section, service-tab-*, service-panel）
   ========================================================================== */

/* 洗車・コーティング おすすめセクション */
.service-section {
  width: 100%;
  background: rgba(247, 255, 247, 1);
}

/* タブバー */
.service-tab-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.service-tab-bar.is-fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 960px;
}

.service-tab-bar-placeholder {
  display: none;
  height: 48px;
  width: 100%;
}

.service-tab-bar-placeholder.is-active {
  display: block;
}

.service-tab-btn {
  flex: 1 1 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #b6b6b6;
  font-weight: 700;
  font-size: var(--font-text-ll);
  background: #eee;
  color: #686868;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.service-tab-btn.is-active {
  background: #047205;
  color: #fff;
}

.service-tab-arrow {
  width: 7px;
  height: 6px;
}

/* パネル */
.service-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.service-panel.is-active {
  display: flex;
}

@media (min-width: 769px) {
  .service-tab-bar-placeholder.is-active {
    height: 64px;
  }

  .service-tab-btn {
    height: 48px;
  }

  .service-tab-arrow {
    width: 10px;
    height: 9px;
  }

  .service-panel {
    padding: 40px 16px;
    gap: 32px;
  }
}


/* ==========================================================================
   service-intro（service-intro__*）
   ========================================================================== */

/* イントロ */
.service-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.service-intro__note {
  color: #4d4d4d;
  font-weight: bold;
  font-size: var(--font-text-m);
  letter-spacing: 0.42px;
  font-family: var(--font-ud-shinmaru);
}

.service-intro__row {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

.service-intro__heading {
  color: var(--coating-green);
  font-weight: 700;
  font-size: var(--font-h2);
  line-height: 130%;
}

/* アクセント飾り（未使用） */
/* .service-accent {
  position: relative;
  width: 26px;
  height: 21px;
  flex-shrink: 0;
}

.service-accent span {
  position: absolute;
  width: 15px;
  height: 2px;
} */

@media (min-width: 769px) {
  .service-intro {
    max-width: 672px;
  }

  .service-intro__note {
    font-size: 18px;
  }

  .service-intro__row {
    gap: 16px;
  }

  /* .service-accent {
    width: 36px;
    height: 29px;
  } */

  .service-intro__heading {
    font-size: 24px;
  }
}


/* ==========================================================================
   searchArea（searchArea_*, discount-card, keeper-card等）
   ========================================================================== */

.serviceArea {
  max-width: var(--max-width-680);
  margin: 0 auto;
  gap: 12px;
}

/* .serviceArea h3 {
  max-width: 430px;
  margin: 0 auto;
} */

/* ==========================================================================
   6. Search Area Section
   ========================================================================== */

.searchArea {
  background-color: var(--bg-coating);
}

/* .searchArea_title {
    align-items: end;
    margin: 0;
    padding-top: 32px;
    justify-content: center;
} */

/* .searchArea_note {
    color: var(--black);
    text-align: center;
} */

.searchArea_inner {
  text-align: center;
  padding-bottom: 32px;
}

/* .searchArea-contenr_inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
} */

.inner-coating {
  background-color: var(--bg-coating);
}



.searchArea_discount,
.searchArea_post,
.searchArea_brand {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.searchArea_brand_bottom {
  padding-top: 11px;
}

/* .searchArea_brand_carwash {
    width: 100%;
} */

.searchArea_discount {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
}

.searchArea-discount_sub {
  display: flex;
  height: 26px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  text-align: center;
  color: var(--black);
  margin: 0;
  padding: 0 16px;
}

.searchArea_discount_inner,
.searchArea_brand_inner {
  /* 内部の最大幅を共通化 */
  width: 100%;
}

.searchArea_brand_top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  /* 不要なflexプロパティは削除 */
  justify-content: center;
}

.searchArea-container_inner {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Card Styles (discount-card, keeper-card, otherkeeper-cardで共通化) */
.discount-card,
.keeper-card,
.otherkeeper-card {
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid var(--border-gray);
  box-shadow: 1.25px 2.25px 1.5px 0 var(--shadow-color);
  position: relative;
  background-color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.discount-card {
  width: 100%;
}

.discount-card:hover,
.keeper-card:hover,
.otherkeeper-card:hover {
  transform: translateY(3px);
  box-shadow: none;
  border: 1px solid #EDE9E9;
  /* ホバー時のボーダー色を統一 */
}

/* .shopArea_card:hover {
    transform: translateY(3px);
    box-shadow: none;
} */

/* Discount Card Specifics */
.arrow-container {
  position: absolute;
  right: 7px;
  bottom: 4px;
}

.discount-arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}

/* Discount Card Color Overrides */
/* .discount-card--red .discount-arrow path {
  fill: var(--crimson-red);
} */

.discount-card--green .discount-arrow path {
  fill: var(--coating-green);
}

.discount-card--blue .discount-arrow path {
  fill: var(--carwash-blue);
}

.discount-card--gray .discount-arrow path {
  fill: #4D4D4D;
}

/* 特定の色 */


/* .all-sale-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
} */

.per-img {
  display: block;
  width: auto;
  height: 42px;
}

/* Keeper Card Specifics */
.keeper-img {
  width: 136px;
  height: auto;
  /* 画像の縦横比を維持 */
}

.keeper-card_text {
  font-size: 13px;
  padding-bottom: 4px;
}

.keeper-card_text:last-child {
  padding-bottom: 0px;
}

/* Other Keeper Card Specifics */
.otherkeeper-card {
  padding: 12px 0;
  width: 100%;
}

/* Search Area Forms */
.d-flex {
  /* 検索フォームのFlexbox設定 */
  display: flex;
  justify-content: center;
}

.rc-input {
  width: calc(100% - 100px) !important;
  margin-right: 3px;
  height: auto;
}

.rc-input input,
.carwash-under-search-postal__btnwrap .rc-btn {
  border-radius: 4px !important;
  font-size: 13px !important;
  width: 100%;
}

.carwash-under-search-postal-img {
  width: 20px;
  height: auto;
}

/* Responsive Adjustments for Search Area */
@media (min-width: 768px) {
  /* .balloon {
        max-width: 680px;
    } */

  .searchArea_discount {
    padding: 16px 0;
  }

  .discount-card {
    width: 100%;
    max-width: none;
  }

  .per-img {
    display: block;
  }
}

@media (min-width: 992px) {
  .searchArea_brand_top {
    width: 100%;
    justify-content: center;
    gap: 11px;
  }

  .discount-card {
    min-width: 150px;
  }
}

@media (max-width: 375px) {
  .keeper-card_text {
    font-size: 12px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

  .discount-card,
  .keeper-card,
  .otherkeeper-card {
    transition: none;
  }
}

.discount-card:focus,
.keeper-card:focus,
.otherkeeper-card:focus {
  /* フォーカススタイルを共通化 */
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.discount-card:focus:not(:focus-visible),
.keeper-card:focus:not(:focus-visible),
.otherkeeper-card:focus:not(:focus-visible) {
  /* フォーカススタイルを共通化 */
  outline: none;
}

/* @media (min-width: 768px) {
    .searchArea-contenr_inner {
        gap: 32px;
    }
} */


/* ==========================================================================
   recommendArea（recommendArea_*, serviceArea）
   ========================================================================== */

/* カードラッパー */
.recommendArea {
  width: 100%;
}

.recommendArea_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0px;
  gap: 12px;
}

/* バナー */
.recommendArea_heading {
  justify-content: center;
  width: 100%;
}

/* .service-banner {
  justify-content: center;
  width: 100%;
} */

/* カード（未使用） */
/* .recommendArea_cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
} */

.recommendArea_card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid var(--border-gray);
  background: #fff;
  box-shadow: 1.25px 2.25px 1.5px 0 var(--shadow-color);
  padding: 12px;
}

.recommendArea_card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.recommendArea_card__num {
  color: #047205;
  font-weight: 600;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -1.88px;
  flex-shrink: 0;
}

.recommendArea_card__title {
  color: #333;
  font-weight: 600;
  font-size: var(--font-text-l);
  line-height: 120%;
  text-align: left;
}

.recommendArea_card__body-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.recommendArea_card__body {
  flex: 1 1 0;
  color: #000;
  font-size: var(--font-text-m);
  line-height: 130%;
}

.recommendArea_card__img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .recommendArea_inner {
    max-width: 768px;
  }

  .recommendArea_card {
    /* max-width: 576px; */
    padding: 16px;
  }

  .recommendArea_card__head {
    gap: 16px;
  }

  .recommendArea_card__num {
    font-size: 60px;
  }

  .recommendArea_card__img {
    height: 80px;
  }
}


/* ==========================================================================
   exampleArea（exampleArea_*）
   ========================================================================== */

.exampleArea_img {
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 0px;
}



/* ==========================================================================
   menuArea
   ========================================================================== */

.menuArea_body {
  padding-top: 24px;
  max-width: 680px;
  margin: 0 auto;
}


.menuArea_content_1 {
  width: 100%;
  margin: 0 auto;
  max-width: 680px;
  padding: 0px 0px 12px 0px;
}


