@charset "utf-8";

/* ttl ------------- */
.ttl {
  font-size:1.5em; font-weight:700; line-height:1.5;
  .en {font-size:.7em;}
}

video {max-width:1200px; margin:0 auto; z-index:-50;}

.top_banner {
  text-align:center; max-width:800px; margin:0 auto; padding-block:clamp(30px, 6vw, 60px);
}
.sns_banner {
  text-align:center; margin-block:clamp(30px,8vw,60px);
  ul {gap:.5em;}
  li {max-width:224px;}
}

.ttl-def {
  font-weight:700; font-size:1.5em; display:inline-block; color:var(--text-color);
  background:var(--color-pnk); padding:.5em; margin:0 auto 1em; position:relative; width:100%; max-width:1200px;
  border-bottom:2px solid var(--color-base); border-top:2px solid var(--color-base);
  span.en {display:inline; font-size:.65em; margin-left:1em;}
}

.top-slider {width:100%; z-index:-10;}
.slick-track {display:flex; justify-content:center;}
:is(.slider,#thumb1) .slick-slide { padding:.25em; }
#thumb1 { max-width:1200px; margin:auto; }
#thumb1 .slick-track { transform:unset!important; }
#thumb1 .slick-slide { max-width:300px; }

.top-nav { width:100%; max-width:750px; margin:1em auto; gap: clamp(0.5em, 1vw, 1em); display:grid; grid-template-columns:repeat(2, minmax(0, 1fr));
  li { margin:0;
    a {
      display:block; width:100%; padding: 1em; text-align: center; font-weight: bold; font-size: clamp(1.1em, 3.5vw, 22.4px); color: var(--color-wht); border-radius: 10px;
      span { position: relative; padding-left: 1.3em; }
      span::before { position: absolute; content: ""; width: 1.3em; height: 1.2em; left: 0; top: 50%; transform: translateX(-50%); background: url(../img/common/ico_car_wht.svg) no-repeat center / contain; }
      span::after { display: none; }
    }
    a:hover { transition: none; background-color: var(--color-base)!important; color: var(--color-wht); border-color: var(--color-base); }
    a.guide span::before { background: url(../img/common/ico_guide_wht.svg) no-repeat center / contain; }
    a.access span::before { background: url(../img/common/ico_access_wht.svg) no-repeat center / contain; }
    a.reason span::before { background: url(../img/common/ico_crown_wht.svg) no-repeat center / contain; }
    a::after {position: absolute; content: ""; width: .5em; height: .5em; right: 9%; top: 50%; transform: rotate(45deg) translateY(-50%) ; border-top: 3px solid var(--color-wht); border-right: 3px solid var(--color-wht); }
  }
}

.webtokuten {
  .ttl { margin-bottom: .5em; font-size: 2em; color: var(--color-wht); }
}

.zaiko_ttl {
  display:block; width:100%; background:var(--color-orn); padding:1em 0 1em 4.5em; position:relative;
  .ttl {display:block; max-width:700px; line-height:1.2; margin:0 auto; position:relative; margin:0 auto;}
  .ttl::before {content:""; display:block; position:absolute; left:-2.8em; top:0; background:url(../img/top/kei_logo.png) no-repeat 100% / 100%; width:2.5em; height:2.5em;}
}
.stock-count-wrap {
  width:100%; margin:0 auto; padding:0; background-color:var(--color-l-base); 
  .stock-count-list {
    padding:1em 0; gap:1em; max-width:900px; margin:0 auto;
    li {
      width:46%; background-color:var(--color-wht); padding:.6em;
      .ttl {font-size:clamp(20px,4vw,32px); color:var(--color-wht); font-weight:600; text-align:center; padding:.3em;}
      .num {margin-block:0; text-align:center; line-height:1;}
      .font-en {font-size:clamp(50px,7vw,76px); font-weight:700;}
    }
  }
}
.stock-count-list li.web-stock {
  border:3px solid var(--color-base);
      .ttl { background-color:var(--color-base);}
      .num { color:var(--text-color);}
}
.stock-count-list li.private-stock {
  border:3px solid var(--color-yel);
      .ttl {background-color:var(--color-yel);}
      .num { color:var(--text-color);}
}
#recommend .contact-btn,.voice-contact-btn {
  a {
    display:block; margin:0 auto; width:95%; max-width:520px; padding:.8em .7em; padding-right:1.4em; font-size:clamp(18px,3vw,30px); line-height:1.5; color:var(--color-wht); font-weight:700; text-align:center; background-color:var(--color-base); box-shadow:5px 5px #ddd; position:relative; border-radius:5px;
    &::after{content:""; display:block; width:35px; height:35px; mask:url(../img/arrow.svg) no-repeat 100% / 100%; background:var(--color-wht); position:absolute; top:.6em; right:1em;}
  }
  span{display:block;}
}

#recommend { background-color:var(--color-pnk); border-radius:10px 10px 0 0; padding-bottom:30px;}
#timer { text-align:center; padding:0 0 2em;
  .yycountdown-box {
    display:inline-block; padding:0.8em 1.3em; font-weight:bold;
    color:#ff0000; font-size:min(5.6vw,24px);
    background:#fff; border-radius:1em;
    &::before { content:"終了まで "; font-size:.8em; }
  }
}

.medama_ttl{
  position:relative; text-align:center; padding:1.2em 0; /* 左右は飾り分あける */
}

.medama_ttl span {display:block; line-height:1; text-align:center;}

/* 左右共通 */
.medama_ttl::before,
.medama_ttl::after{
  content:"";
  position:absolute;
  top:50%;
  width:40px;
  height:65px;
  transform:translateY(-50%);
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* 左 */
.medama_ttl::before{
  left:1em;
  background-image:url(../img/top/medama_left.svg);
}

/* 右 */
.medama_ttl::after{
  right:1em;
  background-image:url(../img/top/medama_right.svg);
}

.medama-list { margin:0 auto 30px; padding:.7em; display:grid; grid-template-columns:repeat(4, 1fr); gap:.7em; }
.medama-list li { box-shadow:var(--shadow); padding-bottom:.5em; background-color:var(--color-wht);
  p { margin:0; }
  .cname { margin-top:.3em; text-align:center; color:#fff; background-color:var(--color-base);}
  .info { display:grid; grid-template-columns:repeat(3, 1fr); font-size:12px;  text-align:center; }
  .info div:nth-of-type(n+2) { border-left:1px solid #fff; }
  .info dt { background:#f6f6f6; }
  .info dd { font-weight:bold; }
  .image { position:relative; margin-bottom:5px; }
  .image .frame { position:absolute; top:0; left:0; right:0; }
}

.search_ttl {
  display:block; margin:0 auto; position:relative; height:90px; max-width:800px;
  .ttl {
    display:block; position:relative; color:var(--text-color); font-family:var(--font-round); font-size:1.875em; width:100%; height:100%;
    span.en {display:block; font-size:.6em;}
  }
}

.search_conditions {
  padding-block:clamp(20px, 6vw, 60px); background:var(--color-l-blu);
  .search_ttl .ttl::after {content:""; display:block; height:65px; width:105px; background:url(../img/top/search_right.png) no-repeat 100% / 100%; position:absolute; top:-5px; left:200px;}
}

.search_maker {
  padding-block:clamp(20px, 6vw, 60px); background:var(--color-l-blu);
  .search_ttl .ttl::after {content:""; display:block; height:65px; width:105px; background:url(../img/top/search_right.png) no-repeat 100% / 100%; position:absolute; top:-5px; left:300px;}
}

.search_price {
  padding-block:clamp(20px, 6vw, 60px); background:var(--color-l-blu);
  .search_ttl .ttl::after {content:""; display:block; height:65px; width:105px; background:url(../img/top/search_right.png) no-repeat 100% / 100%; position:absolute; top:-5px; left:240px;}
}

.maker-list {
  gap:5px; width:100%; margin-inline:auto;
  li {
    width:calc((100% - 2em) / 3); background:var(--color-wht); box-shadow:4px 4px #ddd; font-weight:700;
	border:3px solid #e2cf44; border-radius:5px;
    a { display:flex; flex-direction:column-reverse; align-items:center; padding:.5em;}
    img { width:80%;}
    span {font-size:.875em;}
  }
}

.conditions-list {
  gap:5px; width:100%; margin-inline:auto;
  li {
    width:calc((100% - 10em) / 2); background:var(--color-wht); box-shadow:2px 2px #ddd; font-weight:700;
	border:3px solid #51c2ce; border-radius:5px;
    a { display:flex; flex-direction:column-reverse; align-items:center; padding:1em;}
    img { width:60%;}
    span {font-size:1.5em; padding-bottom:.5em;}
	margin:0 auto;
  }
}

.price-list {
  gap:5px; width:100%; margin-inline:auto;
  li {
    width:calc((100% - 10em) / 4); margin:0 auto; font-weight:700;
    background:var(--color-wht); border:3px solid #d15088; border-radius:5px; box-shadow:2px 2px #ddd;
    a { display:flex; flex-direction:column-reverse; align-items:center; padding: 1.5em 1em;}
    img { width:70%;}
    span { font-size:1.2em; }
    em { font-size:1.4em; color:var(--color-base); }
  }
}

.bg-pk-strp {
  padding:20px 20px 30px;
  margin:60px auto;
  background:
    repeating-linear-gradient(
      60deg,
      #e86aa5,
      #e86aa5 2px,
      #d85b94 2px,
      #d85b94 6px
    );
}

.budget-list {
  gap:.3em 0; margin-inline:auto;
  li {
    width:calc((100% - .3em) / 2); text-align:center; position:relative;
    a {
      display:block; padding:2em 0 1.5em; font-size:clamp(16px,3vw,24px); color:var(--color-wht); font-weight:700; text-align:center; background-color:var(--color-pnk); border-radius:10px;
      &::before {content:""; display:block; width:5.5em; height:5.5em; mask:url(../img/top/search_icon.svg) no-repeat 100% / 100%; background-color:rgb(225 225 225 / 0.4);  position:absolute; bottom:.5em; right:.5em;}
    }
    .num {font-size:1.85em;}
  }
  li:nth-child(2) a {background:var(--color-blu);}
  li:nth-child(3) a {background:var(--color-orn);}
  li:nth-child(4) a {background:var(--color-l-grn);}
}
.ranking {padding:0 0 40px;}
.ranking_ttl {
  display:block; width:100%; max-width:620px; margin:0 auto;
  .ttl {display:inline-block; margin:1em auto; padding-left:50px; position:relative;}
  ::before {content:""; display:block; width:40px; height:68px; background:url(../img/top/recommended_ttl.png) no-repeat 100% / 100%; position:absolute; top:-25px; left:0;}
  span {margin-left:1em;}
}

.ranktab { display:table; table-layout:fixed; margin:0 auto 2em; max-width:750px; font-weight:bold; line-height:60px; color:var(--color-wht); text-align:center;}
.ranktab li {display:table-cell; min-width:5em; background-color:var(--color-sub); padding:0 .8em; background-clip:padding-box; font-size:.85em; border-right:2px solid transparent; cursor:pointer; border-radius:10px;}
.ranktab li:hover {background-color:var(--color-base);}
.ranktab li:last-child{ border-right:none;}
.ranktab li.active { color:var(--color-wht); background-color:var(--color-base);}

.ranking-list ol {
  display:flex; justify-content:center; max-width:850px; margin:0 auto; list-style:none; margin-block:0; counter-reset:number; padding:0;
  a { display:block; padding:.5em;}
  li {
    width:calc((100% - .5em) / 3); position:relative; padding-top:75px;
    .cname {width:100%; position:absolute; font-weight:700; display:block; left:0; bottom:-1.5em; text-align:center; color:var(--text-color);}
    &::before {content:""; display:block; width:73px; height:94px; background:url(../img/top/rank2.png) no-repeat 100% / 100%; position:absolute; top:-10px; left:0; right:0; margin:auto; z-index:10;}
  }
  li:nth-child(2)::before {background:url(../img/top/rank1.png) no-repeat 100% / 100%;}
  li:nth-child(3)::before {background:url(../img/top/rank3.png) no-repeat 100% / 100%;}
}

.promise {
  padding:30px 0; clip-path:inset(0); position:relative; box-sizing:border-box;
}
.promise::after {
  content:'';
  position:fixed;
  top:0;
  left:0;
  z-index:-10;
  width:100%;
  height:100%;
  background-image:url(../img/top/declaration_bg_sp.png);
  background-size:cover;
}

/*.ranking-list {
  gap:1.7em .5em;
  a { display:block; padding:.5em;}
  li {
    width:calc((100% - .5em) / 2); border:1px solid var(--color-base); position:relative;
    .cname { position:absolute; display:block; left:50%; bottom:-1em; translate:-50% 0; width:80%; color:var(--color-wht); text-align:center; background-color:var(--color-base);}
  }
}*/

.bnr-coupon {
  margin-bottom:clamp(14px,3vw,28px);
}

.top_link ul {
  gap:5px; width:100%;
  li {
    width:calc((98% - 3px) / 3); display:block; border:1px solid #666; position:relative; 
    a { display:block; width:100%; height:100%; text-align:center; color:var(--color-wht); font-size:.6em; background:#666; position:relative;
      img {opacity:.7;}
    }
    ::after {content:""; display:block; width:45px; height:45px; mask:url(../img/common/arrow_circle.svg) no-repeat 100% / 100%; background-color:var(--color-wht); position:absolute; top:40%; left:30%; margin:auto;}
  }
}
.reason-list {
  gap:.5em;
  li {
    width:100%; margin-bottom:10px;
    .ttl {
        font-size:1.5em; padding-left:45px; position:relative; color:var(--color-base); border-bottom:3px solid var(--color-base);
        &::before {content:""; display:block; width:43px; height:65px; background:url(../img/top/reason_icon.png) no-repeat 100% / 100%; position:absolute; top:-5px; left:-2px;}
      }
    figure {width:50%; margin-top:1em;}
    .txt { width:45%; margin-block:unset; padding:0;}
    em { font-size:1.5em; color:var(--color-red); font-weight:700; letter-spacing:-.081em;}
  }
}

.ceremony-list {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1em;
  margin-bottom:min(7%,30px);
  li { position:relative;
    .ttl {
      font-size:1.2em; padding-left:45px; color:var(--text-color); border-bottom:3px solid var(--color-base);
      line-height:1.4;
      &::before {
        position:absolute; top:-5px; left:-2px;
        content:""; display:block; width:43px; height:65px;
        background:url(../img/top/delivery_icon.png) no-repeat 100% / 100%;
        }
      }
    figure { margin-top:1em;}
  }
}

.voice-list {
  gap:1em;  margin-bottom:min(7%,30px);
  h3 {margin-block:0.5em;}
  p {margin-block:0.3em;}
  li {
    width:calc((100% - 2em) / 2); padding:0 1em 1em;
    border:2px solid #ff6010; border-radius:5px;
    .ttl {
        font-size:1.2em; position:relative; color:var(--color-orn); border-bottom:2px solid var(--color-gry);
      }
    .txt { margin-block:unset; padding:0;}
    em { font-size:1em; color:var(--color-red); font-weight:700; letter-spacing:unset; }
  }
}

.con-box.info{ border:3px solid var(--color-sub); border-radius:10px;
  hgroup { margin-top:-2em; }
  .scroll { padding:0 1em; height:200px; }
}

.extradition_list {
  gap:.5em; margin-block:0 2em;
  li { width:calc((100% - 2em) / 2); position:relative;}
}

.top_info .ttl {
  display:inline-block; font-size:1.25em!important; position:relative; background-color:var(--color-base); color:var(--color-wht); padding:.3em 1.5em; border-radius:30px;
}
.top_info .info {width:100%; margin-top:.5em;}
.top_info .flex {margin-bottom:40px;}
.top_info .gmap {width:100%;}

.article-list { margin-bottom:min(7%,30px); gap:.5em; padding:.5em;
  li { width:calc((100% - .5em) / 2); position:relative;
    &::before { content:""; position:relative; z-index:2; display:block; padding-top:100%; background:-moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
      background:-webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
      background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    }/*liを正方形に&グラデ*/
    &:hover::before {
      background:-moz-linear-gradient(top, rgba(51,51,51,0) 0%, rgba(51,51,51,1) 100%); /* FF3.6-15 */
      background:-webkit-linear-gradient(top, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* Chrome10-25,Safari5.1-6 */
      background:linear-gradient(to bottom, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00333333', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
    }
  }
  figure {position:absolute; z-index:1; top:0; width:100%; height:100%; }
  img { width:100%; height:100%; object-fit:cover;}
  a {position:absolute; z-index:3; top:0; height:100%; width:100%; color:#fff; text-decoration:none;
    p { position:absolute; bottom:0; margin:0; padding:1em; line-height:1.5;}
  }
  time { display:block; font-size:0.8rem; }
}


.blog .contact-btn {
  a {
    display:block; margin:0 auto; width:95%; max-width:520px; padding:.7em .7em; border-radius:5px; padding-right:1.4em; font-size:clamp(18px,3vw,30px); line-height:1.5; color:var(--color-wht); font-weight:700; text-align:center; background-color:var(--color-base); box-shadow:5px 5px #aaa; position:relative;
    &::after{content:""; display:block; width:30px; height:30px; mask:url(../img/arrow.svg) no-repeat 100% / 100%; background:var(--color-wht); position:absolute; top:.7em; right:1em;}
  }
}

#top_contact {
  text-align:center; line-height:1.6; background:url(../img/top/top_contact_sp_bg.jpg) no-repeat; background-size:cover; background-position:center center; background-position-y: 70% !important; color:var(--color-wht);
  .bg_contact { padding:1.2em 0; background-color:rgba(0, 0, 0, 0.5);}
  .big {font-weight:700; color:var(--color-yel);}
  a.tel_num {color:#fff; font-size:2em; font-weight:900; line-height:1;}

  .reserve_btn a {display:inline-block; background:var(--color-base); text-align:center; padding:.6em 3em; padding-left:4em; color:var(--color-wht); position:relative; text-align:center; font-size:1.25em; font-weight:700; border-radius:50px;}
  .reserve_btn a span {display:block; line-height:1.2; font-size:.6em;}
  .reserve_btn a:before {content:""; background:url(../img/top/reserve_icon.svg) no-repeat left top / auto 100%; width:1.5em; height:1.5em; position:absolute; left:2em; top:.8em;}
  .bg_contact p:nth-child(5) { line-height:1.3; }
  .tel_box {margin:0 auto; display:inline-block;}
  .tel_box dt { width:7.5em;}
}
.voice {
  background:var(--color-yel); padding:clamp(30px,8vw,60px) 0;
  .btn_arrow {margin-top:2em;}
}
.btn_arrow a {
  display:inline-block; background:var(--color-base); padding:.8em 2em; padding-right:3em; color:var(--color-wht); position:relative; text-align:center; font-size:1.5em; font-weight:700; border-radius:3em;
  &::before {content:""; background:url(../img/common/arrow_circle.svg) no-repeat left top / auto 100%; width:1.8em; height:1.8em; position:absolute; right:.6em; top:.4em;}
}

/* カレンダー
--------------------------------------------------- */
#calendar { padding-block:clamp(30px,8vw,60px);}
#fcal { overflow:hidden;}
#fcal h3 { width:100%; margin-bottom:30px; text-align:center; }
#fcal p {margin:0 auto .2em;}
#fcal .data { position:relative; margin-bottom:15px; padding:5px 20px; width:49%; border:3px solid var(--color-base); background:#fff; border-radius:10px;}
#fcal .ym { margin:0 auto; padding-block:.7em; width:90%; font-weight:bold; text-align:center; color:var(--color-base); border-bottom:2px dotted var(--color-base);}
#fcal .ym .year { margin-top:0; font-size:1.4em; }
#fcal .ym .month { font-size:1.8em; margin-left:.2em; }
#fcal .data .week {background:var(--color-l-gry); border-bottom:5px solid var(--color-wht);}
#fcal .data .saturday { color:var(--color-blu); }
#fcal .data .holiday { color:var(--color-red); }
#fcal .data table { margin:2% auto; width:90%; }
#fcal .data td { padding:2px; font-weight:bold; text-align:center; }
#fcal .data td span { display:block; width:28px; margin:auto; padding-bottom:2px; line-height:26px; border-radius:50%; }

#fcal .calList { margin-bottom:1em; column-gap:25px; }
#fcal .calList li { position:relative; padding-left:20px; font-weight:bold; }
#fcal .calList li::before { content:""; position:absolute; width:15px; height:15px; top:7px; left:0; border-radius:50%; }

#calendar span.close { color:var(--color-base); }
#fcal .data td.close span { color:#FFF; background-color:var(--color-base); }

/* ================================================================
  ▼追加分
=================================================================== */
.news-box {
  margin-bottom:min(7%,30px); padding:0 1em 1em;
  background:repeating-linear-gradient(-45deg, #ffe964, #ffe964 2px, #e2cf44 2px, #e2cf44 6px);
  .news-ttl {
    display:flex; align-items:center; justify-content:center;
    gap:40px; padding:20px 0;
    font-size:32px; font-weight:bold; color:#000;
    .icon { width:60px; height:auto; }
  }
  .news-list {
    padding:.5em; background:#fff; border-radius:15px;
    li:nth-child(n+2) { border-top:1px solid #ccc; }
    a { display:block; padding:.5em; }
    time { margin-right:1em; }
  }
}

.btn-detail {
  padding:18px 20px; background-color:#d4558f; text-align:center; color:#fff;
  border-radius:9999px; text-decoration:none;
  font-weight:700; letter-spacing:0.05em;
}

.bg-ranking {
	background:url(../img/top/bg-recommend.png) no-repeat; background-size:cover; background-position:center center;
}

.star5_rating{
    position:relative;
    z-index:0;
    display:inline-block;
    white-space:nowrap;
    color:#CCCCCC; /* グレーカラー 自由に設定化 */
    /*font-size:30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
    content:'★ ★ ★ ★ ★';
}

.star5_rating:after{
    position:absolute;
    z-index:1;
    top:0;
    left:0;
    overflow:hidden;
    white-space:nowrap;
    color:#ff6010; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width:100%; } /* 星5 */
.star5_rating[data-rate="4.5"]:after{ width:90%; } /* 星4.5 */
.star5_rating[data-rate="4"]:after{ width:80%; } /* 星4 */
.star5_rating[data-rate="3.5"]:after{ width:70%; } /* 星3.5 */
.star5_rating[data-rate="3"]:after{ width:60%; } /* 星3 */
.star5_rating[data-rate="2.5"]:after{ width:50%; } /* 星2.5 */
.star5_rating[data-rate="2"]:after{ width:40%; } /* 星2 */
.star5_rating[data-rate="1.5"]:after{ width:30%; } /* 星1.5 */
.star5_rating[data-rate="1"]:after{ width:20%; } /* 星1 */
.star5_rating[data-rate="0.5"]:after{ width:10%; } /* 星0.5 */
.star5_rating[data-rate="0"]:after{ width:0%; } /* 星0 */

.voice_evaluation {background-color::#f5f4f0; border:1px solid #cccccc; padding:2px 5px; margin-right:5px;}
.car_sensor_evaluation {margin:0 auto; max-width:400px; margin-bottom:20px;}

.sns-links{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.sns-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:140px;

  background:#fff;
  border:2px solid #d9d9d9;
  border-radius:12px;

  text-decoration:none;
  color:inherit;
}

.sns-icon{
  width:72px;   /* ここは好みで */
  height:72px;
  object-fit:contain;
}

.sns-arrow{
  position:absolute;
  right:22px;
  top:50%;
  width:14px;
  height:14px;
  transform:translateY(-50%) rotate(-45deg);
  border-right:4px solid #111;
  border-bottom:4px solid #111;
}

/* 画面が狭い時は1列に */
@media (max-width:520px){
  .sns-links{
    grid-template-columns:1fr;
  }
}



/* ================================================================
  レスポンシブ
=================================================================== */
/* 1200以上 */
@media screen and (min-width:1200px) {
  body { overflow-x:hidden;}
}

/* 600以上(PC・タブレット) */
@media screen and (min-width:600px) {
  #arrow {
    position:relative;
    top:-280px;
    left:50%;
    width:1208px;
    height:100%;
    margin-left:-600px;
  }
  .slick-arrow {
    &::before {
      content:''; position:absolute; top:0; left:0; width:1.5em; aspect-ratio:1; background-color:var(--color-base); clip-path:var(--arrow);
    }
    &.slick-prev {
      left:-3.5%;
      &::before { rotate:-180deg;}
    }
    &.slick-next{
      right: -2%;
    }
  }

  .ttl {font-size:2em;}
  .ttl-def { font-size:2em; margin-bottom:1.5em; }

  .top-nav { margin-block:2em; max-width:1200px;
	grid-template-columns:repeat(4, minmax(0, 1fr));
  }

  .search_maker,.search_conditions {padding:60px 0 0;}
  .search_price {padding:60px 0;}

  .news-list { font-size:1.3em; }

  .budget-list { gap:.5em;
    li { width:calc((100% - 2em) / 4);
      a {padding:2.3em 0;}
    }
  }

  .search_ttl {
    display:block; margin:0 0;
    .ttl {
      font-size:2em;
    }
  }

  .article-list {
    gap:1em; padding:1em;
    li {
      width:calc((100% - 3em) / 4); position:relative;
    }
  }

  .maker-list {
    justify-content:center; gap:.5em; width:100%;
    li { width:calc((100% - 4em) / 6);}
  }

  .medama_ttl {max-width:500px; margin:0 auto 20px; height:126px;}
  .medama_ttl .ttl { padding-top:0; font-size:2.75em;}
}

/* ここから全体 */
.flyer_ttl {
   max-width:450px; margin:0 auto .8em;
}

.nousya-list { gap:.5em;
  li { width:calc((100% - 2em) / 4);
  }
}

.ranking {padding:30px 0 60px;}
.ranking_ttl .ttl {margin:.4em auto 1em;}

.ranking-list ol {
  margin-top:20px;
  li {
    padding-top:80px;
    &::before {width:110px; height:120px; top:-30px; left:40px; right:0; margin:auto;}
  }
}

.top_link ul {
  gap:5px; max-width:1200px; margin:0 auto;
  li {
    width:calc((98% - 3px) / 6);
    a {font-size:1em; }
    ::after {top:40%; left:40%; margin:auto;}
  }
}

.extradition_list {
  li { width:calc((100% - 2em) / 4);}
}


.reason-list{
  gap:1em;
  li {display:block; padding:0 1em; width:calc((100% - 2em) / 2); margin-bottom:30px;
    .ttl {
      font-size:2em; padding-left:2.5em; position:relative;
      &::before {content:""; display:block; width:83px; height:130px; top:-10px; left:-10px;}
    }
    em { letter-spacing:unset;}
    figure {width:100%;}
    .txt { width:100%;}
  }
}

.promise {
  background:url(../img/top/declaration_bg_pc.png); padding:70px 0;
  ul {
    gap:1em; margin:0 auto;
    li { width:calc((100% - 2em) / 2);}
  }
}

.stock-count-wrap {
  padding:0 0 0;
  .stock-count-list {
    padding:1em; gap:1em; margin:2em auto;
  }
}

#recommend .contact-btn,.voice-contact-btn {
  a {
    &::after {width:50px; height:50px; top:.8em; right:.8em;}
  }
}
.blog .contact-btn {
a {
  &::after {width:40px; height:40px; top:.8em; right:.8em;}
}
}


#top_contact {
  font-size:1.25em; text-align:center; line-height:1.6; background:url(../img/top/top_contact_pc_bg.jpg) no-repeat; background-size:cover; background-position:center center; color:var(--color-wht);
  .bg_contact {padding:3em 0;}
  p {margin-block:1em;}
}

.top_info .gmap {width:35%; margin-bottom:0; margin-top:0;}
.top_info figure {
  width:40%;
  img {width:100%;}
}
.top_info .info {width:25%; text-align:left;}
/* ここまで全体 */



/* 960px以上(PC) */
@media screen and (min-width:960px) {
}

/* ================================================================
  タブレット
=================================================================== */
/* 1024以下 (タブレット横以下) */
@media screen and (max-width:1024px) {

    .slick-arrow {
    &.slick-prev {
      left:1.5%;
      &::before { rotate:-180deg;}
    }
    &.slick-next{
      right: 3%;
    }
  }

}

/* 959以下 (タブレット以下) */
@media screen and (max-width:959px) {
}

/* ================================================================
  スマホ
=================================================================== */
@media screen and (max-width:599px){
  .slider { max-width:100%; }
  .slider .slick-slide { padding-inline:0; }
  #thumb1 { max-width:98%; }
  #thumb1 .slick-slide { max-width:24.5vw; }

  .top-nav li a::after { right: 10%; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; }
  .top-nav li a.btn { box-shadow: none; }

  #timer .yycountdown-box { margin-bottom:0; }

  .medama-list { grid-template-columns:repeat(2, 1fr);}
  .medama-list .grade { font-size:.8em; }
  .medama-list .info dd { font-size:10px !important; }

  #flyer .flyer-list { gap:1em; li { width:100%; } }
  .medama_ttl::before{left:3em;}
  .medama_ttl::after{right:3em;}

  #fcal .data { width:100%; }
  .conditions-list li {
    width:calc((100% - 1em) / 2);
    a { padding-inline:.5em; }
    span { font-size:1em; }
  }
  
  .search_conditions .search_ttl .ttl::after {left:170px;}
  .search_maker .search_ttl .ttl::after {left:250px;}
  .search_price .search_ttl .ttl::after {left:200px;}
  
  .price-list {
    li { width:calc((100% - 10px) / 2); span { font-size:1em; } }
  }
  .bg-pk-strp {margin:0 auto 7%;}
  .ranking_ttl .ttl {padding-left:0px; }
  
   .ranking-list ol {margin-top:0px;}
   .ranking-list ol li::before {width:55px; height:60px; top:0px; left:0px; right:0; margin:auto;}
   .bg-ranking {padding:30px 0 50px;}
   .ranking {padding:0px;}

   #recommend .contact-btn,.voice-contact-btn,.blog .contact-btn { a { &::after {width:25px; height:25px;}}}

   .ceremony-list { grid-template-columns:repeat(2, 1fr); }
   .voice-list > li { width:95%; }

   .car_sensor_evaluation {text-align:center;}
   .car_sensor_evaluation img {max-width:80%;}
  
   .reason-list li {width:calc((100% - 0em) / 1); margin-bottom:10px;}
   .reason-list li .ttl {padding-left:3.6em;}
   .reason-list li .ttl::before {top:0px; left:0px;}
   .top_info .gmap {width:100%; height:600px;}
   .top_info figure {width:100%;}
   .top_info .info {width:100%;}
   
   .sns-links{ grid-template-columns:repeat(2, 1fr);}

   #top_contact { background-position: 55%; }
}

