@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(--color-wht);
  background: var(--color-base); padding: .5em; box-shadow: 5px 5px #999; margin: 0 auto 1em; position: relative; width: 100%; max-width: 1200px;
  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: 1200px; margin: 1em auto; gap: 3px;
  li { width: calc((100% - 3px) / 2); margin: 0;
    a { display: block; width: 100%;}
  }
}

.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 {
  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(--text-color); font-weight: 700; text-align: center; background-color: var(--color-wht); box-shadow: 5px 5px #aaa; position: relative;
    &::after{content: ""; display: block; width: 35px; height: 35px; mask: url(../img/arrow.svg) no-repeat 100% / 100%; background: var(--text-color); position: absolute; top: .6em; right: 1em;}
  }
  span{display: block;}
}

#recommend { background-color: var(--color-base); border-radius: 10px 10px 0 0; padding-bottom: 30px;}
#timer { text-align:center; background-color: #f5f0e8; padding: 1.5em 0 .5em;
  .yycountdown-box {
    display:inline-block; padding:0 .8em;
    color:#fff600; font-size:min(5.6vw,24px);
    background:#222; border:2px solid #666; border-radius:1em;
    &::before { content:"終了まで "; font-size:.8em; }
  }
}
.medama_ttl {
  position: relative; width: 100%; max-width: 800px; margn: 0 auto;
  .ttl{
     padding-top: .7em; font-size: 2.125em; height: 150px; padding-top: .5em; color: var(--color-wht); font-family: var(--font-round);
    span {display: block; font-size: .7em; line-height: 1;}
    &::after {content: ""; display: block; width: 200px; height: 160px; background: url(../img/top/medama_bg.png) no-repeat 100% / 100%; position: absolute; top: -.3em; right: -.5em;}
  }
}
.medama-list { background-color: #f5f0e8; 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_maker {
  padding-block: clamp(20px, 6vw, 60px); background: var(--color-l-base);
  .search_ttl .ttl::after {content: ""; display: block; height: 115px; width: 150px; background: url(../img/top/maker_search.png) no-repeat 100% / 100%; position: absolute; top: -25px; right: 0;}
}
.maker-list {
  gap: 5px; width: 100%; margin-inline: auto;
  li {
    width: calc((100% - 2em) / 4); background: var(--color-wht); box-shadow: 2px 2px #999; font-weight: 700;
    a { display: flex; flex-direction: column-reverse; align-items: center; padding: .5em;}
    img { width: 80%;}
    span {font-size: .875em;}
  }
}
.search_price {
  padding: 15px 0 0; margin-top: 20px;
  .search_ttl::after {content: ""; display: block; height: 170px; width: 170px; background: url(../img/top/price_search.png) no-repeat 100% / 100%; position: absolute; top: -25px; right: 0;}
}
.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;}
}

.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;}
  }
}

.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 { 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: 50px; 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; 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-red); }
#fcal .data td.close span { color:#FFF; background-color: var(--color-red); }


/* ================================================================
  レスポンシブ
=================================================================== */
/* 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;}
    }
  }

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

  .top-nav {
    margin-block: 2em;
    li { width: calc((99% - 2px) / 4);
    }
  }

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

  .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;
    }
  }
  .search_maker {
    .search_ttl .ttl::after {height: 140px; width: 180px; top: -50px; left: 300px;}
  }



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

  .search_price {
    .search_ttl::after {content: ""; display: block; height: 220px; width: 220px; background: url(../img/top/price_search.png) no-repeat 100% / 100%; position: absolute; top: -50px; left: 250px;}
}

  .medama_ttl {max-width: 500px; margin: 0 auto 20px; height: 126px;}
  .medama_ttl .ttl {
    padding-top: .3em; font-size: 2.75em;
    &::before {width: 122px; height: 141px; }
  }
  .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 {
    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 {
    a {
      &::after {width: 50px; height: 50px; top: .8em; right: .8em;}
    }
  }
  .blog .contact-btn {
  a {
    &::after {width: 40px; height: 40px; top: .8em; right: .8em;}
  }
  }

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

  #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) {

}

/* 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; }

  #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%; } }


  #fcal .data { width:100%; }

}

