@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Lato:wght@700;900&display=swap');

/* phone用CSS */
.bootstrap p,
.bootstrap ol,
.bootstrap ul,
.bootstrap dl{
  margin: 0;
}
.bootstrap label{
  margin: 0;
  cursor: pointer;
}
.bootstrap button{
  border: none;
  background: none;
}

.font--lato {
  font-family: 'Lato', 'Noto Sans JP', Helvetica, Neue Haas Grotesk, Arial;
}

main .text-underline,
.modal_body a.text-underline{
  color: #0081CC;
  text-decoration: underline;
}
main .text-underline:hover,
main .text-underline:focus,
.modal_body a.text-underline:hover,
.modal_body a.text-underline:focus {
  color: #bc2739!important;
  text-decoration: none !important;
}
.modal_body a.oval-link{
  text-decoration: none!important;
}
.modal_body a.oval-link--red{
  color: #fff!important;
}

/* ---------------------------------------
	共通
--------------------------------------- */
#phone__area.content{
  margin: 0 0 40px;
}
.content-block{
  margin: 60px 0 0;
}
.content-block + .content-block{
  margin-top: 50px;
}

/* 見出し */
.section-heading{
  position: relative;
  margin: 0 0 20px!important;
  padding-left: 15px;
  border-left: 5px solid #CC0033;
  font-size: 24px!important;
  font-weight: 700!important;
  line-height: 1.5!important;
}

/* 料金系 */
.product-image{
  text-align: center;
}
.product-title{
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.product-text{
  margin: 18px 0 0!important;
  font-size: 16px;
  font-weight: 700;
}
.product-price{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 5px 0 0!important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
}
.product-price span{
  margin-right: 5px;
  font-size: 32px;
  font-family: 'Lato', 'Noto Sans JP', Helvetica, Neue Haas Grotesk, Arial;
  font-weight: 900;
}
.product-price--old{
  color: #7D7D7D;
}
.product-price--old span{
  color: #7D7D7D;
  font-size: 24px;
}
.product-campaign{
  margin: 7px 0 0;
  color: #BC2739;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.product-link{
  margin: 22px 0 0!important;
  text-align: center;
}
.product-link .text-underline{
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .content-block{
    margin-top: 55px;
  }
  .content-block + .content-block{
    margin-top: 20px;
  }

  /* 見出し */
  .section-heading{
    margin-bottom: 30px !important;
  }

  /* 料金系 */
  .product-image{
    padding: 0 8px;
  }
}

/* ---------------------------------------
	KV
--------------------------------------- */
.kv{
  text-align: center;
}



/* ---------------------------------------
	KV下 共通エリア
--------------------------------------- */
.phone-block{
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
@media (max-width: 768px) {
  .phone-block{
    display: block;
  }
}



/* ---------------------------------------
	検索エリア
--------------------------------------- */
.phone-conditions{
  position: sticky;
  top: 164px;
  width: 300px;
  max-height: calc(100vh - 164px - 68px);/* ヘッダー 下追従エリアの高さ */
  border: 2px solid #BC2739;
  border-radius: 20px;
  overflow: hidden;
  z-index: 5;
}
.phone-conditions__heading{
  margin: 0!important;
  font-size: 0!important;
  line-height: 1.5!important;
}
.phone-conditions__button{
  width: 100%;
  padding: 9px;
  border: none!important;
  background: #BC2739!important;
  color: #fff;
  font-size: 22px!important;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.phone-conditions__item + .phone-conditions__item{
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed #D17D7D;
}

.phone-conditions__item-title{
  margin: 0 0 5px!important;
  font-size: 18px;
  font-weight: 700;
}

.phone-conditions__body{
  padding: 12px 18px 24px;
  border-top: 2px solid #BC2739;
}
.phone-conditions__body-inner{
  max-height: calc(100vh - 164px - 51px - 36px - 6px - 68px);/* ヘッダー タイトル 余白 枠線 下追従エリアの高さ */
  overflow-y: auto;
}

.phone-conditions__item-options{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
@media (max-width: 768px) {
  .phone-conditions{
    position: relative;
    top: auto;
    width: 100%;
    max-height: unset;
    border-radius: 10px;
    border-width: 3px;
  }
  .phone-conditions__button{
    padding: 16px 10px;
    background: #fff !important;
    color: #BC2739;
    pointer-events: auto;
    outline: none!important;
  }
  .phone-conditions.is-open{
    border-radius: 20px;
  }
  .phone-conditions.is-open .phone-conditions__button{
    padding: 7px 10px;
  }

  .phone-conditions__body{
    display: none;
  }
  .phone-conditions__body-inner{
    max-height: unset;
  }

  .phone-conditions__link{
    margin: 25px 0 0;
  }
  .phone-conditions__link .oval-link{
    width: 270px;
    padding: 15px 10px;
  }
}

/* チェックボックス見た目 */
.control-item {
  display: inline-block;
  cursor: pointer;
}
.control-item:hover{
  opacity: .6;
}
.control-item__check {
  display: none;
}
.control-item__name {
  display: inline-block;
  padding: 5px 14px;
  background: #F3F3F3;
  color: #333;
  border-radius: 20px;
  transition: 0.2s;
}
/* チェックされたら赤にする */
.control-item__check:checked + .control-item__name {
  background: #272727;
  color: #fff;
}

/* ランジ見た目 */
.range-double {
  position: relative;
  height: 30px;
  margin: 15px 0 0;
}

/* input 共通 */
.range-double input[type="range"] {
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
  width: 100%;
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 10;
}

/* ハンドル */
.range-double input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #BC2739;
  pointer-events: auto;
  -webkit-appearance: none;
}
.range-double input[type="range"]::-moz-range-thumb {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #BC2739;
}

/* 横線 */
.range-double::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 0;
  left: 0;
  height: 2px;
  background: #272727;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 縦線7本（left:0%〜100%） */
.range-double::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 30px;
  background:
    /* 左端30px */
    linear-gradient(#272727 0 0) 0% 50% / 2px 30px no-repeat,
    /* 右端30px */
    linear-gradient(#272727 0 0) 100% 50% / 2px 30px no-repeat,
    /* 中央の短い縦線（20px × 5本）*/
    linear-gradient(#272727 0 0) 19.35% 50% / 2px 20px no-repeat,
    linear-gradient(#272727 0 0) 34.675% 50% / 2px 20px no-repeat,
    linear-gradient(#272727 0 0) 50%    50% / 2px 20px no-repeat,
    linear-gradient(#272727 0 0) 65.325% 50% / 2px 20px no-repeat,
    linear-gradient(#272727 0 0) 80.65% 50% / 2px 20px no-repeat;
  pointer-events: none;
}

.range-input{
  margin: 16px 0 0;
}
.range-input__item:nth-child(n + 2){
  margin: 5px 0 0;
  text-align: right;
}
.range-input__item .range-input__num{
  display: inline-block;
  width: 147px;
  padding: 5px 14px;
  border: 2px solid #E5E5E5;
  border-radius: 6px;
  color: #E5E5E5;
  font-size: 22px;
  font-family: 'Lato', 'Noto Sans JP', Helvetica, Neue Haas Grotesk, Arial;
  text-align: right;
}
.range-input__item .range-input__num + .range-input__text{
  margin-left: 5px;
  vertical-align: bottom;
}
.range-input__item .range-input__text + .range-input__num{
  margin-left: 5px;
}
.range-input__item .range-input__text{
  font-size: 14px;
  font-weight: 700;
}



/* ---------------------------------------
	検索結果エリア
--------------------------------------- */
.phone-results{
  width: calc(100% - 350px);
}

.select-block{
  margin: 0 0 30px;
  text-align: right;
}
select{
  width: auto;
  min-width: 210px;
  min-height: 40px;
  padding: 0 36px 0 20px;
  border: 1px solid #000;
  border-radius: 10px;
  background: url(/themes/custom/subsphere/images/resources/icon_arrow-bk-d.webp) no-repeat right 12px center / 12px;
  font-size: 16px;
  font-weight: 700;
}
select:hover{
  background-color: #E5E5E5;
}

/* 結果一覧 */
.results-cards + .section-heading{
  margin-top: 50px !important;
}
.results-cards{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.results-card{
  position: relative;
  width: calc((100% - 40px) / 3);
  padding: 10px 27px 20px;
  border: 2px solid #E5E5E5;
  border-radius: 20px;
}
.results-card__new{
  position: absolute;
  top: 20px;
  right: 0;
  padding: 7px 20px;
  border-radius: 5px 0 0 5px;
  background: #BC2739;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.results-card__stock{
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}
.results-card__release{
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
}

.results-spec{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0!important;
}
.results-spec__item{
  width: calc((100% - 20px) / 3);
  text-align: center;
}
.results-spec__title{
  font-size: 12px;
}
.results-spec__text{
  font-size: 16px;
  font-weight: 700;
}

.results-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
}
.results-tag{
  display: inline-block;
  padding: 5px 17px;
  border-radius: 100vh;
  background: #F3F3F3;
}

/* 選択ボタン */
.results-select{
  margin: 20px 0 0;
  text-align: right;
}
.results-select__button{
  position: relative;
  padding: 0 0 0 40px;
  color: #7D7D7D!important;
  font-size: 18px !important;
  font-weight: 700;
  text-decoration: none!important;
}
.results-select__button::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  background: url(/sites/default/files/media/service/mobile/list/phone/image/icon_pin-off.webp) no-repeat center / contain;
  width: 40px;
  height: 40px;
}

.results-select__button:not(.is-select)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  background: url(/sites/default/files/media/service/mobile/list/phone/image/icon_pin-hover.webp) no-repeat center / contain;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 2;
}
.results-select__button:not(.is-select):hover{
  color: #D17D7D!important;
}
.results-select__button:not(.is-select):hover::after {
  opacity: 1;
}




.results-select__button.is-select{
  color: #BC2739!important;
}
.results-select__button.is-select::before{
  background: url(/sites/default/files/media/service/mobile/list/phone/image/icon_pin-on.webp) no-repeat center / contain;
}

@media (max-width: 768px) {
  .phone-results{
    width: 100%;
    margin: 40px 0 0;
  }

  .select-block{
    display: block;
  }

  /* 結果一覧 */
  .results-card{
    width: 100%;
  }

}



/* ---------------------------------------
	モーダル
--------------------------------------- */
#colorbox,
#cboxWrapper,
#cboxContent{
  overflow: unset;
}
#cboxLoadedContent{
  padding: 0;
  background: none;
}
#cboxClose{
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  background: url(/sites/default/files/media/service/mobile/list/phone/image/icon_close.webp) no-repeat center / 100%;
}

.modal-wrap{
  height: 100%;
  padding: 40px 0 50px;
  background: #fff;
}
.modal_content{
  overflow-y: auto;
  height: 100%;
}
.modal-wrap .modal-inner{
  width: 100%;
  margin: 0 auto;
}


@media (max-width: 768px) {
  #cboxClose{
    right: -5%;
  }

  .modal-wrap{
    padding: 40px 0;
  }

  .modal-wrap .modal-inner{
    width: 100%;
    padding: 0 24px;
  }
}


/* 選択モーダル */
#modal-target.modal-wrap .modal-inner{
  max-width: 966px;
}
.target__text{
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}
.target-lists{
  width: 100%;
  display: flex;
  gap: 10px;
  margin: 30px auto 0;
}
.target-lists .product-card{
  width: calc((100% - 30px) / 4);
}
.target-lists .product-link{
  margin-top: 0 !important;
}
.target__link{
  margin: 30px 0 0;
}
.target__link .oval-link{
  width: 254px;
  padding: 15px 10px;
}
@media (max-width: 768px) {
  /* 選択モーダル */
  .target__text{
    font-size: 16px;
  }
  .target-lists{
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 20px);
    margin: 22px 10px 0;
  }
  .target-lists .product-card{
    width: calc(50% - 5px);
    padding: 50px 0 17px;
  }
}


/* 比較モーダル */
#modal-comparison.modal-wrap .modal-inner{
  max-width: 934px;
  overflow-x: auto;
}
.comparison {
  width: 100%;
  min-width: 934px;
  margin: 0 auto;
  font-family: sans-serif;
}

/* 上段：可変カラムのカード */
.comparison-top {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  margin: 0 0 0 212px; /* 左余白追加 */
}
.product-card {
  position: relative;
  padding: 50px 0 18px;
  border: 2px solid #E5E5E5;
  border-radius: 10px;
}
.product-card__close{
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: .15;
}
.product-card__close:hover{
  opacity: 1;
}

/* 下段：テーブル */
.comparison-bottom{
  display: flex;
  gap: 20px;
}
.comparison-bottom__heading{
  display: flex;
  align-items: center;
  width: 190px;
  padding: 16px 10px 16px 20px;
  background: #e5e5e5;
  border-bottom: 1px solid #fff;
  font-size: 16px;
  font-weight: 700;
}
.comparison-bottom__items {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  width: calc(100% - 210px);
}
.comparison-bottom__item{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-bottom: 1px solid #E3E3E3;
}
.comparison-bottom__item > p{
  width: 100%;
}
.comparison-bottom__item .product-title{
  margin-top: 16px;
}
.comparison-bottom__item .product-link{
  margin: 15px 0 !important;
}
.comparison-bottom__item .product-campaign{
  margin-top: 13px;
  font-size: 16px;
  text-align: center;
}
.comparison-bottom__item .product-price{
  margin-top: 2px !important;
}
.comparison-bottom__item .product-price span{
  font-size: 24px;
}
.comparison-bottom__item .product-price.text-color--red span{
  font-size: 32px;
}
.comparison-bottom__item .product-text{
  margin: 0 !important;
  text-align: center;
}



/* ---------------------------------------
	右下固定
--------------------------------------- */
.fixed-block{
  position: fixed;
  right: 0;
  bottom: 72px;
  padding: 14px 30px 12px 30px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0px 6px 10px 0px rgba(39, 39, 39, 0.2);
  background: #272727;
  z-index: 9500;
}
.oval-link{
  display: block;
  width: 175px;
  margin: 0 auto!important;
  padding: 7px 10px;
  border-radius: 100vh!important;
  font-size: 18px!important;
}
.oval-link--red{
  background: #BC2739!important;
}
.oval-link--disabled{
  color: #7d7d7d!important;
}
.fixed-block__text{
  color: #fff;
  font-size: 22px;
}
.fixed-block__text span{
  font-size: 32px;
  font-weight: 900;
}
.fixed-block .oval-link:hover{
  background: #D17D7D!important;
}




