
/* ------------------------------------------------------------ */
/* margin: & padding: */

body,
div,
p,
h1,
h2,
h3,
th,
td,
ul,
ol,
li,
form {
	
	margin: 0;
	
	padding: 0;
	
}

/* ------------------------------------------------------------ */
/* display: */

header,
footer,
main,
aside,
article,
section,
.lunalys_a,
#scaling_img,
.tweet_img {
	
	display: block;
	
}

#header_nav_sp,
#blog_nav_a1,
#scaling_div {
	
	display: none;
	
}

body {
	
	display: grid;
	
}

.flex {
	
	display: flex;
	
	flex-wrap: wrap;
	
}

/* ------------------------------------------------------------ */
/* position: */

header,
footer,
#blog_nav {
	
	position: relative;
	
}

#scaling_img,
#header_nav_pc,
#footer_nav_pc,
#copyright {
	
	position: absolute;
	
}

#scaling_div {
	
	position: fixed;
	
}

/* ------------------------------------------------------------ */
/* font-size: */

body,
main h2,
main h3,
#site_name {
	
	font-size: 1.55rem;
	
}

aside h2,
#content_header {
	
	font-size: 1.45rem;
	
}

.section_footer,
.article_footer {
	
	font-size: 1.35rem;
	
}

.lunalys_a {
	
	font-size: 1.2em;
	
}

/* ------------------------------------------------------------ */
/* <html> */

html {
	
	overflow-y: scroll;
	
	background-color: #ffffff;
	
	font-size: 62.5%;
	font-family: "メイリオ", "Meiryo", "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	
}

html::-webkit-scrollbar {
	
	width: 16px;
	height: 16px;
	
}

html::-webkit-scrollbar-thumb {
	
	border: 1px solid #999999;
	
	border-radius: 8px;
	
	background-color: #ffffff;
	
}

/* ------------------------------------------------------------ */
/* <body> */

body {
	
	grid-template-columns: 660px 331px;
	grid-template-rows: repeat(3, auto);
	
	width: 991px;
	
	margin: auto;
	
	border-right: 1px solid #999999;
	border-left: 1px solid #999999;
	
	color: #222222;
	
}

/* ------------------------------------------------------------ */
/* <a> */

a {
	
	text-decoration-line: underline;
	text-decoration-color: #ffffff00;
	
}

a:link {
	
	color: #3030ff;
	
}

a:visited {
	
	color: #7722cc;
	
}

a:hover {
	
	color: #3030cc;
	
	text-decoration-color: #3030cc;
	
}

/* ------------------------------------------------------------ */
/* <table> <em> <blockquote> <hr> */

table {
	
	width: 100%;
	
	border-collapse: collapse;
	
	table-layout: fixed;
	
}

em {
	
	color: #000000;
	
	font-weight: bold;
	font-style: normal;
	
	text-decoration-line: underline;
	text-decoration-style: double;
	text-decoration-color: #ffff00;
	
}

blockquote {
	
	color: #118811;
	
}

hr {
	
	height: 1px;
	
	border-width: 1px 0px 0px 0px;
	
}

/* ------------------------------------------------------------ */
/* <header> */

header {
	
	grid-area: 1/1/2/3;
	
	height: 220px;
	
}

header a:link,
header a:visited,
header a:hover,
footer a:link,
footer a:visited,
footer a:hover {
	
	color: #ffffff;
	
}

header a:hover,
footer a:hover {
	
	text-decoration-color: #ffffff;
	
}

#header_nav_pc a,
#footer_nav_pc a {
	
	margin: 0 10px;
	
}

#header_img {
	
	width: 991px;
	height: 220px;
	
}

#header_nav_pc {
	
	bottom: 0;
	left: 0;
	
	width: 100%;
	
	background-color: rgba(0, 0, 0, 0.5);
	
}

#site_name {
	
	margin: 0 160px 0 20px !important;
	
	font-weight: normal;
	
}

/* ------------------------------------------------------------ */
/* <main> */

main {
	
	grid-area: 2/1/3/2;
	
	margin: 0 0 20px;
	
	padding: 0 5px;
	
}

#content_header {
	
	margin: 0 10px -10px;
	
	padding: 15px 0 0 5px;
	
	border-bottom: 1px solid #555555;
	
}

#blog_nav {
	
	z-index: 1;
	
	width: calc(100% - 20px);
	
	height: 20px;
	
	margin: -22px 0 -8px;
	
	text-align: right;
	
}

/* ------------------------------------------------------------ */
/* <article> */

main h2 {
	
	margin: 25px 10px -5px;
	
	padding: 0 0 0 18px;
	
	border: 1px solid #8888ff;
	
	border-radius: 0.2em;
	
	background-color: #f0f0ff;
	
	background-image:
		linear-gradient( 135deg, #8888ff 0.7em, transparent 0),
		linear-gradient( -45deg, #8888ff 0.7em, transparent 0);
		
	
}

main h3 {
	
	margin: 0 0 -10px 15px;
	
	text-decoration-line: underline;
	text-decoration-style: double;
	text-decoration-color: #00aaaa;
	
}

main p {
	
	margin: 17px 20px;
	
}

main p,
main li {
	
	line-height: 1.7;
	
}

.section_footer,
.article_footer {
	
	margin: -6px 15px -12px !important;
	
	padding: 0 2px 2px 0;
	
	border-top: 1px dashed #777777;
	
	color: #666666;
	
	text-align: right;
	
}

.section_footer a,
.article_footer a,
.entry_date,
.entry_time {
	
	margin: 0 0 0 5px;
	
}

/* ------------------------------------------------------------ */
/* <aside> */

aside {
	
	grid-area: 2/2/3/3;
	
	border-left: 1px solid #999999;
	
}

aside h2 {
	
	margin: 0 0 10px 0;
	
	padding: 4px 6px 2px;
	
	background-color: #555555;
	
	color: #ffffff;
	
	line-height: 1;
	
}

aside h2 a {
	
	color: #ffffff !important;
	
}

#latest_entries,
#popular_entries {
	
	margin: 10px 4px 18px 15px;
	
}

#latest_entries li,
#popular_entries li {
	
	margin: 0 0 10px 0;
	
}

/* ------------------------------------------------------------ */
/* <ul> <li> */

ul {
	
	list-style-type: none;
	
}

main ul {
	
	list-style-type: circle;
	
}

main ul,
main ol {
	
	margin: 17px 0 17px 35px;
	
}

.contents_ul,
.taglist_ul,
#headline_ul {
	
	list-style-type: none;
	
	margin: 15px 0 0 25px;
	
}

.contents_ul li,
.taglist_ul li,
#headline_ul li {
	
	margin: 0 0 10px;
	
}

/* ------------------------------------------------------------ */
/* <img> screenshot */

.sp_ss {
	
	width: 100%;
	height: auto;
	
	max-width: 361px;
	
}

/* ------------------------------------------------------------ */
/* <a> lunalys */

.lunalys_a {
	
	width: fit-content;
	
	margin: 15px 0 -5px;
	
}

/* ------------------------------------------------------------ */
/* /text/article/ */

.contents_ul_left {
	
	width: 40%;
	
}

/* ------------------------------------------------------------ */
/* /text/taglist/ */

.taglist_ul {
	
	width: 28%;
	
}

/* ------------------------------------------------------------ */
/* /text/headline/ */

.headline_no,
.headline_date {
	
	margin: 0 10px 0 0;
	
}

#prev_next {
	
	margin: 15px auto;
	
	text-align: center;
	
}

/* ------------------------------------------------------------ */
/* <div> Scaling image */

#scaling_div {
	
	top: 0;
	left: 0;
	
	z-index: 4;
	
	width: 100%;
	height: 100%;
	
	background-color: rgba(0, 0, 0, 0.9);
	
}

#scaling_img {
	
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	
	width: 1px;
	height: 1px;
	
	margin: auto;
	
}

#scaling_img,
.tweet_img {
	
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
	
}

/* ------------------------------------------------------------ */
/* <aside> Latest Tweets */

#latest_tweets {
	
	margin: 0 12px 15px;
	
}

.tweet_img {
	
	margin: 10px 0 0;
	
	border-radius: 12px;
	
}

#latest_tweets .tweet_body {
	
	margin: 0 3px 10px;
	
	padding: 0 0 15px;
	
	border-bottom: 1px dashed #555555;
	
	color: #111111;
	
}

#latest_tweets .tweet_img {
	
	width: 300px;
	height: 400px;
	
}

/* ------------------------------------------------------------ */
/* <footer> */

footer {
	
	grid-area: 3/1/4/3;
	
	height: 20px;
	
	padding: 5px 0;
	
	background-color: #333333;
	
	color: #ffffff;
	
}

#footer_nav_pc {
	
	top: 5px;
	left: 115px;
	
}

#copyright {
	
	top: 5px;
	right: 90px;
	
}

