/* IMPORT RESET ================================================== */
@import url("sanitize.css");

/* WEB FONT ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css");

/* 変数設定 ======================================================== */
/*共通のサイズを変数で設定*/
:root {
	/* コンテンツの最大幅 */
	--contents-wide: 980px;
	/*文字サイズ*/
	--small: 1.2rem; /*75%*/
	--medium: 1.6rem; /*100%*/
	--large: 2rem; /*125%*/
}

/* STYLES ======================================================== */

/* ルートのフォントサイズを10pxに設定（1rem=10px）*/
html {
	font-size: 62.5%;
}

/* MEMO ++++++++++++++++++++++++++++++++
  フォントサイズはremで指定すること
  例）10pxは1rem、12pxは1.2rem
+++++++++++++++++++++++++++++++++++++ */

.font-s{
	font-size: var(--small);
}

*{
	box-sizing: border-box;
}

body {
	font-size: var(--medium); /*16px*/
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	margin: 0;
	padding: 0;
}

/*下記marginやpadding、widthはサイトデザインに合わせて調整*/
#container{
	margin: 0 auto;
	max-width: var(--contents-wide);
	background-color: #211a6f;
	/*左右だけにドロップシャドウ（右側の影, 左側の影）*/
	box-shadow:
		10px 0 15px -5px rgba(0, 0, 0, 0.3),
		-10px 0 15px -5px rgba(0, 0, 0, 0.3);
}
main{
	margin: 0;
	padding: 0;
}

footer{
	margin: 0;
	padding: 20px 0;
	text-align: center;
	color: #fff;
}

/*画像は基本的に横幅100%表示、高さは横幅に合わせて自動調整
  小さい画像を使用する際は個別にmax-widthを設定する*/
img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
	image-rendering: -webkit-optimize-contrast; /*Chromeで画像がぼやけるのを防止*/
}

/*対象施設エリア*/
#malllist{
	padding: 0 10px;
}

/*対象施設見出し*/
#malllist h2{
	color: #fff;
	text-align: center;
}

/*アコーディオンメニュー ──────────────────────────────────────────────────*/
section ul.menu{
	padding: 0;
	margin-top: 1px;
}

a{
	text-decoration: none;
}

.accordion {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	background-image: linear-gradient( to bottom, #fafafa 0%, #d4d7db 50%, #a7acb3 100%);
	border-radius: 5px;
}

.accordionLink {
	font-family: 'Noto Sans JP', sans-serif;
	color: #211a6f;
	display: block;
	line-height: 60px;
	padding: 0 1em;
	position: relative;
	text-align: center;

	&::after {
		content: '▼';
		display: block;
		line-height: 40px;
		position: absolute;
		right: 10px;
		text-align: center;
		top: 10px;
		width: 40px;
	}
}
.accordionLink.on::after {
	content: '▲';
}

div.submenu {
	background: #fff;
	display: none;
	color: #333;
	padding: 1em;
}
/*アコーディオンここまで──────────────────────────────────────────────────*/

/*一覧表 ───────────────────────────────────────────────────────────────*/

/*都道府県名*/
h3.pref{
	font-family: 'Noto Sans JP', sans-serif;
	font-size: var(--medium);
	text-align: center;
	border-bottom: 1px dotted #333;
	padding-top: 1em;
	margin: 0 10px 20px; /*下の余白で施設名との間隔を調整*/
}

/*施設名リスト*/
ul.mall-list{
	display: grid;
	grid-template-columns: 1fr; /*スマホは1列*/
	gap: 15px 10px; /*縦の間隔 横の間隔*/
	list-style: none;
	padding: 0;
	margin: 0 10px 10px;

	@media (min-width: 768px){
		/*PCのみ適用*/
		grid-template-columns: repeat(3, 1fr); /*PCは3列*/
	}

	& li{
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: normal;
		line-height: 1.4;
		padding-left: 1em;
		text-indent: -1em; /*2行目以降を「・」の後ろにそろえる*/

		&::before{
			content: '・';
		}
	}
}

/*一覧表ここまで───────────────────────────────────────────────────────────────*/

/*一リンクボタン───────────────────────────────────────────────────────────────*/
a.btn {
	display: flex;
	align-items: center;
	width: fit-content;
	height: 2.6em;
	margin: 0 auto;
	padding: 10px 2em;
	background: #b50080;
	text-decoration: none;
	border-radius: 1.3em;
	@media (min-width: 768px){
		/*PCのみ適用*/
		padding: 10px 6em;
		font-size: var(--large);
	}
	
	.btn-text {
		display: block;
		color: #fff;
		font-weight: bold;
		text-align: center;
		position: relative;
		margin: 0 auto;
		padding-right: 1.2em;
		padding-left: 1.2em;
	}
	
	.btn-text::after {
		position: absolute;
		right: 0;
		margin: 1px auto 0;
		vertical-align: middle;
		font-family: "Font Awesome 6 Free";
		content: "\f054";
		font-weight: 900;
	}
	
	/*マウスオーバーした時*/
	@media (hover: hover) {
		/* hover指定できるPCを想定したスタイル */
		&:hover {
			opacity: 0.8;
			
		}
	}
	@media (hover: none) {
		/* hoverが使えないタッチ端末 */
		&:active {
			opacity: 0.8;
		}
	}
}

section#cta{
	padding: 20px 0;
	text-align: center;
}

/*ページトップスクロール ──────────────────────────────────────────────────*/
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 10;
}

.topbtn{
	display: block;
	background: #000;
	color: #fff;
	width: 50px;
	height: 50px;
	text-align: center;
	box-shadow: 0 0 0 3px #000;/*ボタンの背景色に合わせる*/
	border: 1px solid #fff;
	font-weight: bold;
	
	/*マウスオーバーした時*/
	@media (hover: hover) {
		/* hover指定できるPCを想定したスタイル */
		&:hover {
			background: #666;
			box-shadow: 0 0 0 3px #666;/*ボタンの背景色に合わせる*/
		}
	}
	@media (hover: none) {
		/* hoverが使えないタッチ端末を想定した装飾 */
		&:active {
			background: #666;
			box-shadow: 0 0 0 3px #666;/*ボタンの背景色に合わせる*/
		}
	}
	
	& i {
		padding-top: 5px;
		font-size: var(--large);
		display: block;
	}
	& span {
		display: block;
		font-size: var(--small);
		margin-top: -2px;
	}
}

/* ▲ページトップスクロールここまで▲ */