.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;
}
#page_flow .template-img-right .img{
	width: 49%;
}
.template-img-right .text {
  float: left;
  width: calc(100% - 310px);
}
#page_flow	.template-img-right .text {
	width: 49%;
}

.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;
  border: 1px solid #ccc;
}
.template-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ccc;
}

.template-table .table1 th {
  border-bottom: #ccc 1px solid;
}
.template-table .table1 td {
  border-bottom: #ccc 1px solid;
}
.template-table .table2 th {
  background: #f5f5f5;
  border: #ccc 1px solid;
}
.template-table .table2 td {
  border: #ccc 1px solid;
}
.template-table .table3 th {
  padding: 10px;
  background: #f5f5f5;
  border: #ccc 1px solid;
}
.template-table .table3 td {
  padding: 10px;
  border: #ccc 1px solid;
}
.template-table .table4 th {
  border-right: #ccc 1px dashed;
  border-bottom: #ccc 1px dashed;
}
.template-table .table4 td {
  border-bottom: #ccc 1px dashed;
}
.template-table .table5 tr:nth-child(odd) th {
  background: #f5f5f5;
}
.template-table .table5 tr:nth-child(odd) td {
  background: #f5f5f5;
}

.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);
}

/*table*/  
.tbl-r02 table {
  width: 100%;
}
.tbl-r02 th {
  padding: 20px;
  text-align: center;
  vertical-align: top;
}
.tbl-r02 td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
}

.tbl-r02 th {
  border-bottom: #ccc 1px solid;
　text-align: center;
}
.tbl-r02 td {
  border-bottom: #ccc 1px solid;
  background: #fff;
}

.tbl-r02 th {
  background: #f5f5f5;
  border: solid 1px #ccc;
  color: #000;
  padding: 10px;
}
.tbl-r02 td {
　border: solid 1px #ccc;
  padding: 10px;
}



@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);
  }
  
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 100%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　border-bottom: none;
　display: block;
　width: 100%;
  }
}

/* 管理画面用のスタイル */
.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;
}

.back-btn{
	margin: 30px auto;
	width: 600px;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.back-btn a{
	display: block;
	font-size: 15px;
	font-weight: bold;
	background: #555;
	border-color: #555;
}
.back-btn a:last-child{
	background: #555;
	border-color: #555;
}
#page_shopping_confirm .back-btn a:last-child,
.ec-cartRole>.back-btn a:last-child{
	background: #523326;
}
.back-btn02 a{
	background: #555 !important;
}
.back-btn:last-child a{
	background: #555;
}

.ec-totalBox__btn a{
	display: block;
}
.ec-totalBox__btn a:last-child{
	margin-top: 10px;
	background: #523326;
}

.ec-orderDelivery__edit{
	margin-bottom: 15px;
}
.ec-orderDelivery__edit button{
	background: #9b0d0c;
	border-color: #9b0d0c;
	width: 300px;
}
.ec-orderDelivery__change button{
	top: 100px;
}

table.shipping-table{
	margin: 0 0 0.8em 0;
	padding: 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
table.shipping-table th{
	padding: 10px;
	width: 40%;
	border: #7a713a 1px solid;
}
table.shipping-table td{
	padding: 10px;
	border: #7a713a 1px solid;
	text-align: center;
}

#page_faq .page-content h3{
	background: #9b0d0c;
	color: #fff;
	font-weight: 600;
}

#page_entry .ec-label{
	font-size: 18px;
}
#page_entry .ec-required{
	font-size: 14px;
}

#page_faq .page-content p{
	font-weight: 700;
}


.ec-blockBtn--cancel02{
	margin: 0 !important;
}

.simple-accordion-is-animation .simple-accordion-btn::after, .simple-accordion-is-animation .simple-accordion-btn::before{
	background: #fff;
}

.shipping_multiple-notice{
    font-size: 2rem;
}

.shipping_multiple-caution {
    font-size: 2rem;
}
.ec-orderPayment.pointBlock,
.ec-totalBox__pointBlock{
	display: none;
}
.ec-orderCoupon{
	margin-top: 20px;
}

.main-line{
	margin-bottom: 60px;
	text-align: center;
}

.ec-errorMessage{
	font-weight: 700;
	font-size: 2rem;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
	color: #f00;
}

.ec-message{
	position: relative;
    margin: 0 0 30px 0;
    padding: 30px;
    background: #fff;
    border: #ddd 1px solid;
    border-radius: 3px;
}