.template {
  margin: 40px 0;
}
.template p {
  margin: 0 0 20px 0;
}
.template p:last-child {
  margin: 0;
}
.template img {
  width: 100%;
}

.template-img-left,
.template-img-right {
  overflow: hidden;
}
.template-img-left .img {
  float: left;
  width: 280px;
}
.template-img-left .text {
  float: right;
  width: calc(100% - 310px);
}
.template-img-right .img {
  float: right;
  width: 280px;
}
.template-img-right .text {
  float: left;
  width: calc(100% - 310px);
}

.template-col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.template-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.template-col4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.template-col .col {
  text-align: center;
}

.template-table table {
  width: 100%;
}
.template-table th {
  padding: 20px;
  text-align: left;
  vertical-align: top;
}
.template-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
}

.template-table .table1 th {
  border-bottom: var(--borderColor) 1px solid;
}
.template-table .table1 td {
  border-bottom: var(--borderColor) 1px solid;
}
.template-table .table2 th {
  background: var(--bgColor);
  border: var(--borderColor) 1px solid;
}
.template-table .table2 td {
  border: var(--borderColor) 1px solid;
}
.template-table .table3 th {
  padding: 10px;
  background: var(--bgColor);
  border: var(--borderColor) 1px solid;
}
.template-table .table3 td {
  padding: 10px;
  border: var(--borderColor) 1px solid;
}
.template-table .table4 th {
  border-right: var(--borderColor) 1px dashed;
  border-bottom: var(--borderColor) 1px dashed;
}
.template-table .table4 td {
  border-bottom: var(--borderColor) 1px dashed;
}
.template-table .table5 tr:nth-child(odd) th {
  background: var(--bgColor);
}
.template-table .table5 tr:nth-child(odd) td {
  background: var(--bgColor);
}

.template-img-left-table,
.template-img-right-table,
.template-text-left-table,
.template-text-right-table {
  overflow: hidden;
}
.template-img-left-table .img,
.template-text-left-table .text {
  float: left;
  width: 280px;
}
.template-img-right-table .img,
.template-text-right-table .text {
  float: right;
  width: 280px;
}
.template-img-left-table .table,
.template-text-left-table .table {
  float: right;
  width: calc(100% - 310px);
}
.template-img-right-table .table,
.template-text-right-table .table {
  float: left;
  width: calc(100% - 310px);
}

.template-dl-row dl dt {
  font-weight: bold;
}
.template-dl-row dl dd {
  margin: 0 0 20px 0;
}
.template-dl-row dl dd:last-child {
  margin: 0;
}

.template-dl-col dl {
  display: flex;
  flex-wrap: wrap;
}
.template-dl-col dl dt {
  width: 20%;
  font-weight: bold;
}
.template-dl-col dl dd {
  margin: 0 0 20px 0;
  padding: 0 0 0 20px;
  width: 80%;
}
.template-dl-col dl dd:last-child {
  margin: 0;
}

.template-backpattern1 {
  padding: 30px;
  background-color: var(--bgColor);
  background-image: repeating-linear-gradient(
    -45deg,
    var(--bodyBgColor) var(--bodyBgColor) 7px,
    transparent 0,
    transparent 14px
  );
  border-radius: 10px;
}
.template-backpattern2 {
  padding: 30px;
  border-top: var(--borderColor) 5px solid;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 599px) {
  .template-img-left .img,
  .template-img-right .img {
    float: none;
    margin: 0 0 20px 0;
    width: 100%;
  }
  .template-img-left .text,
  .template-img-right .text {
    float: none;
    width: 100%;
  }

  .template-col4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-img-left-table .img,
  .template-text-left-table .text,
  .template-img-right-table .img,
  .template-text-right-table .text {
    float: none;
    margin: 0 0 20px 0;
    width: 100%;
  }
  .template-img-left-table .table,
  .template-text-left-table .table,
  .template-img-right-table .table,
  .template-text-right-table .table {
    float: none;
    width: 100%;
  }

  .template-dl-row dl dt {
    font-weight: bold;
  }
  .template-dl-row dl dd {
    margin: 0 0 20px 0;
  }
  .template-dl-row dl dd:last-child {
    margin: 0;
  }

  .template-dl-col dl {
    display: flex;
    flex-wrap: wrap;
  }
  .template-dl-col dl dt {
    width: 20%;
    font-weight: bold;
  }
  .template-dl-col dl dd {
    margin: 0 0 20px 0;
    padding: 0 0 0 20px;
    width: 80%;
  }
  .template-dl-col dl dd:last-child {
    margin: 0;
  }

  .template-backpattern1 {
    padding: 30px;
    background-color: var(--bgColor);
    background-image: repeating-linear-gradient(
      -45deg,
      var(--bodyBgColor) var(--bodyBgColor) 7px,
      transparent 0,
      transparent 14px
    );
    border-radius: 10px;
  }
  .template-backpattern2 {
    padding: 30px;
    border-top: var(--borderColor) 5px solid;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
  }
}

/* 管理画面用のスタイル */
.cke_editable .template {
  padding: 20px;
  background: #eee;
}
.cke_editable .template img {
  width: auto;
  max-width: 100%;
}

/* 商品検索窓のカテゴリー選択のスタイル */
.psc > ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.psc > ul > li {
  position: relative;
}
.psc > ul > li > a {
  display: block;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: var(--bgColor);
  border-radius: 1px;
}
.psc ul.child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 120%;
  left: 0;
  padding: 15px;
  width: 100%;
  background: var(--bodyBgColor);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  z-index: 1;
}
.psc ul.child.open {
  visibility: visible;
  opacity: 1;
  top: 100%;
}
.psc ul.child > li > a {
  display: block;
}
.psc ul.child > li > a:before {
  content: "\f105";
  margin: 0 5px 0 0;
  font-family: FontAwesome;
}
.psc ul.child > li > ul {
  padding: 5px 5px 5px 20px;
}
.psc ul.child > li > ul > li > a {
  display: block;
  padding: 3px 0;
  font-size: 1.3rem;
}


/* 2025/01/27 inose */

.button-guide01,
.button-guide02,
.button-guide03 {
    width: 226px;
    height: 120px;
    background-size: 226 240px; 
    display: inline-block;
    text-align: center;
    line-height: 120px;
    color: white;
    font-weight: bold;
    transition: background-position 0s ease-in-out; 
    text-decoration: none; 
}
.button-guide01 {
    background-image: url('/html/upload/kcfinder/images/guide-nav01.jpg'); 
}
.button-guide02 {
    background-image: url('/html/upload/kcfinder/images/guide-nav02.jpg'); 
}
.button-guide03 {
    background-image: url('/html/upload/kcfinder/images/guide-nav03.jpg'); 
}
.button-guide01 span,
.button-guide02 span,
.button-guide03 span {
    display: none;
}
.button-guide01:hover,
.button-guide02:hover,
.button-guide03:hover  {
    background-position: 0 -120px; 
}


ul.checklist li {
    list-style-type: none; 
    padding-left: 0;
}
ul.checklist li {
    position: relative; 
    padding-left: 25px; 
}
ul.checklist li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%); 
    color : #9d2c25;
}
.page-content h2,
.page-content h3,
.page-content h4,
.template-table .table3 th {
    font-weight: 900;
}
.page-content p,
.page-content th,
.page-content td {
    font-size: 110%;
}

/*2025/02/07 inose */
.page-product-list .soldout {
            width: 86px;
            height: 20px;
            line-height: 20px;
            font-size: 1.2rem !important;
            font-weight: 500;
            text-align: center;
            background: #8c1c1c;
            color: #fff !important;
}
.ec-progress__number {
            background: #333333;
}
.ec-progress__item::after {
            background: #333333;
}
.is-complete .ec-progress__number {
            background: #8c1c1c;
}
.is-complete .ec-progress__label {
            color: #8c1c1c;
}
.ec-blockBtn--cancel {
            background: #333333;
            border: #333333 1px solid;
}
.ec-blockBtn--action {
            background: #8c1c1c;
            border: #8c1c1c 1px solid;
}
.ec-required {
           color: #8c1c1c;
}


.main-ranking,
.main-restock{
	.stock{
		opacity: 0;
	}
}
/* 商品一覧で横3アイテムへ変更
.ec-shelfGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
 */

/* 2025/02/14 inose */
/* 「会社名」のラベルと入力欄を非表示にする */

#page_shopping_nonmember .ec-borderedDefs dl:nth-of-type(3) {
    display: none !important;
}
/* お届け先の追加ボタンを非表示にする */
.ec-orderDelivery__edit .ec-inlineBtn {
    display: none !important;
}
/* 商品価格を目立たせる */
.price,
.price02-default {
font-weight: bold  !important;
color : var(--keyColorSub);
}
/* 商品ページへ問合せボタン追加 */
.contact_btn a {
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;
  color: var(--bodyBgColor);
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  background: #19588e;
  border: #19588e 1px solid;
  border-radius: 3px;
}
/* 商品購入 ご注文手続きページへのキャプション追加 */
.caption_delivery,
.caption_date {
 margin-bottom: 1.5rem;
 margin-top: 1rem;
 background: #f9f9f9;
 padding: 2rem;
}
.caption_delivery h5,
.caption_date h5{
  color: #8c1c1c;
 margin-bottom: 0.8rem;
}
.caption_delivery ul,
.caption_date ul,
.ec-radio ul{
 list-style:disc;
 margin-left: 2rem;
 margin-top: 1rem;
 margin-bottom: 2rem;
}
.caption_delivery li,
.caption_date li,
.ec-radio li{
 line-height: 1.8rem;
 margin-bottom: 1rem;
}
.caption_delivery a,
.caption_date a {
 color: #009cde;
 text-decoration: underline;
}
.ec-radio strong {
 color: #8c1c1c;
}
/* トップ゛「入荷予約情報」カテゴリリンクを4つのでに抑制 */
.main-news-main .links .cats ul li:nth-of-type(n+5) {
    display: none !important;
}