@charset 'UTF-8';

/*

    Base

*/

/*  color  */
:root {
	--main-color: #3399cc;
	--light-color: #f9f3e8;
	--medium-color: #e15c0e;
	--dark-color: #211900;
	--warning-color: #DC143C;
}

/*  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;
}
::placeholder {
	font-size: smaller;
	color: #999999;
}

/*  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: var(--main-color);
	transition: all 0.1s linear;
}
a:hover   { opacity: 0.7;}

/*  size color  */
body { font-size: 1.5rem;}
h1 { font-size: 2.5rem;}
h2 { font-size: 2.0rem;}
h3 { font-size: 1.5rem;}





/*

    Layout

*/

/*  basic  */
body {
	padding: 2% 2% 2% 20%;
	background-color: #f1f2f6;
}
body.outer {
	padding: 2%;
}

/*  header  */
header.global {
	position: fixed;
	left: 0;
	top: 0;
	width: 18%;
	height: 100vh;
	background-color: #ffffff;
	box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	overflow: auto;
	font-size: 1.3rem;
}
header.global a.top {
	display: block;
	padding: 15px;
	text-align: center;
}
header.global a.top img {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}
header.global div.basics {
	padding: 15px;
	background-color: #f5f7f9;
	text-align: center;
}
header.global div.basics .account {
	font-size: 7.2rem;
	color: #cccccc;
}
header.global div.basics p {
	margin: 0;
	font-weight: bold;
}
header.global div.basics ul.settings {
	margin: 0.5em 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
header.global div.basics ul.settings li {
	margin: 0.5em 0;
	padding: 0 0.5em;
	list-style: none;
	border-left: 2px #cccccc solid;
	line-height: 1;
}
header.global div.basics ul.settings li:first-child {
	border: none;
}
header.global div.menu p {
	margin: 0.75em 0;
}
header.global div.menu p a {
	display: flex;
	align-items: center;
	padding: 0.5em 1em;
	color: #666666;
	font-weight: bold;
}
header.global div.menu p a span {
	font-size: 1.8rem;
	margin-right: 0.25em;
}
header.global div.menu ul {
	margin: 0.75em 0;
	list-style: none;
}
header.global div.menu ul li {
	margin: 0;
}
header.global div.menu ul li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5em 1em;
	color: #666666;
	font-weight: bold;
}
header.global div.menu ul li a:after {
	content: '\e315';
	font-family: 'Material Icons Round';
	color: #cccccc;
	font-size: 1.6rem;
	line-height: 1;
}





/*

    Common

*/

/*  message  */
#message {
	display: flex;
	align-items: center;
	margin: 0 0 3em;
	padding: 1em;
	color: #ffffff;
	border-radius: 5px;
	animation: failure 10s linear both;
}
#message.success { background-color: #8fc31f;}
#message.failure { background-color: #ea545d;}
#message p {
	margin: 0 0 0 0.75em;
}
@keyframes failure {
	0% { opacity: 1;}
	2% { opacity: 1;}
	5% { opacity: 0.3;}
	12% { opacity: 1;}
	95% { opacity: 1;}
	100% { opacity: 0; display: none;}
}

/*  h1  */
h1 {
	margin-bottom: 1.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px #dddddd solid;
	font-weight: normal;
}

/*  container  */
div.container {
	margin: 30px 0;
	padding: 25px 25px 15px;
	background-color: #ffffff;
	border: 1px #eeeeee solid;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
}
div.container h2:first-child {
	margin: -25px -25px 20px;
	padding: 0.75em 1em;
	background-color: #f6f7f9;
	font-weight: normal;
}

/*  buttons  */
nav.buttons {
	display: flex;
	justify-content: center;
	gap: 1em;
}
a.button, input[type=submit], button {
	display: inline-block;
	min-width: 5em;
	margin: 0.25em 0;
	padding: 0.75em 3em;
	background-color: var(--main-color);
	border: 1px var(--main-color) solid;
	font-size: 1.5rem;
	font-weight: normal;
	line-height: 1.5;
	color: #ffffff;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	box-sizing: border-box;
}
a.button.xsmall, input[type=submit].xsmall, button.xsmall {
	min-width: 3em;
	padding: 0.125em 0.5em;
	font-size: 1.2rem;
}
a.button.small, input[type=submit].small, button.small {
	min-width: 4em;
	padding: 0.25em 1em;
}
a.button.large, input[type=submit].large, button.large {
	width: 100%;
	max-width: 530px;
	min-width: 8em;
	padding: 1em 4em;
	font-size: 1.8rem;
}
a.button.xlarge, input[type=submit].xlarge, button.xlarge {
	width: 100%;
	padding: 1.5em 3em;
	font-size: 2.1rem;
	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;
}

/*  .note  */
.note {
	font-size: smaller;
	color: #666666;
}

/*  nav.page  */
nav.page {
	display: flex;
	justify-content: center;
}
nav.page ol {
	display: flex;
	justify-content: center;
	margin: 1em 0;
	border: 1px #cccccc solid;
	border-radius: 3px;
	overflow: hidden;
}
nav.page ol li {
	margin: 0;
	list-style: none;
	border-left: 1px #cccccc solid;
}
nav.page ol li:first-child {
	border: none;
}
nav.page ol li a {
	display: block;
	padding: 0.5em 1em;
	background-color: #ffffff;
	color: var(--main-color);
}
nav.page ol li span {
	display: block;
	padding: 0.5em 1em;
}
nav.page ol li.current a {
	color: #ffffff;
	background-color: var(--main-color);
}

/*  dl.information  */
dl.information {
	display: flex;
	flex-wrap: wrap;
}
dl.information dt {
	width: 15em;
	padding-bottom: 15px;
}
dl.information dd {
	width: calc(100% - 15em);
	margin: 0;
	padding-bottom: 15px;
}
dl.information dd p {
	margin: 0.5em 0;
}

/*  form  */
form dl.information dt {
	padding-top: 5px;
	padding-bottom: 10px;
}
form textarea,
form select,
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=date],
form input[type=datetime-local] {
	width: 100%;
	padding: 0 1em;
	line-height: 2.5;
	border: 1px #eeeeee solid;
	border-radius: 5px;
	background-color: #f6f6f6;
	box-sizing: border-box;
}
form textarea {
	padding: 1em;
	line-height: 1.5;
}
form select {
	width: auto;
	max-width: 100%;
	height: 2.5em;
	line-height: 2.5;
}
form input[type=date],
form input[type=datetime-local] {
	width: auto;
}
form dd.error {
	margin-bottom: 1em;
	padding: 0.5em;
	border: 1px var(--warning-color) solid;
	box-sizing: border-box;
}
form dd.error:after {
	content: attr(data-text);
	color: var(--warning-color);
	font-size: smaller;
}

/*  posts  */
ul.posts {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.75em;
}
ul.posts li {
	width: 20%;
	margin: 0 0 1.5em;
	list-style: none;
}
ul.posts li a.article {
	display: block;
	padding: 0.5em 0.75em;
	margin: 0 0.75em;
	color: #333333;
	background-color: #ffffff;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	border-radius: 10px;
}
ul.posts li a.article span.thumbnail {
	display: block;
	height: 0;
	margin: -0.5em -0.75em 0.75em;
	margin-bottom: 0.5em;
	padding-top: 66.66%;
	background-color: #f2f2f2;
	background-size: cover;
	background-position: top center;
}
ul.posts li a.article time {
	display: block;
	margin: 0.75em 0;
	color: #999999;
	font-size: smaller;
}
ul.posts li a.article p {
	margin: 0.5em 0;
}
ul.posts li div.action {
	margin: 0.5em 1em;
}
ul.posts li div.action a.button {
	display: lnline-block;
}





/*

    Entrance form

*/

/*  layout  */
form.entrance {
	width: 480px;
	margin: 3em auto 0.5em;
	padding: 15px 25px;
	background-color: #ffffff;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
	border-radius: 10px;
	box-sizing: border-box;
}
form.entrance p.description img {
	display: block;
	max-width: 100%;
	margin: 0 auto 1em;
}
form.entrance dl {
	display: block;
}
form.entrance dl dt {
	width: auto;
	padding: 0;
}
form.entrance dl dd {
	width: auto;
	margin: 0.5em 0;
	padding: 0;
}

/*  Quill  */
.ql-toolbar {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #fbfbfb;
}
.ql-toolbar button {
	min-width: 0;
	margin: 0;
}
.ql-container {
	min-height: 12em;
	max-height: 80vh;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background-color: #f6f6f6;
	font-size: 1.7rem;
	overflow: auto;
}
.ql-container p {
	margin: 0 !important;
}
.ql-tooltip {
	left: 1em !important;
}