.quality{
  text-align: center;
  line-height: 1.8;
  margin: -20px 0 0;
}
img, iframe{
    margin: 0 auto;
}
.bnr{
    margin: 40px 0 0;
}
.top_wrap{
    background: #f7f7f7 url(/images/quality/img_quality_top.jpg) 50% -80px no-repeat;
}
.top{
    max-width: 970px;
    margin: 0 auto;
    position: relative;
    padding: 140px 0 0;
}
.top dl{
    margin: 320px 20px 0;
}
.top dl:after{
    content: ".";
    display: block;
    height: 0;
    font-size:0;
    clear: both;
    visibility:hidden;
}
.caption{
    text-align: center;
}
.caption .strong{
    color: #d70400;
    font-size: 45px;
    line-height: 1;
}
.caption p{
    font-size: 20px;
    color: #000;
    margin: 10px 0 0;
    line-height: 1.2;
}
.caption p span{
    color: #d70400;
}
.top dt{
    font-size: 24px;
    color: #333;
    border: 5px solid #1dabaf;
    margin: 0 0 30px;
    position: relative;
    background: rgba(255,255,255,0.8);
    border: 10px solid #1dabaf;
    padding: 30px 10px;
}
.top dt:after, .top dt:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.top dt:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 15px;
    margin-left: -15px;
}
.top dt:before {
    border-color: rgba(29, 171, 175, 0);
    border-top-color: #1dabaf;
    border-width: 29px;
    margin-left: -29px;
}
.top dd{
    font-size: 30px;
    width: 48%;
    text-align: left;
    position: relative;
    color: #000;
    padding: 5px;
    background: #ddd;
    margin: 0 0 20px;
}
.top dd div{
    padding: 20px 70px 20px 85px;
    line-height: 1;
}
.top dd:nth-child(2) div{
    background: #fff url(/images/quality/img_quality_icon01.png) no-repeat 10px 50%;
}
.top dd:nth-child(3) div{
    background: #fff url(/images/quality/img_quality_icon02.png) no-repeat 10px 50%;
}
.top dd:nth-child(4) div{
    background: #fff url(/images/quality/img_quality_icon03.png) no-repeat 10px 50%;
}
.top dd:nth-child(5) div{
    background: #fff url(/images/quality/img_quality_icon04.png) no-repeat 10px 50%;
}
.top dd:nth-child(odd){
    float: right;
}
.top dd:nth-child(even){
    float: left;
}
.top dd a{
    position: absolute;
    top: 50%;
    margin: -26px 0 0;
    right: 15px;
    font-size: 18px;
    color: #01b2b5;
    border: 1px solid #01b2b5;
    padding: 17px 0 15px;
    line-height: 1;
    width: 50px;
    text-align: center;
    -webkit-transition: .5s;
       -moz-transition: .5s;
        -ms-transition: .5s;
         -o-transition: .5s;
            transition: .5s;
}
.top dd a:hover{
    background: #01b2b5;
    color: #fff;
    text-decoration: none;
}
.wrap_title{
    margin: 0 0 30px;
    padding: 40px 0 0;
}
.title_section{
    font-size: 50px;
    color: #00B2B4;
    text-align: left;
    position: relative;
    background: rgba(255,255,255,0.8);
    border: 5px solid #ddd;
    padding: 5px 0 5px 90px;
    box-sizing: border-box;
    z-index: 10;
}
.title_section:after, .title_section:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.title_section:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 10px;
    margin-left: -10px;
}
.title_section:before {
    border-color: rgba(29, 171, 175, 0);
    border-top-color: #ddd;
    border-width: 17px;
    margin-left: -17px;
}

#big3 .title_section{
    background: #fff url(/images/quality/img_quality_icon01.png) no-repeat 10px 50%;
}
#finish .title_section{
    background: #fff url(/images/quality/img_quality_icon02.png) no-repeat 10px 50%;
}
#inspection .title_section{
    background: #fff url(/images/quality/img_quality_icon03.png) no-repeat 10px 50%;
}
#option .title_section{
    background: #fff url(/images/quality/img_quality_icon04.png) no-repeat 10px 50%;
}
.art{
    margin: -30px 0 0;
}
.title_sub{
    margin: 20px 0 0;
    position: relative;
}
.title_sub .icon_waranty{
  background: url(/images/quality/icon_hoshou.png) no-repeat;
  position: absolute;
  top: 0;
  left: -14px;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
  padding: 25px 0;
  text-align: center;
  font-size: 18px;
  width: 108px;
}
.title_sub .icon_waranty span{
  display: block;
  font-size: 26px;
}
.title_sub .title_line{
  background: #ffba27;
  text-align: left;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 5px 0 5px 100px;
}
.title_sub .number{
  color: #ffba27;
  font-weight: bold;
  font-size: 30px;
  text-align: right;
  padding: 10px 0 0;
  line-height: 1;
  opacity: .5;
}
.table{
    font-size: 14px;
    text-align: left;
    border-top: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
    margin: 23px 0 0;
}
.table dt{
    float: left;
    clear: left;
    padding: 2px;
    border-right: 1px solid #d6d6d6;
    width: 170px;
}
.table dt span{
    background: #f8f8f8;
    display: block;
    padding: 5px;
}
.table dd{
    border-left: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    padding: 7px 20px 7px 190px;
}
.step{
    text-align: left;
}
.step li{
    border: 1px solid #d6d6d6;
    margin: 0 0 20px;
    position: relative;
    background: rgba(255,255,255,0.8);
    padding: 0 0 0 230px;
    position: relative;
    min-height: 158px;
}
.step .art{
    position: absolute;
    left: -11px;
    top: 0;
    margin: 0;
}
.step li:after, .step li:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.step li:last-child:after, .step li:last-child:before{
    content: none;
}

.step li:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 10px;
    margin-left: -10px;
}
.step li:before {
    border-color: rgba(29, 171, 175, 0);
    border-top-color: #ddd;
    border-width: 12px;
    margin-left: -12px;
}
.step dt{
    font-size: 20px;
    color: #000;
    margin: 10px 0;
}
.step dd{
    font-size: 14px;
    color: #333;
}
.beforeandafter{
    text-align: left;
    margin: 20px 0 0 0;
}
.beforeandafter iframe{
    display: inline-block;
}
.beforeandafter dt{
    font-size: 20px;
    border-left: 5px solid #00b2b4;
    line-height: 1.4;
    padding: 0 0 0 10px;
    margin: 0 0 20px;
    color: #000;
}
.beforeandafter dd{
    font-size: 14px;
    margin: 0 0 20px;
}
.beforeandafter dt strong{
    font-size: 140%;
    color: #0BB;
}
.btn_link{
    margin: 50px 0;
    text-align: center;
}
.btn_link a{
    font-size: 24px;
    font-weight: bold;
    background: #dd0001 url(/images/quality/img_quality_arrow.png) no-repeat 95% 50%;
    padding: 20px 100px;
    color: #fff;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
    -webkit-transition: .5s;
       -moz-transition: .5s;
        -ms-transition: .5s;
         -o-transition: .5s;
            transition: .5s;
}
.btn_link a:hover{
    background: #ffb827 url(/images/quality/img_quality_arrow.png) no-repeat 95% 50%;
    text-decoration: none;
}
.youtube_top{
  position: absolute;
  left: 20px;
  top: 135px;
}
.youtube{
  text-align: center;
}
@media (max-width: 800px){
    .top dd{
        font-size: 25px;
    }
}
@media (max-width: 767px){
    .quality{
        margin: 0;
    }
    .top .title{
        font-size: 40px;
        padding: 150px 0 0 20px;
    }
    .top_wrap{
        background: #f7f7f7 url(/images/quality/img_quality_top.jpg) 50% -30px no-repeat;
        background-size: 768px auto;
    }
    .youtube_top{
        top: 40px;
        left: 50%;
        margin: 0 0 0 -45%;
        width: 50%;
        min-height: 230px;
    }
    .top dl{
        margin: 150px 0 0;
        padding: 0 10px;
    }
    .caption .strong{
        font-size: 18px;
        line-height: 1.2;
    }
    .caption p{
        font-size: 14px;
    }
    .top dd{
        font-size: 16px;
        width: 100%;
        margin: 0 0 10px;
        box-sizing: border-box;
    }
    .top dd:nth-child(odd){
    float: none;
    }
    .top dd:nth-child(even){
        float: none;
    }
    .top dd a{
        font-size: 14px;
        margin: -24px 0 0;
    }
    .title_section{
        font-size: 20px;
        padding: 15px 0 15px 90px;
    }
    .title_sub .number{
        font-size: 16px;
    }
    .title_sub .title_line{
        font-size: 18px;
        line-height: 1.4;
        min-height: 50px;
    }
    .table dt{
        float: none;
        width: 100%;
        box-sizing: border-box;
        border-left: 1px solid #d6d6d6;
        border-right: none;
        color: #999;
    }
    .table dd{
        padding: 7px 10px;
        font-size: 13px;
    }
    .btn_link a{
        font-size: 16px;
        padding: 10px 30px;
        display: block;
        background: #dd0001 url(/images/quality/img_quality_arrow.png) no-repeat 95% 50%;
        background-size: 10px auto;
    }
    .youtube iframe{
        width: 100%;
    }
}
@media (max-width: 468px){
    .step li{
        padding: 10px;
    }
    .step dl{
        padding: 150px 0 0;
    }
    .step dt{
        font-size: 16px;
    }
}
.main_contents_box{
    padding: 1rem;
}