@charset "utf-8";

html {
    text-decoration: none;
    font-family: roboto, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #222;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
}

body {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    background: #fff;
}

main {
    margin: 0 auto;
}

ul,
li {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
}

a,
button {
    text-decoration: none;
    cursor: pointer;
    color: #222;
}

main,
div,
p,
span,
footer,
header,
main,
nav,
section {
    display: block;
    margin: 0 auto;
}

br.spc {
    display: block;
    content: "";
    margin: 7px 0;
}

@media screen and (min-width: 768px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
}

/* ------------------------------------------------------
  　animation
  ------------------------------------------------------ */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

/* ------------------------------------------------------
    sp-view
  ------------------------------------------------------ */
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    p {
        font-size: 14px;
    }
}

/*===============
　header
    ===============*/
header {
    width: 100%;
    padding: 1.5rem 20px;
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 3;
    height: 35px;
}

.hd_nav {
    display: flex;
    margin-bottom: 20px;
}
.hd_nav_logo{
  position: relative;
  text-align: center;
  top: -20px;
  left: 0;
}
.hd_nav_logo p{
  font-size : 10px;
}

ul {
    padding-bottom: 10px;
    margin-top: 0px;
}

ul.pc,
.hd_link {
    display: inline-flex;
}

ul.pc {
    margin-left: 30px;
}

ul.pc li {
    margin: 0 15px;
    font-size: 12px;
}

.hd_link {
    text-align: right;
    margin-right: 40px;
}

.hd_link li {
    display: inline-block;
    width: 38px;
    height: 45px;
}

.hd_link ul {
    margin-top: 10px;
}


@media screen and (max-width: 768px) {

    ul.pc,
    .hd_link li {
        display: none;
    }

    #header {
        padding-left: 0;
    }

    .hd_nav {
        display: block;
    }
    
    .hd_nav_logo{
        top: -10px;
    }

    a.hd_logo img {
        max-width: 200px;
        display: block;
        margin: 0 auto;
    }
}

/*===============
        ハンバーガーボタン　
        ===============*/
.hamburger {
    display: none;
    position: relative;
    position: fixed;
    z-index: 300;
    left: 5px;
    top: 20px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    text-align: center;
    padding: 7px;
    z-index: 100;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 27px;
    height: 3px;
    left: 13px;
    border-radius: 50px;
    background: #222;
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 16px;
}

.hamburger span:nth-child(2) {
    top: 23px;
}

.hamburger span:nth-child(3) {
    top: 30px;
}

/* --------------------------
    ナビゲーションドロップダウンの指定 
    ----------------------------*/
nav ul ul {
    display: block;
    margin: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    text-decoration: none;
    padding: 10px 0px;
    transition: all .3s;

}

nav ul li a:hover,
.has-child a:hover {
    color: #D0D5D4;
}

/* menu/price横の矢印 */
nav ul li.has-child::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 15px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(135deg);
}

/*下の階層を持っているulの指定*/
nav li.has-child ul {
    /*絶対配置で位置を指定*/
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 4;
    /*形状を指定*/
    background: rgba(255, 255, 255, 0.8);
    width: 120px;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .3s;
    /* padding: 10px 0; */
    text-align: center;
    margin-top: 20px;
    padding: 0;
    margin: 20px 0 0 0;
}

nav li.has-child ul li {
    border: 1px solid #D0D5D4;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
    visibility: visible;
    opacity: 1;
}

nav li.has-child ul li {
    margin: 0;
}

nav li.has-child ul li a {
    color: #222;
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

nav li.has-child ul li:last-child a {
    border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
    /* background: #D0D5D4; */
    background: #fff;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul li a {
        padding: 0;
        font-size: 13px;
    }

    nav li.has-child ul,
    nav li.has-child ul ul {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        visibility: visible;
        /*JSで制御するため一旦表示*/
        opacity: 1;
        /*JSで制御するため一旦表示*/
        display: none;
        /*JSのslidetoggleで表示させるため非表示に*/
        transition: none;
        /*JSで制御するためCSSのアニメーションを切る*/
        background-color: #D0D5D4;
    }

    nav li.has-child ul li {
        border: 1px solid #fff;
    }

    nav li.has-child ul li a {
        border-bottom: none;
    }

    nav li.has-child ul li a:hover,
    .has-child a:hover {
        color: #D0D5D4;
    }

    /*矢印の位置と向き*/

    nav ul li.has-child::before {
        left: 90px;
        top: 25px;
    }

    nav ul ul li.has-child::before {
        transform: rotate(135deg);
        left: 20px;
    }

    nav ul li.has-child.active::before {
        transform: rotate(-45deg);
    }
}

/* ==============
    sp_menu
    =================*/
.sp_menu_wrap {
    position: fixed;
    z-index: 2;
    left: 0;
    top: 74px;
    background-color: #fff;
    width: 80%;
}

.globalMenuSp {
    text-align: center;
}

.globalMenuSp ul {
    margin-top: 0;
}

.globalMenuSp ul li {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid #E2E2E2;
}

.globalMenuSp ul li:first-child {
    border-top: 1px solid #E2E2E2;
}

.globalMenuSp ul li:last-child {
    border-bottom: none;
}

.hd_link_sp {
    margin-bottom: 30px;
}

.hd_link_sp ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.hd_link_sp ul li a {
    display: block;
    padding: 20px 15px;
}

.btn_close {
    display: flex;
    text-align: center;
    height: 60px;
    background-color: #D0D5D4;
}

.btn_close p {
    margin: 0 auto;
    font-size: 19px;
    line-height: 60px;
    margin-left: 0;
}

.btn_close .cross {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    background-color: #D0D5D4;
    color: #222;
    margin-top: 2px;
    margin-right: 1px;
    left: -5px;
}

.btn_close .cross::before,
.btn_close .cross::after {
    content: "";
    display: block;
    width: 70%;
    height: 5px;
    transform: rotate(45deg);
    transform-origin: 0% 200%;
    position: absolute;
    background-color: #02040A;
}

.btn_close .cross::after {
    transform: rotate(-45deg);
    transform-origin: 100% 200%;
    left: auto;
    right: 14%;
}

.globalMenuSp ul li a:hover,
.globalMenuSp .has-child a:hover {
    color: #999;
}

/* -------------------
  *アニメーション部分
----------------------*/
.sp_menu_wrap {
    transform: translateX(-100%);
    transition: all .5s ease-in-out;
}

.sp_menu_wrap.is-active {
    transform: translateX(0);
}

/* =============
   *main
===============*/
main {
    text-align: center;
}

section {
    margin-top: 100px;
    text-align: center;
}

h2 {
    position: relative;
}

h2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

h2 p {
    position: absolute;
    color: #fff;
    font-style: italic;
    font-size: 38px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-box,
.lite,
.endless,
.ceramic,
.pro_coating,
.black,
.executive,
.information {
    margin: 50px 20% 70px;
}

h3 {
    font-size: 24px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 15px 0;
    text-align: left;
}

.black p,
.executive p {
margin-bottom: 30px;
text-align-last: left;
line-height: 1.8em;
}

table,
th,
td {
    margin: 0 auto;
    border-collapse: collapse;
    border: solid 1px #B4B4B4;
}

table {
    width: 100%;
    margin-bottom: 20px;
}

th,
td {
    padding: 10px 20px;
}

.menu-image {
    display: flex;
    margin-bottom: 50px;
}

.menu-image img {
    width: 38%;
    height: 183px;
    object-fit: cover;
}
.menu-detail {
    width: 100%;
    margin-right: 0;
}
.menu-detail table {
    margin-bottom: 5px;
    font-size: 14px;
}
.menu-detail th {
    padding: 10px;
    background-color: #a09e9e;
    color: #fff;
}
.menu-detail span {
    text-align-last: left;
    font-size: 13px;
}
.menu-detail b {
    font-weight: bold;
    font-size: 12px;
}
strong {
    font-weight: bold;
}

h4 {
    font-size: 23px;
    padding-bottom: 10px;
    border-bottom: solid 2px #333;
    text-align: left;
    margin: 0 0 13px;
    line-height: 1.2em;
}
.red-off {
    text-align: center;
    color: rgb(240, 7, 7);
    font-size: 22px;
    margin: 40px 0;
}

h5 {
    text-align: left;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}
.after-service {
    margin: 60px 0 90px;
}
.after-service  h5 {
    margin-top: 20px;
    font-size: 18px;
}
.after-service p {
    padding: 0 0 20px 25px;
    text-align: left;
}
.faq {
    margin: 160px 19%;
}
.faq h4{
    text-align: center;
    border: none;
    font-size: 25px;
}
.faq p {
    text-align: left;
}
.question,
.answer {
    display: flex;
    padding-top: 20px;
}
.qanda h4,
.qanda p,
.question p {
    text-align: left;
    margin: 0;
    padding-left: 15px;
}
.qanda h4 {
    margin-left: 0;
}

.tax {
    text-align: right;
    font-size: 14px;
}

.subject01,
.subject02 {
    margin: 0;
}

.subject01 h3 {
    color: #fff;
    background-color: #222;
    height: 23px;
    padding-left: 20%;
}

.subject02 h3 {
    color: #222;
    background-color: #F5F5F5;
    height: 23px;
    padding-left: 20%;
    border-top: #F5F5F5;
    border-bottom: #F5F5F5;
}

.information {
    margin-top: 150px;
    text-align: center;
}
.information h3{
    font-size: 20px;
    text-align: center;
}
.info-table {
    margin: 30px 0 90px;
}
.info-table table {
    margin-bottom: 50px;
}
.info-table h5 {
    margin-bottom: 10px;
}
.info-table p {
    text-align-last: left;
    padding: 0 0 15px 25px;
}
.campaign_wrap {
    margin-top: 200px;
    background-color: #222222;
    height: 180px;
    justify-content: center;
}

.campaign_top {
    display: flex;
}

.newcar-off {
    margin-right: 15px;
}

.newcar-off p {
    border-radius: 80px;
    background-color: #fff;
    padding: 7px 37px;
    font-weight: bold;
    margin-top: 40px;
    font-size: 25px;
}

.max50_off {
    margin-left: 50px;
}

.max50_off img {
    margin-top: 45px;
    width: 450px;
}

.campaign_bottom p {
    color: #fff;
    font-size: 20px;
    padding-top: 27px;
}

@media screen and (max-width: 768px) {

    h3 {
        font-size: 17px;
        padding: 10px 0;
    }

    h2 img {
        height: 145px;
        width: 100%;
    }

    h2 p {
        font-size: 26px;
        line-height: 1rem;
    }

    .menu-box,
    .lite,
    .pro_coating,
    .endless,
    .ceramic,
    .black,
    .executive,
    .information {
        margin: 32px 5% 70px;
    }

    .menu-image {
        flex-direction: column;
    }

    .menu-image img {
        margin: 0 auto;
        height: 224px;
        width: 100%;
        margin-bottom: 13px;
    }

    h4 {
        margin-top: 30px;
        font-size: 17px;
    }

    h5 {
        font-size: 16px;
    }
    .menu-detail {
        width: 100%;
    }

    .menu-info,
    .after-service {
        margin-left: 0;
    }

    .tax {
        font-size: 14px;
    }

    th,
    td {
        padding: 10px 3px;
        font-size: 13px;
    }

    .subject01 h3,
    .subject02 h3 {
        padding-left: 5%;
    }
    .red-off {
        font-size: 18px;
    }
    .black td,
    .executive td {
        font-size: 13px;
    }
    .information h3 {
        font-size: 16px;
    }

    .after-service h5 {
        font-size: 16px;
    }

    .after-service p {
        font-size: 14px;
    }
    .faq {
        margin: 150px 5%;
    }
    .faq h4 {
        font-size: 22px;
    }
    .information {
        margin-top: 130px;
    }

    .info-table {
        margin: 25px 0  50px;
    }
    .info-table h5 {
        margin-bottom: 5px;
    }

    .campaign_wrap {
        height: 290px;
        margin-top: 100px;
    }

    .campaign_top {
        display: block;
    }

    .campaign_bottom {
        padding: 0 20px;
    }

    .campaign_bottom p {
        font-size: 14px;
    }

    .newcar-off {
        padding: 3px 6rem 4px;
        margin-right: 0;
    }

    .newcar-off p {
        padding: 7px 0;
        font-size: 22px;

    }

    .max50_off {
        padding: 0px 15px 20px;
        margin-left: 0;
    }
}

/*===============
　footer
===============*/
footer {
    display: block;
    width: 100%;
    font-size: 12px;
  }
  .foot_wrap {
    display: flex;
    margin: 0 auto;
    max-width: 90%;
    padding-bottom: 50px;
  }
  .foot_wrap div,
  .foot_wrap ul {
    margin: 0 auto;
  }
  .fw_left,
  .fw_center,
  .fw_right {
    padding: 0 25px;
  }
  .fw_left{
    width: 20%;
  }
  
  .foot_wrap .ft_logo img {
    display: block;
    width: 100%;
  }
  
  .foot_wrap .ft_sns {
    margin: 0;
  }
  .foot_wrap .ft_sns ul {
    display: flex;
  }
  .foot_wrap .ft_sns li {
    display: inline-flex;
    margin: 0 auto;
    justify-content: space-evenly;
    align-items: center;
    width: 40px;
  }
  .foot_wrap .ft_sns li {
    font-size: 30px;
  }
  .foot_wrap ul.ft_ns {
    column-count: 2;
    font-size: 15px;
  }
  .ft_ns li {
    padding-bottom: 10px;
  }
  p.cpl {
    text-align: center;
    font-size: 11px;
    padding-bottom: 2rem;
  }
  @media screen and (min-width:768px) {
    footer{
      padding-top: 7rem;
      margin-top: 10rem;
    }
    .foot_wrap .ft_sns {
      margin: 0;
    }
  }
  
  @media screen and (max-width: 768px) {
    footer {
      font-size: 11px;  
      line-height: 1.2rem;
      margin-top: 6rem;
    }
    footer p {
      font-size: 11px;
      line-height: 1.8em;
  }
    .foot_wrap {
      display: block;
    }
    .foot_wrap .ft_sns {
      text-align: center;
      width: 90%;
      margin: 0 auto;
    }
    .foot_wrap .ft_logo img {
      width: 100%;
      display: block;
    }
    
    .foot_wrap ul.ft_ns li {
      margin: 0;
      display: inline-flex;
      justify-content: space-between;
      width: 100%;
      font-size: 13px;
      padding-bottom: 5px;
    }
    
    .fw_center,
    .fw_right {
      padding-top: 35px;
    }
    .fw_left{
      width: 70%;
      height: auto;
      padding-top: 10px;
    }
  }
  
  @media screen and(min-width:768px) {
    .foot_wrap, .ft_logo img{
      padding-bottom: 3.5rem;
    }
  }
  
  .main_sns{
    width: 60%;
    height: auto;
    margin: 80px auto;
  }
  
  .main_sns ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  
  .main_sns ul li a {
    padding: 20px 15px;
  }
  /*top明朝体
  .top_wrap_a p , .top_wrap_b p {
    font-family: serif;
  }
  */
  