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

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

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

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

body {
	font-family: "游明朝", serif;
	color: #000;
	letter-spacing: .05em;
	line-height: 1.4;
	background: url("../img/background.jpg") var(--base-color);
	background-size: calc(562 / 1920 * 100vw);
	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(16px + (17.5 - 16) * ((100vw - 361px) / (1360 - 361)))
	}
}

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

#svg_white {
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7479%) hue-rotate(70deg) brightness(99%) contrast(107%)
}

h2 {
	font-size: 1.5em;
	border-bottom: 5px dotted var(--main-color-2);
	margin-bottom: 3vh
}

h3 {
	font-size: 1.4em;
	background: var(--main-color-4);
	box-shadow: 0px 0px 0px 5px var(--main-color-4);
	border: dashed 2px var(--base-color);
	padding: 0.2em 0.5em
}

h4 {
	font-size: 1.2em;
	border-bottom: solid 3px var(--main-color-3);
	position: relative
}

h4:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px var(--white);
	width: 30%
}

h5{
	font-size: 1.1em
}

#left {
	flex: 1
}

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

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

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

#title .title-text::after {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 22px;
	height: 22px;
	background-color: #000
}

#title .title-text::before {
	content: "";
	position: absolute;
	bottom: -1px;
	right: -1px;
	width: 22px;
	height: 22px;
	background-color: #000
}

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

	#title .title-text::after {
		height: 14px
	}

	#title .title-text::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;
	border-radius: 5px;
	display: flex;
	align-items: center
}

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

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

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

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

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

#title .breadcrumb {
	position: absolute;
	bottom: 3px;
	left: 3%;
	padding: 0;
	text-shadow: 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF, 0px 0px 3px #FFF
}

#title .breadcrumb a {
	text-decoration: none
}

/*--------------------------------------------
	改行
--------------------------------------------*/
@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
}

/* ボタン */
#closeButton,#calculateBtn {
	margin-top: 20px;
	background-color: #87cefa;
	padding: 8px 17px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
	margin-bottom: 30px
}

#closeButton:hover,#calculateBtn:hover {
	background-color: var(--text-color);
	color: var(--base-color);
	transition: 0.3s
}