@charset "UTF-8";
@import url('root.css');

html.safari {
	-webkit-text-size-adjust: 100%
}

html.ie {
	-ms-text-size-adjust: 100%
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

body {
	color: var(--text-color);
	letter-spacing: .05em;
	background: var(--main-color);
	text-align: center;
	min-width: 330px
}

@media (min-width: 1360px) {
	body {
		font-size: 17.5px
	}
}

@media only screen and (min-width: 360px) and (max-width: 1360px) {
	body {
		font-size: calc(16.5px + (17.5 - 16) * ((100vw - 361px) / (1360 - 361)))
	}
}

@media not all and (min-width: 360px) {
	body {
		font-size: 16.5px
	}
}

h2 {
	font-size: 1.4em;
	text-align: center;
	border-left: 5px solid var(--emphasis-color);
	border-right: 5px solid var(--emphasis-color);
	padding: 8px 14px;
	margin: var(--dynamic-margin) auto var(--dynamic-margin-small);
	background: var(--white);
	color: var(--text-dark);
	max-width: 500px
}

h3 {
	font-size: 1.5em;
	border-bottom: 5px dotted var(--white);
	margin-bottom: 3vh
}

form {
	display: inline-block;
	margin: 0;
	padding: 0
}

/*--------------------------------------------
	タイトル
	比率7:3と4:1の画像を使って表示
--------------------------------------------*/
#title {
	position: relative;
	width: 100%
}

#title h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	color: var(--text-dark);
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 20px;
	border-width: 5px;
	border-style: solid;
	border-color: var(--muted-2);
	background: rgba(255, 255, 255, 0.5);
	font-size: 2em;
	font-weight: bold;
	white-space: nowrap;
	letter-spacing: 0.05em
}

#title h1::after {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 22px;
	height: 22px;
	background-color: var(--muted-2)
}

#title h1::before {
	content: "";
	position: absolute;
	bottom: -1px;
	right: -1px;
	width: 22px;
	height: 22px;
	background-color: var(--muted-2)
}

@media (max-width: 950px) {
	#title h1 {
		font-size: 1.8em;
		padding: 10px
	}

	#title h1::after {
		height: 14px
	}

	#title h1::before {
		height: 14px
	}
}

#title .title-pc,
#title .title-sp,
#title .title-image {
	width: 100%;
	height: auto
}

#title .title-pc {
	display: block
}

#title .title-sp {
	display: none
}

@media (max-width: 900px) {
	#title .title-pc {
		display: none
	}

	#title .title-sp {
		display: block
	}
}

/*--------------------------------------------
	パンくず
	タイトル画像内にあるかないかで挙動を変更
--------------------------------------------*/
.breadcrumb {
	list-style: none;
	padding: 10px 10px;
	margin: 0;
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 3px;
	left: 3%;
	padding: 0;
	text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	margin-right: .2em
}

.breadcrumb-item a {
	color: var(--text-color);
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	border-bottom: 1px solid currentColor;
	line-height: 1.2
}

@media (max-width: 900px) {
	.breadcrumb-item {
		font-size: .9em
	}
}

.breadcrumb-item a i {
	display: inline-block;
	margin-right: .1em;
	transform: translateY(-2.5px)
}


.breadcrumb-item::after {
	content: ">";
	margin-left: .2em
}

.breadcrumb-item:last-child::after {
	content: ""
}

.breadcrumb-item.active {
	font-weight: bold
}

.breadcrumb a {
	text-decoration: underline;
	text-underline-offset: 4px
}

/*--------------------------------------------
	改行
--------------------------------------------*/
@media (min-width: 395px) {
	.disp-none-more-min {
		display: none
	}
}

@media (min-width: 900px) {
	.disp-none-more-middle {
		display: none
	}
}

@media (min-width: 1024px) {
	.disp-none-more-large {
		display: none
	}
}

.em-br {
	margin-bottom: 0.8em;
	display: block
}

/*--------------------------------------------
	ボタン
	このボタンを押下すると画面を閉じる
--------------------------------------------*/
.btn {
	border: 1px solid var(--main-color);
	background-color: var(--white);
	color: var(--main-color);
	padding: 8px 17px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	text-align: center
}

.btn:hover {
	background-color: var(--muted-2);
	transition: 0.3s
}