@charset 'UTF-8';

/*

    Base

*/

/*  color  */
:root {
	--main-color: #000000;
	--accent-color: #000000;
	--warning-color: #DC143C;
	--success-color: #333366;
}

/*  webkit  */
body {
	-webkit-text-size-adjust: 100%;
}
a {
	-webkit-tap-highlight-color: rgba(255,255,255,0.4);
}
img {
	-webkit-touch-callout: none;
}
input[type=password], input[type=text], button, textarea {
	max-width: 100%;
	-webkit-appearance: none;
	border-radius: 0;
}

/*  font  */
html { font-size: 8px;}
@media screen and (min-width: 768px) { html { font-size: 10px;}}
body {
	font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	color: #333333;
}
a {
	color: #3399FF;
	transition: all 0.1s linear;
}
a:hover   { opacity: 0.7;}
p {
	line-height: 2;
	font-feature-settings: "palt";
}
}

/*  size color  */
body { font-size: 1.5rem;}
h1 { font-size: 3.8rem;}
h2 { font-size: 2.4rem;}
h3 { font-size: 2.0rem;}

/*  common  */
.global ul,
.global li,
.global p {
	margin: 0;
	list-style: none;
	line-height: 1;
}
.global a {
	text-decoration: none;
	color: inherit;
}
div.wrapper {
	margin: 0 20px;
}
@media screen and (min-width: 768px) {
	div.wrapper {
		max-width: 1020px;
		margin: 0 auto;
	}
	div.wrapper.narrow {
		max-width: 640px;
	}
}

/*  max width  */
body img,
body iframe {
	max-width: 100%;
}

/*  placeholder  */
::placeholder {
	font-size: 1.4rem;
	color: #999999;
}

/*  material icons  */
.material-icons {
	margin-right: 0.25em;
	font-size: 1.25em;
	vertical-align: middle;
}





/*

    Header

*/

/*  layout  */
body {
	padding-top: 45px;
}
header.global {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 45px;
	background-color: #ffffff;
	box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
	color: #333333;
	overflow: hidden;
	z-index: 99;
}
header.global a.sitetop {
	flex-shrink: 0;
}
@media screen and (min-width: 768px) {
	body {
		padding-top: 55px;
	}
	header.global {
		height: 55px;
	}
}

/*  sitetop  */
header.global a.sitetop {
	display: block;
	float: left;
	height: 35px;
	padding: 5px;
}
header.global a.sitetop h1,
header.global a.sitetop p {
	margin: 0;
	padding: 0;
	border: none;
}
header.global a.sitetop img {
	display: block;
	height: 35px;
}
@media screen and (min-width: 768px) {
	header.global a.sitetop {
		height: 45px;
	}
	header.global a.sitetop img {
		height: 45px;
	}
}

/*  support  */
nav.support ul {
	display: flex;
}
nav.support ul li {
	margin: 0;
	padding: 0 0.5em;
}
nav.support ul li a {
	font-size: 1.1rem;
	text-align: center;
}
nav.support ul li a span.material-icons {
	display: block;
	font-size: 2.4rem;
}






/*

    Footer

*/

/*  layout  */
footer.global {
	padding: 1em;
	background-color: #cccccc;
	color: #ffffff;
	text-align: center;
}
footer.global small {
	font-size: 1.0rem;
}





/*

    Contents

*/

/*  layout  */
div#contents {
	padding: 0 0 2em;
}
@media screen and (min-width: 768px) {
	div#contents {
		padding: 0 0 4em;
	}
}

/*  container  */
div.container {
	margin: 1em;
}
@media screen and (min-width: 768px) {
	div.container {
		max-width: 1160px;
		margin: 0 auto;
		padding: 0 20px;
	}
}

/*  container.narrow  */
@media screen and (min-width: 768px) {
	div.container.narrow {
		max-width: 960px;
	}
	div.container.thin {
		max-width: 720px;
	}
}

/*  container.form  */
@media screen and (min-width: 768px) {
	div.container.form {
		max-width: 720px;
	}
}





/*

    Message

*/

/*  layout  */
#message {
	display: flex;
	align-items: center;
	margin: 1em;
	padding: 0.5em 1em;
	color: #ffffff;
	border-radius: 3px;
}
#message.success { background-color: var(--success-color);}
#message.failure { background-color: var(--warning-color);}
#message p {
	margin: 0 0 0 0.75em;
	line-height: 1.5;
}
@media screen and (min-width: 768px) {
	#message {
		max-width: 1200px;
		margin: 1em auto;
	}
}





/*

    Common modules

*/

/*  h1  */
h1 {
	margin: 0.75em 0 0.25em;
	padding: 0.125em 0;
	font-weight: normal;
	font-family: 'Doppio One', sans-serif;
}
h1 span {
	display: block;
	font-size: 1.5rem;
	color: #666666;
}

/*  h2  */
h2 {
	margin: 1.5em 0 1.5em;
	font-family: 'Doppio One', sans-serif;
}

/*  h3  */
h3 {
	margin: 2em 0 1em;
	padding: 0 0.75em;
	border-left: 2px #cccccc solid;
	font-weight: normal;
}

/*  line-height  */
p,
li,
dd,
blockquote {
	line-height: 2;
}

/*  hr  */
hr {
	border-color: #cccccc;
}

/*  table  */
table {
	width: 100%;
}
table th {
	background-color: #333333;
	color: #ffffff;
}

/*  time  */
time {
	color: #666666;
	font-size: 1.3rem;
}

/*  notes  */
.notes {
	font-size: 1.3rem;
	color: #666666;
}

/*  *.warning  */
*.warning {
	color: var(--warning-color);
}

/*  buttons  */
a.button, input[type=submit], button {
	display: inline-block;
	min-width: 5em;
	margin: 0.25em 0;
	padding: 0.5em 2em;
	background-color: var(--main-color);
	border: 1px var(--main-color) solid;
	font-size: 1.8rem;
	font-weight: normal;
	line-height: 1.5;
	color: #ffffff;
	font-family: 'Doppio One', sans-serif;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
}
a.button.small, input[type=submit].small, button.small {
	min-width: 4em;
	padding: 0.25em 1em;
}
a.button.xsmall, input[type=submit].xsmall, button.xsmall {
	min-width: 3em;
	padding: 0.125em 0.5em;
	font-size: 1.5rem;
}
a.button.large, input[type=submit].large, button.large {
	min-width: 8em;
	padding: 0.5em 4em;
	font-size: 2.1rem;
}
a.button.xlarge, input[type=submit].xlarge, button.xlarge {
	width: 100%;
	padding: 0.75em 3em;
	font-size: 2.4rem;
	box-sizing: border-box;
}
a.button.light, input[type=submit].light, button.light,
a.button.back, input[type=submit].back, button.back {
	background-color: transparent;
	color: var(--main-color);
}
a.button.back, input[type=submit].back, button.back {
	margin-top: 2em;
	padding: 0.25em 1em;
}

/*  div.em  */
div.em {
	margin: 2em 0;
	padding: 0.5em 2em;
	background-color: #f2f2f2;
}

/*  nav.page  */
nav.page ol {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 3em 0;
}
nav.page ol li {
	margin: 0 0.5em;
	list-style: none;
}
nav.page ol li a {
	display: block;
	padding: 0.5em 1em;
	background-color: #ffffff;
	border: 1px var(--main-color) solid;
	color: var(--main-color);
	border-radius: 3px;
}
nav.page ol li.current a {
	background-color: var(--main-color);
	color: #ffffff;
}

/*  nav.tab  */
nav.tab {
	margin: 0 0 2em;
	border-bottom: 1px #cccccc solid;
}
nav.tab ul {
	display: flex;
	align-items: flex-end;
	margin: 0 0 -1px;
}
nav.tab ul li {
	margin: 0;
	list-style: none;
}
nav.tab ul li a {
	display: block;
	padding: 0.5em 1em;
	padding-bottom: 8px;
	color: #999999;
	border-bottom: 1px #cccccc solid;
	cursor: pointer;
}
nav.tab ul li a.current {
	padding-bottom: 7px;
	border-bottom: 2px var(--main-color) solid;
	color: var(--main-color);
}
div.tab-item {
	padding: 2em 1em;
}
div.tab-item *:first-child {
	margin-top: 0;
}

/*  ul.student-types  */
ul.student-types li {
	margin: 1em auto;
	list-style: none;
}
ul.student-types li a {
	display: block;
	padding: 1em 0;
	background-color: #ff7601;
	color: #ffffff;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	font-size: larger;
}
ul.student-types li a.disabled {
	background-color: #cccccc;
}
@media screen and (min-width: 768px) {
	ul.student-types {
		display: flex;
		gap: 1.5em;
	}
	ul.student-types li {
		margin: 0;
		width: 100%;
	}
}

/*  dl.prefs  */
dl.prefs dt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1em 0.25em;
	border-bottom: 1px #cccccc solid;
}
dl.prefs dt:after {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-bottom: 1px #999999 solid;
	border-right: 1px #999999 solid;
	transform: rotate(45deg);
}
dl.prefs dt.open:after {
	margin-top: 2px;
	transform: rotate(-135deg);
}
dl.prefs dd {
	display: none;
	margin: 0;
	padding: 0 0 1em;
}
dl.prefs dd a {
	display: block;
	padding: 0.5em 0.25em;
	border-bottom: 1px #eeeeee solid;
	color: #cccccc;
}
dl.prefs dd a[href] {
	color: #333333;
}
@media screen and (min-width: 768px) {
	dl.prefs {
		background-image: url('../images/map.png');
		background-size: contain;
		background-position: right center;
	}
	dl.prefs dt {
		padding: 0;
		border: none;
	}
	dl.prefs dt:after {
		content: none;
	}
	dl.prefs dd {
		display: block !important;
		padding: 0 0 0.5em;
		word-spacing: 0.5em;
	}
	dl.prefs dd a {
		display: inline;
		padding: 0;
		border: none;
	}
}

/*  ul.schools  */
ul.schools li {
	margin: 0;
	list-style: none;
}
ul.schools li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1em 0.25em;
	border-bottom: 1px #eeeeee solid;
	color: #333333;
}
ul.schools li a:after {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-top: 1px #999999 solid;
	border-right: 1px #999999 solid;
	transform: rotate(45deg);
}

/*  ul.documents  */
ul.documents {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 -0.5em;
}
ul.documents li {
	width: 50%;
	margin: 0;
	list-style: none;
}
ul.documents li a {
	display: block;
	margin: 0.5em;
	padding: 0.5em;
	border: 1px #cccccc solid;
	border-top: 3px #ff7601 solid;
	color: #333333;
	border-radius: 5px;
	text-align: center;
}
ul.documents li a span.description {
	display: block;
	margin-top: 0.25em;
	font-size: 1.3rem;
	line-height: 1.5;
	color: #666666;
}
ul.documents li a span.next {
	display: inline-block;
	padding: 0.25em 1.5em;
	background-color: #ff7601;
	color: #ffffff;
	border-radius: 5em;
	line-height: 1.5;
	font-size: 1.3rem;
}
@media screen and (min-width: 768px) {
	ul.documents li {
		width: 20%;
	}
}
/*  div.progress  */
div.progress ol {
	margin: 2em 0;
	display: flex;
	justify-content: space-between;
}
div.progress ol li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25%;
	margin: 0;
	padding: 0.5em 1em;
	list-style: none;
	background-color: #eeeeee;
	color: #666666;
	text-align: center;
	line-height: 1.25;
	box-sizing: border-box;
}
div.progress ol li.current {
	background-color: #ff7601;
	color: #ffffff;
}

/*  ul.news  */
ul.news {
	border-top: 1px #eeeeee solid;
}
ul.news li {
	margin: 0;
	border-bottom: 1px #eeeeee solid;
	list-style: none;
}
ul.news li a {
	display: block;
	padding: 1em 0;
	color: #333333;
}

/*  dl.faq  */
dl.faq dt,
dl.faq dd {
	display: flex;
	align-items: flex-start;
}
dl.faq dt:before,
dl.faq dd:before {
	margin-right: 0.5em;
	font-family: 'Doppio One', sans-serif;
	font-size: 2.1rem;
	line-height: 1.25;
}
dl.faq dt:before {
	content: 'Q';
	color: #ff7601;
}
dl.faq dd:before {
	content: 'A';
	color: #999999;
}
dl.faq dt {
	margin-top: 0.5em;
	cursor: pointer;
}
dl.faq dd {
	display: none;
	margin: 0.5em 0 1em;
}

/*  ol.statuses  */
ol.statuses {
	display: flex;
	margin: 0;
	list-style: none;
	font-size: 1.1rem;
}
ol.statuses li {
	margin: 0;
}
ol.statuses li:before {
	content: '▶';
	margin: 0 0.25em;
	color: #cccccc;
}
ol.statuses li:first-child:before {
	content: none;
}
ol.statuses li span.label {
	display: inline-block;
	padding: 0.25em 0.5em;
	background-color: #cccccc;
	color: #ffffff;
	line-height: 1.25;
	border-radius: 2px;
}
ol.statuses li.current span.label {
	background-color: #ff7601;
}





/*

    Form common

*/

/*  basic elements  */
input[type=text], input[type=password], input[type=email], input[type=date], input[type=datetime-local], input[type=time], textarea {
	width: 100%;
	padding: 0.5em 0.75em;
	border-radius: 3px;
	box-sizing: border-box;
}
select {
	padding: 0.5em 0.75em;
	background-color: #ffffff;
	border-radius: 3px;
	box-sizing: border-box;
}
input[type=datetime-local], input[type=time] {
	width: auto;
}
input[type=file] {
	display: none;
}
label.file {
	display: flex;
	justify-content: space-between;
	min-width: 48%;
	border: 1px #cccccc solid;
	font-size: 1.3rem;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
}
label.file:before,
label.file span {
	display: block;
	padding: 0.5em 0.75em;
	color: #666666;
}
label.file:before {
	content: '\30D5\30A1\30A4\30EB\3092\9078\629E\3057\3066\304F\3060\3055\3044';
}
label.file:after {
	content: '\9078\629E';
	display: flex;
	align-items: center;
	padding: 0.5em 1.25em;;
	background-color: var(--main-color);
	color: #ffffff;
}
label.file.selected:before {
	content: none;
}
label.file.selected:after {
	content: '\53D6\6D88';
}

/*  dl  */
form dl dt {
	font-weight: normal;
	color: #666666;
}
form dl dd {
	margin: 0.5em 0 2em;
}
form dl dd.notes {
	margin-top: -1.75em;
}
form dl dd.error {
	padding: 0.5em;
	border: 1px var(--warning-color) solid;
}
form dl dd.error-message {
	margin-top: -1.75em;
	font-size: smaller;
	color: var(--warning-color);
}
form dl dd div.wide {
	width: 100%;
}
@media screen and (min-width: 768px) {
	form dl dd {
		display: flex;
		gap: 1em;
		align-items: center;
	}
}

/*  dd.address  */
form dl dd.address input {
	margin: 0.25em 0;
}
form dl dd.address input[name*=zip1] {
	width: 6em;
}
form dl dd.address input[name*=zip2] {
	width: 10em;
}
form dl dd.address input[name=pref],
form dl dd.address input[name=city],
form dl dd.address input[name=address] {
	width: 100%;
}
@media screen and (min-width: 768px) {
	form dl dd.address {
		flex-wrap: wrap;
	}
	form dl dd.address input {
		margin: 0;
	}
}

/*  confirm  */
form.confirm dl {

}

/*  form.confirm dl  */
form.confirm dl > dt {
	font-weight: normal;
	color: #666666;
}
form.confirm dl > dd {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0.25em 0 1em;
	padding-bottom: 1em;
	border-bottom: 1px #eeeeee solid;
}
@media screen and (min-width: 768px) {
	form.confirm dl {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		margin: 2em 0;
		border-bottom: 1px #eeeeee solid;
	}
	form.confirm dl > dt {
		width: 30%;
		margin: 0;
		padding: 0.75em 0 0.5em;
		border-top: 1px #eeeeee solid;
	}
	form.confirm dl > dd {
		width: 70%;
		margin: 0;
		padding: 0.5em 0 0.5em 1em;
		border-top: 1px #eeeeee solid;
		border-bottom: none;
		box-sizing: border-box;
	}
}




/*

    Entrance Form

*/

/*  layout  */
form.entrance {
	margin: 1.5em;
	padding: 1em 2em 2em;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	border-radius: 5px;
	text-align: center;
}
form.entrance dl {
	text-align: left;
}
@media screen and (min-width: 768px) {
	form.entrance {
		max-width: 530px;
		margin: 3em auto;
		box-sizing: border-box;
	}
}

/*  anchor  */
form.entrance a {
	text-decoration: underline;
}

/*  heading  */
form.entrance h1 {
	margin: 0.75em 0 0;
	padding: 0;
	border: none;
	font-size: 3.2rem;
	font-family: 'Doppio One', sans-serif;
}

/*  description  */
form.entrance p.description {
	color: #666666;
	text-align: center;
}
form.entrance p.description img {
	display: block;
	height: 80px;
	margin: 0 auto;
}

/*  help  */
form.entrance p.help {
	text-align: center;
}

/*  adjust  */
form.entrance dl dt {
	font-size: 1.3rem;
}
form.entrance dl dd {
	margin: 0 0 0.5em;
}
form.entrance button, form.entrance input[type=submit] {
	margin: 0;
}




/*

    Mailform

*/

/*  form  */
div.mailform dl {
	margin: 2em 0;
}
div.mailform dl dt {
	display: flex;
	align-items: center;
}
div.mailform dl dt span,
div.mailform dl dt em {
	display: inline-block;
	margin-right: 0.5em;
	padding: 0.125em 0.5em;
	font-size: 1.1rem;
	font-style: normal;
	color: #ffffff;
}
div.mailform dl dt span { background-color: #999999;}
div.mailform dl dt em { background-color: var(--main-color);}
div.mailform dl dd {
	display: block;
	margin: 0.5em 0 2em;
}
div.mailform dl dd input[type=text],
div.mailform dl dd textarea {
	width: 100%;
}
div.mailform dl dd select {
	width: auto;
	margin-right: 0.5em;
}
div.mailform dl dd.address input[type=text].zip1 {
	width: 5em;
}
div.mailform dl dd.address input[type=text].zip2 {
	width: 8em;
}
div.mailform dl dd.address input[type=text].pref {
	width: 8em;
}
div.mailform form p.submit {
	text-align: center;
}

/*  error  */
div.mailform p.errordetect {
	padding: 0.5em;
	background-color: var(--warning-color);
	color: #ffffff;
}
div.mailform form dl dd.error p.errormessage {
	margin: 0;
	color: var(--warning-color);
	font-size: 1.3rem;
}

/*  confirm  */
div.mailform form.confirm dl {
	padding: 1em;
	background-color: #f2f2f2;
}


