@charset "UTF-8";

/* 下層ページ　共通設定 */
.sub-title-section {
    background-color: #FFEC00;
    padding: 20px 0 60px;
}
.title-area2 {
    margin-bottom: 70px;
    position: relative;
}
.title-area2 .img-area {
    margin-bottom: 20px;
}
.title-area2 .en {
    font-size: 200px;
    letter-spacing: 10px;
    position: relative;
    text-align: center;
    color: #FDDC00;
    overflow-wrap: break-word; 
    word-wrap: break-word;
}
.title-area2 .title-img {
    position: relative;
    width: 465px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -250px;
}
.title-area2 .lead-area {
    text-align: center;
}
.title-area2 .lead-area p {
    font-size: 28px;
    margin-bottom: 10px;
    
}
.title-area2 .lead-area h2 {
    font-size: 42px;
    color: #000;
}
@media screen and (max-width: 1250px) {
   .title-area2 .en {
        font-size: 14vw;
        letter-spacing: 4px;
   }
   .title-area2 .title-img {
    width: 40vw;
    margin-top: -15vw;
   }
}
@media screen and (max-width: 1024px) {
    .title-area2 .lead-area h2 {
        font-size: 36px;
    }
}
@media screen and (max-width: 767px) {
    .title-area2 .lead-area p {
        font-size: 24px;
    } 
}
@media screen and (max-width: 600px) {
    .title-area2 {
        margin-bottom: 30px;
    }
    .title-area2 .lead-area p {
        font-size: 20px;
    }
    .title-area2 .lead-area h2 {
        font-size: 30px;
    }
    .title-area2 .title-img {
        width: 56vw;
        margin-top: -20vw;
    }
}
@media screen and (max-width: 450px) {
    .title-area2 .lead-area h2 {
        font-size: 24px;
    }
    .title-area2 .lead-area p {
        font-size: 16px;
    }
}

/* mv */
#sub-mv .mv-inner {
    position: relative;
}
#sub-mv .mv-box {
    display: grid;
    grid-template-columns: 32% 68%;
}
#sub-mv .mv-box .mask {
    height: 100%;
    width: 140%;
    background-color: #fff;
        --mask:
    radial-gradient(103.22px at calc(100% - 144px) 50%,#000 99%,#0000 101%)
    100% calc(50% - 120px)/51% 240px repeat-y,
    radial-gradient(103.22px at calc(100% + 84px) 50%,#0000 99%,#000 101%)
    calc(100% - 60px) 50%/calc(51% - 30px) 240px repeat-y;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    position: relative;
    z-index: 2;
}
#sub-mv .mv-img {
    background-size: cover;
    background-position: left 30%;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    z-index: 1;
}
#sub-mv.sub-mv01 .mv-img {
    background-image: url(../images/sub/sub_mv01.jpg);
}
#sub-mv.sub-mv02 .mv-img {
    background-image: url(../images/sub/sub_mv02.jpg);
}
#sub-mv.sub-mv03 .mv-img {
    background-image: url(../images/sub/sub_mv03.jpg);
    background-position: center 65%;
}
#sub-mv.sub-mv04 .mv-img {
    background-image: url(../images/sub/sub_mv04.jpg);
    background-position: right 30%;
}
#sub-mv .section-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding: 130px 30px 50px;
    display: flex;
    align-items: center;
}
#sub-mv .content {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding-left: 50px;
}
#sub-mv .mv-title {
    width: 100px;
    margin: 0 auto 20px;
}
#sub-mv .mv-subtitle {
    font-size: 36px;
    margin-bottom: 5px;
    text-align: center;
    line-height: 1.4;
    color: #00A2E9;
}
#sub-mv .mv-subtitle-en {
    font-size: 22px;
}
#sub-mv .mv-subtitle span{
    font-size: 50px;
    color: #EF0000;
    text-decoration: underline;
    text-underline-offset: -6px;
    text-decoration-thickness: 15px;
    text-decoration-color: #FFEC00;
}
@media screen and (max-width: 1250px) {
    #sub-mv .mv-subtitle span {
        font-size: 45px;
    }
}
@media screen and (max-width: 1024px) {
    #sub-mv .content {
        max-width: 320px;
    }
    #sub-mv .mv-box {
        grid-template-columns: 38% 62%;
    }
    #sub-mv .mv-subtitle {
        font-size: 32px;
    }
    #sub-mv .mv-subtitle span {
        font-size: 40px;
    }
}
@media screen and (max-width: 767px) {
    #sub-mv .section-inner {
        align-items: flex-start;
        padding: 70px 30px 50px;
    }
    #sub-mv .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        column-gap: 40px;
        max-width: 100%;
        height: auto;
        padding-left: 0;
        margin: 0 auto;
        text-align: center;
    }
    #sub-mv .mv-box {
        grid-template-columns: none;
        grid-template-rows: 45% 55%;
        height: 650px;
    }
    #sub-mv .mv-img {
        height: 100%;
        grid-row: 2;
        background-position: top center;
        background-size: 120%;
    }
    #sub-mv.sub-mv02 .mv-img {
        background-position: 20% top;
    }
    #sub-mv.sub-mv03 .mv-img {
        background-position: center center;
    }
    #sub-mv .mv-box .mask {
        height: 60%;
        width: 100%;
        background-color: #fff;
        position: absolute; 
        top: 0;
        left: 0;
        z-index: 2;
        --mask:
        radial-gradient(103.22px at 50% calc(100% - 144px),#000 99%,#0000 101%)
        calc(50% - 120px) 100%/240px 51% repeat-x,
        radial-gradient(103.22px at 50% calc(100% + 84px),#0000 99%,#000 101%)
        50% calc(100% - 60px)/240px calc(51% - 30px) repeat-x;
        -webkit-mask: var(--mask);
        mask: var(--mask);
    }
    #sub-mv .section-inner {
        padding: 100px 20px 50px;

    }
    #sub-mv .mv-title {
        margin-bottom: 0;
        width: auto;
        max-width: 90px;
    }
    #sub-mv .mv-subtitle {
        font-size: 28px;
    }
    #sub-mv .mv-subtitle span {
        font-size: 34px;
    }
}
@media screen and (max-width: 550px) {
    #sub-mv .section-inner {
        padding: 90px 30px 30px;
    }
    #sub-mv .content {
        flex-direction: column;
        row-gap: 0px;
        padding-top: 20px;
    }
    #sub-mv .mv-box {
        height: 120vw;
    }
    #sub-mv .mv-box .mask {
        width: 100%;
        height: 64%;
        background-color: #fff;
        position: absolute; 
        top: 0;
        left: 0;
        z-index: 2;
        --mask:
        radial-gradient(103.22px at 50% calc(100% - 144px),#000 99%,#0000 101%)
        calc(50% - 190px) 100%/240px 51% repeat-x,
        radial-gradient(103.22px at 50% calc(100% + 84px),#0000 99%,#000 101%)
        calc(50% - 70px) calc(100% - 60px)/240px calc(51% - 30px) repeat-x;
        -webkit-mask: var(--mask);
        mask: var(--mask);
    }
    #sub-mv .mv-title {
        max-width: 75px;
    }
    #sub-mv .mv-subtitle {
        font-size: 24px;
    }
    #sub-mv .mv-subtitle span {
        font-size: 30px;
    }
    #sub-mv .mv-subtitle-en {
        font-size: 18px;
    }
}
@media screen and (max-width: 450px) {
    #sub-mv .content {
        padding-top: 0px;
    }
    #sub-mv .mv-box {
        height: 130vw;
    }
    #sub-mv .mv-title {
        max-width: 60px;
    }
    #sub-mv .mv-img {
        background-size: 120%;
    }
}
@media screen and (max-width: 390px) {
    #sub-mv .mv-box .mask {
        height: 70%;
    }
}


/* アンダーコート service */
#sub-mv.sub-mv01 .mv-img {
    background-image: url(../images/sub/sub_mv01.jpg);
}
#service h3 {
    font-size: 26px;
    margin-bottom: 10px;
}
#service .text-area p {
    font-size: 18px;
    line-height: 2.2;
}
@media screen and (max-width: 1024px) {
    #service h3 {
        font-size: 24px;
    }
    #service .text-area p {
        font-size: 16px;
    }
}
@media screen and (max-width: 450px) {
    #service h3 {
        font-size: 22px;
    }
    #service .text-area p {
        font-size: 14px;
        letter-spacing: .5px;
    }
}

/* アンダーコート point */
#point {
    background-color: #00A2E9;
}
#point .title-area2 {
    margin-bottom: 160px;
}
#point .title-area2 .en {
    color: #28B3F0;
}
#point .title-area2 .lead-area h2 {
    color: #fff;
    position: relative;
    margin-top: -160px;
}
#point ul {
    display: grid;
    grid-template-columns: repeat(3,2fr);
    column-gap: 50px;
    row-gap: 100px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
#point ul::before {
    position: absolute;
    content: "";
    background-image: url(..//images/sub/un_point-img.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 163px;
    height: 163px;
    top: -155px;
    left: 50%;
    transform: translate(-50%);
    z-index: -1;
}
#point ul li .img-area {
    margin-bottom: 10px;
}
#point ul li .text-area p {
    color: #fff;
    margin-bottom: 5px;
}
@media screen and (max-width: 1250px) {
    #point .title-area2 {
        margin-bottom: 15vw;
    }
    #point .title-area2 .lead-area h2 {
        margin-top: -14vw;
    }
    .title-area2 .img-area {
        margin-bottom: 30px;
    }
    #point ul::before {
        width: 20vw;
        height: 15vw;
        top: -15vw;
    }
}
@media screen and (max-width: 1024px) {
   #point ul {
    column-gap: 20px;
    row-gap: 50px;
   }
}
@media screen and (max-width: 767px) {
    #point .title-area2 {
        margin-bottom: 20vw;
    }
    #point .title-area2 .lead-area h2 {
        margin-top: -16vw;
    }
    #point ul {
        grid-template-columns: repeat(2, 3fr);
    }
    #point ul::before {
        width: 25vw;
        height: 23vw;
        top: -23vw;
    }
}
@media screen and (max-width: 550px) {
    #point .title-area2 {
        margin-bottom: 38vw;
    }
    #point .title-area2 .lead-area h2 {
        margin-top: -6vw;
    }
    #point ul {
        display: flex;
        flex-direction: column;
        row-gap: 30px;
    }
    #point ul::before {
        width: 38vw;
        height: 38vw;
        top: -38vw;
    }
}

/* アンダーコート compare */
#compare {
    background-color: #fff;
}
#compare .section-inner {
    padding: 0;
}
#compare ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
}
#compare ul li {
  position: relative;
  margin: 0 40px;
}
#compare ul li:first-child::after {
  content: '';
  display: block;
  position: absolute;
  right: -65px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 45px solid #00A2E9;
}
@media screen and (max-width: 767px) {
    #compare ul li {
        margin: 0 20px;
    }
    #compare ul li:first-child::after {
        right: -34px;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-left: 24px solid #00A2E9;
    }
}
@media screen and (max-width: 600px) {
  #compare ul {
    flex-direction: column;
    row-gap: 30px;
    width: 80%;
    margin: 0 auto;
  }  
    #compare ul li:first-child::after {
        right: initial;
        left: 50%;
        transform: translateX(-50%);
        top: initial;
        bottom: -60px;
        transform: translateX(-50%) translateY(-50%) rotate(90deg);
    }
}
@media screen and (max-width: 450px) {
    #compare ul {
        width: 100%;
    }
}

/* アンダーコート reserve */
#reserve .title-area2 {
    margin-bottom: 30px;
}
#reserve .title-area2 h2 {
    position: relative;
    margin-top: -90px;
}
#reserve .title-area2 .en {
    font-size: 100px;
    letter-spacing: 0px;
}
#reserve .content {
    margin-bottom: 30px;
}
#reserve .reserve-sp {
    display: none;
}
@media screen and (max-width: 1250px) {
#reserve .title-area2 h2 {
    margin-top: -15vw;
}
#reserve .title-area2 .en {
    font-size: 10vw;
    line-height: 1;
}
#reserve .content {
    padding-top: 40px;
}
}
@media screen and (max-width: 767px) {
    #reserve .title-area2 h2 {
        margin-top: -17vw;
    }
    #reserve .content {
        width: 80%;
        margin: 0 auto;
    }
    #reserve .reserve-pc {
        display: none;
    }
    #reserve .reserve-sp {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    #reserve .title-area2 h2 {
        margin-top: -19vw;
    }
    #reserve .content {
        width: 100%;
        padding-top: 20px;
    } 
}
@media screen and (max-width: 550px) {
    #reserve .title-area2 h2 {
        margin-top: -3vw;
    }
}
@media screen and (max-width: 450px) {
    #reserve .content {
        padding-top: 0px;
    } 
}

/* 車の保証 warranty features */
#features.wa-features {
    padding-bottom: 0;
}
#warranty .title-area2 {
    margin-bottom: 0px;
}
#features.wa-features .list01 .img-area {
    background-image: url(../images/sub/wa_fe_bk01.jpg);
}
#features.wa-features .list02 .img-area {
    background-image: url(../images/sub/wa_fe_bk02.jpg);
    background-position: right 20%;
}
#features.wa-features .sub-title h2 span {
    text-decoration: none;
}
#warranty .title-area2 .lead-area p br {
    display: none;
}
@media screen and (max-width: 850px) {
    #warranty .title-area2 .lead-area p br {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    #features.wa-features {
        padding: 30px 0 60px;
    }
    #warranty .title-area2 .title-img {
        margin-top: -16vw;
    }
}

/* 認証工場 factory */
#features.fa-features {
    padding-bottom: 0;
}
#factory ul {
    display: grid;
    grid-template-columns: repeat(2,2fr);
    gap: 50px;
}
#factory ul li {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#factory .text-area {
    background-color: #fff;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#factory .lead-area p br {
    display: none;
}
@media screen and (max-width: 1024px) {
    #factory ul {
        gap: 30px;
    }
}
@media screen and (max-width: 960px) {
    #factory .lead-area p br {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    #features.fa-features {
        padding: 30px 0 60px;
    }
    #factory ul {
        display: flex;
        flex-direction: column;
    }
    .title-area2 .title-img {
        margin-top: -14vw;
    }
}

/* 認証工場 factory features */
#features.fa-features .list01 .img-area {
    background-image: url(../images/sub/fa_fe_bk01.jpg);
}
#features.fa-features .list02 .img-area {
    background-image: url(../images/sub/fa_fe_bk02.jpg);
    background-position: right 20%;
}
#features.fa-features .sub-title h2 span {
    text-decoration: none;
}
@media screen and (max-width: 960px) {
    #features.fa-features .list02 .img-area {
        background-position: 20% 20%;
    }
}

/* お問い合わせ contact */
#contact {
    background-color: #00A2E9;
}
#contact .title-area2 .lead-area h2 {
    color: #fff;
}
#contact .title-area2 .en {
    color: #28B3F0;
}
#contact .title-area2 .lead-area p {
    color: #fff;
}
.contact-form {
  max-width: 1000px;
  margin: 0 auto;
}
.form-item {
  display: flex;
}
.form-item dt {
  width: 260px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  text-align: left;
  line-height: 1.2;
  padding: 20px 0 20px 20px;
  color: #fff;
}
.form-item .last-dt {
    display: flex;
    align-items: flex-start;
}
.form-item dt label {
  font-size: 18px;
  font-weight: bold;
}
.form-item dt span {
    background-color: #FFEC00;
    color: #00A2E9;
    padding: 5px 12px;
    margin-left: 10px;
}
.form-item dd {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: 15px;
  color: #fff;
}
.form-item dt p,.form-item dd p {
  width: 100%;
  margin-bottom: 0;
}
.form-control {
  border: 1px solid #fff;
  padding: 10px 15px;
  width: 100%;
  line-height: 1.2;
  font-size: 16px;
  text-align: left;
  font-weight: initial;
}
.form-control:focus,
.form-textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-textarea {
  border: 1px solid #fff;
  width: 100%;
  height: 150px;
  padding: 10px 15px;
  font-size: 16px;
  text-align: left;
  font-weight: initial;
}
.submit-area {
  padding-top: 40px;
  text-align: center;
}
.submit-button {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #00A2E9;
  background-color: #FFEC00;
  padding: 10px;
  min-width: 300px;
  position: relative;
  margin: 0 auto;
  justify-content: center;
  border-radius: 50px;
}
#contact .title-area2 .lead-area p br {
    display: none;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #fff;
}
.wpcf7-not-valid-tip {
    color: #FFEC00 !important;
}
@media screen and (max-width: 1024px) {
.form-item dt label {
    font-size: 16px;
}
.form-item dt span {
    font-size: 14px;
}
}
@media screen and (max-width: 767px) {
    .form-item {
        flex-direction: column;
    }
    .form-item dt {
        padding: 20px 0 0 0;
    }
    .form-item dd {
        padding: 15px 0 0 0;
    }
    .form-textarea {
        height: 200px;
    }
}
@media screen and (max-width: 450px) {
    .form-item dt label,.form-control,.form-textarea {
        font-size: 14px;
    }
    .form-textarea {
        height: 220px;
    }
    .form-item dt {
        width: 100%;
        padding: 15px 0 0 0;
    }
    .form-item dd {
        padding: 10px 0 0 0;
    }
    .form-item dt span {
        padding: 2px 12px;
        font-size: 12px;
    }
    .submit-area {
        padding-top: 30px;
    }
    .submit-button {
        font-size: 16px;
        min-width: 250px;
    }
}
@media screen and (max-width: 390px) {
    #contact .title-area2 .lead-area p br {
        display: block;
    }
}

/* リキャプチャ */
.recaptcha-wrapper p{color:#fff;}
.recaptcha-wrapper p a{color:#FFEC00;}
.recaptcha-br{display: none;}
.recaptcha-br2 {display:none;}
.recaptcha-wrapper{text-align:center; margin-top: 40px; color:#000; line-height:2;}
/* reCAPTCHAバッジを非表示にする */
.grecaptcha-badge {
    visibility: hidden;
}
@media (max-width: 767px) {
.recaptcha-wrapper p {font-size:12px;}
.recaptcha-br{display: block}
}
@media (max-width: 420px) {
.recaptcha-br2 {display:block;}
}

/* お問い合わせ banner */
#banner {
    padding-bottom: 0;
}
#banner .content a {
    transition: transform 0.3s ease-out,  
    box-shadow 0.3s ease-out;
    display: inline-block;
}
#banner .content a:hover {
    transform: translateY(-5px); 
}
#banner .banner-sp {
    display: none;
}
@media screen and (max-width: 767px) {
    #banner {
        padding-bottom: 0px;
    }
    #banner .banner-pc {
        display: none;
    }
    #banner .banner-sp {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    #banner {
        padding-bottom: 50px;
    }
    #banner .section-inner {
        padding: 0 10px;
    }
}
@media screen and (max-width: 390px) {
    #banner {
        padding: 30px 0;
    }
}