@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
	font-family: 'Noto Sans JP', sans-serif;
}

button {
	font-family: inherit;	
}

body.ccsuser {
	box-sizing: border-box;
	width: 100%;
	min-height: 100vh;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	background-color: #F9FEFF;
	color: #222222;
}
body.ccsuser0 {
	background-color: #F9FEFF;
}
body.ccsuser1 {
	background-color: #EBFBFF;
}

body.ccsuser > header:not(.editing)::before {
	display: block;
	content: "";
	background-image: url("../img/01a-Basic.png");
	background-repeat: no-repeat;
	background-position: center;
}
body.ccsuser0 > header:not(.editing)::before {
	height: 88px;
	margin-top: 20px;
	margin-bottom: 16px;
	background-size: auto 100%;
}
body.ccsuser1 > header:not(.editing)::before {
	background-color: white;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
	height: 64px;
	background-size: auto 48px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}
body.ccsuser1 > header:not(.editing) > :first-child {
	margin-top: 64px;
}
body.ccsuser > header h1 {
	font-size: x-large;
	font-weight: bold;
	margin: 0;
}
body.ccsuser0 > header > h1 {
	text-align: center;
	padding-bottom: 1em;
	color: #008ED2;
}
body.ccsuser1 > header > h1 {
	padding: 1.5rem 1rem;
}

body.ccsuser > footer {
	padding: 1.5rem;
	position: relative;
}
body.ccsuser > footer > nav > ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
}
body.ccsuser > footer > nav > ul > li {
	font-size: 95%;
	margin-top: 0.5ex;
}
body.ccsuser > footer > p.copyright {
	margin: 0;
	font-size: smaller;
	color: #768488;
}
body.ccsuser > footer > * + p.copyright {
	margin-top: 1rem;
}
body.ccsuser > footer > p.help {
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	width: fit-content;
	margin: 0;
	font-size: smaller;
}
body.ccsuser1 > footer,
body.ccsuser0 > footer.ccsuser1 {
	background-color: white;
}
body.ccsuser0 > footer > nav {
	background-color: white;
	margin: -1.5rem;
	padding: 1.5rem;
}

body.ccsuser > main {
	flex-grow: 1;
	box-sizing: border-box;
	max-width: 100%;
	margin-top: 1rem;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}
body.ccsuser > main > * {
	box-sizing: border-box;
	max-width: 100% !important;
}
body.ccsuser > main > p {
	width: 100%;
}
body.ccsuser > main > p:first-child {
	margin-top: 0;
}
body.ccsuser > main .oneliner,
body.ccsuser > dialog .oneliner {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}
body.ccsuser > main .oneliner.oneliner_left,
body.ccsuser > dialog .oneliner.oneliner_left {
	margin-left: 0;
}
body.ccsuser > main p.navi,
body.ccsuser > main div.navi,
body.ccsuser > dialog > p.navi {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-weight: normal;
}
body.ccsuser > main .navi > a:not(.mainform),
body.ccsuser > main .navi > button.buttonlink {
	font-size: 90%;
}
body.ccsuser > main p.navi_negative,
body.ccsuser > main div.navi_negative {
	--width: calc(100vw - (1.25rem * 2));
	box-sizing: border-box;
	width: var(--width);
	margin-left: calc((var(--width) - 100%) / 2);
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: flex-end;
} 

.navi_negative + .navi_negative {
	margin-top: 0;
}

body.ccsuser > main > .error > p {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}
body.ccsuser > main > .error > p:first-child {
	margin-top: 0;
}
body.ccsuser > main > .error > p:last-child {
	margin-bottom: 0;
}

body.ccsuser > main h2 {
	text-align: center;
	margin-top: 0;
}

body.ccsuser dl.formitems > dt {
	margin-top: 1rem;
	font-weight: bolder;
}
body.ccsuser dl.formitems > dt:first-child {
	margin-top: 0 !important;
}
body.ccsuser dl.formitems > dt.hiddenlabel {
	display: none;
}
body.ccsuser dl.formitems > dd {
	margin-top: 0.5rem;
	margin-left: 0;
}
body.ccsuser dl.formitems > dt.hiddenlabel + dd {
	margin-top: calc(1rem + 0.5rem) !important;
}
	
form.mainform {
	padding: 2px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
form.mainform > * {
	box-sizing: border-box;
	max-width: 100% !important;
}
form.mainform input,
form.mainform textarea,
form.mainform select,
form.mainform label.mainitem {
	font-size: large;
}
form.mainform input[type="text"],
form.mainform input[type="password"],
form.mainform input[type="email"],
form.mainform input[type="tel"],
form.mainform input[type="url"],
form.mainform input[type="date"],
form.mainform textarea,
form.mainform select {
	box-sizing: border-box;
	max-width: 100%;
}
form.mainform input[type="text"],
form.mainform input[type="password"],
form.mainform input[type="email"],
form.mainform input[type="tel"],
form.mainform input[type="url"],
form.mainform select {
	min-height: calc(2rem);
	height: calc(2rem);
}
form.mainform input[type="text"],
form.mainform input[type="password"],
form.mainform input[type="email"],
form.mainform input[type="tel"],
form.mainform input[type="url"] {
	padding-left: 0.5em;
	padding-right: 0.5em;
}
form.mainform textarea {
	padding: 0.5ex 0.5em;
}

form.mainform input[type="text"],
form.mainform input[type="password"],
form.mainform input[type="email"],
form.mainform input[type="tel"],
form.mainform input[type="url"],
form.mainform textarea,
form.mainform select.mainitem {
	box-sizing: border-box;
	width: 100%;
}

form.mainform button[type="submit"],
button.mainform,
a.mainform {
	display: inline-block;
	background: linear-gradient(121.34deg, #71CADE 19.67%, #008ED2 95.68%);
	border: none;
	color: white !important;
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
	min-width: min(80vw, 14rem);
	padding: 1rem 2rem;
	border-radius: 2rem;
	font-size: medium;
	font-weight: bold;
	text-decoration: none !important;
	text-align: center;
}
form.mainform button[type="submit"]:active:not([disabled]),
button.mainform:active,
a.mainform:active {
	margin-top: 1px;
	margin-bottom: -1px;
	box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
}
form.mainform button[type="submit"]:disabled,
button.mainform:disabled {
	background: #cad1d2;
}
form.mainform button[type="submit"].negative,
button.mainform_negative,
a.mainform_negative {
	background: #768488 !important;
	color: white !important;
}
form.mainform > .centering,
form.mainform > div.navi,
form.mainform > p.navi,
form.mainform > div.caution,
form.mainform > div.cautionbox {
	margin-left: auto;
	margin-right: auto;
}

body.ccsuser a,
body.ccsuser a:hover,
body.ccsuser a:active,
body.ccsuser a:visited,
body.ccsuser button.buttonlink {
	color: #768488;
	text-decoration: none;
	font-weight: normal;
}
body.ccsuser a:hover,
body.ccsuser a:active,
body.ccsuser button.buttonlink:hover,
body.ccsuser button.buttonlink:active {
	text-decoration: underline;
}
button.buttonlink {
	padding: 0;
	border: none;
	background: none;
}

.buttonref::before {
	content: "[";
}
.buttonref::after {
	content: "]ボタン";
}
.controlref::before {
	content: "「";
}
.controlref::after {
	content: "」";
}

h2 {
	font-size: x-large;
	font-weight: bold;	
}

.detail {
	font-weight: normal;
	font-size: small;
	color: #768488;
}

.caution,
.cautionbox {
	background-color: #E7EDEE;
	padding: 2ex 1em;
	border-radius: 1rem;
	font-weight: bold;
}
.caution > p:first-child,
.cautionbox > p:first-child {
	text-align: center;
}
.caution > .detail,
.cautionbox > .detail {
	color: #222222;
	font-size: 95%;
}
.caution {
	color: #F77088;
}

main > *:not(:first-child) {
	margin-top: 1.5rem;	
}

ul.navilist {
	list-style: none;
	padding: 0;
	background-color: white;
	border-radius: 8px;
}
ul.navilist > li {
	margin: 0;
	padding: 8px 16px;
}
ul.navilist > li > a:hover,
ul.navilist > li > a:active {
	text-decoration: none;
}
ul.navilist > li > a::after {
	text-align: right;
	flex-grow: 1;
	content: "＞";
}
ul.navilist > li > a {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	color: #222222;
}
ul.navilist > li > a > span {
	color: inherit;
}

.group_link {
	height: 56px;
}
.group_link > * {
	display: inline-block;
	box-sizing: border-box;
}
.group_link > img {
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	border-radius: 32px;
	object-fit: cover;
	vertical-align: top;
}
.group_link > :not(img):first-child {
	margin-left: calc(56px + 1rem);
}
.group_link > img + * {
	margin-left: 1rem;
}

a.agreement {
	all: revert !important;
}

ul.notice {
	list-style-type: '※';
	list-style-position: inside;
	margin-left: 0;
	padding-left: 0;
	font-size: smaller;
}

*::placeholder,
select.unselect_select_disabled {
	color: #CAD1D2;
}

dialog {
	box-sizing: border-box;
	min-width: calc(100vw - (1.5rem * 2));
	border-radius: 16px;
	background-color: white;
	border-style: none;
	padding: 32px 24px;
	z-index: 9;
}
dialog > h2 {
	text-align: center;
}
dialog .navi .main_close {
	display: block;
	margin-left: auto;
	margin-right: auto;
	background: #768488;
	color: white;
	border: none;
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
	padding: 0.5rem 1rem;
	border-radius: 1ex;
	font-size: 95%;
	font-weight: bold;
	text-align: center;
}

@media (orientation: landscape), (min-width: 800px) {
	body.ccsuser > main {
		max-width: 80vw;
	}
	body.ccsuser > main .spread {
		box-sizing: border-box;
		min-width: 80vw;
	}
	body.ccsuser > footer > nav > ul {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
	}
	body.ccsuser > footer > nav > ul > li:not(:first-child) {
		margin-left: 1em;
	}
}
@media (min-width: 1024px) {
	body.ccsuser > main {
		max-width: 85vw;
	}
	body.ccsuser > main .spread {
		box-sizing: border-box;
		min-width: 85vw;
	}
}
@media (orientation: portrait) and (max-width: 799px) {
	body.ccsuser > main {
		max-width: calc(100vw - (2rem * 2));
	}
	body.ccsuser > main .spread {
		box-sizing: border-box;
		min-width: calc(100vw - (2rem * 2));
	}
}
@media (max-width: 379px) {
	body.ccsuser > main {
		max-width: calc(100vw - (1rem * 2));
	}
	body.ccsuser > main .spread {
		box-sizing: border-box;
		min-width: calc(100vw - (1rem * 2));
	}
}
