@charset "utf-8";

:root{
  --gap-s: clamp(10px, 0.398rem + 1.14vw, 20px);
  --gap-m: clamp(20px, 0.795rem + 2.27vw, 40px);
  --gap-ml: clamp(30px, 1.023rem + 3.64vw, 60px);
  --gap-l: clamp(40px, 1.591rem + 4.55vw, 80px);

  --font-ss: clamp(10px, 0.534rem + 0.45vw, 14px);
  --font-s: clamp(12px, 0.659rem + 0.45vw, 16px);
  --font-m: clamp(12px, 0.58rem + 0.73vw, 18px);
  --font-l: clamp(16px, 0.818rem + 0.91vw, 24px);
  --font-ll: clamp(18px, 0.727rem + 1.7vw, 32px);

  --gap-p-parts-set-discount: 60px;
}

@media screen and (max-width: 767px) {
  :root {
    --gap-p-parts-set-discount: 30px;
  }
}

/*----------------------
レイアウト
------------------------*/
#logicool-set{
  position:relative;
  width:100%;
  font-weight: 400;
  font-style: normal;
  font-size:var(--font-s);
  line-height:1.0;
  letter-spacing:0.01em;
  line-height:1.2;
}

#logicool-set .c-button{
  width:100%;
}

.contents-inner{
  width:92vw;
  max-width:1140px;
  margin:auto;
}

/*----------------------
#pagetop
------------------------*/
#pagetop {
  opacity: 1;
  position: fixed;
  bottom: 30px;
  right: 55px;
  transition: opacity .5s;
  z-index: 100;
}

#pagetop a {
  background-color: rgba(51, 51, 51, .8);
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 1.5em;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  #pagetop {
    right: 2%;
  }
}


/*----------------------
KV
------------------------*/
.hero-image{
  width:100%;
}
.hero-image img{
  width:100%;
  object-fit: contain;
}


/*----------------------
セクション
------------------------*/
.sec-cont{
  padding:var(--gap-m) 0;
}

.cont-ttl{
  font-weight:700;
  color:#333;
  font-size:var(--font-ll);
}

.sec-cont section{
  margin-top:var(--gap-m);
}
.sec-cont section.lazy-product{
  margin-top:1em;
}

.sub-ttl{
  font-weight:700;
  font-size:var(--font-l);
  margin-bottom:var(--gap-s);
}

.lead-txt{
  font-size:var(--font-m);
  line-height:1.4;
}
.lead-txt p + p{
  margin-top:var(--gap-s);
}

/*----------------------
クーポン調整
------------------------*/
.coupon-wrapper {
  margin:0;
}
.coupon-value__insert::before {
  display:none;
}

.coupon-code__text::before {
  display: inline-block !important;
  font-size:12px;
  margin-right:0.3em;
}
.coupon-code__text { 
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
}


/*----------------------
セット品
------------------------*/

.p-parts-set-discount{
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
.p-parts-set-discount img {
  max-width: 100%;
}
.p-parts-set-discount input[type="radio"] {
  display: none;
}

.p-parts-set-discount label {
  padding: 1em;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  outline: 1px solid #ccc;
  gap: 1em;
  cursor: pointer;
  position: relative;
}
.p-parts-set-discount .c-link--blue {
  border-bottom: none;
}

.p-parts-set-discount label:hover {
  animation: hover-flash 1s forwards;
  opacity: 1;
}

.p-parts-set-discount label.out-of-stock {
  cursor: not-allowed;
  opacity: 0.5;
  filter: grayscale(1);
  order: 999;
}

.p-parts-set-discount label.out-of-stock img {
  opacity: 0.25;
}

.p-parts-set-discount label.out-of-stock:hover {
  -webkit-animation-name: none;
  animation-name: none;
}

.p-parts-set-discount label img {
  width: 50%;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.p-parts-set-discount label p:has(span[data-key="amttaxnounit"]) {
  font-weight: 700;
  color: #e43344;
}

.p-parts-set-discount label span[data-key="amttaxnounit"] {
  font-size: 120%;
}

.p-parts-set-discount label p[data-key="stkname"] {
  font-size: 80%;
}

.p-parts-set-discount label:has(input[type="radio"]:checked) {
  outline: 3px solid #004da1;
}

.p-parts-set-discount label:has(input[type="radio"]:checked)::after {
  content: "";
  position: absolute;
  right: 1em;
  top: 0.5em;
  width: 0.5em;
  height: 1em;
  border: solid #004da1;
  border-width: 0 .2em .2em 0;
  transform: rotate(45deg);
  animation: bounce 0.5s forwards;
}

@keyframes bounce {
  25% {
    transform: scale(2) rotate(45deg);
  }

  50% {
    transform: scale(0.75) rotate(45deg);
  }

  75% {
    transform: scale(1.5) rotate(45deg);
  }

  100% {
    transform: scale(1) rotate(45deg);
  }
}

.p-parts-set-discount .set {
  border: 3px solid #004da1;
  padding: 1em;
  border-radius:10px;
  overflow: hidden;
  height:100%;
}

.p-parts-set-discount .c-headline {
  width: calc(100% + 2em);
  margin: -1em -1em 0 -1em;
  padding: calc(var(--gap-p-parts-set-discount) / 2);
  background: #004da1;
}

.p-parts-set-discount h3 {
  font-size: clamp(18px, 0.989rem + 0.68vw, 24px);
  font-weight:700;
  color: #fff;
  margin: 0 auto;
  letter-spacing:0.05em;
  line-height: 1.3;
}

.p-parts-set-discount .total-price {
  padding: 1em;
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  text-align: center;
}

.p-parts-set-discount .total-price .c-button[disabled] {
  filter: grayscale(1);
  opacity: 0.25;
  pointer-events: none;
  cursor: not-allowed;
}

.p-parts-set-discount .total-price table tr th,
.p-parts-set-discount .total-price table tr td {
  padding: 0.5em 0;
}

.p-parts-set-discount .total-price table tr th {
  text-align: right;
}

.p-parts-set-discount .total-price table tr th+td {
  padding-left: 0.5em;
  text-align: left;
}

.p-parts-set-discount .discount-price__wrapper {
  color: #e43344;
  font-size: 140%;
  font-weight: 700;
}

.p-parts-set-discount .saved-price__wrapper {
  color: #e43344;
  font-size: 120%;
  font-weight: 700;
}

.p-parts-set-discount .other-set .u-pc-width {
  display: flex;
  justify-content: flex-end;
}

.p-parts-set-discount .other-set .u-pc-width .c-button {
  width: fit-content;
  padding-right: 45px;
  padding-left: 25px;
}

.p-parts-set-discount .grid-container .c-button {
  width: 100%;
}

.p-parts-set-discount .popular-set {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height:100%;
}



@media screen and (max-width:767px) {
  .p-parts-set-discount nav {
    font-size: 12px;
  }
  
  .p-parts-set-discount label,
  .p-parts-set-discount .total-price table,
  .p-parts-set-discount .c-button {
    font-size: 80%;
  }

  .p-parts-set-discount .c-button {
    height: 44px;
  }

  .p-parts-set-discount label .c-button {
    justify-content: flex-start;
    padding: 0 1em;
  }

  .p-parts-set-discount label .c-button::after {
    right: 1em;
  }

  .p-parts-set-discount .discount-price__wrapper {
    font-size: 120%;
  }

  .p-parts-set-discount .saved-price__wrapper {
    font-size: 110%;
  }
}

.p-parts-set-discount {
  display: flex;
  gap: 0 1em;
  justify-content: center;
  flex-wrap: wrap;
}
.lazy-product {
  flex: 0 1 calc((100% - 2em) / 3); 
}
.p-parts-set-discount .set {        
  background: #fff;
  padding: 1em;
}
@media screen and (max-width:767px) {
  .p-parts-set-discount {
    flex-direction: column;
  }
  .lazy-product {
    flex: 1 1 100%;
  }
}
.p-parts-set-discount .c-headline {
  width: calc(100% + 2em);
  margin: -1em -1em 0 -1em;
  padding: 10px;

}
.p-parts-set-discount .c-headline__h2 {
  color: #fff;
  margin: 0 auto;
  line-height: 1.25;
}
.set-list {
  width: 100%;
  position: relative;
  display: flex;
  gap: 1em;
}
.set-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

p span[data-key="pname"] {
  font-size: clamp(12px, 0.693rem + 0.24vw, 14px);
}

/*人気の組み合わせ*/
.pop-label {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.pop-label p[data-key="stkname"] {
  font-size: 80%;
}
.pop-label span[data-key="amttaxnounit"] {
  font-size: 120%;
}
.pop-label p:has(span[data-key="amttaxnounit"]) {
  font-weight: 700;
}
.pop-label .ico {
  width: 18px;
}
.pop-label .parts_box__button {
  width: 100%;
  cursor: pointer;
  display: flex;
  gap: 5px;
  justify-content: center;
}
.pop-label .parts_box__button>span,
.pop-label .parts_box__button>img {
  flex: 0 0 auto;
  margin: 0 !important;
}

.pop-label .c-button--primary-blue,
.color-amd .pop-label .c-button--primary-blue {
  background-color: #484848;
}

.cartin-button[disabled] .parts_box__button {
  background-color: #bbb;
  cursor: default;
}

.cartin-button[disabled] .parts_box__button::before {
  display: none;
}

.set-list {
  width: 100%;
  position: relative;
  display: flex;
  gap: 1em;
}

.set-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.set-item img{
  width: 60%;
  margin:auto;
}

@media screen and (max-width: 767px) {
  .pop-label {
    font-size: 13px;
    gap: 10px;
  }

  .pop-label .parts_box__button {
    flex-direction: column;
  }

  .pop-label .ico {
    width: 16px;
  }

  .pop-label .parts_box__button>span {
    font-size: 12px;
    letter-spacing: 0;
  }

  .pop-label .parts_box__button::after {
    display: none;
  }
}


/*----------------------
ボタン
------------------------*/
.btn-wrap{
  width:100%;
  max-width:600px;
  margin:var(--gap-m) auto 0 auto;
}

.btn-wrap + .btn-wrap{
  margin:var(--gap-s) auto 0 auto;
}

.block-button .btn-wrap{
  margin:0 auto;
}

.block-button .btn-wrap .c-button::after{
    top: calc(50% - 2px);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/*-------------------------------------
　ポップアップ
---------------------------------------*/
input.popup_flg {
    display: none;
  }

  .popup_content_wrapper img{
    width:100%;
  }
  .popup_wrapper,
  .popup_wrapper * {
    box-sizing: border-box;
  }

  input.popup_flg~.popup_bg_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    opacity: 0;
    background: rgba(0, 0, 0, .6);
    transition: opacity .5s;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  input.popup_flg:checked~.popup_bg_layer,
  input.popup_flg:checked~.popup_content_wrapper {
    opacity: 1;
    pointer-events: all;
  }


  .p-popup-how-to-use-coupon__image{
    width:90%;
    margin:auto;
  }


  input.popup_flg~.popup_content_wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 5px;
    padding:var(--gap-m);
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    width: 90vw;
    max-width: 1140px;
  }

  input.popup_flg~.popup_content_wrapper .popup_close_icon {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(calc(-100% - 5px));
    color: #fff;
    border: 1px solid #fff;
    width: 1.3em;
    height: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
  }

  input.popup_flg~.popup_content_wrapper .popup_content {
    max-height: calc(85vh - 1em);
  }

  label.popup_trigger,
  label.popup_close_icon {
    cursor: pointer;
  }

  body.scroll_stop {
    overflow: hidden;
  }

  label.popup_trigger>img:hover {
    pointer-events: painted;
    opacity: .7;
  }

  .service-offer_cont__inner label.popup_trigger {
    color: #036eb8;
  }

  .service-offer_cont__inner label.popup_trigger:hover {
    opacity: .7;
  }

  .popup_wrapper #container {
    margin-bottom: 0;
  }


  .popup_content p{
    font-size:clamp(14px, 0.761rem + 0.48vw, 18px);
    line-height:1.6;
  }

/*----------------------
クーポン利用方法
------------------------*/
.howto-coupon img {
  width:1em;
  height:1em;
  margin-bottom: 0.1em;
  margin-left: 0.2em;
}

/*-------------------------------------
導入
---------------------------------------*/

#anchor-intro{
  text-align:center;
}

@media screen and (max-width: 767px) {
  #anchor-intro{
    text-align:left;
  }
}



/*-------------------------------------
注意事項
---------------------------------------*/
.caution-list{
  margin-top:var(--gap-m);
  padding-left:2em;
  list-style-type: disc;
  line-height:1.4;
  font-size:var(--font-m);
}

.caution-list li + li{
  margin-top:var(--gap-s);
}

/*-------------------------------------
背景色
---------------------------------------*/
.sec-cont#anchor-intro{
  position:relative;
  background:#125297;
  color:#fff;
}
.sec-cont#anchor-intro::before{
  position:absolute;
  left:0;
  top:0;
  content:'';
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  background-image: repeating-conic-gradient(from 3deg, rgba(255, 255, 255, 1) 10deg 20deg, rgba(0, 0, 0, 1) 20deg 30deg);
  opacity:0.2;
  z-index:+1;
}

.sec-cont#anchor-intro .contents-inner{
  position:relative;
  z-index:+2;
}
.sec-cont#anchor-intro h1{
  color:#ff0;
  font-size:clamp(24px, 0.818rem + 2.91vw, 48px);
  font-weight:700;
  margin:20px auto;
  text-align:center;
  letter-spacing:0.15em;
  -webkit-text-stroke: 0.3em #01346b;
  -webkit-text-fill-color: #ff0;
  paint-order: stroke fill;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.8);
}
.sec-cont#anchor-intro .catch-top-copy{
  font-size:clamp(14px, 0.648rem + 0.97vw, 22px);
  font-weight:700;
  text-align:center;
  letter-spacing:0.1em;
  background:#01346b;
  width:fit-content;
  padding:0.2em 2em;
  margin:auto;
}

@media screen and (max-width: 767px) {
  .sec-cont#anchor-intro .catch-top-copy{
    padding:0.2em 1em;
  }
}

.sec-cont#anchor-intro .catch-btm-copy{
  font-size:clamp(14px, 0.761rem + 0.48vw, 18px);
  font-weight:700;
  text-align:center;
}
.sec-cont#anchor-intro strong{
  color:#ff0;
}
.sec-cont#anchor-intro .block-area{
  background:rgba(255,255,255,0.9);
  border-radius: var(--gap-s);
  padding:var(--gap-s);
  text-align:center;
  font-weight:500;
  color:#333;
}
@media screen and (max-width: 767px) {
  .sec-cont#anchor-intro .block-area{
    text-align:left;
  }
}

#anchor-outline{
  padding:var(--gap-l) 0;
  background:#f6f6f6;
}
.block-area + .block-area{
  margin-top:var(--gap-m);
}

.howto-coupon .block-area{
  background:#e2f5fb;
  border-radius: var(--gap-s);
  padding:var(--gap-m);
}

#anchor-outline .block-area{
  background:rgba(255,255,255,0.9);
  border-radius: var(--gap-s);
  padding:var(--gap-m);
}
