
body {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: 400;
	background: #efefef;
	position: relative;
    left: 0;
    overflow-x: hidden;
	-webkit-text-size-adjust: 100%; /* iphone横向き 文字拡大防止 */
}
img {
	display: block;
	width: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
a {
	display: inline-block;
	font-size: 18px;
	text-decoration: none;
	color: #000;
	transition: all .3s;
}
a:hover {
	filter: brightness(1.1);
}
p {
	font-size: 18px;
	line-height: 1.6;
}

/*==================================================================================
ヘッダー
==================================================================================*/
header {
	width: 100%;
	padding: 10px 0!important;
	background: #fff;
	position: relative;
	z-index: 9999;
}
header .logo {
	position: relative;
	transition: all .3s;
	z-index: 10;
}
header .logo img {
	width: 65px;
	margin-right: 20px;
}
header .logo p {
	display: inline-block;
}
/* PC版 メニュー --------------------------*/
nav.gnav ul li {
	margin-left: 30px;
}
nav.gnav ul li:first-child {
	margin-left: 0;
	padding-right: 30px;
	border-right: 1px #ccc solid;
}
nav.gnav ul li:nth-child(5) {
	padding-right: 30px;
	border-right: 1px #ccc solid;
}
nav.gnav ul li a .icon_home,
nav.gnav ul li a .icon_cart,
nav.gnav ul li a .icon_note,
nav.gnav ul li a .icon_user,
nav.gnav ul li a .icon_logout {
	width: 20px;
	padding-left: 0;
}
nav.gnav ul li a .icon_home::before,
nav.gnav ul li a .icon_cart::before,
nav.gnav ul li a .icon_note::before,
nav.gnav ul li a .icon_user::before,
nav.gnav ul li a .icon_logout::before {
	width: 20px;
	height: 20px;
	position: relative;
}

/*==================================================================================
共通
==================================================================================*/
/* レイアウト */
main {
	min-height: calc(100vh - 120px - 58px - 40px);
	padding: 60px 0!important;
	position: relative;
}
.container {
	width: calc(100% - 40px);
	max-width: 1200px;
	padding: 0 20px;
	margin: auto;
}
.max460 {
	max-width: 460px;
	margin: auto;
}
.max680 {
	max-width: 680px;
	margin: auto;
}
.max960 {
	max-width: 960px;
	margin: auto;
}
.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.row.align_center {
	align-items: center;
}
.row.align_start {
	align-items: flex-start;
}
.row.just_center {
	justify-content: center;
}
.row.just_end {
	justify-content: flex-end;
}

.mb_10 {
	margin-bottom: 10px;
}
.mb_20 {
	margin-bottom: 20px;
}
.mb_30 {
	margin-bottom: 30px;
}
.mb_60 {
	margin-bottom: 60px;
}
.mb_120 {
	margin-bottom: 120px;
}

/* フォント */
h1 {
	font-size: 28px;
	font-weight: 500;
	text-align: center;
}
h2 {
	padding-left: 20px!important;
	font-size: 20px;
	font-weight: 500;
	text-align: left;
	position: relative;
}
h2::before {
	content: "";
	display: block;
	width: 10px;
	height: 4px;
	background: #aa2323;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.font_14 {
	font-size: 14px;
}
.font_20 {
	font-size: 20px;
}
.font_24 {
	font-size: 24px;
}
.font_28 {
	font-size: 28px;
}
.txt_center {
	text-align: center;
}
.txt_right {
	text-align: right;
}
.txt_left {
	text-align: left!important;
}

.medium {
	font-weight: 500;
}
.bold {
	font-weight: 700;
}
.navy {
	color: #005177;
}
.red {
	color: #aa2323;
}


/* アイコン */
[class^="icon_"] {
	display: inline-block;
	padding-left: 1.8em;
	position: relative;
}
[class^="icon_"]::before {
	content: "";
	display: block;
	width: 1.4em;
	height: 120%;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: -10%;
	left: 0;
}
.icon_logout::before {
	background-image: url("../img/icon_logout.png");
}
.icon_home::before {
	background-image: url("../img/icon_home.png");
}
.icon_cart::before {
	background-image: url("../img/icon_cart.png");
}
.icon_note::before {
	background-image: url("../img/icon_note.png");
}
.icon_user::before {
	background-image: url("../img/icon_user.png");
}

/* ボタン */
.link {
	color: #005177;
	text-decoration: underline;
}
.btn {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
	padding: 0 20px;
	background: #005177;
	box-sizing: border-box;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	position: relative;
}
.btn.size_m {
	width: 300px;
}
.btn.arrow {
	justify-content: flex-start;
	background: #efefef;
	color: #000;
	text-align: left;
}
.btn.arrow:hover {
	filter: brightness(1.02);
}
.btn.arrow::after {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border-top: 2px #999 solid;
	border-right: 2px #999 solid;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%) rotate(45deg);
}
.btn.second {
	border: 1px #cfcfcf solid;
	background: #f9f9f9;
	color: #000;
}
.btn.second:hover {
	filter: brightness(1.02);
}
.btn.first {
	background: #ffb100;
	color: #fff;
	font-weight: 500;
}
/* パンくず */
ul.pannav {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: calc(100% - 40px);
	max-width: 1200px;
	padding: 10px 20px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
ul.pannav li {
	margin-right: 10px;
	padding-right: 20px;
	position: relative;
}
ul.pannav li::after {
	content: "\03e";
	display: block;
	font-size: 14px;
	position: absolute;
	top: 0;
	right: 0;
}
ul.pannav li:last-child::after {
	display: none;
}
ul.pannav li a {
	display: inline-block;
	text-decoration: underline;
}
ul.pannav li:last-child a {
	pointer-events: none;
	text-decoration: none;
}
/* ボード */
.boad {
	padding: 60px;
	background: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
/* テーブル */
table {
	width: 100%;
}
table tr {
	border-bottom: 1px #efefef solid;
}
table tr:hover {
	background: #fbfbfb;
}
table th {
	padding: 10px;
	border-right: 1px #fff solid;
	background: #efefef;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
table th:last-child {
	border-right: none;
}
table td {
	padding: 10px 20px;
	border-right: 1px #efefef solid;
	text-align: center;
}
table td:last-child {
	border-right: none;
}
table td:nth-child(4),
table td.txt_right {
	text-align: right;
}
/* ページ送り */
ul.pagenav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
ul.pagenav a,
ul.pagenav span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	font-size: 14px;
	text-decoration: none!important;
}
ul.pagenav span.current {
	background: #005177;
	color: #fff;
}
ul.pagenav span.extend {
	width: auto;
	border: none;
}
ul.pagenav a:hover {
	background: rgba(0,0,0,0.10);
}

/*==================================================================================
購入履歴
==================================================================================*/
.bg_gray {
	padding: 20px;
	background: #f7f7f7;
}
.bg_gray table tr {
	border-bottom: 5px #f7f7f7 solid;
}
.bg_gray table tr.separation {
	border-top: 25px #f7f7f7 solid;
}
.bg_gray table tr:hover {
	background: none;
}
.bg_gray table th {
	border-right: 5px #f7f7f7 solid;
	background: none;
}
.bg_gray table td {
	background: #fff;
	border-right: 5px #f7f7f7 solid;
}
.bg_gray table td:nth-child(5) {
	text-align: right;
}
.bg_gray table td.txt {
	background: none;
	text-align: right;
}

/*==================================================================================
商品購入
==================================================================================*/
.cont_l {
	width: calc(100% - 300px - 40px);
}
.cont_r {
	width: 300px;
	position: sticky;
	top: 20px;
}
.cont_l .boad,
.cont_r .boad {
	padding: 30px;
}
.bg_blue {
	padding: 20px;
	background: #f8fbfd;
}
/* 選択チェック */
.select_check {
	padding-right: 20px;
}
.select_check p {
	margin-bottom: 5px;
}
.select_check .label_check span {
    width: calc(30px - 2px);
    height: calc(30px - 2px);
    padding-left: 0;
    border: 1px #cfcfcf solid;
	background: none;
}
.select_check .label_check span::before {
    display: none;
}
.select_check .label_check input:checked + span {
	border: 1px #fbb629 solid;
	background: #fbb629;
}
.select_check .label_check input:checked + span::after {
    width: 16px;
    height: 8px;
    border-left-color: #fff;
	border-bottom-color: #fff;
	top: 4px;
    left: 4px;
}
/* 商品名 */
.product_name {
	width: calc(100% - 50px - 130px - 42px);
	padding: 0 20px;
	border-right: 1px #efefef solid;
	border-left: 1px #efefef solid;
}
/* 数量 */
.number {
	width: 110px;
	padding-left: 20px;
}
.number p {
	width: auto;
}
.number input {
	width: 70px;
	font-size: 18px;
	font-weight: 500;
	text-align: right;
}
/* 購入ボタン */
.scroll_block {
	display: none;
}
/*==================================================================================
購入内容確認
==================================================================================*/
.buy_conf ul li {
	padding: 10px 20px;
	background: #fff;
}
/* 商品名 */
.buy_conf .product_name {
	width: calc(100% - 20px - 110px - 140px - 140px);
	padding: 0 20px 0 0;
	border: none;
	position: relative;
}
.buy_conf .product_name::after {
	content: "";
	display: block;
	height: 30px;
	border-right: 1px #efefef solid;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
/* 数量 */
.buy_conf .number {
	width: 110px;
	padding: 0 20px;
	box-sizing: border-box;
	position: relative;
}
.buy_conf .number::after {
	content: "";
	display: block;
	height: 30px;
	border-right: 1px #efefef solid;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.buy_conf .ttl .number::after {
	display: none;
}
/* 商品単価 */
.buy_conf .unit_price {
	width: 140px;
	padding-right: 20px;
	box-sizing: border-box;
	text-align: right;
	position: relative;
}
.buy_conf .unit_price::after {
	content: "";
	display: block;
	height: 30px;
	border-right: 1px #efefef solid;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.buy_conf .ttl .unit_price::after {
	display: none;
}
/* 総額 */
.buy_conf .total_price {
	width: 140px;
	text-align: right;
}
.buy_conf .ttl .total_price {
	padding-right: 20px;
}
/* 合計 */
.buy_conf .price {
	min-width: 240px;
	padding: 10px 20px;
	background: #fff;
	box-sizing: border-box;
}

/*==================================================================================
フッター
==================================================================================*/
footer {
	padding: 10px!important;
}
footer p {
	font-size: 12px;
	text-align: center;
}


.tb {display: none;}
.pc {display: inline;}
.sp {display: none;}

@media screen and (max-width : 960px) {
	.pc {display: none;}
	.tb {display: inline;}
	
	a {font-size: 16px;}
	p {font-size: 16px;}
	
	/*==================================================================================
	ヘッダー
	==================================================================================*/
	header {
		box-shadow: 0 0 5px rgba(0,0,0,0.2);
		position: fixed;
		top: 0;
		left: 0;
	}
	header .logo img {
		width: 50px;
		margin-right: 15px;
	}
	/* スマホ版 メニュー -----------------------*/
	nav.gnav {
	    z-index: 2;
	    width: 100%;
		height: calc(100% - 45px);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s;
	    position: fixed;
	    top: 45px;
	    left: 0;
	}
	nav.gnav.active {
		background: rgba(0,0,0,0.8);
	    opacity: 1;
		visibility: visible;
	}
	nav.gnav ul {
		display: block;
	    width: calc(100% - 40px - 80px);
	    max-width: calc(360px - 40px);
	    height: calc(100% - 40px);
		padding: 20px;
	    background: #efefef;
		opacity: 0;
		transition: all 0.3s;
		transform: translateX(-100%);
	}
	nav.gnav.active ul {
		opacity: 1;
		transform: translateX(0);
	}
	nav.gnav ul li {
	    width: 100%;
		margin: 0;
		padding: 0;
	    border-bottom: 1px dotted #ccc;
		opacity: 0;
	}
	nav.gnav ul li:first-child {
		margin-bottom: 15px;
		border-right: none;
		border-bottom: none;
	}
	nav.gnav ul li:first-child p {
		padding: 0 20px;
	}
	nav.gnav ul li:nth-child(5) {
	    padding-right: 0;
		border-right: none;
	}
	nav.gnav ul li:last-child {
		margin-top: 20px;
	    border-bottom: none;
	}
	nav.gnav.active ul li {
		opacity: 1;
	}
	nav.gnav ul li a {
	    display: block;
		width: calc(100% - 40px);
		padding: 20px;
		background: #f9f9f9;
	}
	nav.gnav ul li:last-child a {
		color: #666;
	}
	nav.gnav ul li a .icon_home,
	nav.gnav ul li a .icon_cart,
	nav.gnav ul li a .icon_note,
	nav.gnav ul li a .icon_user,
	nav.gnav ul li a .icon_logout {
		width: auto;
		padding-left: 1.8em;
	}
	nav.gnav ul li a .icon_home::before,
	nav.gnav ul li a .icon_cart::before,
	nav.gnav ul li a .icon_note::before,
	nav.gnav ul li a .icon_user::before,
	nav.gnav ul li a .icon_logout::before {
		width: 1.4em;
		height: 120%;
		position: absolute;
	}
	.gnavToggle {
	    z-index: 3;
	    display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	    width: 36px;
	    height: 36px;
	    text-align: center;
	    cursor: pointer;
	    position: fixed;
	    right: 20px;
	    top: 6px;
	}
	.gnavToggle span {
	    display: block;
	    width: 100%;
		margin-bottom: 4px;
	    border-bottom: 2px #005177 solid;
	    -webkit-transition: .35s ease-in-out;
	    -moz-transition: .35s ease-in-out;
	    transition: .35s ease-in-out;
	}
	.gnavToggle.active span {
	    margin-bottom: 0;
	}
	.gnavToggle.active span:nth-child(1) {
	    -webkit-transform: rotate(-25deg);
	    -moz-transform: rotate(-25deg);
	    transform: rotate(-25deg);
	}
	.gnavToggle.active span:nth-child(2) {
		opacity: 0;
	}
	.gnavToggle.active span:nth-child(3) {
	    -webkit-transform: translateY(-4px) rotate(25deg);
	    -moz-transform: translateY(-4px) rotate(25deg);
	    transform: translateY(-4px) rotate(25deg);
	}
	/*==================================================================================
	共通
	==================================================================================*/
	/* レイアウト */
	main {
		min-height: calc(100vh - 90px - 36px);
		margin-top: 45px;
		padding: 60px 0 30px!important;
	}
	.mb_10 {
		margin-bottom: 5px;
	}
	.mb_20 {
		margin-bottom: 15px;
	}
	.mb_30 {
		margin-bottom: 20px;
	}
	.mb_60 {
		margin-bottom: 40px;
	}
	.mb_120 {
		margin-bottom: 80px;
	}
	/* フォント */
	h1 {
		font-size: 22px;
	}
	h2 {
		font-size: 16px;
	}
	.font_14 {
		font-size: 12px;
	}
	.font_20 {
		font-size: 18px;
	}
	.font_24 {
		font-size: 20px;
		line-height: 1.4;
	}
	.font_28 {
		font-size: 24px;
		line-height: 1.4;
	}
	/* ボタン */
	.btn.arrow::after {
		width: 4px;
		height: 4px;
	}
	.btn.size_m {
		width: 100%;
		max-width: 300px;
	}
	/* パンくず */
	ul.pannav li::after {
		font-size: 12px;
		top: 2px;
	}
	/* ボード */
	.boad {
		padding: 30px;
	}
	/* スクロール */
	.scroll {
		display: block;
	  	overflow-x: scroll;
	  	white-space: nowrap;
	  	-webkit-overflow-scrolling: touch;
		padding: 0 0 10px;
		margin-bottom: 20px;
	}
	.scroll::-webkit-scrollbar {
	  height: 8px;
	}
	.scroll::-webkit-scrollbar-track {
	  margin: 0 2px;
	  background: #efefef;
	  border-radius: 5px;
	}
	.scroll::-webkit-scrollbar-thumb {
	  border-radius: 5px;
	  background: #ccc;
	}
	.scroll table {
		min-width: 680px;
	}
	/* ページ送り */
	ul.pagenav {
		padding: 0 20px;
	}
	/*==================================================================================
	商品購入
	==================================================================================*/
	.cont_l {
		width: calc(100% - 240px - 20px);
	}
	.cont_r {
		width: 240px;
		top: 55px;
	}
	.cont_l .boad,
	.cont_r .boad {
		padding: 20px;
	}
	.bg_blue {
		padding: 10px;
	}
	/* 選択チェック */
	.select_check {
		padding-right: 10px;
	}
	.select_check .label_check span {
	    width: calc(24px - 2px);
	    height: calc(24px - 2px);
	}
	.select_check .label_check input:checked + span::after {
	    width: 14px;
	    height: 6px;
		top: 3px;
	    left: 3px;
	}
	/* 商品名 */
	.product_name {
		width: calc(100% - 34px - 110px - 22px);
		padding: 0 10px;
	}
	/* 数量 */
	.number {
		width: 100px;
		padding-left: 10px;
	}
	.number input {
		font-size: 16px;
	}
	/*==================================================================================
	購入内容確認
	==================================================================================*/
	.buy_conf .ttl {
		display: none;
	}
	/* 商品名 */
	.buy_conf .product_name {
		width: 100%;
		padding: 0;
	}
	.buy_conf .product_name::after {
		display: none;
	}
	/* 数量 */
	.buy_conf .number {
		justify-content: flex-end;
		width: 100%;
		padding: 0;
		order: 2;
	}
	.buy_conf .number::after {
		display: none;
	}
	.buy_conf .number p {
		margin-right: 10px;
	}
	/* 商品単価 */
	.buy_conf .unit_price {
		width: 100%;
		padding-right: 0;
		text-align: left;
	}
	.buy_conf .unit_price::after {
		display: none;
	}
	/* 総額 */
	.buy_conf .total_price {
		display: none;
	}
	/* 合計 */
	.buy_conf .price {
		min-width: 200px;
	}
	/*==================================================================================
	フッター
	==================================================================================*/
	footer p {
		font-size: 10px;
	}
}


@media screen and (max-width : 768px) {
	/*==================================================================================
	商品購入
	==================================================================================*/
	.cont_l {
		width: 100%;
		order: 2;
	}
	.cont_r {
		width: 100%;
		margin: 0 0 20px;
		box-shadow: 0 0 10px rgba(0,0,0,0.4);
		z-index: 10;
	}
	.cont_r .btn.size_m {
		width: 100%;
	}
	.cont_r .font_24 {
		font-size: 24px;
	}
	/* 商品名 */
	.product_name {
		width: calc(100% - 34px - 21px);
		border-right: none;
	}
	/* 数量 */
	.number {
		justify-content: flex-end;
		width: calc(100% - 45px);
		margin-left: 34px;
		padding-left: 10px;
		border-left: 1px #efefef solid;
	}
	.number p {
		margin-right: 10px;
	}
	/*==================================================================================
	購入内容確認
	==================================================================================*/
	/* 数量 */
	.buy_conf .number {
		width: 100%;
		margin: 0;
		padding: 0;
		border: none;
	}
}


@media screen and (max-width : 460px) {
	.tb {display: none;}
	.sp {display: inline;}
	/*==================================================================================
	共通
	==================================================================================*/
	/* レイアウト */
	main .container {
		width: 100%;
		padding: 0;
	}
	.boad {
		padding: 40px 20px;
	}
	/* ボタン */
	.btn.size_m {
		max-width: 100%;
	}
	/*==================================================================================
	商品購入
	==================================================================================*/
	.cont_l.mt {
		margin-top: 80px;
	}
	.cont_r.top_fix {
		animation: btn_buy .5s;
	}
	@keyframes btn_buy {
		0% {opacity: 0;}
		100% {opacity: 100%;}
	}
	.cont_r.top_fix .scroll_hidden {
		transform: scale(0);
		position: absolute;
		top: 0;
		left: 0;
	}
	.cont_r.top_fix .scroll_block {
		display: block;
	}
	/*==================================================================================
	購入内容確認
	==================================================================================*/
	/* 合計 */
	.buy_conf .price {
		min-width: 180px;
	}
}




