.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/3/31 added by tsuji
======================================== */

/* --------------- テーブル レスポンシブ --------------- */

.table-resp {
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 5px;
}
.table-resp th {
  width: 25%;
  background: url(/html/template/cectpl/assets/img/main-bg1.png) repeat center center;
  box-sizing: border-box;
  color:#fff;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: left;
  color:#000;
}
.table-resp td {
  background: #F2F2F1;
  padding: 15px;
  vertical-align: top;
  text-align: left;
}
@media all and (max-width: 767px) {
.table-resp th, .table-resp td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
.table-resp tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
  }
}



/* ======================================
simple-accordion added by naka 20250425
======================================== */

.simple-accordion ul {
  display: none
}
.simple-accordion .simple-accordion-anchor {
  display: block;
  position: relative;
  cursor: pointer
}
.simple-accordion .simple-accordion-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -0.5rem
}
.simple-accordion .simple-accordion-btn::after {
  content: "+"
}
.simple-accordion .is-open > .simple-accordion-list {
  display: block
}
.simple-accordion .is-open > .simple-accordion-anchor > .simple-accordion-btn::after {
  content: "-"
}
.simple-accordion-is-animation ul {
  display: none
}
.simple-accordion-is-animation .simple-accordion-anchor {
  display: block;
  position: relative;
  cursor: pointer
}
.simple-accordion-is-animation .simple-accordion-btn {
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 50%;
  right: -15px;
}
.simple-accordion-is-animation .simple-accordion-btn::after,
.simple-accordion-is-animation .simple-accordion-btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 2px;
  background: #444;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease
}
.simple-accordion-is-animation .simple-accordion-btn::after {
  opacity: 1;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg)
}
.simple-accordion-is-animation .is-open > .simple-accordion-list {
  display: block
}
.simple-accordion-is-animation .is-open > .simple-accordion-anchor > .simple-accordion-btn::after {
  opacity: 0;
  -webkit-transform: rotate(0);
  transform: rotate(0)
}




/* 20250516naka 旧サイトのextra.cssのコピペ */
.contents-box{
	margin: 0 0 20px 0;
}
.contents-centerbox{
	margin: 0 0 20px 0;
	text-align: center;
}
.contents-100box{
	margin: 0 0 20px 0;
	padding: 20px;
}
.contents-textarea{
	overflow: hidden;
}
.contents-leftimg{
	float: left;
	display: inline;
	margin: 0 20px 20px 0;
}
.contents-rightimg{
	float: right;
	display: inline;
	margin: 0 0 20px 20px;
}
.contents-centerimg{
	display: inline;
	margin: 0 5px;
}
.contents-centerimg img{
	padding: 5px;
	background: #eaeaea;
	border: #ccc 1px solid;
}
.contents-50leftbox{
	float: left;
	width: 49%;
}
.contents-50rightbox{
	float: right;
	width: 49%;
}
.contents-table{
	margin: 0 0 20px 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.contents-table .odd{
	background: #eee;
}
.contents-table th{
	padding: 10px;
	border-bottom: #ccc 1px dashed;
}
.contents-table td{
	padding: 10px;
	text-align: right;
	border-left: #ccc 1px dashed;
	border-bottom: #ccc 1px dashed;
}
.firstlarge:first-letter{
	float: left;
	padding: 3px 5px 0 0;
	font-size: 3em;
	font-weight: bold;
}

/* 20130117 added by inose */
.contents-50leftimg{
	float: left;
	width: 49%;
}
.contents-50rightimg{
	float: right;
	width: 49%;
}
.contents-3column{ 
	float: left; 
	width: 31%;
	margin: 5px;
}
.contents-table-half{
	margin: 0 0 20px 0;
}

.contents-lefttextarea{
	float: left;
	width: 49%;
}
.contents-righttextarea{
	float: right;
	width: 49%;
}
.list-common01 dt {
	font-weight: bold;
	font-size: 1.2em;
}
.list-common01 dd {
	padding-bottom: 0.8em;
}
.contents-righttable{
	float: right;
	margin: 0 0 0 10px;
}
.contents-lefttable{
	float: left;
	margin: 0 10px 0 0;
}
.contents-backpattern01 {
	padding: 5px;
	background: url(/cgi-bin/mt/mt-static/plugins/CKEditor/template/images/backimg.jpg) repeat 0 0;
	border: #eaeaea 2px solid;
}
.table_decoration01{
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border-spacing: 0;
}
.table_decoration01 th{
	padding: 5px;
	width: 20%;
	text-align: left;
	vertical-align: top;
	background: #fafafa;
	border: #ddd 1px solid;
}
.table_decoration01 td{
	padding: 5px;
	vertical-align: top;
	border: #ddd 1px solid;
}
.table_decoration02{
}
.table_decoration02 .odd{
	background: #fafafa;
}
.table_decoration02 th{
	padding: 5px;
	text-align: left;
	vertical-align: top;
	border-bottom: #ddd 1px dashed;
}
.table_decoration02 td{
	padding: 5px;
	vertical-align: top;
	border-left: #ddd 1px dashed;
	border-bottom: #ddd 1px dashed;
}
.table_decoration03{
}
.table_decoration03 th{
	padding: 5px;
	width: 20%;
	text-align: left;
	vertical-align: top;
	border: #ddd 1px dotted;
}
.table_decoration03 td{
	padding: 5px;
	vertical-align: top;
	border: #ddd 1px dotted;
}
.table_decoration04 {
	border-top: #ddd 1px solid;
	border-left: #ddd 1px solid;
	border-right: #ddd 1px solid;
}
.table_decoration04 th {
	width: 20%;
	padding: 5px;
	text-align: left;
	background-color: #fafafa;
	border-top: #ddd 1px solid;
	border-left: #ddd 1px solid;
	border-bottom: #ddd 1px solid;
	vertical-align: top;
}
.table_decoration04 td{
	padding: 5px;
	text-align: left;
	vertical-align: top;
	border-bottom: #ddd 1px solid;
}

/* ----------
2025.05 added by nakazato
---------- */

.entry-content table.table01{
	margin: 0 0 0.8em 0;
	padding: 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.entry-content table.table01 th{
	padding: 10px;
	width: 20%;
	background: #EEE3D1;
	border: #d5bc8c 1px solid;
}
.entry-content table.table01 td{
	padding: 10px;
	border: #d5bc8c 1px solid;
}

.entry-content table.table02{
	margin: 0 0 0.8em 0;
	padding: 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout:fixed;
}
.entry-content table.table02 th{
	padding: 10px;
	width: 20%;
	background: #EEE3D1;
	border: #d5bc8c 1px solid;
}
.entry-content table.table02 td{
	padding: 10px;
	border: #d5bc8c 1px solid;
}

/* ECページの文字・画像サイズやmagin調整 */

.ec-productRole__description p,
.ec-productRole__freearea p{
	font-size: 20px !important;
	margin: 10px 0 20px 0;
}
.ec-productRole__description p strong,
.ec-productRole__freearea p strong{
	font-size: 20px !important;
}
.ec-productRole__description p strong span,
.ec-productRole__freearea p strong span{
	font-size: 20px !important;
}
.ec-shelfGrid li.ec-shelfGrid__item .price02-default {
    font-size: 18px;
}
.contents-centerimg img {
	/*width: 30% !important;*/
	width: 20% !important;
    height: auto !important;
}
.contents-50leftimg img {
	width: 100% !important;
	height: auto !important;
}
.contents-50rightimg img {
	width: 100% !important;
	height: auto !important;
}
.contents-3column {
	width: 30% !important;
}
.contents-3column img{
	width: 100% !important;
	height: auto !important;
}
/*.contents-box .contents-leftimg img{
	width: 100% !important;
	height: auto !important;
}
/*.ec-productRole__freearea p img{
	width: 50% !important;
	height: auto !important;
}*/
/*.ec-productRole__description p img{
	width: 100% !important;
	height: auto !important;
}*/

@media all and (max-width: 767px) {
	.contents-centerimg img {
		width: 100% !important;
		height: auto !important;
	}
	.contents-50leftimg {
		width: 100%;
	}
	.contents-50rightimg {
		width: 100%;
	}
	.contents-3column {
		width: 100%;
	}
	.ec-productRole__freearea p img{
		width: 100% !important;
		height: auto !important;
	}
}