@charset "UTF-8";

/* reset */
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	background-color: #ffffff;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

figure {
	margin: 0;
}

img {
	width: 100%;
	height: auto;
}

/* base */
header, footer {
	padding: 25px 15px;
	text-align: center;
}

header {
	font-size: 26px;
}

#main {
	background-color: #f7f7f7;
	padding: 40px 15px;
}

article {
	background-color: #ffffff;
	padding: 30px 60px;
}

h1 {
	font-weight: normal;
	font-size: 16px;
}

p {
	color: #333333;
	font-size: 13px;
	line-height: 2;
}

footer {
	font-size: 12px;
}

/* nav */
nav ul {
	display: flex;
	list-style-type: none;
	padding: 0;
	color: #666666;
	font-size: 12px;
	justify-content: center;
}

nav li:not(:last-child) {
	margin-right: 20px;
}

/* sub_menu */
aside {
	background-color: #ffffff;
	padding: 20px;
	margin-top: 40px;
}

h2 {
	font-weight: normal;
	font-size: 16px;
}

article h2, .black {
	color: #333333;
}

h1, #sub h2, #transaction {
	color: #29abe2;
}

#transaction {
	margin-top: 40px;
}

#sub h2, #sub .txt_center {
	text-align: center;
}

#profile img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
}

#profile figure {
	text-align: center;
}

#topics ul {
	list-style-type: none;
	padding: 0;
}

#topics a {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

#topics figure {
	width: 50px;
	flex: none;
}

#topics img {
	vertical-align: bottom;
}

#topics p {
	margin: 0 0 0 10px;
}

.deco1 {
	margin: 30px 0 0;
	padding: 15px 0;
	border-bottom: 1px dashed #a9a9a9;
}

/* link */
a {
	color: inherit;
	text-decoration: none;
}

a.link_b {
	text-decoration: underline;
	color: #29abe2;
}

a:hover {
	opacity: 0.7;
}

.basic_link a {
	text-decoration: underline;
	color: #3366cc;
}

.basic_link a:hover {
	text-decoration: none;
}

header .container img {
	width: 98px;
	height: 25px;
	margin: 10px 0;
}

#main .container img {
	margin-bottom: 10px;
}

#main .container img.soldout {
	width: 100px;
	height: 30px;
}

/* pc */
@media (min-width: 700px) {

	.container {
		max-width: 800px;
		margin: 0 auto;
	}

	#main .container {
		display: flex;
		justify-content: space-between;
	}

	header .container {
		display: flex;
		justify-content: space-between;
	}

	article {
		width: 68%;
		box-sizing: border-box;
	}
	
	#sub {
		width: 28%;
	}
	
	#profile {
		margin-top: 0;
	}

}