@charset "utf-8";

body {
	color: #736d71; 
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
	font-size: 13px; 
	line-height: 1.8;	
	background: #e4f0fc;
	scroll-behavior: smooth;
}

.container {
	display: grid;
	gap: 10px;
       grid-template-columns: 2fr 1fr;
	grid-template-rows: 260px 60px;
	padding: 10px;
	justify-content: center;
}
.item {
	background: #e4f0fc;
	padding: 10px;
}
.header {
	grid-column: 1 /3;
	grid-row: 1 / 2;
}
.main {
	grid-column: 1 /2;
	grid-row: 3 / 9;
	background-color: #ffffff;
	padding: 10px;
	display: grid;
	grid-template-columns: 1 / 2;
	grid-template-rows: repeat(8, minmax(0, auto));
	text-align: center;
}
.nav {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	background: #192f60;
	border-color: #098;
}
.aside {
	grid-column: 2 / 3;
	grid-row: 3 / 9;
	background: #e4f0fc;
}
.footer {
	grid-column: 1 / 3;
	grid-row: 9 / 10;
	background: #192f60;
	color: #ffffff;
	text-align: center;
}
.title {
	background: #ffdbed;
	textalign: center; 
}
a:link{
	text-decoration: none;
	display: block;
	padding: 0;
	line-height: 1.5em;
	color: #7fc2ef;
}
a:visited{
	color: #149bdf;
	text-decoration: none;
}
a:hover{
	color: #f0f8ff;
	text-decoration: none;
}

h4 {
	font-size: 1.2em; 
	font-weight: bold; 
	color: #6a6a68;	
	margin: 1px;
	padding: 4px;
	border: solid 1px;
	border-color: #2e8b57;
}
img {
	max-width: 100%;
	margin:auto;
}
.menu {
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}
ul.menu {
	padding-left: 10px;
	font-size:0px;
}
ul.menu li {
	width: 60px;
	display:inline-block;
	padding-right: 20px;
	text-align: center;
	font-size:16px;
}
ul.menu li a {
	display: block;
}
.pagenation {
    display: block;
    margin-bottom: 30px;
}

.btn-flat-border {
	display: inline-block;
	padding: 0.3em 1em;
	width: 60px;
	text-decoration: none;
	color: #67c5ff;
	border: solid 2px #67c5ff;
	border-radius: 3px;
	transition: .4s;
}
.btn-flat-border:hover {
	background: #67c5ff;
}

.btn-flat-border.old {
	right: 0;
}
.btn-flat-border.new {
	left: 0;
}

.memo {
	padding: 0.5em 0.5em;
	margin: 2em;
	font-size: 15px;
	text-align: center;
	text-shadow: 1px 2px 2px #a5a79a; 
	background-color: #fffafa;
	border: double 5px #c9ced1;
	box-shadow: 2px 2px 4px gray;
}
.box {
	box-shadow: 0 0 8px gray;
}

.main p {
	text-align: left;
}

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 15px;
}
.pagetop a {
    display: block;
    background-color: #0068b7;
    text-align: center;
    color: #bee0c2;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    background-color: #b2d1fb;
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .container {
        grid-auto-columns: auto;
       }
    .main {
		grid-column: 1 / 3;
		grid-row: 3;
	}
    .aside {
		grid-column: 1 / 3 ;
		grid-row: 4;
       }
}