@charset "UTF-8";

html{
	font-size:100%; /*ユーザー設定の文字サイズを正しく反映*/
	justify-content:start;
}
*{
    box-sizing:border-box; /*余白や線を幅や高さに含める*/
}

img.gallery{
	max-width:100%; /*画像が親要素からはみ出すのを防ぐ*/
	width: 200px;
	height:auto;
	border: solid 1px black;	
	box-shadow: 7px 5px 0px black;
}

img.photo{
	max-width:100%; /*画像が親要素からはみ出すのを防ぐ*/
	width: 200px;
	height:auto;
	border: solid 1px black;	
	box-shadow: 7px 5px 0px blue;
}

/*サムネイル画像 横に５枚並べる*/
span.thum img{
	width: 18vw;  /* 横幅をここで調整 */
	height: auto;
	border: solid 2px black;	
	box-shadow: 2px 2px 0px black;		
}

/*サムネイル画像 漫画*/
span.thum_manga img{
	width: 11vw;  /* 横幅をここで調整 */
	height: auto;
	border: solid 2px black;	
	box-shadow: 2px 2px 0px black;		
}

/*サムネイル画像 漫画_キャラ紹介*/
span.thum_manga_char img{
	width: 6vw;  /* 横幅をここで調整 */
	height: auto;
	border: solid 2px black;	
	box-shadow: 2px 2px 0px black;		
}


figure{
	float:left;
}

.float_none {
  clear: both;
}

.caption{
	color: blue;
	font-size: 0.8em;
}

body{
    background-color:#fff;
    margin:4px;
    padding:0;
}

header{
    width:100%;
    background-color:#d3d3d3;  /*薄いグレー*/
	padding：0	1%;
	display:flex;  /*ロゴとulを横に並べる*/
	align-items: center;
}

ul.menu{
	display:flex;
	list-style:none;
}

/* メニューの項目にスペースを開ける */ 
li.menu{margin-right:20px;}

/* リンクの下線を取る */
/* a{text-decoration:none;} */

/* マウスを乗せると半透明になる */
a:hover{opacity:0.5;}

ul.menu a {
	/* background-color: antiquewhite;*/  /* メニュー項目の背景色(濃い赤色) */
	color: blue;              /* メニュー項目の文字色(白色) */
	line-height: 40px;         /* メニュー項目のリンクの高さ(40px) */
	text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
	text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
	/* font-weight: bold; */         /* 太字にする */
	display: block;            /* ★4:項目内全域をリンク可能にする */	
}


/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
ul.menu ul {
   display: none;      /* ★1:標準では非表示にする */
   margin: 0px;         /* ★2:サブメニュー外側の余白(ゼロ) */
   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
   position: absolute;  /* ★4:絶対配置にする */
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */

ul.menu2 li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
}

/*
li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
}
*/

h2 {
  color: #364e96;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #364e96;/*上線*/
  border-bottom: solid 3px #364e96;/*下線*/
}

h3 {
  position: relative;
  padding: 5px 26px 5px 42px;
  background: #fff0d9;
  font-size: 20px;
  color: #2d2d2d;
  margin-left: -33px;
  line-height: 1.3;
  border-bottom: solid 3px orange;
  z-index:-2;
}

h3:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -1;
}

h3:after {
  position: absolute;
  content: '';
  right: -3px;
  top: -7px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent;
  border-bottom: solid 79px white;
  z-index: -1;
}

h4.memo {
  display: inline-block;
  font-weight:bold;
  border-left: solid 10px orange;
  margin: 0 auto 10px;
  padding: 5px 0 5px 5px;
}


h4.manga {
  color: #364e96;/*文字色*/
  border: solid 3px #364e96;/*線色*/
  padding: 0.5em;/*文字周りの余白*/
  border-radius: 0.5em;/*角丸*/
}


h4.gallery {
  font-weight:bold;
  border-left: solid 10px #38b3f2;
  margin: 0 auto 10px;
  padding: 5px 0 5px 5px;		
}

h5.diary {
	font-size: 16px;
	color: black;
	text-decoration: underline;

}

h5.heading-41 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
}

.heading-41::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #2589d0;
    content: '';
}


/* 画像ポップアップ表示 */

.c {
    text-align: center;
}
.overlay { /* グレーの背景 */
  position: fixed;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.5s 0s ease;
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#pop-up {
  display: none;
}
#pop-up:checked + .overlay {
  visibility: visible;
  opacity: 1;
  z-index: 100000;
  background-color: #000000D0;
  width: 100%;
}
.popWindow {
  border-radius: 5px;
  overflow: auto; /* スクロールバー用 */
  max-height: 95%; /* すき間 */
  min-width: fit-content; /* 横幅が広い時に白の部分が大きくならないため */
  max-width: 95%; /* すき間 */
  position: fixed;
  top: 50%; /* 中央に */
  left: 50%; /* 中央に */
  transform: translate(-50%, -50%); /* 中央に */
  z-index: 100010;
  font-size: 13px;
  line-height: 18px;
  margin: 10px auto;
  padding: 4px 10px;
  background: #FFFD; /* 枠の色 */
  text-align: center; /* 文字を中央寄せ */
  transition: all 500ms ease-in-out;
}
.popWindow .ptitle {
  font-size: 15px;
  margin: 8px;
  color: #333;
}
.popWindow .close {
  position: absolute;
  top: 8px;
  right: 10px;
  transition: all 300ms;
  font-size: 24px;
  line-height: inherit;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  padding: 2px;
}
.popWindow .close:hover {
  color: #06D85F;
}
.popWindow::-webkit-scrollbar-track {
  background: none;
}
.popWindow::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.popWindow::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 5px;
}
.clickable:hover {
  cursor: pointer;
}
@media screen and (max-width: 700px){
  #pop-up:checked + .overlay {
    visibility: hidden;
    opacity: 0;
  }
}