﻿@charset 'utf-8';
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+JP:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

/*
#E0E0E0
#C0C0C0
#A0A0A0
#808080
#606060
#404040
#202020

#C0A080
#A08060
#E0A080
#E0C0C0
#E0A0A0
#806060
#604040
#404060
*/

html {
	font-size: 16px;
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 32px;
  }
}

body {
	background-color: #202020;
	color: #cccccc;
	font-family: 'Noto Serif JP', serif;
	font-weight: normal;
	line-height: 1.8;
	letter-spacing: 0.1rem;
	width: 720px;
	margin: 0 auto;
	padding: 40px 20px;
}

.data {
	font-size: 0.75rem;
	text-align: left;
}

.data ul {
	padding: 0px;
}

.data li {
	padding: 0.25rem;
	list-style: none;
	display: inline-block;
	background-color: #333;
}

.main {
	text-align: left;
}

.main p::before {
	content: "　"
}

.foot {
	clear: both;
	text-align: center;
	margin-top: 2.5em;
}

h1, h2, h3 {
	font-family: 'Quicksand', 'Kosugi Maru', sans-serif;
	font-weight: 400; /* 400 or 700 */
	text-decoration: none;
	letter-spacing: 0.1em;
	margin-top: 2.5em;
	margin-bottom: 1em;
}

h1 {
	font-size: 2.5rem;
	border-bottom: 1px solid #333;
	padding-bottom: 0.5em;
}

a:link,a:visited,a:active {
	text-decoration: none;
	color: #8498ac;
	border-bottom: 1px dotted #555;
	transition: all 0.2s ease;
}

a:hover {
	text-decoration: none;
	color: #925468;
	border-bottom-style: solid;
	text-shadow: 0 0 8px rgba(17, 0, 95, 1);
}

blockquote {
    border-left: 4px solid #444;
    margin: 1.5em 0;
    padding: 0.5em 1.5em;
    color: #999;
    font-style: italic;
    background-color: #1a1a1a;
}

code, pre {
    font-family: "Fira Code", "Consolas", monospace;
    background-color: #1a1a1a;
    color: #a9b7c6;
    border-radius: 4px;
}

pre {
    padding: 1em;
    overflow-x: auto;
    border: 1px solid #333;
}

ul, ol {
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    filter: brightness(0.9); /* 画像も少しトーンを落として馴染ませる */
}

/* リンク切れや相対パスのための微調整 */
hr {
    border: 0;
    height: 1px;
    background: #333;
    margin: 3em 0;
}
