﻿@charset "UTF-8";

.mod-specialtyMedia {
  margin-bottom: 40px;
}

#repair-info ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 24px;
}

#repair-info li {
  width: calc((100% - 60px) / 3);
  max-width: 460px;
  flex-direction: column;
  /* flex-grow: 1; */
}

#repair-info li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px 30px;
  color: #000;
  background-color: #fff;
  border: 1px solid #DEDEDE;
}

#repair-info li h3 {
  width: 100%;
  margin-top: 40px;
  font-weight: 700;
  text-align: center;
}

#repair-info li:nth-child(3n+2),
#repair-info li:nth-child(3n+3) {
  margin-left: 30px;
}

#repair-info li .img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#repair-info li p {
  width: 100%;
}

@media (max-width: 768px) {
  #repair-info ul {
    margin-top: 4.673vw;
  }

  #repair-info li {
    width: calc((100% - 1.869vw) / 2);
  }

  #repair-info li a {
    padding: 20px 1em 25px;
  }

  #repair-info li h3 {
    margin-top: 3.738vw;
    font-weight: 700;
    font-size: clamp(12px, 3.7vw, 24px);
    text-align: center;
    margin-top: 20px;
  }

  #repair-info li:nth-child(even) {
    margin-left: 1.869vw;
  }

  #repair-info li:nth-child(n+3) {
    margin-top: 5.14vw;
    margin-left: 0;
  }
}


/* ============================================================
   かんたん修理お申込み STEP UI
   ============================================================ */

.rsw-container {}

.rsw-heading {
  font-weight: bold;
  margin: 0 0 12px;
  border-left: 4px solid #ffe100;
  padding-left: 10px;
}

.rsw-intro {}

.rsw {
  margin: 20px 0 40px;
}

.rsw .rsw-step {
  margin-bottom: 10px;
  scroll-margin-top: 80px;
}

/* --- Step見出しバー --- */
.rsw .rsw-step__head {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #000;
  color: #fff;
  padding: 10px 40px 10px 12px;
  position: relative;
}

.rsw .rsw-step__label {
  background: #fff;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  padding: 7px 14px;
  white-space: nowrap;
}

.rsw .rsw-step__title {
  font-weight: bold;
  font-size: 20px;
}

.rsw .rsw-step__head::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-75%) rotate(135deg);
}

/* 下向き */

/* --- 非アクティブ状態 --- */
.rsw .rsw-step.is-disabled .rsw-step__head {
  background: #b5b5b5;
}

.rsw .rsw-step.is-disabled .rsw-step__label {
  background: #fff;
}

.rsw .rsw-step.is-disabled .rsw-step__head::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 右向き */
.rsw .rsw-step.is-disabled .rsw-step__body {
  display: none;
}

/* --- Step本文 --- */
.rsw .rsw-step__body {
  border: 1px solid #DEDEDE;
  border-top: none;
  padding: 20px;
  background: #fff;
}

.rsw .rsw-note {
  margin-bottom: 16px;
}

.rsw .rsw-note p {}

.rsw .rsw-smallnote {
  color: #555;
  line-height: 1.8;
  margin: 12px 0 4px;
}

/* --- 選択肢ボタン --- */
.rsw .rsw-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.rsw .rsw-choices>li {
  flex: 1 1 calc(33.333% - 10px);
  min-width: 200px;
  display: flex;
}

.rsw .rsw-choice {
  position: relative;
  text-decoration: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 30px 12px 14px;
  color: #000;
  background: #fff;
  border: 1px solid #DEDEDE;
  font-weight: bold;
  font-size: 16px;
  transition: border-color .2s, background .2s;
}

.rsw .rsw-choice::after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-block;
  text-decoration: none !important;
  vertical-align: top;
  line-height: 1;
  font-family: FontAwesome;
  transform: translateY(-50%);
}

/* ページ内遷移（data-next）の選択肢は下向き矢印 */
.rsw .rsw-choice[data-next]::after {
  content: "\f107";
}

.rsw .rsw-choice:hover {
  border-color: #333;
}

.rsw .rsw-choice.is-selected {
  background: #ffe100;
  border-color: #ffe100;
}

/* --- 会員特典などの説明ボックス --- */
.rsw .rsw-info {
  border: 1px solid #DEDEDE;
  background: #f5f5f5;
  padding: 16px;
  margin-bottom: 15px;
}

.rsw .rsw-info__title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 30px;
}

.rsw .rsw-info p {}

.rsw .rsw-info p:last-of-type {
  /* margin-bottom: 0; */
}

/* --- 注意書きボックス（▲マーク案内など） --- */
.rsw .rsw-attention {
  border: 1px solid #DEDEDE;
  background: #f5f5f5;
  padding: 12px 16px;
  margin: 0 0 16px;
}

.rsw .rsw-attention dt {
  font-weight: bold;
  margin-bottom: 4px;
}

/* --- 掲載されていない場合の案内 --- */
.rsw .rsw-alert {
  border: 2px solid #ffe100;
  padding: 20px;
  margin-bottom: 10px;
  scroll-margin-top: 80px;
}

.rsw .rsw-alert p {}

.rsw [hidden] {
  display: none !important;
}

/* --- スマートフォン幅 --- */
@media (max-width: 768px) {
  .rsw .rsw-choices>li {
    flex-basis: 100%;
  }

  .rsw .rsw-step__title {
    font-size: 18px;
  }

  .rsw .rsw-step__label {
    font-size: 14px;
  }

  .rsw .rsw-info__title {
    font-size: 18px;
    margin-bottom: 20px;
  }
}