@charset 'utf-8';
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@700&family=Zen+Maru+Gothic&display=swap');
/* CSS変数設定 */
:root{
--main-text-color:#4a4a4a;/* 基本の文字色 */
--dark-text-color:#000;/* 暗めの文字色 */
--light-text-color:#808080;/* 薄めの文字色 */
--main-bg-color:#b1cabc;/* 全体の背景色 */
--dark-bg-color:#a51918;/* 暗めの背景色 */
--light-bg-color:#fafafa;/* 薄めのの背景色 */
--post-bg-color:#fff;/* 記事表示部分の背景色 */
--a-color:#006fbf;/* リンク文字色 */
--visited-color:#999;/* 訪問済みリンク文字色 */
--hover-color:#333;/* マウスホバー時リンク文字色 */
--base-font-size:1.6rem;/* 基本文字サイズ */
--small-font-size:1.1rem;/* 小さい文字サイズ */
--main-font:'Zen Maru Gothic', sans-serif;/* 基本フォント名 */
--midashi-font:'Kaisei Decol', serif;/* サイト・記事タイトルフォント名 */
--icon-font:'Line Awesome Free','Line Awesome Brands';/* アイコンフォント名 */
--novel-font:'Klee One', serif;/* 小説フォント名 */
--contents-width:1200px;/* 表示大枠幅 */
--box-border-color:#333;/* 記事表示ボックスの線色 */
--box-border-width:0px;/* 記事表示ボックスの線太さ */
--box-bg-color:rgba(255,255,255,.6);/* 記事表示ボックスの背景色 */
--box-radius:10px;/* 記事表示ボックスの角丸 */
--btn-border-color:#aaa;/* ボタンの線色 */
--btn-bg-color:#eee;/* ボタンの背景色 */
--btn-radius:3px;/* ボタンの角丸 */
}
/* ====================== 基本スタイル */
html{
background-color:var(--main-bg-color);
}
body{
color:var(--main-text-color);
font-family:var(--main-font);
animation:fadein 1s ease;
}
@keyframes fadein{
	0%{
	opacity:0
	}
	100%{
	opacity:1
	}
}a:link { color:var(--a-color); }
a:visited { color:var(--visited-color); }
a:hover { color:var(--hover-color); }
a.button {
margin-block:.5em;
padding:.5em 1em;
color:#fff;
font-size:16px;
font-weight:bold;
background:var(--a-color);
width:content-fit;
border:2px solid var(--a-color);
position:relative;
z-index:1;
display:inline-block;
overflow:hidden;
transition:.5s;
border-radius:var(--btn-radius);
}
a.button::before {
content:"";
width:120%;
height:200%;
position:absolute;
top:-50%;
right:0;
z-index:-1;
background:#fff;
transform:translateX(-100%);
transition:transform ease .5s;
}
a.button:hover {
color:var(--a-color);
}
a.button:hover::before {
transform:translateX(10%);
}
input, select, textarea {
border:1px solid var(--btn-border-color);
border-radius:var(--btn-radius);
}
textarea {max-width:100vw}
button, input[type='submit'], input[type='button'] {
border:1px solid var(--btn-border-color);
background-color:var(--btn-bg-color);
border-radius:var(--btn-radius);
}
select { padding-right:1em;background:#fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23999" d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" /></svg>') no-repeat right 4px center / 10px auto; }
th{
background-color:var(--main-bg-color);
}
/* ************ 2カラム ************ */
body { margin:0 auto; max-width:var(--contents-width); }
body > div {
display:flex;
}
label[for="nav"], input[name="nav"] {display:none;}
.global_header {
margin-left:24px;
border-right:1px solid #617167;
border-left:1px solid #617167;
width: 260px;
flex-shrink:0;
flex-grow:0;
background:#617167;
box-shadow:0 0 3px rgba(0,0,0,.3),1px 0 1px rgba(255,255,255, .2) inset, -1px 0 1px rgba(255,255,255, .2) inset;
}
.contents { flex-grow: 1;}
/* ************ global_header ************ */
.global_header {
	& .description { line-height:1; font-size:80%; text-align:center; }
	& h1 { padding-top:20px; text-align:center; }
	& a#site_title {  }
	& a#site_title{
	border:4px solid;
	display:inline-block;
	width:120px;
	height:120px;
	overflow:hidden;
	line-height:1;
	position:relative;
	color:#fff;
	background-color:var(--dark-bg-color);
	font-family:var(--midashi-font);
	border-radius:50%;
	text-shadow:0 -1px 0 rgba(0,0,0,.8);
	}
	& a#site_title span:first-child{
	display:inline-block;
	font-size:65px;
	transform:rotate(-20deg);
	position:absolute;
	top:6px;
	left:-5px;
	}
	& a#site_title span:nth-child(2){
	font-size:40px;
	display:inline-block;
	transform:rotate(-5deg);
	position:absolute;
	top:12px;
	left:60px;
	}
	& a#site_title span:last-child{
	display:inline-block;
	font-size:46px;
	transform:rotate(25deg);
	position:absolute;
	bottom:8px;
	right:10px;
	}
}
.page .global_header {
	& a#site_title::before {
	content:'🎉';
	position:absolute;
	left:10px;
	bottom:0;
	font-size:1.4em;
	transform:rotate(-6deg);
	}
}
/* ************ global_nav ************ */
.global_nav {
position:sticky;
top:0;
overflow:visible;
width:100%;
z-index:2;
transition:.5s;
	& > ul {
	margin:0 auto;
	}
	& li {
	margin:1em auto;
	border:3px solid #fff;
	display:block;
	width:106px;
	height:106px;
	position:relative;
	line-height:94px;
	list-style:none;
	background-color:#5490a8;
	text-align:center;
	border-radius:50%;
	}
	& > ul > li:first-child {
	display:none;
	visibility:hidden;
	}
	& li::before {
	content:'\f2dc';
	display: block;
	position: absolute;
	top: -40px;
	right: 48px;
	color:#fff;
	font-family: "Font Awesome 5 Free";
	font-size:.6em;
	font-weight:900;
    }
	& li::after {
	content:'\f2dc';
	display: block;
	position: absolute;
	top: -10px;
	right: 14px;
	color:#fff;
	font-family: "Font Awesome 5 Free";
	font-size:.4em;
	font-weight:900;
    }
	& a {
	display:block;
	width:101px;
	height:101px;
	color:#fff;
	background: linear-gradient(-6deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 33px, transparent 0, transparent 43px);
	font-family: var(--midashi-font);
	font-size: 1.1em;
	border-radius:50%;
	}
	& a::before {
	content:'\f2dc';
	display: block;
	position: absolute;
	top: -30px;
	right: 20px;
	color:#fff;
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	transform:rotate(3deg);
    }
}
.page .global_nav {
	& a::after {
	content:'☃️';
	display: block;
	position: absolute;
	bottom: -20px;
	left: 2px;
	font-size: 1.5em;
    }
}
.global_nav.move {
padding-top:1em;
	& > ul li:first-child { display:block; visibility:visible; }
}

/* ************ コンテンツ幅 ************ */
.breadcrumb, .contents {  }
/* ************ パンくずリスト ************ */
.breadcrumb {
padding-right:1.6em;
text-align:right;

	& li:first-child { display:none; }
	& a { color:var(--main-text-color); }
}
/* ************ サイトトップ ************ */
/* ************ コンテンツ表示部分共通 ************ */
.contents { margin-block:20px; }
/* ************ カテゴリ・タグアイコン */
.categories, .tags, .comment { font-size:var(--small-font-size); }
:is(.categories, .tags) a { color:var(--light-text-color); }
/* ************ 記事表示部 */
article {
margin-bottom:30px;
padding:2em;
background-color:rgba(255,255,255,1);
backdrop-filter:blur(2px);
	& .post-title {
	padding:1.5em .5em;
	line-height:1.2;
	font-family:var(--midashi-font);
	text-align:center;
	}
	& .post-title, .post-title a { color:#fff; font-size:30px; text-shadow:1px -1px 0 #333; }
	}
& .post-content {
margin-top:34px;
padding:1.5em;
border:3px dashed var(--dark-bg-color);
font-size:1.5rem;
font-family:var(--main-font);
	& h3, h4, h5, h6 { margin:1.6em 0 .5em; }
	& h3:first-child { margin-top:.5em }
	& h3, h4 {
	display: flex;
	align-items: center;
	padding: .5em .7em;
	background-color:#fbf0f4;
	}
	& h3 { font-family:var(--midashi-font); font-size:1.6em; }
	& h3::before {
	display: inline-block;
	width: 5px;
	height: 1.5em;
	margin-right: .5em;
	background-color:var(--dark-bg-color);
	content: ''; 
	}
	& h4 { line-height:1; border-radius:1em; }
	& h4::before {
	margin-right: .5em;
	margin-top: -1.5px;
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color:var(--dark-bg-color);
	content: ''; 
	border-radius:50%;
	transform:scale(1.2);
	flex-shrink: 0;
	}
	& p { margin:1em 2em; }
	& ul, ol { margin:0 1em; padding-left:2em; }
	& details {
	margin:10px 0;
	padding:6px;
	background-color:var(--light-bg-color);
		& p:last-child {margin-bottom:0;}
	}
	& summary::before {
	margin-right:6px;
	display:inline-block;
	content:"＋";
	color:#aaa;
	font-size:1.2em;
	font-weight:bold;
	width:1em;
	text-align:center;
	}
	& details[open] {
	background-color:#f4fbff;
		& summary {
		margin-bottom:6px;
		border-bottom:1px solid rgba(224, 224, 224, .5);
		}
		& summary::before {
		transform:rotate(45deg);
		}
		& div {
		padding:0 16px;
		line-height:1.4;
		animation:accordion 0.4s linear;
		overflow:hidden;
		}
	}
	& blockquote {
	margin:16px;
	padding:6px 1em;
	border-left:6px solid #eee;
	background-color:var(--light-bg-color);
	}
	& .post-footer { font-size:var(--small-font-size); }
	& p.writer {display:none;}
	& p.thx { padding:1em; line-height:1.2; font-size:small; background-color:var(--light-bg-color); }
}
/* details用 */
@keyframes accordion {
	0% { opacity:0; height:0; }
	70% { opacity:0; height:100px; }
	100% { opacity:1; }
}
/* ************ 記事一覧 */
.entry {
	& .post-header[title="無題"] { display:none; }
	& time span::after { content:'-';}
	& time span:last-child::after { content:none;}
	& .add-file{
	height:100px;
	overflow:hidden;
	}
	& .add-file img{
	width:100%;
	height:100px;
	object-fit:cover;
	}
}
/* ************ ページ */
.page .post-content + .post-footer { text-align:right; }
:is(.top_contents, .entry, .album) {
	& > ul, article {
	border-bottom:1px solid rgb(228,227,223,.7);
	}
	& article:last-child {
	border-bottom:0 none;
	}
}
/* ************ エントリ単体 */
:is(.view) article {
position:relative;
	& .post-header, .post-header+.post-footer {
	margin-right:-16px;
	padding-left:80px;
	background-color:var(--light-bg-color);
		& time {
		display:inline-block;
		padding:10px 0;
		min-width:7.8em;
		line-height:1.1;
		position:absolute;
		top:10px;
		left:-6px;
		color:#fff;
		background-color:var(--main-text-color);
		text-align:center;
		border-radius:0 6px 6px 0;
			& span { padding:0 16px; display:block; }
			& .date { font-size:2.4em; font-weight:bold; }
		}
	& time.Sat { background-color:#86c0dd; }
	& time.Sun { background-color:#f9a2a2; }
	}
	& .post-content { margin-top:.5em; }
}
/* ************ 小説用 */
.novel{
margin:0 auto;
max-width:40em;
font-size:1.6rem;
font-family:initial;
}
/* ************ ギャラリー ************ */
:is(.post-content) .gallery,.gallery li ul{margin:0;padding:0;}
.post-content .gallery li { list-style:none; }
.gallery h3{margin:1em 0 .5em;font-size:1.6em}
.gallery li li, .ko .gallery li{margin:5px 3px;padding:10px;display:inline-block;width:calc((100%/4) - 10px);background:#fff;box-shadow:1px 1px 2px rgba(0,0,0,.3)}
.ko .gallery li{width:calc((100%/2) - 10px);}
.gallery a{display:block;overflow:hidden;font-size:80%;text-overflow:ellipsis;white-space:nowrap}
.gallery li li img, .ko .gallery li img{display:block;width:100%;height:120px;object-fit:cover}
.gallery .honbun{display:block;height:120px;color:#222;background:#eee;white-space:normal}
.gallery .option{display:block;font-size:smaller}
/* ************ ページ一括表示 ************ */
.contentsList {
	& > ul > li { border-bottom:1px solid rgb(0,0,0,.1); }
	& > ul > li > a { font-size:large; font-weight:bold; }
	& ul {
	padding-left:1em;
	list-style:none;
	}
	& .kaisou ul {
	padding-left:1.5em;
		& li { display:inline; list-style:none; }
		& li::after{ margin:0 5px; content:'/'; }
		& li:last-child::after{ content:none; }
	}
	& span { margin-left:5px; font-size:var(--small-font-size);}
	& .attention, .new { padding:2px 0 0 2px; }
	& .attention::before{ content:none; }
}
/* ************ footer以下 ************ */
.global_footer {
font-size:small;
text-align:center;
}
.to-top {
position:fixed;
bottom:0;
right:0;
	& a {
	display:grid;
	place-items:center;
	width:50px;
	height:50px;
	font-size:24px;
	}
}
/* ************ ページ送り */
/* 数字リンク */
.pagenavlink {
	& a {
	color:var(--main-bg-color);
	background:var(--main-text-color);
	}
}
/* 前後リンク */
.pagenation {
	& a { color:var(--main-text-color); }
}

/* ************ タブボックス */
.tab_container {
margin-block:1em;
display:flex;
flex-wrap:wrap;
	& label {
	color:White;
	background:LightGray;
	margin-right:5px;
	padding:3px 12px;
	order:-1;
	cursor:pointer;
	}
	& .tab_content {
	padding:1em;
	border:1px solid var(--light-bg-color);
	width:100%;
	display:none;
	background-color:#fff;
		& li { list-style:none; display:inline; }
		& li:after { content:' / '; }
		& li:last-child:after, .gallery li:after { content:none; }
		& .gallery li { height:100px; }
	}
	& input[type=radio]:checked+label {
	background:DeepSkyBlue;
	}
	& input[type=radio]:checked+label+.tab_content {
	display:block;
	}
	& input[type=radio] {
	display:none;
	}
}
/* 入口 */
.zenitan {line-height: 1;}
.zenitan p, #CDT {text-align: center; }
#CDT {
font-size:16px;
	& span {font-weight: bold;}
}
.entrance {background-image: linear-gradient( 89.9deg,  rgba(208,246,255,1) 0.1%, rgba(255,237,237,1) 47.9%, rgba(255,255,231,1) 100.2% );}
.entrance {max-width:100vw;}
#window {
background-image: url(img/zenitan_enter_bg.png);
background-position: center center;
background-size: 400px 1000px;
background-repeat: repeat;
width: 100%;
height: 200%;
position: fixed;
top:0;
right: 0;
bottom: 0;
left: 0;
animation: infinitescroll 25s linear infinite;
}
@keyframes infinitescroll {
0% {transform:translate3d(0,0,0)}
100% {transform:translate3d(0,-1000px,0)}
}
.entrance .entry-content {
display: grid;
place-items: center;
height: 100vh;
}
.entrance .zenitan {
padding: 30px 15px;
font-size: 2.4rem;
text-shadow: 0 0 2px #000;
color: #fff;
background-color: rgba(0,0,0,.4);
border-radius: 10px;
position:relative;
z-index:1;
}
.entrance small {font-size: 12px;vertical-align: top;}
a.enter {
margin: 10px auto 0 auto;
display:block;
width:100px;
height:102px;
background: url(img/birthday-cake.png) 0 0;
text-indent: -9999px;
transition:unset;
}
a.enter:hover {background-position: 0 100%;}
@media (width < 600px) {
	body > div { display:initial; }
	label[for="nav"].open {
	display:block;
	padding:6px;
	line-height:1;
	position:fixed;
	bottom:16px;
	left:16px;
	z-index:2;
	background-color:#fff;
	text-align:center;
	border-radius:3px;
	box-shadow:0 0 4px rgba(0,0,0,.3);
	cursor:pointer;
	}
	label[for="nav"].open::before {
	display:block;
	content:'\f0c9';
	font-family: "Font Awesome 5 Free";
	font-size:2em;
	font-weight:900;
	}
	input[name="nav"]:checked ~ label[for="nav"].close {
	display:block;
	width:100vw;
	height:100dvh;
	position:fixed;
	top:0;
	left:0;
	z-index:1;
	background-color:rgba(0,0,0,.4);
	text-indent:-9900px;
	}
	.global_header { transtion:.3s all; position:fixed; top:0; left:-9999px; height:100dvh;}
	input[name="nav"]:checked ~ .global_header {
	left:0;z-index:1;
	& .global_nav {position:static;height:100%;}
	}
	article .post-content { border:0 none; }
	article .post-content p { margin-inline:0; }
	td input[type="text"] {max-width:15em;}
	.gallery li li {width:calc((100% / 2) - 10px);}
}

.snow {
  /*雪の色*/
  color: snow;
  /*雪の大きさ*/
  font-size: 10px;
  /*初期位置*/
  position: fixed;
  top: -5%;
  /*雪を適当な幅で降らせる*/
  text-shadow:
  5vw   -100px 2px,
  10vw  -400px 3px,
  20vw  -500px 4px,
  30vw  -580px 1px,
  39vw  -250px 2px,
  42vw  -340px 5px,
  56vw  -150px 2px,
  63vw  -180px 0,
  78vw  -220px 4px,
  86vw  -320px 9px,
  94vw  -170px 7px;
  /*雪アニメーション1*/
  animation: roll 5s linear infinite;
}
  /*2つめの雪アニメーション*/
.snow2nd{animation: anim 8s linear infinite;}
.snow3rd{animation: anim 6s linear infinite;}

@keyframes roll {
    0% {transform:rotate(0deg);}
   90% {opacity:1;}
   100% {transform:rotate(20deg);top:100%;opacity:0;}
}
@keyframes anim {
  100% {color:transparent;top:150%;}
}

