.test {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-color: #f2f2f2;
}
.test h1 {
  font-size: 30px;
}
.breadcrumb {
  display: flex;
  font-weight: 400;
  font-size: 12px;
}
.breadcrumb li + li::before {
  content: ">";
  padding-inline: 0.5em;
}
@media (max-width: 480px) {
  .breadcrumb {
    display: none;
  }
}
.contents {
  padding-block: 30px;
}
.contents section {
  margin-bottom: 30px;
}
section.lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
section.lead h2 {
  font-weight: 500;
}
section.lead .txt {
  max-width: 950px;
}
section.lead p {
  margin-bottom: 0.5em;
}
.indent {
  margin-bottom: 30px;
}
h2.secTtl {
  border-radius: 8px;
  overflow: hidden;
  background-color: #f4f4f4;
  border-left: 10px solid var(--main-color);
  margin-bottom: 1em;
  padding: 0.7em;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.5em;
}
h2.secTtl span {
  font-size: 75%;
}
h3.secTtl {
  background-color: #f4f4f4;
  padding: 0.5em;
  margin-bottom: 1em;
}
.more {
  display: flex;
  flex-direction: column;
  height: 4em;
}
.more a {
  flex-grow: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
  border-radius: 99px;
  background-color: #000;
  color: #ffff00;
}
ul.img3_1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footShop {
  background-image: linear-gradient(#d9e021 0% 70%, #fff 70% 100%);
  width: 100%;
  padding-top: 50px;
}
.footShop h3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footShop ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 30px;
}
.footShop ul li a {
  display: block;
  padding-block: 15px;
  padding-right: 45px;
  background-image: url(../image/arrow01.png);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 30px auto;
}
.footShop .toi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}
.footShop .toi a {
  flex-basis: 950px;
}
ul.disc,
ol.decimal {
  margin-left: 1.5em;
  list-style-position: outside;
}
ul.disc li {
  list-style-type: disc;
}
ul.decimal li {
  list-style-type: decimal;
}
@media (max-width: 480px) {
  .footShop {
    display: none;
  }
}

@media (max-width: 767px) {
  .contents section {
    padding-inline: 15px;
  }
}
@media (min-width: 768px) {
  .breadcrumb {
    width: 95%;
    max-width: 1200px;
    margin-inline: auto;
  }
  .contents {
    width: 95%;
    max-width: 1200px;
    margin-inline: auto;
    padding-block: 50px;
  }
  .contents section {
    margin-bottom: 80px;
  }
  .indent {
    padding-inline: 30px;
  }
  .lead {
    gap: 1em;
  }
  h2.secTtl {
    padding: 1em 1.2em;
    border-left-width: 20px;
  }
  ul.img3_1 {
    flex-direction: row;
    flex-wrap: wrap;
  }
  ul.img3_1 > li {
    flex-basis: calc(33.3% - 10px);
  }
}
/* サービスページ*/
.service .menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}
.service .menu .txt {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.service .menu .txt .more {
  margin-top: auto;
}
.service .menu2 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.service .menu2 > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.service .menu2 > div h2.secTtl {
  width: 100%;
}
@media (min-width: 768px) {
  .service .menu {
    flex-direction: row;
    gap: 30px;
  }
  .service .menu > div {
    flex-basis: calc(50% - 15px);
  }
  .service .menu2 {
    flex-direction: row;
    gap: 30px;
  }
  .service .menu2 > div {
    flex-basis: calc(50% - 15px);
  }
}

/*カーケア*/
.care h2.imgTtl {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.care .secWrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.care .secWrap .txt p {
  margin-bottom: 1em;
}
.care .secWrap .txt dl dt::before {
  content: "■";
  margin-right: 0.5em;
  color: var(--main-color);
}
.care .secWrap .txt dl dd {
  font-weight: 400;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.care .notice {
  margin-block: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.care .subMenu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.care .subMenu > div {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.care .subMenu > div h3 {
  background-color: var(--main-color);
  padding: 1em;
}
.care .subMenu > div .more {
  margin-top: auto;
}
@media (min-width: 768px) {
  .care .secWrap {
    flex-direction: row;
    gap: 30px;
  }
  .care .secWrap > div {
    flex-basis: calc(50% - 15px);
  }
  .care .subMenu {
    flex-direction: row;
    gap: 30px;
  }
  .care .subMenu > div {
    flex-basis: calc(33.3% - 10px);
  }
}
/* 鈑金（カーコン） */
.bankin .banSec p {
  margin-bottom: 1em;
}
.bankin .notice {
  margin-block: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bankin .tokucho {
  max-width: 1000px;
  margin-inline: auto;
}
.bankin .tokucho dt {
  background-color: #f4f4f4;
  padding: 0.5em;
  font-size: clamp(16px, 3vw, 24px);
}
.bankin .tokucho dd {
  padding: 8px 8px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bankin .tokucho dd .img {
  text-align: center;
}
.bankin .tokucho dd a.link {
  display: inline-block;
  margin-inline: 4px;
  padding-inline: 0.5em;
  background: linear-gradient(transparent 50%, rgba(217, 224, 33, 0.5) 50%);
}
.bankin .price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}
.bankin .visit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.bankin .visit h2.secTtl {
  width: 100%;
}
@media (min-width: 768px) {
  .bankin .price {
    flex-direction: row;
  }
  .bankin .tokucho dd {
    padding: 15px 15px 30px;
    flex-direction: row;
    justify-content: space-between;
  }
  .bankin .tokucho dd .img img {
    max-width: 400px;
  }
  .bankin .tokucho dd.column {
    flex-direction: column;
  }
}
/* プライバシーポリシー */
.privacy .sign {
  display: flex;
  justify-content: flex-end;
}
.privacy section h3,
.privacy section p {
  margin-block: 0.5em;
}
.privacy section ul li {
  line-height: 2.5;
}
/* 事例一覧 */
.repairnavi .pager {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-block: 15px;
}
.repairnavi .btm_pager {
  display: flex;
  justify-content: center;
  margin-block: 15px;
}
.repairnavi .nextprev {
  display: flex;
  align-items: center;
  gap: 1px;
}
.repairnavi .nextprev a,
.repairnavi .nextprev span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 30px;
}
.repairnavi .nextprev a {
  border: 1px solid #ccc;
}
.repairnavi .nextprev span {
  border: 1px solid #f2f2f2;
  background-color: #f2f2f2;
  color: #999;
}
.repairnavi .produced {
  text-align: right;
}
.repairnavi .list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 4px;
}
.repairnavi .list > div {
  flex-basis: calc(50% - 4px);
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
}
.repairnavi .list > div > a {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.repairnavi .list > div > a h4,
.repairnavi .list > div > a p {
  font-size: 14px;
}
.repairnavi .list > div > a .link {
  margin-top: auto;
  align-self: flex-end;
  display: block;
  padding: 0 0.5em;
  font-size: 80%;
  background-color: #449d44;
  color: #fff;
}
@media (min-width: 768px) {
  .repairnavi .pager {
    flex-direction: row;
    justify-content: space-between;
  }
  .repairnavi .nextprev a:hover {
    background-color: var(--main-color);
    color: #000;
  }
  .repairnavi .list {
    gap: 30px;
  }
  .repairnavi .list > div {
    flex-basis: calc(25% - 22.5px);
  }
  .repairnavi .list > div a:hover {
    background-color: rgba(55, 55, 55, 0.05);
  }
  .repairnavi .list > div > a h4,
  .repairnavi .list > div > a p {
    font-size: 16px;
  }
}
/* 事例詳細 */
.repairnavi .detail .gaiyo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.repairnavi .detail .gaiyo > dl dt::before {
  content: "■";
  color: var(--main-color);
  margin-right: 0.5em;
}
.repairnavi .detail .photoBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}
.repairnavi .detail .tagArea {
  margin-block: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em 5px;
}
.repairnavi .detail .tagArea li a {
  display: block;
  padding: 0 1em;
  background-color: #f2f2f3;
  border-radius: 99px;
}
.repairnavi .detail .prev-next {
  margin-block: 30px;
  display: flex;
  justify-content: space-around;
  gap: 8px;
  align-items: center;
}
.repairnavi .detail .prev-next li {
  flex: 1;
  height: 50px;
  display: flex;
  flex-direction: column;
}
.repairnavi .detail .prev-next li a {
  width: 100%;
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
}

@media (max-width: 767px) {
  .repairnavi .detail .gaiyo > dl dd {
    padding-left: 1.5em;
    margin-bottom: 1em;
  }
}
@media (min-width: 768px) {
  .repairnavi .detail .gaiyo {
    flex-direction: row;
    gap: 30px;
    margin-bottom: 30px;
  }
  .repairnavi .detail .gaiyo > dl {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
  }
  .repairnavi .detail .gaiyo > dl dt {
    flex-basis: 200px;
    padding: 8px;
    border-bottom: 1px dotted #999;
  }
  .repairnavi .detail .gaiyo > dl dd {
    flex-basis: calc(100% - 200px);
    padding: 8px;
    border-bottom: 1px dotted #999;
  }
  .repairnavi .detail .photoBox {
    gap: 50px;
  }
  .repairnavi .detail .prev-next {
    width: 80%;
    margin-inline: auto;
    gap: 100px;
  }
}
/* 車検 */
.syaken section.lead p {
  margin-bottom: 1.5em;
}
.syaken tr.total th,
.syaken tr.total td {
  background-color: #dff0d8;
}
.syaken .tuite dl {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.syaken .tuite dl dd {
  font-weight: 400;
}
.syaken .bnr {
  max-width: 900px;
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  .syaken .tuite dl {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }
  .syaken .tuite dl dt {
    flex-basis: 200px;
  }
  .syaken .tuite dl dd {
    flex-basis: 670px;
  }
  .syaken .bnr {
    flex-direction: row;
    gap: 30px;
    margin-block: 30px;
  }
  .syaken .bnr > div {
    flex: 1 1 50%;
  }
}
@media screen and (min-width: 768px) {
  .price_table_sp {
    display: none;
  }
  .price_table_pc table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .price_table_pc th,
  .price_table_pc td {
    padding: 14px 10px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
  }

  .price_table_pc th {
    background: #f7f7f7;
    font-weight: bold;
  }

  .price_table_pc .syasyu th {
    background: #f5f5f5;
  }

  .price_table_pc .total th,
  .price_table_pc .total td {
    background: #fafafa;
    font-weight: bold;
    font-size: 1.1em;
  }
}
@media screen and (max-width: 767px) {
  .price_table_pc {
    display: none;
  }

  .price_card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background: #fff;
  }

  .price_card h3 {
    margin: 0;
    padding: 12px 15px;
    background: #f5f5f5;
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
  }

  .price_card dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }

  .price_card dt,
  .price_card dd {
    box-sizing: border-box;
    width: 50%;
    margin: 0;
    padding: 10px 12px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.5;
  }

  .price_card dt {
    background: #fafafa;
    font-weight: bold;
  }

  .price_card dd {
    text-align: right;
  }

  .price_card dt.total,
  .price_card dd.total {
    background: #fff3f3;
    font-weight: bold;
    font-size: 17px;
  }
}

/* 問合せ入力ページ */
.toiawase .index .link {
  text-align: right;
}
.toiawase .index .link a {
  display: inline-block;
  padding: 0 1em;
  background-color: #449d44;
  color: #fff;
}
.toiawase .index dt span {
  display: inline-block;
  font-size: 70%;
  padding: 1px 1em;
  margin-left: 0.5em;
  border-radius: 99px;
  border: 1px solid #f00;
  color: #f00;
}
.toiawase .index dl {
  max-width: 760px;
  margin: 15px auto;
}
.toiawase .index dt {
  background-color: #f4f4f4;
  padding: 15px;
}
.toiawase .index dd {
  padding: 15px 15px 15px 30px;
}
@media (min-width: 768px) {
}
/* 問合せOKページ */
.toiawase .toi_ok {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 496px);
}
@media (min-width: 768px) {
  .toiawase .toi_ok {
    min-height: calc(100vh - 611px);
  }
}
/* サイトマップ */
.sitemap .index ul {
  margin-left: 1em;
  padding: 0.5em;
}

.sitemap .index ul li span,
.sitemap .index ul li a {
  display: block;
  padding: 1em;
  border-bottom: 1px dotted #ccc;
}
.sitemap .index ul li a:hover {
  background-color: rgba(55, 55, 55, 0.1);
}
