@charset "utf-8";

/* FAQ */
summary::after {
	content: '\25B6';
	transition: transform 0.3s ease;
	display: inline-block;
	margin-right: 10px;
	color:#666;
}

details[open] summary::after {
	transform: rotate(90deg);
}

summary:hover {
	font-weight:bold;
}

details[open] summary {
	font-weight:bold;
}

.faq-item {
	border-bottom: 1px dotted #ddd;
	padding: 25px 10px;
}

.faq-item summary {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item p {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 16px 0 0;
}

.faq-q,
.faq-a {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	line-height: 1;
	box-sizing: border-box;
	border-radius:5px;
}

.faq-q{
	background: #666;
	border: 2px solid #666;
	color:#fff;
	font-size:14px;
}

.faq-a {
	background: #fff;
	border: 2px solid #666;
	color:#666;
	font-size:14px;
}

.text-q,
.text-a {
	flex: 1;
	line-height: 1.8;
	color:#333;
}

.faq_link{
	display:inline;
	color:#00c;
}

.faqtitle{
	font-size:18px;
	font-weight:bold;
	text-align:center;
	/*margin:60px 0 30px 0;*/
	margin:30px 0;
}

/* Product Tabs */

/*タブ切り替え全体のスタイル*/
.product_tabs {
  padding-bottom: 40px;
  background-color: #fff;
  margin: 0 auto;
}

/*タブのスタイル*/
.product_tab_item {
  width: calc(100%/3);
  height: 50px;
  border-top:   1px solid #ddd;
  border-left:  1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #999;
  background-color: #f6f6f6;
  line-height: 50px;
  font-size: 14px;
  text-align: center;
  color: #333;
  display: block;
  float: left;
  text-align: center;
  transition: all 0.2s ease;
  box-sizing:border-box;
  border-radius:5px 5px 0 0;
}

.product_tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="product_tab_item"] {
  display: none!important;
}

/*タブ切り替えの中身のスタイル*/
.product_tab_content {
  display: none;
  padding: 10px 20px 10px;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#product_detail:checked ~ #product_detail_content,
#product_spec:checked ~ #product_spec_content,
#product_faq:checked ~ #product_faq_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.product_tabs input:checked + .product_tab_item {
background:#fff;
border-width:1px 1px 0 1px;
border-style:solid;
border-color:#999;
color:#000;
}