@charset 'utf-8';

:root {
  --Color1: #132539;
  --Color2: #DDBB66;
  --Color3: #0E4A8C;
  --Color4: #0861BB;
}

html {
  font-family: YakuHanJP_Narrow, "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

.sp {
  display: none;
}

@media screen and (max-width: 580px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/*--------------------------------------------------
header
--------------------------------------------------*/
header {
  height: 100px;
  background: #ABE6EC;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  height: 100%;
  box-sizing: border-box;
}

.header_title {
  /* display: block; */
  display: flex;
  align-items: center;
}

.header_logo {
  width: 80px;
}

.header_logo img {
  width: 100%;
}

.header_shopname {
  padding-left: 0.5rem;
}

.header_shopname span {
  display: block;
  text-align: center;
}

.header_shopname span:nth-of-type(1) {
  font-size: 0.8rem;
  font-weight: 500;
}

.header_shopname span:nth-of-type(2) {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.header_contact {
  display: flex;
}

.header_contact_mail {
  display: block;
  position: relative;
  transition: all .3s;
  padding: 0 2rem;
  color: #fff;
  background: #054F9B;
  line-height: 100px;
}

.header_contact_mail span {
  position: relative;
  top: 20px;
}

.header_contact_mail:hover {
  opacity: 0.8;
}

.header_contact_mail span::before {
  content: '';
  display: block;
  background: url('../img/icon_mail.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 30px;
}

.header_contact_tel {
  padding: 0 2rem;
  background: #4283C4;
  color: #fff;
  text-align: center;
}

.header_contact_tel span {
  display: block;
}

.header_contact_tel span:nth-of-type(1) {
  position: relative;
  padding-left: 1rem;
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.header_contact_tel span:nth-of-type(1)::before {
  content: '';
  display: block;
  background: url('../img/icon_tel.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 4px;
  left: -7px;
  width: 20px;
  height: 20px;
}

.header_contact_tel span:nth-of-type(n + 2) {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.page_title {
  margin-top: 8rem;
  text-align: center;
}

.page_title h1 {
  font-size: 4rem;
  font-weight: 700;
}

.page_title p {
  margin-top: 3rem;
  font-weight: 600;
  line-height: 1.8;
}

@media screen and (max-width: 580px) {
  header {
    height: 70px;
  }

  .header_logo {
    width: 50px;
  }

  .header_shopname {
    padding-left: 1rem;
  }
  
  .header_shopname span:nth-of-type(1) {
    font-size: 0.7rem;
  }
  
  .header_shopname span:nth-of-type(2) {
    font-size: 1.2rem;
  }

  .header_contact {
    display: none;
  }
}

/*---------------------------------------------------
パンくずリスト
---------------------------------------------------*/
.breadcrumb {
  margin-top: 2rem;
  padding: 1.1em 1em;
  list-style: none;
  overflow: hidden;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-size: 0.8rem;
}

.breadcrumb li:nth-of-type(n + 2):before {
  content: '/';
  padding: 0 0.2em;
}

.breadcrumb li {
  position: relative;
}

.breadcrumb li a::after{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition: .2s ease-in-out;
  transform: scale(0,1);
  transform-origin: left top
}

.breadcrumb li:nth-of-type(n + 2) a::after{
  position: absolute;
  content: '';
  bottom: 0;
  left: 12px;
  width: 90%;
  height: 1px;
  background: #000;
  transition: .2s ease-in-out;
  transform: scale(0,1);
  transform-origin: left top
}

.breadcrumb li a:hover::after {
  transform: scale(1,1)
}

@media screen and (max-width: 580px) {
  .breadcrumb {
    margin-top: 1rem;
  }
}

/*--------------------------------------------------
main
--------------------------------------------------*/
main {
  margin: 3rem auto 0;
  width: 95%;
}

.car_name h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.car_name h1 span {
  font-size: 2.5rem;
  padding-right: 1rem;
}

.stock {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.stock_img {
  width: 50%;
}
/*画像の横幅を100%にしてレスポンシブ化*/
.gallery img,
.choice-btn img {
  width: 100%;
  height: auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/
} 
/*メイン画像下に余白をつける*/

.gallery{
margin:0 0 5px 0;
}

/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
position: absolute;/*絶対配置にする*/
z-index: 3;
top: 50%;
transform: translateY(-50%);
cursor: pointer;/*マウスカーソルを指マークに*/
outline: none;/*クリックをしたら出てくる枠線を消す*/
width: 50px;
transition: all .3s;
opacity: 0.8;
}

.slick-prev:hover,
.slick-next:hover {
opacity: 0.6;
}

.slick-prev {/*戻る矢印の位置と形状*/
left:2.5%;
}

.slick-next {/*次へ矢印の位置と形状*/
right:2.5%;
}

/*選択するサムネイル画像の設定*/

.choice-btn li{
padding: 2px;
cursor: pointer;
outline: none;
background:#fff;
width:20%!important;
box-sizing: border-box;
}

.choice-btn li img{
opacity: 0.7;/*選択されていないものは透過40%*/
}

.choice-btn li.slick-current {
border: 2px solid #000;
padding: 0;
}

.choice-btn li.slick-current img{
opacity: 1;/*選択されているものは透過しない*/
}

.choice-btn .slick-track {
transform: unset !important;/*画面幅サイズ変更に伴うサムネイル固定*/
}


/* stock_detail */
.flex_column {
display: flex;
flex-direction: column;
width: 48%;
}

.stock_detail {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.payment {
width: 35%;
}

.payment_ttl {
display: block;
padding: 0.5rem 0;
background: var(--Color4);
color: #fff;
font-size: 1rem;
text-align: center;
border: 2px solid var(--Color4);
}

.charge {
display: block;
padding: 0.5rem 0;
border: 2px solid var(--Color4);
font-size: 1rem;
text-align: center;
}

.charge span {
padding: 0 0.5rem;
color: #ff0000;
font-size: 2.5rem;
font-weight: 700;
}

.stock_info {
width: 60%;
}

.stock_info dl {
display: flex;
}

.stock_info dl:nth-of-type(2) {
margin-top: 1rem;
}

.stock_info dl dt {
padding: 0.8rem 0.5rem;
width: 40%;
background: #F5F4F0;
color: #646464;
font-size: 0.9rem;
font-weight: 400;
text-align: center;
}

.stock_info dl dd {
padding: 0.8rem 0 0.8rem 0.5rem;
width: 60%;
font-weight: 400;
}

.car_spec {
margin-top: 2rem;
}

.spec_ttl h3 {
position: relative;
font-size: 1.25rem;
font-weight: 600;
padding-bottom: 1rem;
border-bottom: 2px solid #dfdfdf;
}

.spec_ttl h3::before {
content: "";
display: block;
width: 60px;
border-bottom: 2px solid var(--Color3);
position: absolute;
bottom: -2px;
}

.car_spec table {
margin-top: 1rem;
width: 100%;
border-collapse: collapse;
border: 2px solid #EBE9E3;
}

.car_spec table th,
.car_spec table td {
padding: 1rem 0;
border: 1px solid #EBE9E3;
}

.car_spec table th {
padding-left: 1rem;
width: 25%;
background: #F9F8F6;
color: #646464;
font-weight: 400;
}

.car_spec table td {
padding-left: 1rem;
width: 25%;
font-weight: 400;
}

/* equipment */
.equipment {
margin-top: 2rem;
}

.equipment_ttl h3 {
position: relative;
font-size: 1.25rem;
font-weight: 600;
padding-bottom: 1rem;
border-bottom: 2px solid #dfdfdf;
}

.equipment_ttl h3::before {
content: "";
display: block;
width: 60px;
border-bottom: 2px solid var(--Color3);
position: absolute;
bottom: -2px;
}

.equipment table {
margin-top: 1rem;
width: 100%;
border-collapse : separate; 
border-spacing: 8px;
}

.equipment table td {
height: 50px;
border: 1px solid #dfdfdf;
font-size: 0.8rem;
vertical-align: middle;
padding-left: 1rem;
width: 24%;
font-weight: 400;
color: #EBE9E3;
}

.equipment table td.on {
border: 1px solid #dfdfdf;
font-size: 0.8rem;
vertical-align: middle;
padding-left: 1rem;
width: 24%;
font-weight: 500;
color: var(--Color3);
background: #D0E4FA;
}

@media screen and (max-width: 1200px) {
  .stock_detail {
    display: block;
  }
    
  .payment {
    width: 50%;
  }
  
  
  .stock_info {
    margin-top: 2rem;
    width: 100%;
  }
}

@media screen and (max-width: 850px) {
  .payment {
    width: 70%;
  }

  .payment_ttl {
    font-size: 0.8rem;
    }
    
  .charge {
  font-size: 0.8rem;
  }
  
  .charge span {
  font-size: 2rem;
  }

  .stock_info {
    margin-top: 1rem;
  }

  .stock_info dl:nth-of-type(2) {
    margin-top: 0.5rem;
  }
    
  .stock_info dl dt {
    padding: 0.8rem 0.2rem;
    width: 45%;
    font-size: 0.8rem;
  }
  
  .stock_info dl dd {
    width: 55%;
    font-size: 0.8rem;
  }
  
  .car_spec table th,
  .car_spec table td {
    padding: 1rem 0 1rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 580px) {
  main {
    margin-top: 3rem;
  }

  .car_name h1 {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .car_name h1 span {
    font-size: 2rem;
    padding-right: 0;
  }
  
  .stock {
    display: block;
  }
  
  .stock_img {
    width: 100%;
  }

  .flex_column {
    width: 100%;
  }

  .stock_detail {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .payment {
    margin-top: 1rem;
    width: 35%;
  }

  .stock_info {
    width: 63%;
  }

  .payment_ttl {
    padding: 0.25rem 0;
    font-size: 0.6rem;
  }
    
  .charge {
    padding: 0.25rem 0;
    font-size: 0.6rem;
  }
  
  .charge span {
    padding: 0 0.2rem;
    font-size: 1.5rem;
  }

  .stock_info dl dt {
    padding: 0.5rem 0.1rem;
    font-size: 0.65rem;
  }

  .stock_info dl dd {
    padding: 0.5rem 0 0.5rem 0.2rem;
    font-size: 0.65rem;
  }

  .car_spec table th,
  .car_spec table td {
    padding: 1rem 0 1rem 0.5rem;
    font-size: 0.65rem;
  }

  .equipment table {
    border-spacing: 4px;
  }

  .equipment table td,
  .equipment table td.on {
    padding-left: 0.5rem;
    width: 25%;
    height: 40px;
    font-size: 0.6rem;
  }
}

/*--------------------------------------------------
contact
--------------------------------------------------*/
.contact {
  margin-top: 8rem;
}

.contact_title h2 {
  position: relative;
  margin: 0 auto;
  width: fit-content;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--Color1);
}

.contact_title h2::before,
.contact_title h2::after {
  position: absolute;
  content: "";
  display: block;
  background-color: var(--Color1);
  height: 3px;
  width: 50px;
}

.contact_title h2::before {
  bottom: 20px;
  left: -50px;
  transform: rotate(45deg);
}

.contact_title h2::after {
  bottom: 20px;
  right: -50px;
  transform: rotate(-45deg);
}

.contact_btn {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 3rem;
}

.btn_wrap a {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}

.btn_wrap {
  margin: 30px 0;
}

.btn {
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  width: 350px;
  padding: 2rem 0 1rem;
  color: #fff;
  
}

.btn.tel {
  background: #0E4A8C;
  -webkit-box-shadow: 0 5px 0 #132539;
  box-shadow: 0 5px 0 #132539;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn.line {
  background: #2CD228;
  -webkit-box-shadow: 0 5px 0 #166613;
  box-shadow: 0 5px 0 #166613;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn.mail {
  background: #FA6322;
  -webkit-box-shadow: 0 5px 0 #AE3704;
  box-shadow: 0 5px 0 #AE3704;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn_head span {
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 285px;
  padding: 0.2rem 0;
  z-index: 10;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn_head.tel span {
  color: #0E4A8C;
  border: 2px solid #0E4A8C;
  border-radius: 50px;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.btn_head.line span {
  color: #2CD228;
  border: 2px solid #2CD228;
  border-radius: 50px;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.btn_head.mail span {
  color: #FA6322;
  border: 2px solid #FA6322;
  border-radius: 50px;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.contact_tel a:hover .btn {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  background: #0C3E73;
  -webkit-box-shadow: 0 2px 0 #0C3E73;
  box-shadow: 0 2px 0 #132539;
}

.contact_tel a:hover .btn_head span {
  transform: translate(-50%, 3px);
}

.contact_line a:hover .btn {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  background: #28BC23;
  -webkit-box-shadow: 0 2px 0 #28BC23;
  box-shadow: 0 2px 0 #166613;
}

.contact_line a:hover .btn_head span {
  transform: translate(-50%, 3px);
}

.contact_mail a:hover .btn {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  background: #F84F06;
  -webkit-box-shadow: 0 2px 0 #F84F06;
  box-shadow: 0 2px 0 #AE3704;
}

.contact_mail a:hover .btn_head span {
  transform: translate(-50%, 3px);
}

.btn.tel span,
.btn.line span,
.btn.mail span {
  position: relative;
  padding-left: 30px;
}

.btn.tel span::before {
  content: '';
  background-image: url('../img/icon_tel.png');
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 11px;
  left: -5px;
}

.btn.line span::before {
  content: '';
  background-image: url('../img/icon_line.png');
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 9px;
  left: -10px;
}

.btn.mail span::before {
  content: '';
  background-image: url('../img/icon_mail.png');
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  width: 35px;
  height: 26px;
  position: absolute;
  top: 13px;
  left: -12px;
}

.tab {
  display: none;
}

@media screen and (max-width: 1200px) {
  .contact_btn {
    gap: 20px;
  }
  
  .btn {
    font-size: 1.5rem;
    width: 250px;
    padding: 1.5rem 0 1rem;
  }
  
  .btn_head span {
    font-size: 0.8rem;
    width: 200px;
  }
  
  .btn.tel span::before {
    width: 20px;
    height: 20px;
    top: 9px;
    left: 4px;
  }
  
  .btn.line span::before {
    width: 25px;
    height: 25px;
    top: 7px;
    left: 0px;
  }
  
  .btn.mail span::before {
    width: 25px;
    height: 19px;
    top: 10px;
    left: 0px;
  }
}

@media screen and (max-width: 850px) {
  .contact {
    margin-top: 5rem;
  }

  .contact_title h2 {
    font-size: 1.75rem;
  }
  
  .contact_title h2::before,
  .contact_title h2::after {
    height: 3px;
    width: 30px;
  }
  
  .contact_title h2::before {
    bottom: 14px;
    left: -30px;
    transform: rotate(45deg);
  }
  
  .contact_title h2::after {
    bottom: 14px;
    right: -30px;
    transform: rotate(-45deg);
  }

  .contact_btn {
    display: block;
    margin-top: 3rem;
  }

  .btn_wrap {
    margin: 50px auto 0;
    width: fit-content;
  }
  
  .btn {
    font-size: 2rem;
    width: 350px;
    padding: 2rem 0 1rem;
    
  }
  
  .btn_head span {
    font-size: 1rem;
    width: 285px;
  }
  
  .btn.tel span::before {
    width: 30px;
    height: 30px;
    top: 11px;
    left: -5px;
  }
  
  .btn.line span::before {
    width: 35px;
    height: 35px;
    top: 9px;
    left: -10px;
  }
  
  .btn.mail span::before {
    width: 35px;
    height: 26px;
    top: 13px;
    left: -12px;
  }

  .tab {
    display: block;
  }
}

@media screen and (max-width: 580px) {
  .contact_title h2 {
    font-size: 1.2rem;
  }
  
  .contact_title h2::before,
  .contact_title h2::after {
    height: 2px;
    width: 20px;
  }
  
  .contact_title h2::before {
    bottom: 10px;
    left: -20px;
    transform: rotate(55deg);
  }
  
  .contact_title h2::after {
    bottom: 10px;
    right: -20px;
    transform: rotate(-55deg);
  }
}
/*--------------------------------------------------
footer
--------------------------------------------------*/
footer {
  margin-top: 8rem;
  padding: 2rem 0;
  background: var(--Color3);
}

.footer_logo {
  text-align: center;
}

.footer_info {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.footer_info .shop_name {
  font-size: 2rem;
  font-weight: 700;
}

.footer_info span {
  display: block;
}

.footer_info .address,
.footer_info .tel {
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

.footer_btn a {
  display: block;
  position: relative;
  margin: 3rem auto 0;
  padding: 1.5rem 3rem 1.5rem 1rem;
  width: fit-content;
  background: #132539;
  color: #fff;
  transition: all .3s;
}

.footer_btn a::after {
  content: '';
  position: absolute;
  top: 29px;
  right: 30px;
  width:12px;
  height:12px;
  z-index: 10;
  border-top: 2px solid #fff;
  border-right:2px solid #fff;
  transform: rotate(45deg);
  transition: all .3s;
}

.footer_btn a:hover {
  background: #203e60;
}

.footer_btn a:hover::after {
  right: 20px;
}

/*メニューをページ下部に固定*/
#sp-fixed-menu{
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  opacity: 0.9;
  z-index: 1000;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding:0;
  margin:0;
  width:100%;
}

#sp-fixed-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin:0;
  height: auto;
  font-size: 14px;
  border: 1px solid #fff;
  height: 60px;
}

#sp-fixed-menu li:last-child {
  border-right: none;
}

#sp-fixed-menu li:first-child {
  width: calc(100% / 3);
  background: #0E4A8C;
}

#sp-fixed-menu li:nth-of-type(2) {
  margin-left: -1px;
  width: calc(100% / 3 + 1px);
  background: #2CD228;
}

#sp-fixed-menu li:nth-of-type(3) {
  margin-left: -1px;
  width: calc(100% / 3 + 1px);
  background: #FA6322;
}

/*ボタンを調整*/
#sp-fixed-menu li a{
  color: #fff;
  text-align: center;
  display:block;
  width: 100%;
  height: auto;
}

@media (min-width: 1011px) {
  .for-sp{
     display:none;
   }
}

@media screen and (max-width: 850px) {
  footer {
    margin-top: 5rem;
    padding-bottom: 5rem;
  }

  .footer_info .shop_name {
    font-size: 1.5rem;
  }
  
  .footer_info .address,
  .footer_info .tel {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.3;
  }
}

@media (min-width: 768px) {
  a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  }
}