/*---------------------------------
商品ページ用CSS
---------------------------------*/

/* 共通 > 追加枠の見出し */
.cf-cartbot {
  margin: 2.4em 0;
  line-height: 1.7em;
}

.cf-cartbot h3 {
  color: #fff;
  background: var(--main-color);
  border-radius: 4px;
}

.cf-cartbot h3:before {
  background: none !important;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > よくある質問と回答 */
#cf-faq details {
  margin-bottom: 1rem;
  transition: 0.3s;
}

#cf-faq details[open] {
  padding: 0 0 0.4em 0;
}

#cf-faq details:not(:last-child) {
  margin-bottom: 20px;
}

#cf-faq summary,
#cf-faq p {
  padding-left: 3.5em;
}

#cf-faq summary:before,
#cf-faq details p:before {
  width: 28px;
  text-align: center;
  display: inline-block;
  border-radius: 100px;
  margin-left: 0.4em;
  margin-right: 0.7em;
  padding: 0.3em;
  left: 0;
  color: #fff;
  position: absolute;
  font-variant: full-width;
  font-family: FontAwesome, sans-serif;
}

#cf-faq details summary::-webkit-details-marker {
  display: none;
}

#cf-faq details summary:before {
  top: 0.6rem;
  margin-bottom: 0em;
  line-height: 1.8rem;
  content: "Q";
  background: #444;
  position: absolute;
}

#cf-faq details p:before {
  content: "A";
  background: orange;
  font-variant: full-width;
}

#cf-faq details summary {
  position: relative;
  outline: none;
  list-style: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
  border-radius: 4px;
  cursor: pointer;
}

#cf-faq details summary:hover,
#cf-faq details[open] summary {
  background: #f2f3ff;
  color: #000;
}

#cf-faq details summary::after {
  font-family: 'FontAwesome';
  font-weight: 900;
  content: '＋';
  border: none;
  position: absolute;
}

#cf-faq details[open] summary::after {
  content: '－';
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 0.8rem;
}

#cf-faq details p {
  position: relative;
}

#cf-faq dl {
  margin-top: 1em;
}

#cf-faq dt:before,
#cf-faq dd:before {
  width: 28px;
  text-align: center;
  display: inline-block;
  border-radius: 100px;
  margin-left: 0.4em;
  margin-right: 0.7em;
  padding: 0.3em;
  color: #fff;
  text-indent: 0px;
}

#cf-faq dt,
#cf-faq dd {
  padding-left: 3.5em;
  text-indent: -3.5em;
}

#cf-faq dt {
  font-family: FontAwesome, sans-serif;
  margin: 0 0 1em 0;
}

#cf-faq dt:before {
  content: "Q";
  background: #444;
  margin-bottom: 0.5em;
}

#cf-faq dd {
  margin: 0 0 2.5em 0;
}

#cf-faq dd:before {
  content: "A";
  display: inline-block;
  background: orange;
  font-family: FontAwesome, sans-serif;
}

#cf-faq table {
  width: 100%;
  margin-bottom: .714286em;
  border-collapse: collapse;
  border: 1px solid #ccc
}

#cf-faq table th {
  padding: .714286em;
  border: 1px solid #ccc;
  background-color: #ddd
}

#cf-faq table td {
  padding: .714286em;
  border: 1px solid #ccc
}

/* 共通 > 施工実績 */
#cf-result article dl dt {
  padding: 1%;
}

#cf-result article dl dt img {
  border-radius: 100%;
}

#cf-result article dl dd {
  padding: 0 1% 0 1%;
}

/* 共通 > 商品詳細のスタイル */
#itempage .item-info {
  padding-top: 0.8em;
}

.info table {
  font-size: 89%;
  border: none;
  width: 100%;
}

.cright th,
.cright td {
  border: 1px solid #ccc !important;
}

.cright th {
  background-color: #f5f5f5 !important;
}

/* 共通 > SKUセレクトのラジオボタン */
input[type="radio"].sku_select {
  transform: scale(1.3);
  cursor: pointer;
}

/* 共通 > SKUラジオボタンの選択 */
dl.item-sku dd label {
  color: #000;
  background: #eee;
  padding: 4px 21px;
  cursor: pointer;
  border-radius: 4px;
}

dl.item-sku dd input[type="radio"]:checked+label {
  background: var(--main-color) !important;
  color: #fff;
  border: var(--main-color) solid 2px !important;
  padding: 4px 21px;
}

dl.item-sku dd input[type="radio"]:hover+label {
  padding: 4px 21px;
  background: var(--main-color);
  border: 2px solid var(--main-color);
  color: #fff;
}

#skuform {
  overflow: auto;
}

/* 共通 > 商品一覧の出力埋め込み */
.item-fixity li img {
  width: 100%;
  margin-bottom: 0.6em;
  height: auto;
  border-radius: 5px;
}

/* 共通 > 商品一覧の出力埋め込み > すべて見るボタン */
.item-fixty-all a {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic_kyoei/images/item-fixty-all.jpg);
  width: 100%;
  text-align: center;
  display: block;
  border-radius: 6px;
  background-size: 100% 100%;
}

.item-fixty-all a:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
    url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic_kyoei/images/item-fixty-all.jpg);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
  background-size: 100% 100%;
  transition: 0.2s ease-in-out;
}

.item-fixty-all span {
  color: #fff;
  background: var(--main-color);
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.3);
  display: inline-block;
  border-radius: 50px;
}

.item-fixty-all span:hover {
  color: #fff;
  background: #0b0d46;
  transition: 0.2s ease-in-out;
}

/* 共通 > 商品画像 */
.itemimg img,
.itemsubimg img {
  border-radius: 5px;
}

/* 共通 > 類似アイテムのリスト */
#cf-similar-tag ul,
#cf-similar ul,
#cf-relation ul,
#cat-relation ul {
  display: flex;
  flex-wrap: wrap;
}

#cf-similar-tag ul li,
#cf-similar ul li,
#cf-relation ul li {
  margin: 1%;
  text-align: center;
}

#cf-similar-tag ul li img,
#cf-similar ul li img,
#cf-relation ul li img,
#cat-relation ul li img,
#cf-similar-post ul li img {
  width: 100%;
}

#cf-relation ul li img,
#cat-relation ul li img {
  margin-bottom: 0.4em;
}

#cat-relation ul li {
  margin: 1%;
}

#cat-relation ul li a {
  font-size: 88%;
}

#cf-similar-tag ul li img,
#cf-similar ul li img,
#cf-relation ul li img,
#cf-similar-post ul li img {
  border-radius: 4px;
}

/* 共通 > 関連タグ・カテゴリボタン */
#cf-similar small span a,
#cf-similar-post small span a,
#cf-similar-tag small span a,
#cat-tag ul li a {
  background: #fff;
  color: #555;
  border-radius: 100px;
  transition: 0.2s ease-in-out;
  border: 1px solid #555;
  padding: 3px 7px;
}

#cf-similar small span a:hover,
#cf-similar-post small span a:hover,
#cf-similar-tag small span a:hover {
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--main-color);
}

/* 共通 > タグ一覧出力 */
#cat-tag ul {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0.4em 0 1.2em 0;
}

#cat-tag li {
  margin: 0.2em;
}

#cat-tag li a:hover {
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
}

/* 共通 > CTA(商品P) */
.item-cta #contact-action i.fa-file-text-o,
.item-cta #contact-action i.fa-phone,
.item-cta #contact-action i.fa-fax,
.item-cta #contact-action i.fa-envelope,
.item-cta #contact-action i.fa-at {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 共通 > 商品詳細 > ファーストビュー(旧) */
.cf-bcatch img {
  width: 100%;
}

/* 共通 > 商品詳細ページの商品名と品番 */
.item-name {
  margin: 0.5em 0;
}

/* 共通 > 商品詳細ページ > H3装飾 */
.cf-cartbot small {
  font-size: 96% !important;
  padding-left: 0.75em;
  display: block;
  margin-top: 1em;
}

/* 共通 > 商品詳細ページの税率表記カラー */
.tax-in,
.tax-in .tax {
  color: #ff0000;
}

.tax-out,
.tax-out .tax {
  color: #555;
}

/* 共通 > 詳細ページの税別表記を右寄せ */
.tax-out {
  display: block;
  text-align: right !important;
  right: 0;
  margin: 0 !important;
}

/* 共通 > 在庫ステータスを非表示に */
.zaikostatus {
  display: none;
}

/* 共通 > 商品詳細ページ > 見積もり商品の表記 */
.nonprice {
  font-size: 14px;
  display: inline-block;
  left: 0;
  text-align: left;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 設置方法 */
#cf-settings img {
  margin-bottom: 1em;
  max-width: 100%;
}

#cf-settings h4 {
  margin-bottom: 1em;
}

#cf-settings p {
  margin: 1em 0 2em 0;
}

/* 共通 > 商品詳細ページ > グローバルファーストビュー */
.first-view-global div span {
  color: #fff;
  background: -webkit-linear-gradient(left, rgba(255, 50, 50, 0.9) 0%, rgba(255, 146, 10, 0.7) 100%);
  backdrop-filter: blur(5px);
  background: linear-gradient(to right, rgba(255, 50, 50, 0.8) 0%, rgba(255, 146, 10, 0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3232', endColorstr='#ff920a', GradientType=1);
  font-family: FontAwesome, LINE Seed JP, BIZ UDGothic, sans-serif !important;
  z-index: 0;
  font-weight: 800;
}

.first-view-global ul {
  animation-name: RightToLeft;
  animation-duration: 0.6s;
  background: #fff;
}

.first-view-global ul li:before {
  content: "\f00c\00a0";
  font-family: FontAwesome;
  color: #009900;
  background: -webkit-linear-gradient(left, #00ff44 0%, #009900 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.first-view-global p {
  color: #fff;
  background: rgba(90, 90, 90, 1.0);
  z-index: 100;
  position: relative;
  letter-spacing: -0.03rem;
}

/* 共通 > 商品詳細 > 画像 */
.itemsubimg-kyoei a img {
  border-radius: 5px;
}

/* 共通 > 商品詳細ページ > コメント > この商品のことを書いたブログ記事 */
#item-intro img {
  border-radius: 4px;
  margin-bottom: 0.4em;
}

/* 共通 > 商品詳細ページ > オプション > ラベルを見やすく整形 */
label.iopt_radio_label {
  transition: 0.2s ease-in-out;
  border: 1px solid #fff;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  cursor: pointer;
}

.iopt_radio_label:hover {
  border: 1px #fff solid;
  background: var(--main-color) !important;
  color: #fff;
}

.iopt_radio_label.checked {
  background: var(--main-color);
  animation-name: BottomUp;
  animation-duration: 0.1s;
  font-weight: bold;
  color: #fff;
  border: 1px #fff solid;
}

.iopt_radio_label:not(.checked) {
  background: none;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 選ばれる理由 */
#cf-reason li {
  margin-top: 1em;
  background: url(https://www.kyoei-bisou.co.jp/wp-content/uploads/2021/12/ico-medal.png) no-repeat;
  background-size: 48px 48px;
  padding-left: 56px;
  margin-bottom: 1.5em;
}

#cf-reason li h4 {
  font-size: 128%;
  margin-bottom: 0.5em;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 補足画像 */
.precious:before {
  content: "　";
  clear: both;
  display: block;
}

.precious h2 {
  font-size: 141%;
}

.precious h3 {
  font-size: 128%;
}

.precious ol {
  margin: 0.4em 0 0.8em 0;
}

.precious ol li {
  list-style: decimal;
  margin-left: 1.4em;
}

.precious img {
  max-width: 100%;
  margin: 2% 0;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 注意事項 */
#cf-caution li {
  list-style: none !important;
  text-indent: -1em;
  margin-left:2em;
  margin-bottom: 0.4em;
}

#cf-caution li:before {
  content: "※";
}

/* 共通 > 商品詳細ページ > 素早くコンタクトフォームに飛ぶボタン */
.speedcontact {
  margin-top: 2em;
  padding: 1em;
  text-align: center;
}

.speedcontact a {
  color: #0099ff;
  font-weight: bold;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 設置方法 */
#cf-settings ol {
  padding-left: 1.4em;
  margin: 1em 0;
}

#cf-settings ol li {
  list-style-type: decimal !important;
  margin-bottom: 1em;
}

/* 共通 > 商品詳細ページ > カスタムフィールド > 商品の追加詳細ボタン */
.item-info {
  margin-bottom: 2rem;
}

#add-details ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4% auto;
  letter-spacing: -0.05rem;
  flex-wrap: wrap;
}

#add-details ul li {
  background: none;
  margin: 0.5%;
  font-size: 0.7vw;
  text-align: center;
  width: 100%;
  max-width: 19%;
  font-weight: bold;
}

#add-details ul li i {
  display: block;
  font-size: 28px;
  margin: 0 auto;
}

#add-details ul li a {
  color: var(--main-color);
  display: block;
  text-decoration: none;
  padding: 10% 0;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
}

#add-details ul li a:hover {
  margin: -2px 0 2px 0;
  background: var(--sub-color-l);
  box-shadow: inset 0 2px 8px rgba(50, 50, 255, 0.05), inset 0 -5px 15px rgba(255, 255, 255, 0.4), 0 2px 0px rgba(50, 50, 255, 0.2);
}

#add-details ul li a:active {
  margin: 2px 0 -2px 0;
  box-shadow: inset 0 5px 15px rgba(50, 50, 255, 0.1)
}

/* 共通 > 商品詳細ページ > 数量入力ボタン */
.quantity {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 1em !important;
}

.quantity input {
  margin: 0 15px;
}

.quantity span {
  user-select: none;
  display: inline-block;
}

.quantity button {
  border: none;
  background: none;
  cursor: pointer;
  position: absolute;
}

.quantity button i {
  color: var(--main-color);
  font-size: 22px;
  background: #fff;
  border-radius: 100px;
}

.quantity button i:hover {
  color: #0b0d46;
}

.item-info .quantity {
  display: inline-block;
  margin-bottom: 5px;
  margin-right: 25px;
}

/* 共通 > 商品詳細ページ > 拡張機能 > SKUセレクトボタン書式 */
dl.item-sku {
  border: none;
}

dl.item-sku dt,
dl.item-sku dd {
  border: none;
  background: none;
}

dl.item-sku dd label {
  margin: 2px;
}

/* 共通 > 商品詳細ページ > SKUまわりの全体設定 */
.item-info .skuform {
  border-radius: 4px;
  padding: 1em;
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%), 0 1px 0px rgb(0 0 0 / 10%);
}

/* 共通 > 商品詳細ページ > コメント */
#cf-comment h4 {
  margin: 1em 0 !important;
}

#cf-comment ul,
#cf-comment ol {
  margin: 1em 0 2em 0;
  padding-left: 1.5em;
}

#cf-comment ol li {
  list-style-type: auto;
  line-height: 1.4em;
  margin-bottom: 0.4em;
}

#cf-comment ul li {
  list-style-type: disc;
  line-height: 1.4em;
  margin-bottom: 0.4em;
}

#cf-comment table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin-bottom: 2em;
}

#cf-comment table th,
#cf-comment table td {
  border: 1px solid #ccc;
  padding: 0.4em;
}

#cf-comment table th {
  border: 1px solid #ccc;
  background-color: #ddd;
}

.dds {
  display: none;
}

.cright table th,
.cright table td {
  padding: 0.5em;
}

/*---------------------------------
2デバイス共通:スマホ・タブレット共通
---------------------------------*/

@media screen and (max-width:959px) {
/* スマホ・タブレット共通 > 商品詳細ページ > オプション */
  #item-option ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }

}

/*---------------------------------
スマホ向け設定
---------------------------------*/

@media screen and (max-width:599px) {
  /* スマホ > 商品詳細ページ > 追加枠全体の設定 */
  .cf-cartbot {
    margin: 2.4em 0;
    line-height: 1.7em;
  }

  .cf-cartbot h3 {
    font-size: 100%;
    line-height: 100%;
    padding: 0.8em 1.0em;
    margin: 0 0 1% 0;
    position: relative;
  }
  
  /* スマホ > この商品のことを書いたブログ記事 */
  #item-intro ul {
    margin: 0;
    padding: 0 !important;
  }

  #item-intro ul li {
    margin: 0;
    padding: 0 !important;
    width: 100%;
    letter-spacing: -0.04rem;
    font-size: 89%;
    list-style: none;
  }

  /* スマホ > SKUセレクトのラジオボタン */
  input[type="radio"].sku_select {
    padding: 2em 0;
    line-height: 2em;
    height: 2em;
    width: 30%;
  }

  /* スマホ > 商品詳細ページ > アイテム一覧を並べるCSS > 横方向にスクロール */
  #cf-relation ul,
  #cf-relation-post ul,
  #cf-similar-tag ul,
  #cf-similar-post ul,
  #cf-similar ul,
  .page-id-7568 .item-fixity {
    display: flex;
    flex-wrap: nowrap !important;
    list-style: none;
    width: 104%;
    padding: 0;
    margin: 1rem 0 2rem 0 !important;
    overflow-x: scroll;
    position: relative;
  }

  /* スマホ > 商品一覧の出力埋め込み > アイテム一覧を並べるCSS */
  .item-fixity {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0 0 2rem 0 !important;
  }

  .item-fixity li {
    list-style: none !important;
    margin: 1% 1% 4% 1%;
    width: 48%;
    font-size: 88%;
  }

  .item-fixity li img {
    width: 100%;
    height: auto;
    margin-bottom: 0.6em;
    border-radius: 6px;
  }

  .item-fixity article {
    display: block !important;
  }

  /* スマホ > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all a {
    padding-bottom: 42%;
  }

  .item-fixty-all span {
    margin: 40% 0 0em 0;
    font-size: 92%;
    padding: 0.2em 0.8em;
  }

  /* スマホ > 商品詳細ページ > 類似商品のフォント調節 */
  #cf-similar-post li {
    font-size: 92%;
    line-height: 1.4em;
  }

  /* スマホ > 商品詳細ページ > 類似商品 */
  #cf-similar-tag ul,
  #cf-similar ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cf-similar-tag ul li,
  #cf-similar ul li {
    width: 48%;
    margin: 1% 1% 4% 1%;
    font-size: 69%;
    line-height: 100%;
    text-align: center;
  }

  #cf-similar-tag ul li img,
  #cf-similar ul li img {
    width: 100%;
    margin-bottom: 0.6em;
    height: auto;
  }
  
  .cf-cartbot small i {
    font-size: 16px;
    line-height: 16px;
    vertical-align: middle;
  }

  .cf-cartbot small {
    padding-left: 0.95em;
  }

  span.dds {
    display: none;
  }

  #cf-similar-tag small span a,
  #cf-similar small span a,
  #cat-tag ul li a {
    display: inline-block;
    line-height: 1.4em;
    margin-bottom: 0.4em;
  }

  /* スマホ > 商品詳細ページ > 関連商品 */
  #cf-relation ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cf-relation ul li {
    width: 48%;
    margin: 1% 1% 4% 1%;
    font-size: 69%;
    line-height: 100%;
    text-align: center;
  }

  #cf-relation ul li img {
    width: 100%;
    margin-bottom: 0.6em;
  }

  .page-id-7568 .is-style-fill {
    display: none;
  }

  /* スマホ > 関連商品 > 関連記事 */
  #cat-relation ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cat-relation ul li {
    width: 48%;
    margin: 1%;
  }

  #cat-relation ul li img {
    width: 100%;
    margin-bottom: 0.4em;
  }

  #cat-relation ul li a {
    font-size: 88%;
  }

  /* スマホ > 商品詳細ページ > グローバルファーストビュー */
  .first-view-global div {
    position: relative;
    z-index: 0;
  }

  .first-view-global div span {
    display: block;
    z-index: 100;
    padding: 0.4rem 0.8rem;
    position: absolute;
    top: 2%;
    left: -2%;
    font-weight: bold;
  }

  .first-view-global img {
    width: 100%;
    right: 0;
    top: 0;
    margin: 0;
  }

  .first-view-global ul {
    padding: 0.8rem 0.8rem 0.4rem 0.8rem;
  }

  .first-view-global ul li:before {
    font-size: 1.4em;
  }

  .first-view-global ul li.zenkoku:before {
    content: "";
    font-family: FontAwesome;
    background: url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic_kyoei/images/japan-ico.png) no-repeat;
    background-size: 1em 1em;
    padding-left: 1.5rem;
  }

  .first-view-global p {
    padding: 0.8rem;
    z-index: 100;
    position: relative;
    letter-spacing: -0.03rem;
    font-size: 88%;
    z-index: 0;
  }

  /* スマホ > 商品詳細ページ > アンカーリンク後スクロール位置の調節 */
  header .incart-btn .total-quant {
    line-height: 1.26em;
    padding-left: 0em;
  }

  /* スマホ > 商品詳細ページ > アンカーリンク後スクロール位置の調節 */
  #cf-settings,
  #cf-reason,
  #cf-relation-set,
  #cf-relation-post,
  #cf-faq,
  #cf-caution,
  #cf-result,
  #cf-similar,
  #cf-similar-post,
  #cf-relation-post,
  #cf-events,
  #special-contact,
  #cf-relation {
    margin-top: -20px;
    padding-top: 20px;
  }

  /* スマホ > 商品詳細ページ > 商品の追加詳細 */
  #add-details ul li {
    font-size: 69%;
    letter-spacing: -0.03em;
  }

  div.cart_navi li {
    font-size: 10px;
    padding-top: 0px;
    padding-right: 0.609095em;
    padding-bottom: 0px;
    padding-left: 2.21818em;
  }

  /* スマホ > 商品詳細ページ > カートボタンに吹き出し */
  .btn,
  span.btn,
  button.btn {
    position: relative;
    display: block;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
    margin-top: 25px;
  }

  span.btn-c {
    position: relative;
  }

  span.btn-c small {
    font-family: FontAwesome, sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -1.35rem;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 230px;
    color: #d44114;
    border: 2px solid #ff8c00;
    border-radius: 100vh;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }

  span.btn-c small:before,
  span.btn-c small:after {
    position: absolute;
    left: calc(50% - 10px);
    content: "";
  }

  span.btn-c small:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
  }

  span.btn-c small:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

  span.btn-c i {
    margin-right: 1rem;
  }

  /* スマホ > 商品詳細 > 画像 */
  .itemsubimg-kyoei {
    overflow-x: scroll !important;
    overflow-y: hidden;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    margin: 10px 0;
    width: 104%;
    height: 90px;
  }

  .itemsubimg-kyoei a {
    display: inline-block !important;
    width: 28%;
    margin: 1%;
    vertical-align: top;
  }

  .itemsubimg-kyoei img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  /* スマホ > 商品詳細ページ > ファーストビュー */
  .cf-bcatch {
    margin-bottom: 1em;
  }

  .cf-bcatch strong {
    font-size: 141%;
    margin: 0;
    text-align: center;
    display: block;
    margin: 0.6em 0 0.4em 0;
  }

  .cf-bcatch h2 {
    font-size: 121%;
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch img {
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch p {
    margin: 0.6rem 0 1.2rem 0;
  }

  /* スマホ > 商品詳細ページ > オプション */
  #item-option ul li {
    width: 48%;
    padding: 1%;
    list-style: none;
  }

  #item-option h3 {
    font-size: 161%;
    border: none;
  }

  #item-option h4 {
    background: none;
  }

  #item-option img {
    width: 100%;
  }

  /* スマホ > 商品詳細ページ > H1 */
  .item_page_title {
    font-size: 1.41em;
    margin: 0;
  }

  /* スマホ > 商品詳細ページ > 詳細表 */
  .info table tr:hover th,
  .info table tr:hover td {
    background: #ccc;
  }

  .info tr:nth-child(odd) th,
  .info tr:nth-child(odd) td {
    background: #eee;
  }

  .info table th {
    width: 35%;
    padding: 1% 1.5%;
  }

  .info table td {
    width: 65%;
    padding: 1% 1.5%;
  }

  /* スマホ > 商品詳細ページ > レンタル期間表記 */
  .rentalday {
    width: 100%;
    height: auto;
    margin: 2.4% 0;
  }

  /* スマホ > 商品詳細ページ > 小コメント */
  .cf-ccatch {
    margin-bottom: 0.8em;
  }

  /* スマホ > 商品詳細ページ > ご利用実績 */
  #cf-result h4 {
    font-size: 105%;
    margin: 1.6% 0 1.6% 0;
  }

  #cf-result article img {
    width: 100%;
    margin-bottom: 2%;
  }

  #cf-result article p {
    margin-bottom: 1em;
  }

  #cf-result article dl {
    display: flex;
  }

  #cf-result article dl dd h4 {
    margin-top: 0;
  }

  #cf-result article dl dd p {
    font-size: 89%;
  }

  #cf-result article dl dd h4 {
    margin-top: 0;
  }

  /* スマホ > 商品詳細ページ > よくある質問 */
  #cf-faq details[open] {
    padding: 0 0 0.4em 0;
  }

  #cf-faq details summary {
    padding-right: 2rem;
    padding-top: 12px;
    padding-bottom: 10px;
    min-height: 4rem;
    line-height: 1.4em;
    position: relative;
    outline: none;
    list-style: none;
  }

  #cf-faq details {
    margin-top: 1em;
  }

  #cf-faq details summary::after {
    margin-right: 0.4rem;
    border: none;
    right: 0.3rem;
    top: 0.8rem;
  }

  #cf-faq details[open] summary::after {
    top: 0.8rem;
  }

  #cf-faq details p {
    margin: 10px 0;
    padding: 20px auto;
    line-height: 1.4em;
  }

  #cf-faq details summary:before {
    top: 0.6rem;
    margin-bottom: 0em;
    line-height: 1.8rem;
  }

  #cf-faq details p:before {
    display: inline-block;
    line-height: 1.8rem;
    left: 0;
  }

  /* スマホ > 商品詳細ページ > 見積もり依頼ボタン */
  .item-info .skubutton {
    width: 100%;
    padding: 1.4em 1em;
    font-size: 88%;
  }

  /* スマホ > 商品詳細ページ > コメント > この商品のことを書いたブログ記事 */
  #item-intro {
    margin-top: 2rem;
  }

  #item-intro ul {
    display: flex;
  }

  #item-intro ul li {
    width: 100%;
    letter-spacing: -0.04rem;
    font-size: 89%;
  }

  #item-intro ul li img {
    width: 100%;
  }

  /* スマホ > 商品詳細ページ > CTA */
  .item-cta {
    margin: 0 -5.3% 0 -5.3%;
  }

  .plan-typelist ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 4% 0;
  }

  .plan-typelist ul li {
    list-style: none;
    font-size: 66%;
    letter-spacing: -0.04em;
    text-align: center;
    width: 31%;
    margin: 1%;
  }

  .plan-typelist ul li a {
    color: var(--main-color) !important;
    font-weight: bold;
    font-size: 88%;
  }

  .plan-typelist ul li img {
    display: block;
    width: 100%;
  }

  /* スマホ > カート内容のポップアップをスクロール */
  #cart {
    max-height: 320px;
    overflow-y: auto;
  }

  /* スマホ > 商品詳細ページ > 数量入力ボタン */
  .quantity {
    margin-top: 0px;
  }

  .quantity span {
    user-select: none;
    margin-right: 60px;
    display: inline-block;
  }

  .item-info .c-box {
    text-align: center;
  }

  .item-info .quantity {
    margin-right: 100px;
    margin-bottom: 20px;
  }

  .quantity button {
    top: 3px;
  }

  .quantity button i {
    font-size: 32px;
  }

  .quantity button:first-child {
    left: 40px;
  }

  .quantity button:last-child {
    left: 163px;
  }

  .item-info .field {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
  }

  /* スマホ > 商品 > SKUセレクトボタン書式 */
  dl.item-sku {
    display: block;
  }

  dl.item-sku dt,
  dl.item-sku dd {
    display: block;
  }

  dl.item-sku dt {
    border-bottom: 1px solid #ccc;
  }

  dl.item-sku dd {
    padding: 20px 0;
  }

  #cf-similar-tag ul li img,
  #cf-similar ul li img {
    margin-bottom: 0.6em;
    height: auto;
  }

  /* スマホ > 関連商品 > 関連記事 */
  #cat-relation ul li {
    width: 48%;
  }
}

/*---------------------------------
タブレット向け設定
---------------------------------*/
@media screen and (min-width: 600px) and (max-width: 959px) {
  /* タブレット > 商品詳細ページ > 追加枠全体の設定 */
  .cf-cartbot h3 {
    padding: 0.6em 0.8em;
    margin: 0 0 1% 0;
    position: relative;
  }
  
  /* タブレット>SKUセレクトのラジオボタン */
    input[type="radio"].sku_select {
    padding: 2em 0;
    line-height: 2em;
    height: 2em;
    width: 30%;
  }

  /* タブレット > 商品詳細ページ > グローバルファーストビュー */
  .first-view-global div {
    position: relative;
    padding: 0 0 32% 0;
    z-index: 0;
  }

  .first-view-global div span {
    position: absolute;
    top: 5%;
    display: inline-block;
    z-index: 100;
    padding: 1rem 1rem;
    font-size: 2.2vmax;
    font-weight: bold;
  }

  .first-view-global img {
    position: absolute;
    width: 60% !important;
    right: 0;
    top: 0;
    margin: 0;
  }

  .first-view-global ul {
    display: block;
    top: 0%;
    padding: 12.5% 1% 19% 1%;
    width: 40%;
    position: absolute;
    height: 100%;
    font-size: 1.8vmax;
    line-height: 3vmax;
  }

  .first-view-global ul li:before {
    font-size: 1.4em;
  }

  .first-view-global ul li.zenkoku:before {
    content: "";
    font-family: FontAwesome;
    background: url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic_kyoei/images/japan-ico.png) no-repeat;
    background-size: 1em 1em;
    padding-left: 3.1vmax;
  }

  .first-view-global p {
    padding: 0.8rem 1.2rem;
    z-index: 100;
    position: relative;
    letter-spacing: -0.03rem;
    z-index: 0;
  }

  /* タブレット > 商品詳細ページ > アンカーリンク後スクロール位置の調節 */
  #cf-settings,
  #cf-reason,
  #cf-reason-post,
  #cf-relation-set,
  #cf-faq,
  #cf-caution,
  #cf-similar,
  #cf-similar-post,
  #cf-events,
  #cf-relation-post,
  #cf-result,
  #special-contact,
  #cf-relation {
    margin-top: -20px;
    padding-top: 20px;
  }

  /* タブレット > 商品詳細ページ > 商品の追加詳細 */
  #add-details ul li {
    font-size: 92%;
  }

  /* タブレット > 商品詳細ページ > カートボタンに吹き出し */
  .btn,
  span.btn,
  button.btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
  }

  span.btn-c {
    position: relative;
  }

  span.btn-c small {
    font-family: FontAwesome, sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -1.35rem;
    left: calc(70% - 150px);
    display: block;
    width: 220px;
    color: #d44114;
    border: 2px solid #ff8c00;
    border-radius: 100vh;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }

  span.btn-c small:before,
  span.btn-c small:after {
    position: absolute;
    left: calc(50% - 10px);
    content: "";
  }

  span.btn-c small:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
  }

  span.btn-c small:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

  span.btn-c i {
    margin-right: 1rem;
  }

  .quantity {
    margin-top: 20px;
  }

  /* タブレット > 商品詳細ページ > H1 */
  .item_page_title {
    font-size: 1.98em;
    margin: 0;
  }

  /* タブレット > 商品詳細ページ > サムネイル */
  #itempage .itemsubimg {
    display: flex;
    flex-wrap: wrap;
  }

  /* タブレット > 商品詳細 > 画像 */
  .itemsubimg-kyoei {
    margin: 0% 1.5% 1% 1.5%;
  }

  .itemsubimg-kyoei a {
    display: inline-block;
    width: 28%;
    vertical-align: top;
    margin: 0% 2% 6% 2%;
  }

  .itemsubimg-kyoei img {
    width: 100%;
    height: auto;
  }

  /* タブレット > 商品詳細ページ > よくある質問 */
  #cf-faq details {
    margin-bottom: 1rem;
    transition: 0.3s;
  }

  #cf-faq details {
    margin-top: 1em;
  }

  #cf-faq details[open] {
    padding: 0 0 0.4em 0;
  }

  #cf-faq details summary {
    padding-right: 2rem;
    padding-top: 12px;
    padding-bottom: 14px;
    min-height: 3rem;
    line-height: 2em;
    position: relative;
    outline: none;
  }

  #cf-faq details summary::after {
    margin-right: 0.4rem;
    border: none;
    right: 0.3rem;
    top: 0.8rem;
  }

  #cf-faq details[open] summary::after {
    top: 0.8rem;
  }

  #cf-faq details p {
    margin: 10px 0;
    padding: 20px auto;
  }

  #cf-faq details summary:before {
    top: 0.6rem;
    margin-bottom: 0em;
    line-height: 1.8rem;
  }

  #cf-faq details p:before {
    display: inline-block;
    line-height: 1.8rem;
    left: 0;
  }

  /* タブレット > 商品詳細ページ > ファーストビュー */
  .cf-bcatch {
    margin-bottom: 1em;
  }

  .cf-bcatch strong {
    font-size: 261%;
    margin: 0;
    text-align: center;
    display: block;
    margin: 1rem 0 1rem 0;
  }

  .cf-bcatch h2 {
    font-size: 161%;
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch img {
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch p {
    margin: 0.6rem 0 1.2rem 0;
  }

  /* タブレット > 商品詳細ページ > オプション */
  #item-option ul li {
    width: 33%;
    padding: 1%;
    list-style: none;
  }

  #item-option h3 {
    font-size: 161%;
    border: none;
  }

  #item-option h4 {
    background: none;
  }

  #item-option img {
    width: 100%;
  }

  /* タブレット > 商品詳細ページ > H1 */
  .item_page_title {
    font-size: 1.98em;
    margin: 0;
  }

  /* タブレット > 商品詳細ページ > 詳細表 */
  .info table tr:hover th,
  .info table tr:hover td {
    background: #ccc;
  }

  .info tr:nth-child(odd) th,
  .info tr:nth-child(odd) td {
    background: #eee;
  }

  .info table th {
    width: 35%;
    padding: 1% 1.5%;
  }

  .info table td {
    width: 65%;
    padding: 1% 1.5%;
  }

  /* タブレット > 商品詳細ページ > レンタル期間表記 */
  .rentalday {
    max-width: 325px;
    height: auto;
    margin-bottom: -125px;
  }

  /* タブレット > 商品詳細ページ > 小コメント */
  .cf-ccatch {
    margin-bottom: 0.8em;
  }

  /* タブレット > 商品詳細ページ > コメント > この商品のことを書いたブログ記事 */
  #item-intro {
    margin-top: 2rem;
  }

  #item-intro ul {
    display: flex;
  }

  #item-intro ul li {
    width: 33%;
    letter-spacing: -0.04rem;
    font-size: 89%;
  }

  #item-intro ul li img {
    width: 100%;
  }

  /* タブレット > 商品詳細ページ > 追加枠全体の設定 */
  .cf-cartbot {
    margin: 2.4em 0;
    line-height: 1.7em;
  }

  .cf-cartbot h3 {
    font-size: 128%;
    line-height: 128%;
    padding: 0.4em 0.8em;
    margin: 0 0 1% 0;
    position: relative;
  }

  /* タブレット > 商品詳細ページ > 類似商品のフォント調節 */
  #cf-similar-post li {
    font-size: 88%;
    line-height: 1.4em;
    letter-spacing: -0.03em;
  }

  /* タブレット > 商品詳細ページ > 類似商品 */
  #cf-similar-tag ul,
  #cf-similar ul,
  #cf-similar-post ul {
    display: flex;
  }

  #cf-similar-tag ul li,
  #cf-similar ul li,
  #cf-similar-post ul li {
    width: 18%;
    margin: 1%;
    font-size: 89%;
    text-align: center;
  }

  #cf-similar-tag ul li img,
  #cf-similar ul li img,
  #cf-similar-post ul li img {
    width: 100%;
    margin-bottom: 0.4em;
    height: auto;
    border-radius: 5px;
  }

  #cf-similar small span a,
  #cf-similar-post small span a,
  #cf-similar-tag small span a,
  #cat-tag ul li a {
    padding: 3px 7px;
  }

  /* タブレット > 商品詳細ページ > 関連商品 */
  #cf-relation ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cf-relation ul li {
    width: 23%;
    margin: 1%;
    font-size: 89%;
    text-align: center;
  }

  #cf-relation ul li img {
    width: 100%;
    margin-bottom: 0.4em;
  }

  /* タブレット > 関連商品 > 関連記事 */
  #cat-relation ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cat-relation ul li {
    width: 31%;
    margin: 1%;
  }

  #cat-relation ul li img {
    width: 100%;
    margin-bottom: 0.4em;
  }

  #cat-relation ul li a {
    font-size: 88%;
  }

  /* タブレット > 商品詳細ページ > アイテム一覧を並べるCSS */
  .item-fixity {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0 0 2rem 0 !important;
  }

  .item-fixity li {
    list-style: none !important;
    margin: 1%;
    width: 18%;
  }

  .item-fixity li img {
    width: 100%;
    border-radius: 6px;
  }

  .item-fixity article {
    display: block !important;
  }

  /* タブレット > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all a {
    padding-bottom: 42%;
  }

  .item-fixty-all span {
    margin-top: 45%;
    font-size: 70%;
    padding: 0.2em 0.8em;
  }

  /* タブレット > 商品詳細ページ > ご利用実績 */
  #cf-result h4 {
    font-size: 141%;
    margin: 1.6% 0 1.6% 0;
  }

  #cf-result article img {
    width: 100%;
    height: auto;
    margin-bottom: 2%;
  }

  #cf-result article p {
    margin-bottom: 1em;
  }

  #cf-result article dl {
    display: flex;
  }

  #cf-result article dl dd h4 {
    margin-top: 1em;
  }

  .plan-typelist ul {
    display: flex;
    padding: 0;
    margin: 0 0 4% 0;
  }

  .plan-typelist ul li {
    list-style: none;
    font-size: 14px;
    letter-spacing: -0.04em;
    text-align: center;
    width: 23%;
    margin: 1%;
  }

  .plan-typelist ul li a {
    color: var(--main-color) !important;
    font-weight: bold;
  }

  .plan-typelist ul li img {
    display: block;
  }

  /* タブレット > カート内容のポップアップをスクロール */
  #cart {
    max-height: 400px;
    overflow-y: auto;
  }

  /* タブレット > 商品詳細ページ > 数量入力ボタン */
  .quantity span {
    margin-right: 30px;
  }

  .quantity button {
    top: 8px;
  }

  .quantity button i {
    font-size: 22px;
  }

  .quantity button:first-child {
    left: 29px !important;
  }

  .quantity button:last-child {
    left: 125px !important;
  }

  /* タブレット > 商品 > SKUセレクトボタン書式 */
  dl.item-sku {
    display: block;
  }

  dl.item-sku dt,
  dl.item-sku dd {
    display: block;
  }

  dl.item-sku dt {
    border-bottom: 1px solid #ccc;
  }

  dl.item-sku dd {
    padding: 20px;
  }

  #cf-similar-tag ul li img,
  #cf-similar ul li img,
  #cf-similar-post ul li img {
    margin-bottom: 0.4em;
    height: auto;
  }

  /* タブレット > 商品詳細ページ > 関連商品 */
  #cf-relation ul li {
    width: 23%;
    font-size: 89%;
  }

  /* タブレット > 関連商品 > 関連記事 */
  #cat-relation ul li {
    width: 31%;
  }
}

@media screen and (min-width:960px) {
  /* PC > 商品詳細ページ > 追加枠全体の設定 */
  .cf-cartbot h3 {
    padding: 0.6em 0.8em;
    margin: 0 0 1% 0;
    position: relative;
  }

  .plan-typelist ul {
    display: flex;
    padding: 0;
    margin: 0 0 4% 0;
  }

  .plan-typelist ul li {
    list-style: none;
    font-size: 14px;
    letter-spacing: -0.04em;
    text-align: center;
    width: 23%;
    margin: 1%;
  }

  .plan-typelist ul li a {
    color: var(--main-color) !important;
  }

  .plan-typelist ul li img {
    display: block;
    width: 100%;
  }

  /* ラップトップ > 商品詳細ページ > 追加枠全体の設定 */
  .cf-cartbot {
    margin: 2.4em 0;
    line-height: 1.7em;
  }

  .cf-cartbot h3 {
    padding: 0.6em 0.8em;
    margin: 0 0 1% 0;
    position: relative;
  }

  /* ラップトップ > 商品詳細ページ > 類似商品のフォント調節 */
  #cf-similar-post li {
    font-size: 88%;
    line-height: 1.4em;
    letter-spacing: -0.03em;
  }

  /* ラップトップ > 商品詳細ページ > 類似商品 */
  #cf-relation ul,
  #cf-similar-tag ul,
  #cf-similar-post ul,
  #cf-similar ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cf-relation ul li,
  #cf-similar-tag ul li,
  #cf-similar ul li,
  #cf-similar-post ul li {
    width: 18%;
    margin: 1%;
    text-align: center;
  }

  #cf-relation ul li img,
  #cf-similar-tag ul li img,
  #cf-similar ul li img,
  #cf-similar-post ul li img {
    width: 100%;
    margin-bottom: 0.4em;
    height: auto;
    border-radius: 5px;
  }

  #cf-similar small,
  #cf-similar-post small,
  #cf-similar-tag small {
    font-size: 100% !important;
  }

  #cf-similar small span a,
  #cf-similar-post small span a,
  #cf-similar-tag small span a,
  #cat-tag ul li a {
    padding: 4px 9px;
    transition: 0.2s ease-in-out;
  }

  #cf-similar small span a:hover,
  #cf-similar-post small span a:hover,
  #cf-similar-tag small span a:hover {
    text-decoration: none;
  }

  /* ラップトップ > 商品詳細ページ > 関連商品 */
  #cf-relation ul {
    display: flex;
  }

  #cf-relation ul li {
    width: 18%;
    margin: 1%;
    text-align: center;
  }

  #cf-relation ul li img {
    width: 100%;
    margin-bottom: 0.4em;
  }

  /* ラップトップ > 商品詳細ページ > 関連商品 > 関連記事 */
  #cat-relation ul {
    display: flex;
    flex-wrap: wrap;
  }

  #cat-relation ul li {
    width: 23%;
    margin: 1%;
  }

  #cat-relation ul li img {
    width: 100%;
    margin-bottom: 0.4em;
    cursor: pointer;
  }

  #cat-relation ul li a {
    font-size: 88%;
  }

  /* ラップトップ > 商品詳細ページ > アンカーリンク後スクロール位置の調節 */
  #cf-settings,
  #cf-reason,
  #cf-relation-set,
  #cf-faq,
  #cf-caution,
  #cf-result,
  #cf-similar,
  #cf-similar-post,
  #cf-relation-post,
  #cf-events,
  #special-contact,
  #cf-relation {
    margin-top: -60px;
    padding-top: 60px;
  }

  /* ラップトップ > 商品詳細ページ > 商品の追加詳細 */
  #add-details ul li {
    font-size: 0.7vw;
  }

  /* ラップトップ > 商品詳細ページ > カートボタンに吹き出し */
  .btn,
  span.btn,
  button.btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
  }

  span.btn-c {
    position: relative;
  }

  span.btn-c small {
    font-family: FontAwesome, BIZ UDGothic, sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -1.35rem;
    left: calc(70% - 150px);
    display: block;
    width: 220px;
    color: #d44114;
    border: 2px solid #ff8c00;
    border-radius: 100vh;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }

  span.btn-c small:before,
  span.btn-c small:after {
    position: absolute;
    left: calc(50% - 10px);
    content: "";
  }

  span.btn-c small:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
  }

  span.btn-c small:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

  span.btn-c i {
    margin-right: 1rem;
  }

  .quantity {
    margin-top: 20px;
  }

  /* ラップトップ > 商品詳細ページ > ファーストビュー */
  .cf-bcatch {
    margin-bottom: 30px;
  }

  .cf-bcatch strong {
    font-size: 261%;
    margin: 0;
    text-align: center;
    display: block;
    margin: 1rem 0 1rem 0;
  }

  .cf-bcatch h2 {
    font-size: 161%;
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch img {
    margin: 0.6rem 0 0.6rem 0;
  }

  .cf-bcatch p {
    margin: 0.6rem 0 1.2rem 0;
  }

  .field {
    margin-top: -36px;
  }

  /* ラップトップ > 商品詳細ページ > オプション */
  #item-option ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }

  #item-option ul li {
    width: 33%;
    padding: 1%;
    list-style: none;
  }

  #item-option h3 {
    font-size: 161%;
    border: none;
  }

  #item-option h4 {
    background: none;
  }

  #item-option img {
    width: 100%;
  }

  /* ラップトップ > 商品詳細ページ > H1 */
  .item_page_title {
    font-size: 1.98em;
    margin: 0;
  }

  /* ラップトップ > 商品詳細ページ > サムネイル */
  #itempage .itemsubimg {
    width: 300px;
    margin-bottom: 0em;
    display: flex;
    flex-wrap: wrap;
  }

  /* ラップトップ > 商品詳細ページ > サムネイル */
  .itemsubimg-kyoei {
    margin: 0% 1.5% 1% 1.5%;
    overflow-x: hidden;
    overflow-y: auto;
    height: 20vmax;
  }

  .itemsubimg-kyoei::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #fff;
    transition: 0.2s ease-in-out;
  }

  .itemsubimg-kyoei::-webkit-scrollbar:hover {
    background: #f2f3ff;
    border-radius: 5px;
  }

  .itemsubimg-kyoei::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background: #999;
    border-radius: 5px;
  }

  .itemsubimg-kyoei::-webkit-scrollbar-thumb:hover {
    background: #1d2975;
  }

  .itemsubimg-kyoei a {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    margin: 0% 1.2% 5% 1.2%;
  }

  .itemsubimg-kyoei img {
    width: 100%;
    height: auto;
  }

  /* ラップトップ > 商品詳細ページ > 詳細表 */
  .info table tr:hover th,
  .info table tr:hover td {
    background: #ccc;
  }

  .info tr:nth-child(odd) th,
  .info tr:nth-child(odd) td {
    background: #eee;
  }

  .info table th {
    width: 35%;
    padding: 1% 1.5%;
  }

  .info table td {
    width: 65%;
    padding: 1% 1.5%;
  }

  /* ラップトップ > 商品詳細ページ > レンタル期間表記 */
  .rentalday {
    width: 295px;
    height: auto;
    margin-bottom: -115px;
  }

  /* ラップトップ > 商品詳細ページ > 見積もり商品の表記 */
  .nonprice {
    width: 45%;
  }

  /* ラップトップ > 商品詳細ページ > 小コメント */
  .cf-ccatch {
    margin-bottom: 0.8em;
    line-height: 1.4em;
  }

  /* ラップトップ > 商品詳細ページ > よくある質問 */
  #cf-faq details[open] {
    padding: 0 0 0.4em 0;
  }

  #cf-faq details summary {
    padding-right: 2rem;
    padding-top: 12px;
    padding-bottom: 10px;
    min-height: 3rem;
    line-height: 2em;
  }

  #cf-faq details {
    margin-top: 1em;
  }

  #cf-faq details summary::after {
    margin-right: 0.4rem;
    right: 0.3rem;
    top: 0.8rem;
  }

  #cf-faq details[open] summary::after {
    top: 0.8rem;
  }

  #cf-faq details p {
    margin: 10px 0;
    padding: 20px auto;
  }

  #cf-faq details summary:before {
    top: 0.6rem;
    margin-bottom: 0em;
    line-height: 1.8rem;
  }

  #cf-faq details p:before {
    display: inline-block;
    line-height: 1.8rem;
    left: 0;
  }

  /* ラップトップ > 商品詳細ページ > コメント > この商品のことを書いたブログ記事 */
  #item-intro {
    margin-top: 2rem;
  }

  #item-intro ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #item-intro ul li {
    width: 25%;
    letter-spacing: -0.04rem;
    font-size: 89%;
    list-style: none;
  }

  /* ラップトップ > 商品詳細ページ > アイテム一覧を並べるCSS */
  .item-fixity {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0 0 2rem 0 !important;
  }

  .item-fixity li {
    list-style: none !important;
    margin: 1%;
    width: 18%;
    font-display: swap;
  }

  .item-fixity li img {
    width: 100%;
    border-radius: 6px;
  }

  .item-fixity article {
    display: block !important;
  }

  /* ラップトップ > 商品詳細ページ > ご利用実績 */
  #cf-result h4 {
    font-size: 141%;
    margin: 1.6% 0 1.6% 0;
  }

  #cf-result article {
    border-bottom: 1px solid #ccc;
    padding-bottom: 2em;
  }

  #cf-result article:last-child {
    border-bottom: none;
  }

  #cf-result article img {
    width: 100%;
    height: auto;
    margin-bottom: 2%;
  }

  #cf-result article p {
    margin-bottom: 1em;
  }

  #cf-result article dl {
    display: flex;
  }

  #cf-result article dl dd h4 {
    margin-top: 1em;
  }

  /* ラップトップ > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all a {
    padding-bottom: 42%;
  }

  .item-fixty-all span {
    margin-top: 42%;
    font-size: 80%;
    padding: 0.2em 0.8em;
  }

  /* ラップトップ > カート内容のポップアップをスクロール */
  #cart {
    max-height: 400px;
    overflow-y: auto;
  }

  /* ラップトップ > 商品詳細ページ > 数量入力ボタン */
  .quantity span {
    margin-right: 30px;
  }

  .quantity button {
    top: 8px;
  }

  .quantity button i {
    font-size: 22px;
  }

  .quantity button:first-child {
    left: 34px;
  }

  .quantity button:last-child {
    left: 122px;
  }

  /* ラップトップ > 商品 > SKUセレクトボタン書式 */
  dl.item-sku {
    display: flex;
  }

  dl.item-sku dt {
    width: 25%;
    padding: 20px 0;
    margin: 20px 0;
    border-right: 1px solid #ccc;
  }

  dl.item-sku dd {
    padding: 20px;
    margin: 20px 0 !important;
  }

  /* ラップトップ > 商品一覧 > 折りたたみテキストボックスの詳しく見るボタン */
  .wc-advance-itemdetail summary {
    width: 50%;
  }

  .wc-advance-itemdetail[open] summary,
  .wc-advance-itemdetail summary:hover {
    background: #0b0d46;
    color: #fff;
  }

  /* ラップトップ > 商品ページ > コメント欄にてフロー説明 */
  #cf-comment dl {
    display: flex;
    margin-bottom: 2em;
  }

  #cf-comment dl dt,
  #cf-comment dl dd {
    margin-left: 1em;
    padding-top: 0;
  }

  #cf-comment dl dd ol {
    padding-top: 0;
    margin-top: 0;
  }

}

/*---------------------------------
高解像度向け設定(1280px以上)
---------------------------------*/
@media screen and (min-width:1280px) {

  /* デスクトップ(高解像度) > 商品詳細ページ > 数量入力ボタン */
  .quantity button:first-child {
    left: 33px;
  }

  .quantity button:last-child {
    left: 122px;
  }
}

/*---------------------------------
高解像度向け設定(1366px以上)
---------------------------------*/
@media (min-width: 1366px) {

  /* デスクトップ(高解像度) > 商品詳細ページ > 商品の追加詳細 */
  #add-details ul li {
    font-size: 0.62vw;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > カートボタンに吹き出し */
  .btn,
  span.btn,
  button.btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
  }

  span.btn-c {
    position: relative;
  }

  span.btn-c small {
    font-family: FontAwesome, BIZ UDGothic, sans-serif;
    font-size: 0.8rem;
    position: absolute;
    top: -1.35rem;
    left: calc(65% - 150px);
    display: block;
    width: 220px;
    color: #d44114;
    border: 2px solid #ff8c00;
    border-radius: 100vh;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }

  span.btn-c small:before,
  span.btn-c small:after {
    position: absolute;
    left: calc(50% - 10px);
    content: "";
  }

  span.btn-c small:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
  }

  span.btn-c small:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

  span.btn-c i {
    margin-right: 1rem;
  }

  .quantity {
    margin-top: 20px;
  }

  body.home .incart-btn-fixed {
    position: relative;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ  > 商品詳細 */
  .detail-box {
    width: 42%;
    font-size: 16px;
    float: right;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ  > 商品画像の設定 */
  #itempage #img-box {
    width: 58%;
    margin-bottom: 0em;
    display: flex;
  }

  #itempage .itemimg {
    display: block;
    width: 60%;
  }

  #itempage .itemsubimg {
    display: block;
    width: 38%;
    padding: 0 2% 0 2%;
    margin-top: 0;
  }

  #itempage .itemsubimg .luminous-g {
    display: inline-block;
  }

  #itempage .itemsubimg a {
    display: inline-block;
    width: 38%;
    float: none !important;
    text-align: center;
  }

  /* デスクトップ(高解像度) > 商品詳細 > 画像 */
  .itemsubimg-kyoei {
    margin: 0% 1.5% 1% 1.5%;
    width: 38%;
  }

  .itemsubimg-kyoei a {
    display: inline-block;
    width: 44.5%;
    vertical-align: top;
    margin: 0% 2% 6% 2%;
  }

  .itemsubimg-kyoei img {
    width: 100%;
    height: auto;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > アンカーリンク後スクロール位置の調節 */
  #cf-settings,
  #cf-reason,
  #cf-relation-set,
  #cf-faq,
  #cf-caution,
  #cf-result,
  #cf-similar,
  #cf-similar-post,
  #cf-events,
  #special-contact,
  #cf-relation {
    margin-top: -60px;
    padding-top: 60px;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > グローバルファーストビュー */
  .first-view-global div {
    position: relative;
    padding: 0 0 32% 0;
    z-index: 0;
  }

  .first-view-global div span {
    position: absolute;
    top: 5%;
    display: inline-block;
    z-index: 100;
    padding: 1.2rem 1.2rem;
    font-size: 2vmax;
  }

  .first-view-global img {
    position: absolute;
    width: 60%;
    right: 0;
    top: 0;
    margin: 0;
  }

  .first-view-global ul {
    display: block;
    top: 0%;
    padding: 11% 3% 19% 3%;
    width: 40%;
    position: absolute;
    height: 100%;
    font-size: 1.5vmax;
    line-height: 2.6vmax;
  }

  .first-view-global ul li:before {
    font-size: 1.4em;
  }

  .first-view-global p {
    padding: 0.8rem 1.2rem;
    z-index: 100;
    position: relative;
    letter-spacing: -0.03rem;
    z-index: 0;
  }

  .first-view-global ul li.zenkoku:before {
    content: "";
    font-family: FontAwesome;
    background: url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic_kyoei/images/japan-ico.png) no-repeat;
    background-size: 1em 1em;
    padding-left: 2.6vmax;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ  > 商品詳細 */
  .detail-box {
    width: 42%;
    font-size: 16px;
    float: right;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ  > 商品画像の設定 */
  #itempage #img-box {
    width: 58%;
    margin-bottom: 0em;
    display: flex;
  }

  #itempage .itemimg {
    display: block;
    width: 60%;
  }

  #itempage .itemsubimg {
    display: block;
    width: 38%;
    padding: 0 2% 0 2%;
    margin-top: 0;
  }

  #itempage .itemsubimg .luminous-g {
    display: inline-block;
  }

  #itempage .itemsubimg a {
    display: inline-block;
    width: 38%;
    float: none !important;
    text-align: center;
  }

  /* デスクトップ(高解像度)> 商品詳細ページ > ご利用実績 */
  #cf-result h4 {
    font-size: 141%;
    margin: 1.6% 0 1.6% 0;
    display: block;
  }

  #cf-result article {
    display: block;
  }

  #cf-result article img {
    margin-bottom: 2%;
    padding: 2%;
  }

  #cf-result article dl {
    display: block;
  }

  #cf-result article dl dt {
    padding: 1%;
    width: 22%;
    display: block;
  }

  #cf-result article dl dd h4 {
    margin-top: 1em;
  }

  /* デスクトップ(高解像度)> 商品詳細ページ > ご利用実績 > 高解像度のみの設定 */
  .result-sum {
    display: flex;
  }

  .result-child {
    width: 50%;
  }

  .result-child img {
    width: 100%;
    height: auto;
  }

  .result-child ul {
    display: flex;
  }

  .result-child ul li {
    width: 30%;
    margin: 1%;
    list-style: none;
  }

  .result-child ul li img {
    width: 100%;
  }

  /* ラップトップ > 商品詳細ページ > レンタル期間表記 */
  .rentalday {
    width: 32%;
    min-width: 320px;
    height: auto;
    margin-bottom: -115px;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > よくある質問 */
  #cf-faq details:not(:last-child) {
    margin-bottom: 20px;
  }

  #cf-faq details summary {
    padding-right: 2rem;
    padding-top: 12px;
    padding-bottom: 10px;
    min-height: 3rem;
    line-height: 2em;
  }

  #cf-faq details {
    margin-top: 1em;
  }

  #cf-faq summary:before,
  #cf-faq details p:before {
    width: 28px;
    text-align: center;
    display: inline-block;
    border-radius: 100px;
    margin-left: 0.4em;
    margin-right: 0.7em;
    padding: 0.3em;
    left: 0;
  }

  #cf-faq details summary::after {
    margin-right: 0.4rem;
    border: none;
    right: 0.3rem;
    top: 0.8rem;
  }

  #cf-faq details[open] summary::after {
    top: 0.8rem;
  }

  #cf-faq details p {
    margin: 10px 0;
    padding: 20px auto;
  }

  #cf-faq details summary:before {
    top: 0.6rem;
    margin-bottom: 0em;
    line-height: 1.8rem;
  }

  #cf-faq details p:before {
    display: inline-block;
    line-height: 1.8rem;
    left: 0;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > SKUセレクトの余白設定 */
  table.item-sku th,
  table.item-sku td {
    padding: 8px 10px;
    text-align: center;
  }

  .cright.cf7-details-advance tr:first-child td p {
    padding-bottom: 1.4em !important;
  }

  /* デスクトップ(高解像度) > 商品詳細ページ > 数量入力ボタン */
  .quantity button:first-child {
    left: 36px;
  }

  .quantity button:last-child {
    left: 128px;
  }
}


/*---------------------------------
高解像度向け設定
---------------------------------*/
@media (min-width: 1241px) {
  .add-details-track ul {
    width: 78px;
    display: block;
    position: fixed;
    top: 50%;
    right: 2%;
    transform: translate(0, -50%);
  }

  .add-details-track ul li {
    display: block;
    margin: .4% 0;
    text-align: center;
    width: 100%;
    max-width: 100% !important;
    animation-name: RightToLeft;
    animation-duration: 0.2s;
  }

  .add-details-track ul li a {
    padding: 7% 0% 3% 0% !important;
    background: #fff;
    font-size: 92%;
  }

  .add-details-track ul li a i {
    font-size: 1.4rem !important;
  }

  #wccta {
    padding-top: 80px;
    margin-top: -80px;
  }
  
    /* ラップトップ > 商品詳細ページ > 類似商品 */
  #cf-relation ul li,
  #cf-similar-tag ul li,
  #cf-similar ul li,
  #cf-similar-post ul li {
    width: 18%;
  }

  #cf-relation ul li img,
  #cf-similar-tag ul li img,
  #cf-similar ul li img,
  #cf-similar-post ul li img {
    height: auto;
  }

  #cf-similar small,
  #cf-similar-post small,
  #cf-similar-tag small {
    font-size: 100%;
  }

  /* ラップトップ > 商品詳細ページ > 関連商品 > 関連記事 */
  #cat-relation ul li {
    width: 22%;
  }
}