* { box-sizing: border-box !important; }
body { background: #fff !important; }

.mt-3 { margin: 0 !important; }
	
/* ヘッダ */
body > nav {
	height: 80px;
	margin: 0 auto 50px;
	position: relative;
	background: #052a83 !important;
}
body > nav > div > a {
	width: 220px; height: 55px;
	overflow: hidden;
	line-height: 80000px;
	background: url("/static/img/headerLogo.svg");
	position: absolute !important; top: 12px; left: calc( 50% - 110px ); 
}
body > nav > div > div ul a {
	color: #fff !important;
}
body > nav > div > div div a {
	padding: 3px 20px !important;
	background: none !important;
	border: 4px solid #fff !important;
	border-radius: 800px !important;
}
body > nav > div > div div a:hover {
	background: #fff !important;
	color: #052a83 !important;
}

body > nav > div > div > div > button {
	padding: 3px 20px !important;
	background: none !important;
	border: 4px solid #fff !important;
	color: #fff;
	border-radius: 800px !important;
}

/* dropdown */
body > nav > div > div > div > div > ul > li > a{
	background: #fff !important;
	color: #052a83 !important;
}
	
/* 上のシェアボタン */
body > div:nth-child(4) {
	display: none;
}

/* タイトル */
body > div:nth-child(5) {
	margin: 0 auto 40px !important;
	background: none !important;
	text-align: center;
	color: #052a83;
	font-size: 25px !important;
}
body > div:nth-child(5) > img {
	width: 64px; height: 64px;
	margin: 0 auto 10px;
	display: block;
	
}

/* 項目 */
body > div:nth-child(n+6) {
	margin: 0 auto 40px !important;
	background: none !important;
	text-align: center;
	color: #052a83;
	font-size: 25px !important;
}
body > div:nth-child(n+6) > img {
	width: 64px; height: 64px;
	margin: 0 auto 10px;
	display: block;
	
}

/* メイン */
body > form {
	width: 980px;
	margin: 0 auto;
	display: grid;
	grid-template-rows:  440px 345px 50px;
	grid-template-columns: 480px 1fr;
	row-gap: 20px; column-gap: 20px;
}
body > form > div {
	background: #fff !important;
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
	position: relative;
}
body > form > div:nth-child(1) { grid-row: 1 / 3; grid-column: 1 / 2; }
body > form > div:nth-child(2) { grid-row: 1 / 2; grid-column: 2 / 3; }
body > form > div:nth-child(3) { grid-row: 2 / 3; grid-column: 2 / 3; }
body > form > div:nth-child(4) { grid-row: 3 / 4; grid-column: 2 / 3; }

/* 下部ボタン */
body > form > div.container > p > a {
	width: 30%;
	border: 4px solid #052a83;
	border-radius: 800px;
	font-weight: bold;
}
body > form > div.container > p > a:hover {
	border: 4px solid #052a83;
}
body > form > div.container > p > button {
	width: 30%;
	border: 4px solid #052a83;
	border-radius: 800px;
	font-weight: bold;
}
body > form > div.container > p > button:hover {
	border: 4px solid #052a83;
}

/* 1st */
body > form > div:nth-child(1) {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
body > form > div:nth-child(1) > *:nth-child(2) { /* バッジ */
	width: 140px; height: 140px;
	position: absolute; top: -50px; left: 50px;
	background: url("/static/img/badge1st.svg");
	color: rgba(0, 0, 0, 0);
}
body > form > div:nth-child(1) > *:nth-child(3) { /* URLボックス */
	order: 4;
	margin: 0 10px 20px !important; padding: 0 !important;
	position: relative;
}
body > form > div:nth-child(1) > *:nth-child(3) > div { padding: 0; }
body > form > div:nth-child(1) > *:nth-child(3) > div::after {
	width: 70px; height: 20px; 
	display: block;
	content: url("/static/img/affiliate.svg");
	position: absolute; top: 10px; right: 10px; 
}
body > form > div:nth-child(1) > *:nth-child(3) > div > span { height: 40px; }
body > form > div:nth-child(1) > *:nth-child(4) { /* テキストブロック */
	margin: 0;
}
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(1) {
	width: 0 !important; height: 0 !important;
	padding: 0;
}
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) { /* 商品名・ブランド・コメント */
	width: 100%;
	padding: 0;
}
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) { /* 商品名・ブランド */
	width: 100%;
	margin: 0 0 20px; padding: 20px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(1) { margin: 0 0 10px; }
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(2) { margin: 0; }
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) { /* コメント */
	margin: 0 10px 20px;
}
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > label { display: none; }
body > form > div:nth-child(1) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > textarea {
	height: 65px;
	resize: none;
}
#itemImage1 { /* 画像 */
	width: 480px !important; height: 640px !important;
	max-height: 640px !important;
	padding: 0;
	position: absolute; top: 0; left: 0;
	object-fit: cover;
	border: none; border-radius: 10px 10px 0 0;
	z-index: -8000;
}

/* 2nd */
body > form > div:nth-child(2) {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
body > form > div:nth-child(2) > *:nth-child(2) { /* バッジ */
	width: 80px; height: 80px;
	position: absolute; top: 105px; right: -25px;
	background: url("/static/img/badge2nd.svg");
	color: rgba(0, 0, 0, 0);
}
body > form > div:nth-child(2) > *:nth-child(3) { /* URLボックス */
	order: 4;
	margin: 0 10px 20px !important; padding: 0 !important;
}
body > form > div:nth-child(2) > *:nth-child(3) > div { padding: 0; }
body > form > div:nth-child(2) > *:nth-child(3) > div::after {
	width: 70px; height: 20px; 
	display: block;
	content: url("/static/img/affiliate.svg");
	position: absolute; top: 10px; right: 10px; 
}
body > form > div:nth-child(2) > *:nth-child(3) > div > span { height: 40px; }
body > form > div:nth-child(2) > *:nth-child(4) { /* テキストブロック */
	margin: 0;
}
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(1) {
	width: 0 !important; height: 0 !important;
	padding: 0;
}
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) { /* 商品名・ブランド・コメント */
	width: 100%;
	padding: 0;
}
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) { /* 商品名・ブランド */
	width: 100%;
	margin: 0 0 20px; padding: 20px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(1) { margin: 0 0 10px; }
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(2) { margin: 0; }
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) { /* コメント */
	margin: 0 10px 20px;
}
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > label { display: none; }
body > form > div:nth-child(2) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > textarea {
	height: 65px;
	resize: none;
}
#itemImage2 { /* 画像 */
	width: 480px !important; height: 280px !important;
	max-height: 275px !important;
	padding: 0;
	position: absolute; top: 0; left: 0;
	object-fit: cover;
	border: none; border-radius: 10px 10px 0 0;
	z-index: -8000;
}

/* 3rd */
body > form > div:nth-child(3) {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
body > form > div:nth-child(3) > *:nth-child(2) { /* バッジ */
	width: 80px; height: 80px;
	position: absolute; top: -15px; left: -5px;
	background: url("/static/img/badge3rd.svg");
	color: rgba(0, 0, 0, 0);
}
body > form > div:nth-child(3) > *:nth-child(3) { /* URLボックス */
	order: 4;
	margin: 0 20px 20px !important; padding: 0 !important;
}
body > form > div:nth-child(3) > *:nth-child(3) > div { padding: 0; }
body > form > div:nth-child(3) > *:nth-child(3) > div::after {
	width: 70px; height: 20px; 
	display: block;
	content: url("/static/img/affiliate.svg");
	position: absolute; top: 10px; right: 10px; 
}
body > form > div:nth-child(3) > *:nth-child(3) > div > span { height: 40px; }
body > form > div:nth-child(3) > *:nth-child(4) { /* テキストブロック */
	margin: 0;
}
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(1) {
	width: 0 !important; height: 0 !important;
	padding: 0;
}
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) { /* 商品名・ブランド・コメント */
	width: 100%;
	padding: 0;
}
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) { /* 商品名・ブランド */
	width: 100%; height: 180px;
	margin: 0 0 20px; padding: 20px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border-radius: 10px 10px 0 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(1) { margin: 0 0 10px; }
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(2) { margin: 0; }
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) { /* コメント */
	margin: 0 10px 20px;
}
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > label { display: none; }
body > form > div:nth-child(3) > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > textarea {
	height: 65px;
	resize: none;
}
#itemImage3 { /* 画像 */
	width: 480px !important; height: 180px !important;
	max-height: 180px !important;
	padding: 0;
	position: absolute; top: 0; left: 0;
	object-fit: cover;
	border: none; border-radius: 10px 10px 0 0;
	z-index: -8000;
}

/* シェアボタン */
body > form > div:nth-child(4) {
	margin: 30px 0 0 !important; padding: 0;
	background: none !important;
	filter: none;
}
body > form > div:nth-child(4) > p {
	text-align: right !important;
}
body > form > div:nth-child(4) > p > a,
body > form > div:nth-child(4) > p > button {
	border-radius: 800px;
}

/* フッタ */
footer.border-top {
	width: 980px !important;
	margin: 60px auto 0 !important;
	position: relative !important;
	background: transparent !important;
	border-top: 1px solid #000 !important;
}
footer > p.text-light,
footer a.text-light {
	color: #000 !important;
}


/* ------ */
/* mobile */
/* ------ */

@media screen and (max-width:1000px) { 

/* ヘッダ */
body > nav {
	height: 20vw !important;
	margin: 0 auto 5vw;
}
body > nav > div > a {
	width: 40vw; height: 10vw;
	overflow: hidden;
	line-height: 80000px;
	background: url("/static/img/headerLogo.svg");
	position: absolute !important; top: 5vw; left: calc( 50% - 20vw ); 
}
body > nav > div > div ul a {
	color: #fff !important;
}
body > nav > div > div div a {
	padding: 3px 20px !important;
	background: none !important;
	border: 4px solid #fff !important;
	border-radius: 800px !important;
}
body > nav > div > div div a:hover {
	background: #fff !important;
	color: #052a83 !important;
}

/* メニュー */
.navbar-toggler-icon {
	background: url("/static/img/menu.svg");
}
	.navbar-collapse {
		background: rgba(0, 0, 0, 0.7);
		z-index: 80000;
	}
	.navbar-collapse > div {
		padding: 5vw;
	}
	.nav-link {
		padding: 5vw 6vw;
	}
	
/* ユーザー */
body > div:nth-child(5) {
	margin: 0 auto 15vw !important;
	font-size: 4vw !important;
}
body > div:nth-child(5) > img {
	width: 16vw; height: 16vw;
	margin: 0 auto 2vw;	
}
	
/* メイン */
body > form {
	width: 100vw;
	margin: 0 auto; padding: 0 5vw 5vw;
	display: block;
}
body > form > div {
	background: #fff !important;
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
	position: relative;
}
	
/* 1st ~ 3rd */
body > form > div.mt-3 {
	width: 90vw; height: 145vw;
	margin: 0 0 15vw !important;
}
body > form > div > *:nth-child(2) { /* バッジ */
	width: 24vw !important; height: 24vw !important;
	position: absolute; top: -12vw !important; left: 36vw !important;
	color: rgba(0, 0, 0, 0);
}
body > form > div > *:nth-child(3) { /* URLボックス */
	order: 4;
	margin: 0 5vw 5vw !important; padding: 0 !important;
	position: relative;
}
body > form > div > *:nth-child(3) > div { padding: 0; }
body > form > div > *:nth-child(3) > div::after {
	width: 70px; height: 20px; 
	display: block;
	content: url("/static/img/affiliate.svg") !important;
	position: absolute; top: 1vw !important; right: 1vw !important; 
}
body > form > div > *:nth-child(3) > div > span { height: 10vw !important; }
	
body > form > div > *:nth-child(4) { /* テキストブロック */
	margin: 0;
}
body > form > div > *:nth-child(4) > *:nth-child(1) {
	width: 0 !important; height: 0 !important;
	padding: 0;
}
body > form > div > *:nth-child(4) > *:nth-child(2) { /* 商品名・ブランド・コメント */
	width: 100%;
	padding: 0;
}
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) { /* 商品名・ブランド */
	width: 100%; height: auto !important;
	margin: 0 0 5vw !important; padding: 5vw !important;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border-radius: 0 !important;
}
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(1) { margin: 0 0 2.5vw !important; }
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(1) > p:nth-child(2) { margin: 0; }
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) { /* コメント */
	margin: 0 5vw 5vw !important;
	display: block !important;
}
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > label { display: none; }
body > form > div > *:nth-child(4) > *:nth-child(2) > *:nth-child(2) > textarea {
	height: 30vw !important;
	resize: none;
}
#itemImage1,
#itemImage2,
#itemImage3 { /* 画像 */
	width: 90vw !important; height: 90vw !important;
	max-height: 560px !important;
	padding: 0;
	position: absolute; top: 0; left: 0;
	object-fit: cover;
	border: none; border-radius: 10px 10px 0 0;
	z-index: -8000;
}

/* シェアボタン */
body > form > div:nth-child(4) {
	height: auto;
	margin: 10vw 0 0 !important; padding: 0;
	background: none !important;
	filter: none;
}
body > form > div:nth-child(4) > p {
	text-align: right !important;
}
body > form > div:nth-child(4) > p > a,
body > form > div:nth-child(4) > p > button {
	border-radius: 800px;
}
	
/* フッタ */
footer.border-top {
	width: 90vw !important;
	margin: 10vw auto 0 !important;
	position: relative !important;
	background: transparent !important;
	border-top: 1px solid #000 !important;
	flex-direction: column;
}
footer > p.text-light,
footer a.text-light {
	color: #000 !important;
}

}
