﻿/* フォント　※一番上に入れる */
@import url('https://fonts.googleapis.com/css2?family=RocknRoll+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

/* リセットCSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* スマホだけ・PCだけ */
@media(min-width:751px){
	.sp{
	display: none !important;
	}
}
@media(max-width:750px){
	.pc{
	display: none !important;
	}
}

/* 背景 */
body {
  color: #12106B;
	background-color: #199ABD;
}

/* 真ん中の部分 */
.main {
	padding: 0% 3%;
	margin: 0px auto;
	font-family: "M PLUS Rounded 1c", sans-serif;	
	font-size: 14px;
  color: #12106B;
	text-align: left;
	line-height: 1.5;
}

/* セクション */
.section {
	margin: 2em 0px; 
	padding: 1.5em;
	background-color: #fff;
	box-shadow: 2px 2px 10px;
	border-radius: 0.5em;
}

/* リンク */
a {
	color:#12106B;
	text-decoration: none;
}
a:visited {
	color:#12106B;
}
a:hover{ 
	color:#94CDDD;
	text-decoration: underline;
}

/* 太字 */
#bold{
	font-weight: bold;
	margin: 0 1em 0 0;
}

/* 小文字 */
#small{
	font-size: 10px;
}

/* p要素の余白 */
p {
	margin: 0.5em 0.5em;
}

/* 中央よせ */
.center {
	text-align: center;
}

/* スクロールバー */
::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}
::-webkit-scrollbar-track {
	background: #12106B;
}
::-webkit-scrollbar-thumb {
	background: #fff;
}

/* スムーススクロール */
html {
	scroll-behavior: smooth;
}

/* 見出し */
h2 {
	font-family: "RocknRoll One", sans-serif;
	color: #12106B;
	font-size:20px;
  padding: 0em 0.3em;
	border-bottom: solid 2px #94CDDD;
}

h3 {
	font-weight: bold;
	color: #12106B;
	font-size:18px;
}

h4 {
	font-weight: bold;
	color: #12106B;
	font-size:15px;
  padding: 0em 0.5em;
}

/* 上に戻るボタン */
.pagetop {
	height: 50px;
	width: 50px;
	position: fixed;
	right: 30px;
	bottom: 20px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
}
.pagetop-arrow {
	height: 10px;
	width: 10px;
	border-top: 3px solid #12106B;
	border-right: 3px solid #12106B;
	transform: translateY(20%) rotate(-45deg);
}

/* メイン画像配置 */
#main {
	margin: auto;
	display: block;
	width: 100%;
}

/* テキストボックス */
.text {
	text-align: left;
	padding: 0.5em 0em;
}

/* 画像ボタンリスト */
.list {
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
	margin: 0.5em 0.5em;
	text-align: center;
	gap: 0;
}
/* 画像ボタン */
.btn img {
	border-radius: 5%;
	width: 50px;
	height: 50px;
	border: 2px solid #94CDDD;
	transition: .2s;
}

/* ポップアップ */
#toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(18,16,107,0.8);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
#toast.show {
	opacity: 1;
}
