@charset "UTF-8";

/* ↓フォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600&display=swap'); /* 英数フォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;800&display=swap&subset=japanese'); /* 日本語フォント */
@import url('https://fonts.googleapis.com/css2?family=Arsenal+SC:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css'); /* アイコンフォント */

:root {
	--color-base: #DEE2E8; /* 背景色などのベージュの部分 */
	--color-main: #CC4E89; /* 赤い部分 */
	--color-accent: #52A5C9; /* 青い部分 */
	--color-text: #0C3471; /* 文字の色 */
	--color-text2: #1A2042; /* 文字の色濃いめ */
	--color-marker: #FBE62B; /* 文字のマーカー部分の色 */
	--color-light: #fff; /* 白い部分 */
    --color-light-opa: #ffffffDD; /* 白い部分 */
    --color-light-opa2: #ffffffEE; /* 白い部分 */
    --color-dark-opa: #1A2042DD; /* 黒い部分 */
	--font-primary: 'Noto Sans JP', Meiryo, メイリオ, sans-serif; /* 日本語フォント */
	--font-alphanumeric: 'Outfit', sans-serif; /* 英数フォント */
	--font-icon: 'Font Awesome 6 Free'; /* アイコンフォント */
}

@media screen and (min-width: 1367px) {
	html{ font-size:68%;}}
@media screen and (max-width: 1366px) {
	html{ font-size:62.5%;}}
@media screen and (max-width: 768px) {
	html{ font-size:100%;}}
@media screen and (max-width: 500px) {
	html{ font-size:62.5%;}}

@media screen and (min-width: 769px) {
	:root {
		--margin-base: 4em;
		--border-radius: 0.3em;
	}

	body{
		font-size: 1.6rem;
		letter-spacing: 0.15em;
		line-height: 1.8;
        overflow-y: scroll;
		min-height: 100vh;
		position: relative;
	}

	#bgimage {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		-webkit-clip-path: inset(0);
		        clip-path: inset(0);
		z-index: -1;
	}

	#bgimage::before {
		content: '';
		z-index: -1;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		position: fixed;
		background-image: url("../img/bg.jpg");
        background-size: 100% auto; /* 幅、高さ */
		background-repeat:  no-repeat;
        background-position: center;
/*		        background-attachment: fixed;*/
	}

}

@media screen and (max-width: 768px) {
	:root {
		--margin-base: 1.5em;
		--border-radius: 0.2em;
	}

	body{
		font-size: 1.4rem;
		letter-spacing: 0.15em;
		line-height: 1.7;
        overflow-y: scroll;
		min-height: 100vh;
		position: relative;
}

	#bgimage {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		-webkit-clip-path: inset(0);
		        clip-path: inset(0);
		z-index: -1;
	}

	#bgimage::before {
		content: '';
		z-index: -1;
		inset: 0;
		width: 100%;
		height: 100%;
		position: fixed;
		background-image: url("../img/bg.jpg");
        background-size: auto 100vh ; /* 幅、高さ */
        background-repeat:  no-repeat;
        background-position: center 0;
/*        background-attachment: fixed;*/

	}

}