@charset "utf-8";
/* CSS Document */

/* based on 
https://lopan.jp/css-animation-tabs/
https://web.monogusa-note.com/css-slide-tabs
*/

input[name="switch"] {
	display: none;
}

/* :::::: button :::::: */
.tabBtn{
	display: inline-block;
	width: 100%;
	margin: 0 auto;
	padding: 15px 0 5px;
	text-align: center;
	overflow-x: scroll;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	-webkit-tap-highlight-color: transparent;
	background-color: #f2f5f9;
}
/*スクロールバー全体*/
.tabBtn::-webkit-scrollbar {
 height: 10px;
}

/*スクロールバーの軌道*/
.tabBtn::-webkit-scrollbar-track {
}

/*スクロールバーの動く部分*/
.tabBtn::-webkit-scrollbar-thumb {
 background: #696969;
}

.tabBtn li.tabBtnLi{
	width: 130px;
	display: inherit;
	list-style: none;
	margin: 0;
}
.tabBtn li:not(:last-child) {
/*	border-right: 1px solid white;*/
}
.tabBtn label{
	display: block;
	cursor: pointer;
	padding: 10px 0;
	opacity: 0.5;
}
.tabBtn label:hover {
	transition: 0.5s;
	opacity: 1.0;
}

/* :::::: contents :::::: */
.tabContents div.tabSection {
	padding: 0;
}
.tabContents h2 {
	margin: 0 0 .5em;
	font-size: 18px;
}
.tabContents p {
	font-size: 12px;
}
.tabContents figure {
	float: left;
	width: 30%;
	min-width: 120px;
	margin: 0 1em 0 0;
}
.tabContents figure img {
	max-width: 100%;
	vertical-align: middle;
}
.tabContents div.tabSection::after {
	content: "";
	display: flex;
	clear: left;
}

/* :::::: mechanism :::::: */
.tabContents div.tabSection {
	opacity: 0;
}
.tabContents div.tabSection {
	transition: opacity .3s;
}
#tab-1:checked ~ .tabBtn label[for="tab-1"],
#tab-2:checked ~ .tabBtn label[for="tab-2"],
#tab-3:checked ~ .tabBtn label[for="tab-3"],
#tab-4:checked ~ .tabBtn label[for="tab-4"]{
	opacity: 1.0;
}
#tab-1:checked ~ .tabContents #section-xperia,
#tab-2:checked ~ .tabContents #section-galaxy,
#tab-3:checked ~ .tabContents #section-pixel,
#tab-4:checked ~ .tabContents #section-other{
	opacity: 1.0;
}

/* :::::: slide :::::: */
.tabContents {
	display: flex;
    height: 0;
	width: 400%;
	transition: transform 1.0s, height 1.0s;
	margin: 20px 0;
    overflow: hidden;
}
.tabContents div.tabSection {
	flex-basis: 25%;
	opacity: .1;
	transition: opacity .3s;
    
}
/* 各タブのheightは一行ごとに40px増減させるとよい 行数が増える場合は20pxづつ調整 */
#tab-1:checked ~ .tabContents { 
	transform: translateX(0); /* それぞれのtrancelateは分割パーセンテージを取る事 */
    height: auto;
}
#tab-2:checked ~ .tabContents {
	transform: translateX(-25%);
    height: auto;
}
#tab-3:checked ~ .tabContents {
	transform: translateX(-50%);
    height: auto;
}
#tab-4:checked ~ .tabContents {
	transform: translateX(-75%);
    height: auto;
}

@media screen and (max-width:699px) {
  #tab-1:checked ~ .tabContents {
    height: auto;
  }
}
@media screen and (max-width:830px) {
  #tab-2:checked ~ .tabContents {
    transform: translateX(-25%);
    height: auto;
  }
}
@media screen and (max-width:932px) {
  #tab-4:checked ~ .tabContents {
    transform: translateX(-75%);
    height: auto;
  }
}


/* 価格表テーブルCSS */
.tabContents table.enterPricetable{
  width: 60%;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  background-color: #ffffff;
  min-width: 350px;
}
tr{
  border-bottom: solid 1px #CECECE;
}
tr:last-child{
  border: none;
}
th,td{
	border: 0px;
	background: none;
	padding: 7px;
	font-size: 1.25em;
	font-weight: bold;
}
th{
	text-align: left;
}
.TabMocelNumber{
    font-size: 0.7em;
    font-weight: bold;
}
.TabMocelNumber::before{
    content: " ";
}
/*th.SimfreeFlag::after{
    content: " 国内SIMフリー版";
    font-size: 0.7em;
}*/
td{
	text-align: right;
}
.tabContents thead{
	font-size: 0.7em;
}
.tabContents thead th::before{
	font-weight: bolder;
	content: "今お使いのデバイス";
}
.tabContents thead td::before{
	font-weight: bolder;
	content: "最大買取金額";
}
.SlideTabPriceData{
    overflow: hidden;
}