/* =============================================================
ハッピのサイズの選び方について　.size-decide
============================================================= */
/* 共通
-------------------------------------------*/
.block h2{
	border-bottom:solid 0.625rem #aeaeaf;
	margin-bottom:1.5rem;
}

/* フリーサイズ .free
-------------------------------------------*/
/* 見出し h3 */
.free h3{
	color:#fff;
	font-size:1.4rem;
	font-weight:600;
	background:#6d2e2e;
	padding:0.8rem 0;
	width:100%;
}

/* wrapper */
.free .wrapper{
	padding:2rem;
	background:#fdf6f1;
}

/* ハッピの画像等 */
.free ul{
	display:flex;
	flex-direction:row;
	gap:2rem;
	margin-top:2rem;
	flex-wrap: nowrap;
	align-items:flex-end;
}

/* ハッピの画像（左） */
.free ul li.size{
	display:flex;
	flex-direction:column;
	flex-wrap: nowrap;
	align-items:center;
	flex:1;
}

/* ハッピの画像（左）各ハッピimg */
.free ul li.size figure{
	width:90%;
}

/* ハッピの画像（左）「こんな方におすすめ！」 */
.free ul li.size div{
	text-align:center;
	width:100%;
}

/* ハッピの画像（左）「こんな方におすすめ！」 */
.free ul li.size div p:first-of-type{
	color:#fff;
	font-size:1.3rem;
	font-weight:500;
	background:#9e5955;
	padding:0.3rem 0;
	border-radius:20px;
}

/* ハッピの画像（左）「こんな方におすすめ！」文 */
.free ul li.size div p:last-of-type{
	font-weight:500;
	text-align:left;
	margin:1rem auto;
	width:90%;
}

/* ハッピの画像（右） */
.free ul li.model{
	text-align:center;
	flex:0.8;
}

/* ハッピの画像（右） */
.free ul li.model p{
	margin:1.5rem auto;
	font-weight:500;
}


/* テーブル .table
-------------------------------------------*/
/* p */
.table p{
	margin:1.5rem auto;
}

/* サイズ比較画像 */
.table figure{
	margin-bottom:1rem;
}

/* その他のサイズ .size_chart
-------------------------------------------*/
/* 大枠 */
.size_chart {
	padding:0.5rem;
	border:solid 1.5px #aaa;
}

/* 見出し
----------------------------*/
/* h3 */
.size_chart h3 {
	font-size: 1.2rem;
	margin: 0; /* styleの上書き */
	padding:0.8rem 0;
	width:100%;
	background:#eee;
	margin-bottom:0.8em;
}

/* 表
----------------------------*/
/* 共通
-------------------*/
.size_chart .table_wrap{
	overflow-x: auto;
	overflow: scroll;
}

.size_chart table{
	width:1180px;
	table-layout: fixed;
}

/* table_wrap */
.size_chart table tr:nth-child(even) {
	background-color: var(--color-accent-a5);
}
/* tr(even) */
.size_chart table tr:nth-child(even) th {
	background-color: var(--color-primary-a10);
}
/* th,td */
.size_chart table th,
.size_chart table td {
	text-align: center;
	white-space: nowrap;
}
/* th*/
.size_chart table th {
	font-size: 1.1rem;
}
/* td */
.size_chart table td {
	font-size: 1.3rem;
}

/* フリーサイズ
-------------------*/
/* カラー変更 */
.size_chart table tr:nth-child(1) th:nth-child(9) {
	background-color: var(--color-accent-a60);
}
.size_chart table tr:nth-child(2) td:nth-child(9),
.size_chart table tr:nth-child(3) td:nth-child(9),
.size_chart table tr:nth-child(4) td:nth-child(9),
.size_chart table tr:nth-child(5) td:nth-child(9),
.size_chart table tr:nth-child(6) td:nth-child(9),
.size_chart table tr:nth-child(7) td:nth-child(9){
	font-weight: 500;
	background-color: var(--color-accent-a40);
}

/* サイズ欄 */
.size_chart table tr:first-child th{
	width:10.5%;
}
/* 表左上の空欄 */
.size_chart table tr:first-child th:first-child{
	width:5%;
	position:inherit;
}
/* tdすべて */
.size_chart table tr td{
	width:10.5%;
}
/* 身長など */
.size_chart table tr th:first-child{
	width:5%;
	position:sticky;
	left:0;
}


/* デザインテンプレートボタン */
a.contents_btn{
	filter:none;
	font-size:0.6rem;
	border:solid 1.5px var(--color-accent-a40);
	padding:0.5rem;
}
/* デザインテンプレートボタン */
a.contents_btn:hover{
	background:#fff;
}

.table_wrap td span{
	display:block;
	margin-top:0.2rem;
}


/* 体格別の各サイズ .other
-------------------------------------------*/
/* 共通
-------------------------------*/
/* 見出し h3 */
.other h3{
	font-size:1.4rem;
	font-weight:580;
}

/*  */
.tab{
	display:flex;
	flex-wrap:wrap;
	align-items: stretch;
}

/*  */
.tab > label{
	flex: 1;
	order: -1;
	position: relative;
	min-width: 70px;
	padding: 0.7em 1em;
	background-color: #f2f2f2;
	color: #999;
	font-size: 1.2rem;
	font-weight:500;
	text-align: center;
	cursor: pointer;
	margin:1.5rem 0;
	border:#bababa solid 1.5px;
}

.tab > label:hover,
.tab label:has(:checked) {
	color: #fff;
}

.tab label:has(:checked)::before {
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 18px;
	height: 9px;
	content: '';
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab input {
	display: none;
}

.tab > div {
	display: none;
	width: 100%;
	padding: 0 1em 1.5em;
}

.tab label:has(:checked) + div {
	display: block;
}

/* サイズの見出し */
.other .wrapper h2{
	padding:0.8rem 0;
	color:#fff;
	font-weight:600;
	font-size:1.8rem;
	border:none;
	letter-spacing:3px;
	margin:0;
}

/* サイズごとの比較、中のコンテンツ */
.other .wrapper .outer{
	padding:2rem;
}

/* 謳い文句 */
.other .wrapper .outer h3{
	padding:0.8rem 0;
	color:#000;
	font-weight:600;
	font-size:1.8rem;
	border:none;
	margin:0;
	letter-spacing:3px;
}

/* マーカー */
span.marker{
	background: linear-gradient(#fffb91 0%, #fffb91 100%);
	background-size: 100% 0.6em;
	background-repeat: no-repeat;
	background-position: 0 100%;
	padding: 0.1em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	display:inline;
}

/* 中のコンテンツ、画像とテキスト */
.other .wrapper .outer ul{
	display:flex;
	flex-direction:row;
	gap:2rem;
	flex-wrap:nowrap;
	justify-content:center;
	align-items: center;
	margin:1.5rem 0;
}

/* 中のコンテンツ、画像（左） */
.other .wrapper .outer ul li:first-of-type{
	flex:0.5;
}

/* 中のコンテンツ、画像とテキスト（右） */
.other .wrapper .outer ul li:last-of-type{
	display:flex;
	flex-direction:column;
	gap:2rem;
	flex-wrap:nowrap;
	flex:1;
}

/* 中のコンテンツ、画像とテキスト（右）p */
.other .wrapper .outer ul li:last-of-type p{
	font-size:1.2rem;
	font-weight:500;
}

/* 中のコンテンツ、table */
.other .wrapper .outer table{
	text-align:center;
	border-radius:15px;
}

/* 中のコンテンツ、table th と td */
.other .wrapper .outer table th, .other .wrapper .outer table td{
	font-size:1.2rem;
	width:calc(100% / 6);
}



/* 男性 .men
-------------------------------*/
.men .tab > label:hover,
.men .tab label:has(:checked) {
	background-color: #1f2c5c;
}

.men .tab label:has(:checked)::before {
	background-color: #1f2c5c;
}

/* サイズの見出し */
.other .men .wrapper h2{
	background:#1f2c5c;
}

/* サイズごとの比較、中のコンテンツ */
.other .men .wrapper .outer{
	border:solid 5px #1f2c5c;
}

/* 中のコンテンツ、table */
.other .men .wrapper .outer table{
	border:solid 1.5px #1f2c5c;
}

/* 中のコンテンツ、table th と td */
.other .men .wrapper .outer table th{
	background:#dfe3ed;
}


/* 女性 .women
-------------------------------*/
.women .tab > label:hover,
.women .tab label:has(:checked) {
	background-color: #990000;
}

.women .tab label:has(:checked)::before {
	background-color: #990000;
}

/* サイズの見出し */
.other .women .wrapper h2{
	background:#990000;
}

/* サイズごとの比較、中のコンテンツ */
.other .women .wrapper .outer{
	border:solid 5px #990000;
}

/* 中のコンテンツ、table */
.other .women .wrapper .outer table{
	border:solid 1.5px #990000;
}

/* 中のコンテンツ、table th と td */
.other .women .wrapper .outer table th{
	background:#ffe6e6;
}


/* 子供 .kids
-------------------------------*/
.kids .tab > label:hover,
.kids .tab label:has(:checked) {
	background-color: #da6100;
}

.kids .tab label:has(:checked)::before {
	background-color: #da6100;
}

/* サイズの見出し */
.other .kids .wrapper h2{
	background:#da6100;
}

/* サイズごとの比較、中のコンテンツ */
.other .kids .wrapper .outer{
	border:solid 5px #da6100;
}

/* 中のコンテンツ、table */
.other .kids .wrapper .outer table{
	border:solid 1.5px #da6100;
}

/* 中のコンテンツ、table th と td */
.other .kids .wrapper .outer table th{
	background:#ffe6d7;
}


/* ハッピのサイズの見方 .seeing
-------------------------------------------*/
/* 共通
-------------------------------*/
/* ハッピ画像 */
.seeing figure{
	width:50%;
	margin:2rem auto;
}

/* サイズを選ぶ時のポイント .point
-------------------------------------------*/
/* 共通
-------------------------------*/
.point .inner{
	margin:2rem 0;
}

.point .inner h3{
	font-weight:550;
	border-left:#6d2e2e 0.5rem solid;
	padding-left:0.5rem;
	margin-bottom:0.5rem;
	text-align:left;
}


/* 大人用の全サイズを着てみました .model
-------------------------------------------*/
/* 共通
-------------------------------*/
/* 大枠 */
.model ul{
	display:grid;
	grid-template-columns:repeat(2,1fr);
	align-items: stretch;
	gap:2.5rem;
	margin:2rem 0;
}

/* h3 */
.model ul h3{
	color:#fff;
	text-align:center;
	font-weight:580;
	font-size:1.2rem;
	background:#9e5955;
	padding:0.8rem 0;
	width:100%;
}

/* 中のコンテンツ */
.model ul .inner{
	border:solid 1.5px #9e5955;
	padding:1.5rem;
	text-align:center;
	display:flex;
	flex-direction:column;
}

/* 中のコンテンツ画像 */
.model ul .inner figure{
	width:80%;
	margin:0 auto;
}

/* 中のコンテンツ文字 */
.model ul .inner p{
	width:100%;
	border:solid 1.5px #9e5955;
	border-radius:30px;
	padding:0.8rem 2rem;
	margin-top:1.5rem;
	font-weight:550;
}

/* キッズサイズ */
.model .kids{
	margin:2rem auto;
}

/* キッズサイズ h3 */
.model .kids h3{
	color:#fff;
	text-align:center;
	font-weight:580;
	font-size:1.2rem;
	background:#9e5955;
	padding:0.8rem 0;
	width:100%;
}

/* キッズサイズ大枠 */
.model .kids ul{
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
	gap:2rem;
	justify-content:center;
	border:solid 1.5px #9e5955;
	padding:2rem;
	margin:0;
}

/* キッズサイズ画像 */
.model .kids ul figure{
	width:80%;
	margin:0;
}

/* キッズサイズ画像と文 */
.model .kids ul > *{
	flex:1;
}

/* トップページへ戻る */
a.top{
	display:block;
	background:var(--color-primary);
	color:#fff;
	font-weight:600;
	font-size:1.6rem;
	text-align:center;
	padding:1.3rem 0;
	border-radius:20px;
	border:none;
}


