@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; max-width: 860px; line-height: 1.2; position: relative; margin: 0 auto; vertical-align: bottom; padding-block: .8em;
  .big {font-size: 1.3em;}
  img {width: 200px;}
}
.stock-count-wrap {
  width: 100%; margin: 0 auto; padding: 0; background-color: var(--color-l-base); 
  .stock-count-list {
    padding: 0 0 1em; gap: 1em; max-width: 900px; margin: 0 auto;
    li {
      width: 46%; background-color: var(--color-wht); padding: .4em;
      .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(--color-base);}
}
.stock-count-list li.private-stock {
  border: 3px solid var(--color-sub);
      .ttl {background-color: var(--color-sub);}
      .num { color: var(--color-sub);}
}
.stock-count-wrap .contact-btn {
  background: var(--color-base); padding: 1.5em .8em; margin-bottom: 3px;
  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 { display:none;
  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: 600px; margn: 0 auto;
  .ttl{
     padding-top: 1em; font-size: 2em; height: 130px; color: var(--color-wht);
    span {display: block; font-size: .7em; line-height: 1;}
    &::after {content: ""; display: block; width: 180px; height: 150px; background: url(../img/top/medama_bg.png) no-repeat 100% / 100%; position: absolute; bottom: 0; right: 0;}
  }
}
.medama-list {
  display:grid; grid-template-columns: repeat(4, 1fr); gap: .7em;
  margin: 0 auto 30px; padding: .7em; background-color: #f5f0e8;
  &.slide { display:block; padding-inline:.35em; }
  .slick-slide { margin-inline:.35em; }
  .slick-arrow {
    position:absolute; top:50%; z-index:1; opacity:.95;
    width:20px; height:90px; background:#000; border-radius:3px;
    &::before {
      content:'';
      position:absolute; top:0; bottom:0; left:0; right:0;
      width:.5rem; height:.5rem; margin:auto;
      border-top:2px solid #fff;
      border-right:2px solid #fff;
    }
  }
  .slick-prev { left:-10px; &::before { rotate:-135deg; } }
  .slick-next { right:-10px; &::before { rotate:45deg; } }

  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; }
  }
  .slick-dots li { background:none; box-shadow:none; }
}

#top .searchBox {background-color: var(--color-wht); border-radius: 10px; border: 3px solid var(--color-base); margin-top: 0!important;}
.searchBtn {color: var(--color-wht);}
.search_btm {
  margin: 2em auto 0; width: 100%; gap: 5px;
  li { width: calc((100% - 15px) / 3); margin: 0;}
  a { display: block; width: 100%; background: var(--color-wht); border: 1px solid var(--color-base); box-shadow: 3px 3px var(--color-base); border-radius: 10px; padding: 1em;}
}

.search_ttl {
  position: relative; margin-bottom: 1em;
  .ttl {
    display: block; position: relative; color: var(--text-color); font-size: 1.875em; padding-left: 1.5em;
    &::before {content: ""; display: block; width: 36px; height: 48px; background: url(../img/top/search_icon.svg) no-repeat 100% / 100%; position: absolute; top: 0; left: 0;}
    span.en {font-size: .6em; padding-left: 1em;}
  }
}

.search_maker {
  padding-block: clamp(20px, 6vw, 60px); background: var(--color-sub);
}
.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;
}
.budget-list {
  gap: .3em 0; margin-inline: auto;
  li {
    width: calc((100% - .1em) / 4); text-align: center; position: relative;
    a {
      display: block; padding: 1.2em 0; font-size: clamp(16px,3vw,24px); color: var(--color-wht); font-weight: 700; text-align: center; background-color: var(--color-base); height: 6em;
      &::before {content: ""; display: block; width: 5.5em; height: 5.5em; mask: url(../img/top/search_bg.svg) no-repeat 100% / 100%; background-color: rgb(225 225 225 / 0.9);  position: absolute; bottom: .5em; right: 0;}
    }
    .num {font-size: 1.5em;}
  }
  li:nth-child(even) a {background: var(--color-sub);}

}
.ranking {padding: 20px 0 40px;}
.ranking_ttl {
  display: block; width: 100%; max-width: 620px; margin: 0 auto;
  .ttl {display: inline-block; margin: 1em auto; padding-left: 65px; position: relative;}
  ::before {content: ""; display: block; width: 60px; height: 60px; background: url(../img/top/ranking_ttl.png) no-repeat 100% / 100%; position: absolute; top: -10px; 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%;}
  .stock_btn {position: absolute; width: fit-content; left: 50%; bottom: -4em; padding: .2em .8em; transform: translateX(-50%); text-align: center; color: #fff; font-weight: 600; font-size: clamp(12px, 1.2vw, 15.2px); background: #e71a0f; border-radius: 5px; }
}

.promise ul {
  gap: 1em; margin-bottom: 1.5em;
}


/*.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;}
  }
}
.ttl_logo {width: 180px;}
.reason-list {
  max-width: 1200px; margin: 0 auto; width: 100%; gap: 5px;
  li { width: calc((100% - 15px) / 2); margin: 0;}
}

.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; font-weight: 700; 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);}
  a.tel_num {color: #fff; font-size: 2em; font-weight: 900; line-height: 1;}
  .color-yel {color: var(--color-yel);}
  .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; }
  .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;}
}




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

}

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

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

  .search_btm {
     gap: 10px;
    li { width: calc((100% - 50px) / 5); margin: 0;}
  }

  .search_ttl {
    display: block; margin: 0 0 1em;
    .ttl {
      font-size: 2.3em;
      &::before {content: ""; display: block; width: 51px; height: 69px;}
    }
  }

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

  .medama_ttl {
    max-width: 500px; margin: 20px auto 0; height: 150px;
    .ttl {
      font-size: 2.75em; letter-spacing: 2px;
      &::after {width: 210px; height: 170px;}
    }
  }
  .flyer_ttl {
     max-width: 450px; margin: 0 auto .8em;
  }

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

  .ranking {padding: 30px 0 120px;}
  .ranking_ttl {
    margin: .4em auto 1em;
    ::before { width: 60px; height: 60px;}
  }

  .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);}
  }
  .ttl_logo {width: 300px;}
  .reason-list {
    gap: .5em;
    li {width: calc((100% - 3em) / 5);}
  }

  .promise {
    ul {
      gap: 1em; margin: 0 auto 70px;
      li { width: calc((100% - 2em) / 2);}
    }
  }

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

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

  .promise ul {
    margin-top: 1em;
  }
  .ranking-list ol .stock_btn { bottom: -4.2em; width: 65%; padding: .1em .5em; }
  .ranking {padding: 20px 0 80px;}

}

