@charset "UTF-8";
/*======================================================= 
    保証ページ用スタイル
=======================================================*/

/* タブリンク */
.link-tab{
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #c4c4c4;
    padding: 50px 0;
}
.link-tab a{
    max-width: 230px;
    width: 100%;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 50px 0 0 50px;
    box-shadow: 0 0 8px #adadad;
    padding: 15px 0;
}
.link-tab a.active{
    background-color: #DF0716;
    color: #fff;
    border-radius: 0 50px 50px 0;
}
.link-tab .icon1,
.link-tab .icon2{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    margin-right: 10px;
    padding: 3px;
}
.link-tab .icon1{
    background-color: #fff;
}
.link-tab .icon2{
    background-color: #efefef;
}
.trust-tx{
    text-align: center;
}
/* 選ばれる理由 */
.reason{
    padding: 30px 0;
}
.reason h3 .tx-large{
    font-size: 1.5em;
}
.reason h3 .tx-large2{
    font-size: 1.5em;
}
.reason-tx{
    text-align: center;
}
.reason-block{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 50px 0;
}
.reason-block2{
    margin: 30px 0;
}
.reason-item,
.reason-item2{
    background-color: #fff;
    box-shadow: 0 0 8px #adadad;
    border-radius: 5px;
    padding: 15px;
}
.reason-item2{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    text-align: center;
}
.reason-item2 .reason-tit{
    line-height: 1.2;
    border: none;
    margin: 5px 0 0 0;
}
.reason-item img{
    display: block;
    margin: auto;
}
.reason-tit{
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    color: #DF0716;
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.reason-tx{
    font-size: 20px;
    font-weight: bold;
}
/* 例 */
.example-tx{
    font-size: 2em;
    font-weight: bold;
}
.example-block{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.example-block::after{
    position: absolute;
    content: "→";
    font-size: 30px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #DF0716;
    background-color: #fff;
}
.example-item1{
    border: 1px solid #828282;
    border-radius: 5px;
}
.example-item1 .example-tit{
    font-weight: bold;
    text-align: center;
    background-color: #d9d9d9;
    border-radius: 5px 5px 0 0;
    padding: 10px;
}
.example-item1 .bg-gray{
    padding: 10px 15px;
    margin-top: 15px;
}
.example-item1 ul li{
    font-weight: bold;
}
.example-item2{
    border: 1px solid #DF0716;
    border-radius: 5px;
}
.example-item2 .example-tit{
    font-weight: bold;
    text-align: center;
    background-color: #FFD5D8;
    color: #DF0716;
    border-radius: 5px 5px 0 0;
    padding: 10px;
}
.example-item2 .tx-small{
    margin-bottom: 1em;
}
.example-content{
    padding: 15px 30px;
}
.example-trust{
    font-size: 1.5em;
    line-height: 0.6;
    margin: 20px 0;
}
.example-trust span{
    font-size: 2em;
}
.example-trust .tx-large{
    font-size: 1.5em;
}

/* 国産車保証・輸入車保証 */
.trust-content{
    padding: 30px 0;
}
.trust-content h3{
    border-bottom: 2px solid #DF0716;
    margin: 0;
}
.trust-maker-logo{
    margin: 30px 0;
}
.features-block{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px auto;
}
.features-item{
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 8px #adadad;
    text-align: center;
    padding: 15px;
}
.features-item p{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}
.features-num{
    position: relative;
    color: #DF0716;
    margin-bottom: 15px;
}
.features-num::after{
    position: absolute;
    content: "";
    width: 2em;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #DF0716;
}
.features-tx{
    height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.features-item:nth-child(3) .features-tx{
    flex-direction: column;
}
.trust-link{
    max-width: 350px;
    position: relative;
    display: block;
    background-color: #efefef;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    box-shadow: 2px 2px 2px #cfcfcf;
    padding: 15px 15px 15px 0;
    margin: 30px auto;
}
.trust-link::after{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f138';
    display: block;
    right: 25px;
    top: 31%;
    color: #DF0716;
}
.trust-link:hover{
    color: #000;
    opacity: 0.8;
}

/* 詳細ページ共通 */
.domestic h3,
.imported h3{
    font-size: 30px;
    text-align: center;
}
.range{
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.range .tx-border{
    border-top: 2px solid #DF0716;
    border-bottom: 2px solid #DF0716;
}
.range .tx-large{
    font-size: 1.5em;
    margin: 0 5px;
}
/* 保証プラン・保証項目と期間 */
.plan,
.period{
    padding: 30px 0;
}
.plan h3,
.period h3{
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 30px;
}
.plan h3::before,
.plan h3::after,
.period h3::before,
.period h3::after{
    content: "";
    flex: 1;
    height: 1px;
    background: #c4c4c4;
}
.plan h3::before,
.period h3::before {
    margin-right: 20px;
}
.plan h3::after,
.period h3::after {
    margin-left: 20px;
}
/* テーブルデザイン(国産車) */
table.warranty {
  table-layout: fixed;
  color: #333;
}
table.warranty td {
  border: 1px solid #777;
  padding: 15px 10px;
  vertical-align: middle;
  text-align: center;
  line-height: 1.5;
}
table.warranty td.left {
  background: #e9e9e9;
  text-align: center;
}
/* テーブルデザイン（輸入車） */
table.warranty2{
  border-collapse: collapse;
  table-layout: fixed;
  font-weight: bold;
}
table.warranty2 td{
  border: 1px solid #777;
  padding: 15px;
  vertical-align: middle;
}
table.warranty2 td.left{
  background: #e9e9e9;
  width: 40%;
}
table.warranty2 td.right{
  width: 60%;
  background: #fff;
}
table.warranty2 td.blank{
  padding: 15px;
}
table.warranty2{
  margin-top: 15px;
}
.dot-list{
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.8;
}
.dot-list li{
  position: relative;
  padding-left: 1.2em;
}
.dot-list li::before{
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
}

/* 保証内容 */
.guarantee-item{
    padding: 15px;
    margin-bottom: 15px;
}
.guarantee-tit{
    position: relative;
    left: -15px;
    display: inline-block;
    background-color: #454545;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 15px;
}
ul.maintenancepack{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-weight: bold;
    margin-bottom: 15px;
}
ul.maintenancepack li{
    position: relative;
    padding-left: 1.5em;
}
ul.maintenancepack li::before{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f14a';
    display: block;
    left: 0;
    top: 0;
    color: #DF0716;
}
.guarantee-item .bg-white{
    margin-top: 15px;
    padding: 15px;
}
.guarantee-item .bg-white div:first-child{
    margin-bottom: 10px;
}
.guarantee-item .bg-white .main-tit{
    position: relative;
    font-weight: bold;
    padding-left: 0.5em;
}
.guarantee-item .bg-white .main-tit::before{
    position: absolute;
    content: "";
    width: 3px;
    height: 1.2em;
    background-color: #DF0716;
    top: 3px;
    left: 0;
}
.guarantee-box{
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}
.guarantee-box .tit{
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    padding: 10px 15px;
}
.guarantee-content{
    padding: 15px;
}
.guarantee-box .tit.flex,
.guarantee-content .flex{
    display: flex;
}
.guarantee-content .num,
.guarantee-box .tit .num{
    display: flex;
    flex: 0 0 1.5em;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    height: 1.5em;
    background-color: #DF0716;
    color: #fff;
    border-radius: 50px;
    margin-right: 10px;
}
.guarantee-content .attention{
    margin-top: 15px;
}
.guarantee-content .attention-tit{
    font-size: 1.2em;
}
.guarantee-content .attention ul{
    padding-left: 1.5em;
}
.guarantee-content .attention ul li{
    list-style: disc;
}
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.guarantee-content ul{
    padding-left: 2em;
}
.guarantee-content ul li{
    list-style: auto;
}
.border-red{
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid #DF0716;
    margin-bottom: 10px;
}
/* リンク */
.red-btn,
.gray-btn{
    position: relative;
    display: block;
    max-width: 350px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    padding: 15px 15px 15px 0;
    margin: auto;
}
.red-btn{
    background-color: #DF0716;
    color: #fff;
    margin-bottom: 20px;
    border: 2px solid #DF0716;
}
.red-btn:hover{
    background-color: #fff;
    color: #DF0716;
}
.gray-btn{
    background-color: #eee;
}
.gray-btn:hover{
    background-color: #333;
    color: #fff;
}
.red-btn::after,
.gray-btn::after{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f138';
    display: block;
    right: 25px;
    top: 33%;
}
.red-btn::after{
    color: #fff;
}
.gray-btn::after{
    color: #000;
}
.red-btn:hover::after{
    color: #DF0716;
}
.gray-btn:hover::after{
    color: #fff;
}
.imported .gray-btn{
    margin: 30px 0;
}

/*1000px以下*/
@media screen and (max-width: 1000px){
    .reason-tit{
        font-size: 1.8em;
    }
    .example-block{
        gap: 15px;
    }
    .example-content{
        padding: 15px;
    }
}

/*750px以下*/
@media screen and (max-width: 750px){
    .trust-tx{
        text-align: left;
    }
    .reason-block{
        grid-template-columns: 1fr;
        margin: 30px 0;
    }
    .reason-item{
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }
    .example-block{
        max-width: 500px;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
    }
    .example-block::after{
        content: "↓";
        background-color: transparent;
    }
    .features-block{
        grid-template-columns: repeat(2, 1fr);
    }
    .features-item p{
        font-size: 18px;
    }
    /* 詳細 */
    .domestic h3, .imported h3{
        font-size: 24px;
    }
    .range{
        font-size: 35px;
    }
    /* テーブルデザイン */
    .scroll{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .scroll table,
    .scroll img{
        min-width: 750px;
    }
    .grid-3,
    .grid-2{
        display: block;
    }
    .reason-item2 .reason-tit{
        font-size: 18px;
    }
    .reason-tx{
        font-size: 14px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
    .link-tab a{
        padding: 10px 0;
    }
    .link-tab .icon1,
    .link-tab .icon2{
        width: 30px;
        height: 30px;
    }
    .reason-tit{
        font-size: 1.5em;
    }
    .example-tx{
        font-size: 1.5em;
    }
    .features-item p{
        font-size: 14px;
    }
    /* 詳細 */
    .domestic h3, .imported h3{
        font-size: 20px;
    }
    ul.maintenancepack{
        grid-template-columns: 1fr;
        padding-left: 15px;
    }
    .reason-item2{
        grid-template-columns: 1fr;
    }
    .reason-item2 .reason-tit{
        border-bottom: 1px solid #c4c4c4;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .guarantee-item{
        padding: 15px 0;
    }
}
