@charset "UTF-8";

/* -----------------------------------
   KV
 * ----------------------------------- */
main { max-width: none; }
main > .inner,
main > footer {
  max-width: var(--main-width);
  margin-inline: auto;
}
#kv {
  position: relative;
  line-height: 1;
}
#kv picture,
#kv img { display: block; }
#kv .kv__logo {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 7%;
    margin: 0;
    max-width: 150px;
    width: 20%;
}
#kv .kv__brand { display: none; }
#cp-copy_pc{
    max-width: 600px;
    width: 90%;
    margin: auto;
    padding-top: max(4vw, 50px);
    padding-bottom: max(1vw, 50px);
}
@media (max-width: 768px) {
#kv{padding-bottom: 2rem}    
#kv .kv__logo {
    top: 15px;
    left: 10px;
    max-width: 90px;
  }
#kv .kv__brand {
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
    max-width: 180px;
    width: 25%;
}
}

/* -----------------------------------
   対象商品
 * ----------------------------------- */
#list-item {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 3vw, 32px);
    text-align: center;
}
#list-item li {
    min-width: 0;
    line-height: 1;
    font-size: var(--font-size-l)
}
#list-item img {
    line-height: 0;
    margin-bottom: 5px;
}
@media screen and (min-width: 769px) {
#list-item {
    width: 90%;
    margin: 2rem auto auto;
    }    
}
@media screen and (max-width: 768px) {
#list-item li {font-size: 15px}
#list-item.slick-initialized {
    display: block;
    margin-inline: calc(-1 * clamp(25px, 5vw, 50px));
}
#list-item .slick-slide {
    padding-inline: 7.5vw;
}
#list-item .slick-slide img {
    margin-bottom: 16px;
}
#list-item .slick-arrow {
    position: absolute;
    z-index: 1;
    top: calc((100% - 31px) / 2);
    display: grid;
    place-items: center;
    width: 11.5vw;
    height: 11.5vw;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}
#list-item .slick-prev {left: 16.5%;}
#list-item .slick-next {right: 16.5%;}
#list-item .slick-arrow::before {
    content: "";
    width: 3.2vw;
    height: 3.2vw;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
#list-item .slick-prev::before {transform: translateX(20%) rotate(-135deg);}
#list-item .slick-next::before {transform: translateX(-20%) rotate(45deg);}
#list-item .slick-arrow:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}
}
@media screen and (max-width: 380px) {
#list-item li {
    font-size: 11.5px;
    letter-spacing: -0.025rem;
    }
}


/* -----------------------------------
    CP説明
 * ----------------------------------- */
#cp-day{
    max-width: 800px;
    width: 95%;
    margin: auto;
}
@media screen and (min-width: 769px) {
#cp-day dt,
#cp-day dd{display: inline-block}
}
#ttl-keihin{
    width: clamp(280px, 100%, 500px);
    margin: auto;
}
@media screen and (max-width: 768px) {
#img-keihin{
    max-width: 350px;
    width: 60%;
    margin: auto;
    }
}

/* -----------------------------------
   応募
 * ----------------------------------- */
.apply h2{
    max-width: 500px;
    width: 100%;
    margin: auto auto 0.5rem;
    display: block;
}
.btn-apply{
    max-width: 600px;
    width: 100%;
    margin: auto
}

a.btn-apply{
    background: #F16C00;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 10px 20px;
    color: #fff;
    border-bottom: solid 5px #8F4000;
    transition: 0.3s ease-in-out;
    max-width: 400px;
}
a.btn-apply:after {
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    font-family: 'Material Symbols Outlined';
    content: "\e5e1";
    font-size: 25px;
}
a.btn-apply:hover:after {right: 0.85rem;}
a.btn-apply:hover {
  background: var(--red);
  color: #FFF;
  border-bottom: solid 2px #333333;
  transform: translateY(3px);
    
}

/* 応募エリアと前後の背景を隙間なくつなぐ */
#apply::after{background: var(--beige);}
#apply + #faq::before{content: none;}
@media screen and (max-width: 680px) {
a.btn-apply{max-width: 280px;}    
}


.apply-attention p{
    text-align: center;
    font-weight: var(--font-bold);
    margin-top: 1rem;
    font-size: var(--font-size-l);
}
.apply-attention p strong{
    font-size: 130%;
    color: var(--red);
}


/* -----------------------------------
   応募方法
 * ----------------------------------- */
#cp-howto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(20px, 5vw, 64px) minmax(0, 1fr);
    gap: 10px 5px;
    margin-top: 2rem;
    text-align: center;
}
#cp-howto dt {
    grid-row: 1;
    min-width: 0;
    align-self: end;
    line-height: 0;
}
#cp-howto dt:first-of-type,
#cp-howto dd:first-of-type { grid-column: 1; }
#cp-howto dt:last-of-type,
#cp-howto dd:last-of-type { grid-column: 3; }
#cp-howto dt img {
    display: block;
    width: 100%;
    height: auto;
}
#cp-howto dd {
    grid-row: 2;
    min-width: 0;
    margin: 0;
    font-size: var(--font-size-s);
    line-height: 1.5;
}
#cp-howto::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 25px;
    aspect-ratio: 1 / 2;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/img-apply-howto_arrow.svg);
}
@media screen and (max-width: 380px) {
#cp-howto {gap: 10px 5px;}
#cp-howto dd {font-size: 12px;}    
}

/* -----------------------------------
   FIXバナー
 * ----------------------------------- */
#bannar-fix a{
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: 20;
    width: 75px;
}

/* 200pxスクロール後にフェードイン */
#bannar-fix {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
#bannar-fix.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
#bannar-fix {transition: none;}
}
@media screen and (max-width: 680px) {

}




/* 応募画像を重ねてホバー時にクロスフェード */
.btn-apply > a {
    position: relative;
    display: block;
}
.btn-apply > a,
#bannar-fix > a {line-height: 0;}
.btn-apply .apply-image,
#bannar-fix .apply-image {
    display: block;
    transition: opacity 0.3s ease;
}
.btn-apply .apply-image-hover,
#bannar-fix .apply-image-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.btn-apply > a:hover .apply-image,
.btn-apply > a:focus-visible .apply-image,
#bannar-fix > a:hover .apply-image,
#bannar-fix > a:focus-visible .apply-image {opacity: 0;}
.btn-apply > a:hover .apply-image-hover,
.btn-apply > a:focus-visible .apply-image-hover,
#bannar-fix > a:hover .apply-image-hover,
#bannar-fix > a:focus-visible .apply-image-hover {opacity: 1;}
@media (prefers-reduced-motion: reduce) {
    .btn-apply > a img,
    #bannar-fix > a img {transition: none;}
}
