@charset "UTF-8";
/* CSS Document*/


.main-content{
  color: #333;
  font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳ ゴシック", sans-serif;
  font-weight: 500;
  width: 100%;
  font-size: 14px;
}


/* content */
.content{
	padding: 40px 0;
}
.content:nth-of-type(2n-1){
	background: #f2f2f2
}



/* title */
.title > img{
	display: block;
	margin: auto;
	width: 100%;
	max-width: 800px;
}
.title-sub{
	margin: auto;
	padding: 20px 0;
	text-align: justify;
	width: 92%;
}



/* headline */
.headline{
	color: #5ed3cb;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
	width: 100%;
}



/* link-box */
.link-box{
	margin: 20px auto 0;
	width: 92%;
	max-width: 450px;
}
.link-box .m-btn-active{
	margin-top: 10px;
}

.link-box .m-icn-body-spy-pcx{
	display: inline-block;
	margin-right: 10px;
	transform: scale(.8);
}

.link-box .m-btn-close{
  border: none;
  margin-left: 25px;
}
.link-box .m-btn-close::before,
.link-box .m-btn-close::after{
  background: #fff;
  margin-left: -1.2em;
}



/* detail */
.detail{
	background: #fff;
	border: 2px solid #5ed3cb;
	border-radius: 10px;
	font-size: 14px;
	margin: 20px auto 0;
	position: relative;
	width: 92%;
	max-width: 450px;
}
.detail:not(:last-of-type){
	margin-bottom: 50px;
}
.detail:not(:last-of-type)::after{
	border-top: 25px solid #5ed3cb;
	border-right: 90px solid transparent;
	border-left: 90px solid transparent;
	content: "";
	display: block;
	height: 0;
	margin: 0 auto;
	position: absolute;
	width: 0;

	right: 0;
	bottom: -40px;
	left: 0;
}
.detail-header{
	background: #5ed3cb;
	padding: 10px;
}

.detail-header-label{
	align-items: center;
	display: flex;
	justify-content: center;
}
.detail-header-label li:nth-of-type(n+1){
	margin-left: 10px;
}
.label-on{
	width: 30px;
}
.label-off{
	width: 25px;
}

.detail-header-txt{
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.detail-img{
	display: block;
	margin: auto;
	width: 100%;
	max-width: 588px;
}

.detail-txt{
	box-sizing: border-box;
	margin: auto;
	padding: 20px;
	text-align: justify;
	max-width: 450px;
}



/* tab */
.tab{
	display: flex;
	flex-wrap: wrap;
	font-size: 16px;
	justify-content: center;
	margin-top: 20px;
}
.tab input[name="tab-radio"] {
  display: none;
}
.tab input:checked + .tab-txt{
	border-bottom: 1px solid #f2f2f2;
	height: 55px;/* タブ+下の余白 */
	opacity: 1;
	z-index: 1;
}

.tab-txt{
	border: 1px solid #919191;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	color: #444;
	cursor: pointer;
	height: 50px;
	margin: 0 3px;
	opacity: .5;
	padding-top: 5px;
	width: 30%;
	max-width: 200px
}
.tab-txt span{
	align-items: center;
	display: flex;
	justify-content: center;
	height: 100%;
}

.tab-line{
	border-color: #919191;
	margin: -1px auto 0;
	width: 100%;
}

.tab-content{
	 display: none;
	 margin-top: 20px;
	 width: 100%;
}

#history:checked ~ #history-content,
#brand:checked ~ #brand-content,
#measure:checked ~ #measure-content{
	display: block;
}



/* content-inner */
.content-inner{
	margin: auto;
	max-width: 1000px;
}
.content-inner:not(:last-of-type){
	padding-bottom: 20px;
}
.content-inner:not(:first-of-type){
	border-top: 2px dashed #ccc;
	padding-top: 30px;
}



/* ranking */
.ranking-wrapper{
	margin: 20px auto 0;
	max-width: 1000px;
}

.ranking-wrapper .m-group-head{
	text-align: center;
}




@media screen and (min-width:641px){

.title{
	background-image: url(bg.png);
	background-repeat: repeat-x;
}

.title-sub{
	text-align: center;
}

.content-inner{
	display: flex;
	flex-wrap: wrap;
}

.detail:last-of-type{
	margin-bottom: 50px;
}
.detail:not(:last-of-type)::after{
	border-top: 90px solid transparent;
	border-right: none;
	border-bottom: 90px solid transparent;
	border-left: 25px solid #5ed3cb;
	transform: translateY(50%);

	left: auto;
	right: -40px;
	bottom: 50%;
}
.detail:nth-of-type(2n-1)::before{
	border-top: 90px solid transparent;
	border-right: none;
	border-bottom: 90px solid transparent;
	border-left: 25px solid #5ed3cb;
	content: "";
	display: block;
	transform: translateY(50%);
	position: absolute;

	left: -40px;
	bottom: 50%;
}
.detail:first-of-type::before{
	display: none;
}



}/* end media */
