@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/*
 * Cocoon風タブボックス *
 ***********************/
/* タイトル */
.title-simple {
	position: absolute;
	top: -1.9em;
	left: -1px;
	font-size: 1em;
	font-weight: bold;
	display: inline-block;
	padding: 0.2em 1em 0;
	border-radius: 5px 5px 0 0;
	color: #fff;
	background: #666; /* 背景グレー：いろ差し替え場所 */
}
/* BOX */
.box-simple {
	position: relative;
	border-radius: 0 5px 5px;
	padding: 1.5em 1em 0.5em;
	margin: 2.5em 0 2em;
	box-shadow: 2px 3px 3px #ddd;
	border: 1px solid #bbb; /* 枠グレー：色の差し替え場所 */
}
/* スマホ以外481px以上 */
@media screen and (min-width: 481px) {
	.box-simple {
		margin: 3em 1em 2em; /* 上 左右 下 */
	}
}
/* ここまでCocoon風 */
/*
 * シンプルタブボックス *
 **********************/
/* タイトル */
.box-title {
	position: absolute;
	top: -1em; /* タイトル位置マイナス値あげると上  */
	left: 1em; /* 左から1文字分右へ */
	font-size: 1.1em; /* サイズ1.1文字分 */
	font-weight: bold; /* フォント太く */
	display: inline-block;
	padding: 0.2em 0.8em 0; /*内側余白:上下 左右*/
	border-radius: 5px; /* 角丸 */
}
/* BOX */
.title-box {
	position: relative;
	border-radius: 5px;
	padding: 1.5em 1em 0.5em; /* 内側余白:上 左右 下 */
	margin: 2.5em 0 2em; /* 外側余白: 上 左右 下 */
	box-shadow: 2px 3px 3px #ddd;
}
/* スマホ以外481px以上 */
@media screen and (min-width: 481px) {
	.title-box {
		margin: 3em 1em 2em; /* 上 左右 下 */
	}
}
/* gray */
.title-gray {
	color: #666;
	background: #fff;
}
.box-gray {
	border: #ddd 1px solid;
}
/* pink */
.title-pink {
	color: #f278a4;
	background: #fff;
}
.box-pink {
	border: #ffcbde 1px solid;
}
/* blue */
.title-blue {
	color: #3847fa;
	background: #fff;
}
.box-blue {
	border: #a0a8ff 1px solid;
}
/* brown */
.title-brown {
	color: #bb5f03;
	background: #fff;
}
.box-brown {
	border: #efb072 1px solid;
}
/* green */
.title-green {
	color: #4CAF50;
	background: #fff;
}
.box-green {
	border: #9dd9a0 1px solid;
}

/* スクロール比較表 */
.scroll-table table {
  display: block;
  overflow-x: scroll;
}
@media screen and (min-width: 600px) {
	.scroll-table table {
		display: table;
	}
}
.g-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #eee;
  border-spacing: 0;
  text-align: center;
  line-height: 1.5;
}
.g-table td {
  font-size: 0.9em;
  min-width: 100px;
  max-width: 100%;
}
.g-table td:first-child {
  /*position: sticky!important;*/
  top: 0;
  left: 0;
  z-index: 1;
  background: #f5f5f5;
  font-size: 0.8em;
}
.g-table td:first-child img{
  text-align: center;
}
.g-table ul {
  padding-left: 1em;
  margin-bottom: 0;
}
.g-table li {
  margin-bottom: 1em !important;
}
.g-table td:last-child {
	margin-bottom: 0;
}
.good-point {
  font-weight: bold;
  font-size: 1.5em;
  color: #e60033;
}
.scroll-table_pre {
	margin-bottom: 0.1em !important;
	font-size: 0.8em;
}
@media screen and (min-width: 600px) {
	.scroll-table_pre {
		display: none;
	}
}

/* テーブル中のボタン */
table .btn {
  padding: 1em 0;
  font-size: 0.6em;
}

/* ポストスニペット　リンクカラー変更 */
.c-trans-link {
	color: #1a0dab;
	text-decoration: underline;
	cursor: pointer;
}
.c-trans-link:hover {
	color: #e53900;
}

/* アイキャッチ全幅（sp） */
@media screen and (max-width: 599px){
	.entry-header .eye-catch {
	  /*margin-left: -1em;*/
	  /*margin-right: -1em;*/
	  max-width: none;
	  width: auto;
	}
}
/*枠組み*/
.eye-catch-wrap {
	margin-left: -29px; /*左の余白*/
	margin-right: -29px; /*右の余白*/
}

/*横幅 834px 以下に適用される*/
@media screen and (max-width: 834px){
	/*枠組み*/
	.eye-catch-wrap {
		margin-left: -6.5vw; /*左の余白*/
		margin-right: -6.5vw; /*右の余白*/
	}
}

/* コンテンツ全幅（sp） */
@media screen and (max-width: 750px){
	.cont-full {
		max-width: 100vw;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
	}
}
	
/* ボーダーグレイ */
	.border-g {
		border: 1px solid #eee;
	}

/* アイコンボックス調整 */
@media screen and (max-width: 440px) {
	.common-icon-box {
		padding: 3em 1em 1em;
	}
	.common-icon-box:before {
		padding: 0;
		top: .8em;
		left: 50%;
		margin-left: -.5em;
		font-size: 2em;
		border: none;
		width: auto;
	}
}




/************************************
** LIMNE記事用
************************************/
/* 絞り込み検索スペース */
.search-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	align-content: flex-start;
	max-width: 470px;
   margin: 0 auto;
}
.search-container .brand {
	padding: 10px;
}
@media screen and (max-width: 480px){
	.search-container .brand img {
		max-width: 70px;
	}
}
/* 絞り込み検索ボタン */
.btn-search-wrap {
	text-align: center;
}
.btn-search {
	position: relative;
	display: inline-block;
	padding: 0.5rem 4rem;
	text-align: center;
	vertical-align: center;
	text-decoration: none;
	color: #A2A2AD;
	background: #fff;
	border: 1px solid #A2A2AD;
	border-radius: 10px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
a.btn-search {
	text-decoration: none;
	color: #A2A2AD;
}
.btn-search:hover {
	opacity: 0.8;
}
/* CVボタン */
.btn-cv-wrap {
	text-align: center;
}
.btn-cv {
	position: relative;
	display: inline-block;
	padding: 1rem 4rem;
	text-align: center;
	vertical-align: center;
	text-decoration: none;
	color: #fff;
	background: #e3936f;
	border-radius: 100vh;
}
a.btn-cv {
	text-decoration: none;
	color: #fff;
}
.btn-cv:hover {
	opacity: 0.8;
}
.fa-position-right {
  position: absolute;
  top: calc(50% - .5em);
  right: 1rem;
}

/* 見出し */
.article h2 {
	font-size: 1.35em;
	text-align: center;
	color: #fff;
	background-color: #A2A2AD;
	border-bottom: 6px solid #CAD6DB;
}
.article h2 span.h2-pre{
	display: block;
	margin-bottom: 0.5em;
	font-size: 0.8em;
}
.article h2.top-h2 {
	font-size: 1.7em;
    text-align: center;
    color: #707070;
    background-color: #fff;
	border-top: 4px solid #CAD6DB;
    border-bottom: 4px solid #CAD6DB;
    padding: 0.4em 0;
    margin-top: 0.3em;
}
@media screen and (max-width: 480px){
	.article h2 {
		width:100vw; 
     position: relative;
     left: 50%;
     right: 50%;
     margin-left: -50vw;
     margin-right: -50vw;
		margin-top: 1.7em;
	}
}
.article h3 {
	border-top: none;
	border-bottom: 3px dotted #CAD6DB;
    border-left: 7px solid #CAD6DB;
    border-right: none;
}

/* テーブル（横スクロール） */

/* テーブル基本css */
table {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.scroll-table table {
    display: block;
    overflow-x: scroll;
}
.scroll-table_pre {
    margin-bottom: 0.1em;
    font-size: .8em;
}
@media screen and (min-width: 600px){
  .scroll-table_pre {
      display: none;
  }
  .scroll-table table {
      display: table;
  }
}
.g-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #eee;
    border-spacing: 0;
    text-align: center;
    line-height: 1.5;
}
.g-table td {
  font-size: 0.9em;
  min-width: 100px;
  max-width: 100%;
}
.g-table td p {
  margin-bottom: 0.7em;
}
.g-table td:first-child {
  /* position: sticky!important; */
  top: 0;
  left: 0;
  z-index: 1;
  background: #CAD6DB;
	color: #fff;
  font-size: 1em;
	font-weight: bold;
}
.g-table td:first-child img{
  text-align: center;
}

/* テーブル装飾css */
.g-table .size-name {
	font-size: 0.9em;
    border-bottom: 2px solid #CAD6DB;
    padding: 1px;
}
.back-icon-good {
	background-image: url(https://www.adcent.jp/mattress/wp-content/uploads/2022/04/verygood-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.back-icon-notgood {
	background-image: url(https://www.adcent.jp/mattress/wp-content/uploads/2022/04/notgood-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.back-icon-goodmaru{
	background-image: url(https://www.adcent.jp/mattress/wp-content/uploads/2022/07/verygood-icon_maru.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* テーブル 詳細 */
.detail-table{
	border-collapse: collapse;
	width: 100%;
	max-width: 550px;
	margin: 1.5em auto;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 15px;
}
.detail-table tr, .detail-table td {
	border: 2px solid #CAD7DB;
	line-height: 1.7;
	font-size: 1em;
}
.detail-table ul {
	margin-bottom:0;
}

/* ボックス調整 */
.title-box ul {
	margin-bottom: 0;
}
.blank-box {
	border: 2px solid #A2A2AD;
}

/* 吹き出し調整 */
div.speech-balloon p {
	font-size: 0.8em;
	line-height: 1.5;
}

/* Q&A調整 */
.color-q{
	font-size: 1.2em;
	font-weight: bold;
	color: #A2A2AD;
}
.color-a{
	font-size: 1.2em;
	font-weight: bold;
	color: #d79675;
}

/* スクロールを促す矢印 */
.scrolldown{
	position: relative;
	right:50%;
	padding: 30px 0 0 0;
	animation: arrowmove 1s ease-in-out infinite;
}
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }
.scrolldown:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #707070;
    transform: skewX(-31deg);
}
.scrolldown:after{
	content:"";
	position: absolute;
	bottom:0;
	right:0;
	width:1px;
	height: 50px;
	background:#707070;
}

/* 口コミbox*/
.box_comment {
	margin:1em auto;
	padding: 1em;
	max-width: 600px;
	box-shadow: 0 0 10px rgb(100 100 100 / 17%);
	border-radius: 10px;
}
.box_comment-bg {
	background: #fff;
	border:1px solid #fff;
}
.box_comment img {
	max-width:15%;
	width: 50px;
}
.box_comment p {
	font-size:0.8em;
	line-height:1.8;
}
.box_comment .box_comment-h {
	margin: 1em 0;
	font-size:1em;
	font-weight: bold;
	text-align: center;
}
.box_comment .box_comment-h:after {
	border-top: solid 14px #F8F1E9;
}
.box_comment .reference {
	margin: 0 auto;
	font-size:0.6em;
	text-align: right;
}

/* 口コミbox 縦スクロール */
.box_scroll-y {
	margin: 1em 0 2em;
	padding: 1em;
	overflow-y: scroll;
	height: 50vh;
	border: 3px solid #CAD6DB;
	background: #CAD6DB;
}

/* トグルボックス */
.toggle-button {
	color: #A2A2AD;
    background: #fff;
    text-align: left;
	font-size: 0.9em;
    font-weight: bold;
    /*box-shadow: 0 2px 6px 0px #CAD6DB;*/
	border:none;
    border-bottom: 3px solid #CAD6DB;
    padding: 0 0 0.5em 0;
}
.toggle-button::before,
.toggle-checkbox:checked~.toggle-button::before {
    content: '';
    color: #f89174;
    font-size: 1em;
    margin-right: 1em;
}
.toggle-button::after,
.toggle-checkbox:checked~.toggle-button::after {
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    color: #A2A2AD;
    font-size: 1em;
    font-weight: bold;
    position: absolute;
    right: 1em;
    transition: 0.3s;
}
.toggle-checkbox:checked~.toggle-button::after {
    transition: 0.3s;
    transform: rotate(180deg) translateY(3px);
}
.toggle-checkbox:checked~.toggle-content {
    margin-top: 10px;
    border: none;
	padding: 0;
}
.toggle-checkbox:checked~.toggle-content p:first-of-type::before {
    content: '';
    color: #7499f7;
    font-size: 1em;
    font-weight: bold;
    margin-right: 1em;
}