/* ========================================================================
ResetCss
======================================================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: normal;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	outline: none;
	text-decoration: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

input, select {
	vertical-align: middle;
}

img {
	vertical-align: top;
	font-size: 0;
	line-height: 0;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

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

br {
	line-height: inherit;
}

/*  レスポンシブ用
-------------------------------------------------------------*/
.sp-only {display: none !important;}
.pc-only {display: block !important;}

@media screen and (max-width: 999px) {
  .pc-only {display: none !important;}
  .sp-only {display: block !important;}
}

/*  共通
-------------------------------------------------------------*/
html {
	width: 100%;
	height: 100%;
	font-size: 0.7142857vw; /* PC基準：10 ÷ 1400 × 100（上限なし。ビューポート幅に比例して際限なく拡縮する） */
}

@media (max-width: 999px) {
	html { font-size: 2.6666667vw; }
}

:root {
	--color-primary-red: #DE0901;
	--color-bg-cream: #F0F0E9;
	--color-accent-green: #0E4E12;
	--color-accent-brown: #92764A;
}

body {
	font-family: "Noto Sans JP", sans-serif;
	background: var(--color-bg-cream);
	width: 100%;
	position: relative;
	margin: 0;
	line-height: 1.5;
	font-size: 1.6rem;
	font-weight: 400;
	color: #000;
}

.en {font-family: "Lato", sans-serif;}

a {transition: all .2s;}
a:hover {opacity: .7;}
a img {transition: .2s all;}
a img:hover {opacity: .7;}

main {position: relative; z-index: 1;}
.inner {width: 100%; max-width: 120rem; margin: 0 auto; padding: 0 2rem; position: relative;}

/* フリーページ等（common.htmlのelse分岐）用。.item-list/.item-detailと同じくSP固定ヘッダー(5.5rem)の
   クリアランスを確保し、左右は.innerと同じ2rem paddingでコンテンツ幅を揃える。
   PCは.headerがdisplay:noneになるため.item-list/.item-detailと同様にpadding-topを0へ戻す */
.freepage {padding: 5.5rem 2rem 0;}

/* PC：画面幅の左右に常に11remのpaddingをかけ、コンテンツ幅118rem(1400px基準)を中央表示。
   サイドバー(left:7rem 幅26rem＝右端33rem)と重なる先頭部分はサイドバーが手前(z-index)に表示される仕様 */
@media screen and (min-width: 1000px) {
	.inner {max-width: none; padding: 0 11rem;}
	.freepage {padding: 5.5rem 2rem 0 36.2rem;}
}

body.no-scroll {overflow: hidden;}

/* ResetCssのfooter指定(background: transparent)がindex.css側のfooter背景を上書きするため再指定 */
footer {width: 100%; background: #000;}
