@charset "UTF-8";

/***********************************/

/*CSS目次

/*CSSリセット
/*WEBフォント
/*フォーム用CSS

/*絞り込み

/***********************************/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
a,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
  font-family: Hiragino Sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: middle;
}

p {
  margin: 0 0 1em;
}

body {
  font-family: Hiragino Sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

.text-center {
  text-align: center;
}

.modal-bg {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.wrapper {
  width: 1020px;
  margin: auto;
}

.item-list a {
  display: block;
  text-decoration: none;
  color: #333;
}

.item-list.view-list li {
  padding: 8px;
  background-color: #FFF;
  border-bottom: solid 1px #e9e9e9;
}

.item-list.view-list li:first-child {
  border-top: solid 1px #e9e9e9;
}

.item-list.view-list dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-areas: "name name" "thumbnail meta" "thumbnail meta";
}

.item-list.view-list .thumbnail {
  width: 130px;
}

.item-list.view-list .thumbnail img {
  width: 100%;
  height: auto;
  border: 1px solid #CCC;
  box-sizing: border-box;
}

.item-list.view-list .price {
  font-size: 20px;
}

.item-list.view-list .favorite {
  float: right;
}

.item-list.view-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px;
  background-color: #EFEFEF;
}

.item-list.view-grid li {
  width: 49%;
  position: relative;
  background-color: #FFF;
  box-sizing: border-box;
  padding: 8px;
}

.item-list.view-grid li:not(:nth-child(-n+2)) {
  margin: 8px 0 0;
}

.item-list.view-grid dl {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "thumbnail" "name" "meta";
}

.item-list.view-grid .thumbnail img {
  width: 100%;
  height: auto;
}

.item-list.view-grid .name {
  font-size: 12px;
  margin: 8px 0 0;
}

.item-list.view-grid .meta {
  font-size: 10.5px;
  margin: 4px 0 0;
  padding: 0 0 38px;
}

.item-list.view-grid .price {
  font-size: 16px;
}

.item-list.view-grid .favorite {
  width: 90%;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
  box-sizing: border-box;
}

.item-list .name {
  grid-area: name;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.item-list .thumbnail {
  grid-area: thumbnail;
}

.item-list .meta {
  grid-area: meta;
  font-size: 12px;
  line-height: 1.2;
  margin: -3px 0 0;
}

.item-list .meta .star {
  color: #FAA928;
  font-size: 18px;
  vertical-align: -2px;
  letter-spacing: -0.2em;
}

.item-list .meta .price {
  color: #F26161;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.item-list .meta .price--unit {
  color: #F26161;
  font-size: 12px;
  font-weight: 700;
}

.item-list .meta .count {
  font-size: 10px;
}

.item-list .favorite {
  background: none;
  outline: none;
  background-color: #FFF;
  border: 1px solid #EFEFEF;
  border-radius: 4px;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
  margin: 8px 0 0;
  padding: 4px 12px 4px 10px;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  display: flex;
  align-items: center;
}

.item-list .favorite svg {
  width: 14px;
  margin: 0 4px 0 0;
}

.item-list .favorite:active svg {
  transform: scale(1.2, 1.2);
}

.option__sort {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 10px;
}

.option__number {
  margin: 16px 0;
  font-size: 12px;
}

.option__view--grid {
  display: inline-block;
  padding: 8px;
  cursor: pointer;
}

.option__view--list {
  display: inline-block;
  padding: 8px;
  cursor: pointer;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
a,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
  font-family: Hiragino Sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: middle;
}

p {
  margin: 0 0 1em;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.modal {
  font-size: 13px;
  line-height: 1.5;
  width: 800px;
  box-sizing: border-box;
  margin: auto;
  background-color: #FFF;
  box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
}

.modal__title--small {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 8px;
}

.modal__order {
  margin: 24px 0;
  width: calc(100% - 20px);
  box-sizing: border-box;
}

.modal__model--icon {
  display: inline-block;
  background-color: #FF5E00;
  color: #FFF;
  padding: 3px 8px 2px;
  margin: 0 0 12px;
  border-radius: 4px;
}

.modal__model--list {
  position: relative;
  border-top: 1px solid #CCC;
}

.modal__model--list:not(:first-of-type) {
  margin: 0 0 0;
}

.modal__model--list input {
  display: none;
}

.modal__model--list label {
  position: relative;
  padding: 16px 10px 16px 50px;
  display: block;
}

.modal__model--list label::before {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 15px;
  content: "";
  width: 11px;
  height: 5px;
  border-top: 4px solid #FFF;
  border-right: 4px solid #FFF;
  transform: rotate(135deg);
  opacity: 0;
}

.modal__model--comment {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.modal__model-name {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.modal__meta--attention {
  background-color: #F00;
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  display: inline-block;
  margin: 0 2px 4px 0;
}

.modal__meta--main {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

.modal__meta--sub {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
  display: block;
}

.modal__price {
  font-size: 0;
  margin-top: -5px;
}

.modal__price--value {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 2px 0 0;
}

.modal__price--unit {
  font-size: 12px;
}

.modal__select--engine,
.modal__select--drive {
  display: flex;
  justify-content: flex-start;
  font-size: 13px;
}

.modal__select--engine li,
.modal__select--drive li {
  width: calc((100% - 16px) / 3);
}

.modal__select--engine li:not(:last-child),
.modal__select--drive li:not(:last-child) {
  margin-right: 8px;
}

.modal__select--engine .radio,
.modal__select--drive .radio {
  display: block;
  padding: 4px;
  text-align: center;
  background-color: #FFF;
  border: solid 2px #00B0F0;
  font-size: 14px;
  color: #999;
}

.modal__select--engine input[type=radio],
.modal__select--drive input[type=radio] {
  display: none;
}

.modal__select--engine input[type=radio]:checked + .radio,
.modal__select--drive input[type=radio]:checked + .radio {
  background-color: #00B0F0;
  color: #FFF;
  font-weight: 700;
}

.modal__select--primary .radio {
  border-radius: 6px 0 0 6px;
}

.modal__select--secondary .radio {
  border-radius: 0 6px 6px 0;
}

.modal__select--period {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 0;
  font-size: 13px;
}

.modal__select--period dt {
  font-weight: 700;
}

.modal__select--period .js-stepper {
  font-size: 16px;
  padding: 7px;
  width: 2em;
  text-align: center;
  border: solid 2px #CCC;
  margin: 0 5.5px;
}

.modal__select--period .js-spinner {
  display: flex;
}

.modal__select--period button {
  -webkit-appearance: button;
  text-shadow: none;
  display: block;
  text-align: center;
  box-sizing: border-box;
  font-size: 16px;
  padding: 6px 12px;
  border: none;
  background-color: #00B0F0;
  outline: none;
  color: #FFF;
  border-radius: 4px;
}

.modal__select--price {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0 0;
  font-size: 13px;
}

.modal__select--price dt {
  font-weight: 700;
}

.modal__select--value {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 2px 0 0;
}

.modal__select--unit {
  font-size: 16px;
}

.modal-button {
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.4s;
}

.modal-button__total-price {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #fff;
  border-top: 1px solid #CCC;
  border-radius: 0 0 8px 8px;
  padding: 20px;
}

.modal-button__wrap {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  margin: 8px 0 0 0;
}

.modal-button__wrap--inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin: 8px 0 0 0;
}

.modal-button--cancel {
  width: 39%;
  background: #F3F3F3;
  border: 1px solid #F3F3F3;
  color: #888;
  display: block;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  box-sizing: border-box;
}

.modal-button--next {
  width: 59%;
  background: #fe9f07;
  border: 1px solid #fe9f07;
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  box-sizing: border-box;
}

@media screen and (min-width: 640px) {
  .is-sp {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .is-pc {
    display: none !important;
  }

  .wrapper {
    width: 100%;
  }

  .modal {
    width: auto;
    box-sizing: border-box;
    padding: 0;
    margin: auto 10px;
    height: 65%;
  }

  .modal__title {
    font-size: 18px;
  }

  .modal__order {
    width: auto;
  }

  .modal__model--list label::before {
    top: 25px;
  }

  .modal__model--comment {
    margin: 0;
  }

  .modal__model-name {
    flex-direction: column;
  }

  .modal__price {
    margin: 0;
  }

  .modal__select--engine .radio,
  .modal__select--drive .radio {
    font-size: 13px;
    padding: 12px 4px;
  }

  .modal__select--period button {
    padding: 10px 14px;
  }

  .modal__select--value {
    font-size: 28px;
  }

  .modal__select--unit {
    font-size: 12px;
  }

  .modal-button__wrap {
    margin: 8px 0 0 0;
  }
}