/* =========================================================
   共通：固定ページ
   style.css は変更しない
   ========================================================= */

.page-content{
  padding:0 0 40px;
}

.page-shell{
  background:#fff;
  border-left:1px solid #e5e5e5;
  border-right:1px solid #e5e5e5;
}

.breadcrumb{
  margin:0;
  padding:12px 18px;
  border-bottom:1px solid #e5e5e5;
  background:#fff;
  color:#666;
  font-size:13px;
}

.breadcrumb a{
  color:#356a94;
  text-decoration:none;
}

.breadcrumb a:hover{
  text-decoration:underline;
}

.page-title-band{
  margin:0;
  padding:0;
  background:#f6f6f6;
  border-bottom:9px solid #c90000;
}

.page-h1{
  margin:0;
  padding:18px 28px 17px;
  color:#222;
  font-size:24px;
  line-height:1.35;
  font-weight:700;
}

.page-body{
  padding:22px 28px 28px;
}

.subheading{
  margin:24px 0 15px;
  padding:6px 0 6px 11px;
  border-left:5px solid #555;
  font-size:18px;
  line-height:1.5;
  font-weight:700;
  color:#222;
}

.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.backtotop{
  text-align:right;
}

/* =========================================================
   取扱い商品・サービス
   ========================================================= */

.service-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin:0;
  padding:0 0 10px;
  border-bottom:1px dotted #aaa;
}

.service-item + .service-item{
  padding-top:18px;
}

.service-item-text{
  flex:1 1 auto;
  min-width:0;
}

.service-item-heading{
  margin:0 0 7px;
  padding:1px 0 1px 9px;
  border-left:6px solid #ef1111;
  color:#222;
  font-size:20px;
  line-height:1.35;
  font-weight:700;
}

.service-item-text p{
  margin:0;
  color:#222;
  font-size:14px;
  line-height:1.8;
}

.service-item-image{
  flex:0 0 150px;
  width:150px;
}

.service-item-photo{
  display:block;
  width:150px;
  height:auto;
  padding:2px;
  border:1px solid #aaa;
  background:#fff;
}

/* =========================================================
   車検・メンテナンス
   ========================================================= */

.maintenance-features{
  margin:0;
}

.maintenance-feature{
  margin:0 0 18px;
  padding:15px 14px 18px;
  border:1px solid #ccc;
  border-radius:5px;
  background:#fff;
}

.maintenance-feature:last-child{
  margin-bottom:0;
}

.maintenance-feature-title{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 0 8px;
}

.maintenance-feature .feature-lead{
  margin:2px 8px 12px;
  color:#ff3a00;
  font-size:16px;
  line-height:1.7;
  font-weight:700;
}

.maintenance-feature p{
  margin:0 8px;
  color:#222;
  font-size:14px;
  line-height:1.8;
}

.maintenance-note{
  color:#666;
  font-size:13px;
}

/* =========================================================
   ロータス・スマイル車検料金表
   ========================================================= */

.price-table{
  width:100%;
  min-width:760px;
  margin:0;
  border-collapse:collapse;
  background:#fff;
  font-size:14px;
}

.price-table th,
.price-table td{
  padding:9px 10px;
  border:1px solid #c7c7c7;
  vertical-align:middle;
}

.price-table thead th{
  background:#dfe2dc;
  text-align:center;
  font-weight:700;
}

.price-table tbody th{
  background:#f3f0c9;
  font-weight:400;
}

.price-table td.price{
  white-space:nowrap;
  text-align:right;
}

.price-table .course-name{
  background:#fff;
  color:#d70000;
  text-align:left;
  font-weight:700;
  line-height:1.55;
}

.price-table .course-name small{
  color:#222;
  font-size:12px;
  font-weight:400;
}

.notes{
  margin:10px 0 22px;
  color:#222;
  font-size:13px;
  line-height:1.7;
}

.ryokin-title-image{
  margin:18px 0 12px;
}

.ryokin-title-image img{
  display:block;
  max-width:100%;
  height:auto;
}

.check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.check-grid img{
  display:block;
  width:100%;
  height:auto;
}

/* =========================================================
   会社案内
   ========================================================= */

.company-lead,
.company-text{
  margin:0 0 20px;
  line-height:1.9;
}

.company-table{
  width:100%;
  margin:0 0 25px;
  border-collapse:collapse;
  background:#fff;
}

.company-table th,
.company-table td{
  padding:10px 12px;
  border:1px solid #ccc;
  text-align:left;
  vertical-align:top;
}

.company-table th{
  width:160px;
  background:#f5f5f5;
  font-weight:700;
}

.access-box{
  padding:16px 18px;
  border:1px solid #ddd;
  background:#fafafa;
  line-height:1.8;
}

.access-box p{
  margin:0 0 10px;
}

.access-box p:last-child{
  margin-bottom:0;
}

.map-link{
  display:inline-block;
  font-weight:700;
}

/* =========================================================
   お問い合わせ
   ========================================================= */

.contact-intro{
  margin:0 0 24px;
  line-height:1.9;
}

.required-note{
  color:#666;
  font-size:13px;
}

.contact-errors{
  margin:0 0 22px;
  padding:12px 16px;
  border:1px solid #d9534f;
  border-radius:6px;
  background:#fff5f5;
  color:#b52b27;
}

.contact-errors ul{
  margin:0;
  padding-left:1.4em;
}

.contact-form{
  overflow:hidden;
  border:1px solid #d5d5d5;
  border-radius:5px;
  background:#fff;
}

.contact-row{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  border-bottom:1px solid #ddd;
}

.contact-row:last-of-type{
  border-bottom:1px solid #ddd;
}

.contact-row > label{
  padding:16px 18px;
  background:#f5f5f5;
  font-weight:700;
}

.contact-row > div{
  padding:13px 18px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width:100%;
  max-width:720px;
  padding:9px 11px;
  border:1px solid #c8c8c8;
  border-radius:3px;
  background:#fff;
  color:#222;
  font:inherit;
}

.contact-form textarea{
  min-height:220px;
  resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#777;
  outline:2px solid rgba(0,0,0,.08);
}

.required{
  display:inline-block;
  margin-left:6px;
  padding:1px 7px;
  border-radius:2px;
  background:#b90000;
  color:#fff;
  font-size:11px;
  font-weight:700;
  vertical-align:1px;
}

.contact-submit{
  padding:20px;
  text-align:center;
}

.contact-btn{
  display:inline-block;
  padding:10px 24px;
  border:0;
  border-radius:4px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.contact-btn-confirm,
.contact-btn-send{
  background:#b90000;
  color:#fff;
}

.contact-btn-back{
  background:#e7e7e7;
  color:#222;
}

.contact-btn:hover{
  opacity:.88;
}

.contact-confirm{
  overflow:hidden;
  border:1px solid #d5d5d5;
  border-radius:5px;
  background:#fff;
}

.contact-confirm dl{
  margin:0;
}

.contact-confirm dl > div{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  border-bottom:1px solid #ddd;
}

.contact-confirm dl > div:last-child{
  border-bottom:0;
}

.contact-confirm dt{
  padding:16px 18px;
  background:#f5f5f5;
  font-weight:700;
}

.contact-confirm dd{
  margin:0;
  padding:16px 18px;
  overflow-wrap:anywhere;
}

.contact-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:24px;
}

.contact-actions form{
  margin:0;
}

.contact-complete{
  padding:34px 28px;
  border:1px solid #d5d5d5;
  border-radius:5px;
  background:#fff;
  text-align:center;
}

.contact-complete h2{
  margin:0 0 16px;
  font-size:21px;
}

.contact-complete p{
  line-height:1.9;
}

.contact-home-link{
  display:inline-block;
  margin-top:10px;
  padding:9px 20px;
  border-radius:4px;
  background:#b90000;
  color:#fff;
  text-decoration:none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media(max-width:700px){
  .page-h1{
    padding:15px 18px 14px;
    font-size:21px;
  }

  .page-body{
    padding:18px;
  }

  .service-item{
    gap:14px;
  }

  .service-item-heading{
    font-size:18px;
  }

  .service-item-image{
    flex-basis:120px;
    width:120px;
  }

  .service-item-photo{
    width:120px;
  }

  .maintenance-feature{
    padding:14px 12px 16px;
  }

  .maintenance-feature .feature-lead,
  .maintenance-feature p{
    margin-left:0;
    margin-right:0;
  }

  .maintenance-feature .feature-lead{
    font-size:15px;
  }

  .company-table th{
    width:105px;
  }

  .contact-row,
  .contact-confirm dl > div{
    grid-template-columns:1fr;
  }

  .contact-row > label,
  .contact-confirm dt{
    padding:12px 14px;
  }

  .contact-row > div,
  .contact-confirm dd{
    padding:14px;
  }

  .contact-actions{
    flex-direction:column-reverse;
  }

  .contact-actions form,
  .contact-actions button{
    width:100%;
  }

  .check-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:520px){
  .service-item{
    display:block;
  }

  .service-item-image{
    width:auto;
    margin-top:12px;
  }

  .service-item-photo{
    width:150px;
    max-width:100%;
  }
}
