/*
Theme Name: Welcart Simple Plus Child v2
Template: welcart_simple-plus
Theme URI: https://www.welcart.com/archives/16004.html
Author: Welcart Inc.
Author URI: https://www.welcart.com/
Description: Welcart Simple Plus is the Welcart dedicated theme.
Version: 1.5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, white, two-columns
Requires at least: 5.6
Requires PHP: 7.4 - 8.1
*/
*{
	box-shadow:border-box;
}
.info{
max-width: 900px;
  margin: 0 auto;
  width: 90%;
}
table.pb_simple_table th,
table.pb_simple_table td{
padding:16px
}
table.pb_simple_table th p,
table.pb_simple_table td p{
	margin:0 0 16px 0 !important;
}
table.pb_simple_table th p:last-child,
table.pb_simple_table td p:last-child{
	margin:0 !important;
}

@media (max-width:767px){
	table.pb_simple_table th,
	table.pb_simple_table td{
		width:100%;
		display:block;
	}
}

.entry-content iframe{
	margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .entry-title {
    padding-bottom: 2rem;
  }
	.pb_simple_table td table th{
		width:30%
	}
	
}
@media screen and (min-width: 992px) {
	.new-items .card::before{
		background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 100%);
	}
}

.table__matrix{
	font-size: 12px;
}
.table__matrix th,
.table__matrix td{
	padding:5px !important;
	width:auto;
}
@media only screen and (max-width: 767px) {
.table__body {
    width: 280px;
  overflow: scroll;
  }
.table__matrix {
    width: 812px !important;
  }
.table__matrix th,
.table__matrix td{
	display:table-cell !important;
	width:auto !important;
}
}

/* ------ 追加 ------- */
.front-page .new-items .category-title-area::before{
	background-color: rgba(0,0,0,0);
}

.item-category .card::before, .new-items .card::before, .front-page .widget_basic_item_list .card::before, .general-widget-area .widget_basic_item_list .card::before, .member-favorite .card::before{
	border: 1px solid #d2d0d0;
}

@media screen and (min-width: 992px) {
	.item-category .card::before{
		background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%);
	}
	.assistance_item > ul .card {
		border: 1px solid #d2d0d0 !important;
	}
}

.border-0 {
	border: auto !important;
}


.box{
	padding: 30px;
  background-color: #efefef;
}
.box h4{
	margin: 0 0 20px 0;
}
.box p{
	margin: 0 0 20px 0;
}
.box p:last-child{
	margin: 0;
}



.entry-content h3,
.entry-content h4,
.entry-content h5{
	color: #333;
	display: block;
  font-weight: bold;
  margin: 20px 0;
  border-left:5px solid var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  padding:16px;
}
.entry-content h3::before,
.entry-content h4::before,
.entry-content h5::before {
	display: none;
}
.entry-content p{
	margin: 2rem 0;
}
/***********************************************
 * /item/336 パスワード保護ページ用お知らせ
 ***********************************************/
.item336-notice {
	margin: 0 auto 20px;
}
.item336-notice__title,
.notice__title
{
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: bold;
	color: #b8860b;
}
.item336-notice__body p {
	margin: 0 0 16px;
	line-height: 1.8;
}
.item336-notice__body ul {
	margin: 0 0 16px;
	padding-left: 1.4em;
	line-height: 1.8;
}
.item336-notice__caution-title {
	font-weight: bold;
}
.item336-notice__contact {
	margin: 20px auto;
  display: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  padding: 20px;
  text-align: center;
  border: 1px dashed #ccc;
}
.item336-notice__contact strong{
	font-weight: bold;
	font-size: 18px;
	display: block;
	padding-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.item336-notice__contact strong img {
	width: 24px;
	height: 24px;
	margin-right: 8px;
	vertical-align: middle;
}
.item336-notice__contact-btn {
	display: inline-block;
	margin-left: 8px;
	padding: 8px 20px;
	background-color: #b8860b;
	color: #fff;
	text-decoration: none !important;
	border-radius: 4px;
}
.item336-notice__contact-btn:hover {
	background-color: #96700a;
	color: #fff;
}

/* パスワード入力フォーム（既存の .box デザインを流用） */
.item336-password-form,
.notice__contets {
	margin: 30px auto;
	border: 1px solid #ccc;
	padding: 24px;
}
.item336-password-form p{
	margin: 10px 0;
}
/* パスワード保護フォーム：入力欄とボタンを横並びにする
 * （親テーマの input[type=password]{width:100%} により、
 *   何もしないとボタンが下に落ちてしまうための調整） */
.post-password-form p:last-of-type {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	
}
.post-password-form label {
	display: flex;
	align-items: center;
}
.post-password-form input[type="password"] {
	width: auto;
	
}
.post-password-form input[type="submit"] {
	width: auto;
	background-color: var(--accent-color);
	color: #fff;
	height: 45px;
}

/* item/336: <div class="flex_box_wrap"><label class="flex_box_wrap">...</label><input type="submit">...</div> */
.flex_box_wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}


@media (max-width:767px){

.post-password-form p:last-of-type {
	flex-direction: column;
	
}
.post-password-form label {
	flex-direction: column;
	width: 100%;
}
.post-password-form input[type="password"] {
	width: 100%;
	
}
.post-password-form input[type="submit"] {
	width: 50%;
	height: auto;
	margin: 0 auto;
}

}
