@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,*::before,*::after{box-sizing:border-box}*{margin:0}body{line-height:1.5;-webkit-font-smoothing:antialiased}img{max-width:100%}picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}#root,#__next{isolation:isolate}

/* base design --------------------------------------------*/

:root {
	--main-font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;

ul {
  padding: 0;
  list-style: none;
}

/* ↓上部に表示されるメニュー */
.menu{
background-color: #fff;
padding: 0.7rem;
margin: 1rem 0 0;
border-radius: 40px;
}
nav.nav ul.item{
display: flex;
flex-wrap: wrap;
}
nav.nav ul.item li.list{
padding-left: 1.5rem;
margin-left: 1.5rem;
position: relative;
}
nav.nav ul.item li.list a{
font-size: 1rem;
}

/* ページ上部へ戻る */

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #008b8b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #008b8b;
    border-right: 3px solid #008b8b;
    transform: translateY(20%) rotate(-45deg);
}
/* ↑ページ上部ここまで */

/* ↓ヘンな所で改行しない様に… */
span.kaigyo { display: inline-block;}

/* ↓漫画ページの左右余白 */
.ma_yohaku{ margin: 0px 10px;}
/* ↓イラストlogの所 */
.i_log{ margin: 10px;
	padding: 0.3em 0.8em;
	font-size:0.8em;}

html{
	font-size:16px;
	scroll-behavior: smooth;
}
body {
	background-image: linear-gradient(160deg, var(--os1) 20%, var(--os2) 80%);
	/*グラデーション*/

	background-attachment: fixed;
	background-color: var(--os2);
	color: var(--main-text-color);
	font-family: var(--main-font-family);
	font-feature-settings: "palt" 1;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.8;
	margin: 0 5vw;
	word-break: break-all;
}

main{
	margin: 0 auto;
	max-width: 1200px;
	padding-top: 6vh;
}

footer.foot{
	padding: 2rem 1rem 1rem;
}
.footer-container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 960px;
	margin: 0 auto 3rem;
}


h1{
	font-size: 1.5em;
              color: #5f9ea0;
	padding-top:1em;
}
h2{
	margin-bottom: 0.5em;
	color: #5f9ea0;
	line-height: 1.3;
}

h3{
	line-height: 1.3;
	margin-bottom: 0.5em;
}

h4{        
	font-size: 1em;
             color: #1177DD;
}

div p:last-child,
section p:last-child{
	margin-bottom: 0;
}

hr{
	margin: 1.3rem 0;
	border-top: 1px dashed var(--main-text-color);
	border-bottom: none;
	height: 0px;
	clear: both;
}

.linklist{
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
	list-style-type: none;
	margin-bottom: var(--margin-wide);
	padding-left: 0;
	text-align: center;
	a{
		aspect-ratio: 1 / 1;
		background-color: var(--sub-bg-color);
		border-radius: var(--radius);
		display: flex;
		filter: var(--shadow);
		font-size: 0.75rem;
		font-weight: normal;
		line-height: 1;
		text-decoration: none;
		transition: background-color 0.3s ease-in-out;
	}
	a:hover{
		background-color: var(--accent2);
	}
	li{
		margin:auto;
	}
	i{
		font-size: 2.2rem;
		font-style: normal;
		font-weight: bold;
		display: block;
		margin-bottom: 0.5rem;
	}
	img{
		height: 2.2rem;
		vertical-align: top;
	}
	img.emoji{
		margin: 0;
		vertical-align: top;
	}
}

a{
  padding: 2px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  transition: .3s;
  color: #1DA6B9;
  text-decoration: none;/*元々のアンダーラインを非表示にしておく*/
}

a:hover {
color: #7ebeab;
  background-color: #e0ffef;
}
a:hover img{
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}
em{
	font-style: normal;
	font-weight: 400;
	margin: 0 0.3em;
	padding: 0 0.4em;
	background-color: var(--accent);
	color: var(--main-bg-color);
}
small{
	opacity: 0.8;
}



/* named parts --------------------------------------------*/

.border{
	border: 1px solid var(--main-text-color);
	display: inline-block;
	border: 1px solid var(--main-text-color);
	padding: 0.5em 1em;
	margin: 1rem 0;
}

h2 span.border{
	margin-right: 8px;
}
ul.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 5px;
}
ul.gallery.capt {
	gap: 1rem 5px;
	padding: 1rem;
}
ul.gallery img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
ul.gallery li {
	font-size: 0.70rem;
}
span.accent{
	background-color: var(--accent);
	border: 1px solid var(--accent);
	color: var(--main-bg-color);
}
br.mini{
	display: none;
}

a.btn,
.btn a{
	background-color: #59b9c6;/* ボタン背景色！ */
	display: inline-block;
	margin: 0 0.2rem;
	padding: 2px 15px;/* ボタン内の余白サイズ！ */
	line-height: 1.5;
	border-radius: 10px;/* ボタン内の丸み！ */
	font-size: 16px;
	color: #fff;/* ボタン内文字 */
}
a.btn:hover,
.btn-fit a:hover{
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}
a.btn.large{
	display: block;
	margin-right: 0;
}
div.btn-fit{
	display: flex;
	gap: 5px;
}
div.btn-fit a{
	flex-grow: 1;
	display: block;
	margin-right: 0;
}
a.accent{
	background-color: var(--accent);
}
a.accent:hover{
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}

footer a.btn{
	padding: 0.3em 0.8em;
}
img.square,
ul.gallery img,
.square img{
	width: 100%;
	object-fit: cover;
	object-position: top;
	aspect-ratio: 1 / 1;
}
img.square-50,
ul.gallery img.square-50,
.square-50 img{
	width: 100%;
	object-fit: cover;
	object-position: 50%;
	aspect-ratio: 1 / 1;
}
img.ogp,
.ogp img{
	width: 100%;
	object-fit: cover;
	object-position: top;
	aspect-ratio: 1.9 / 1;
}
img.ogp-50,
.ogp-50 img{
	width: 100%;
	object-fit: cover;
	object-position: 50%;
	aspect-ratio: 1.9 / 1;
}

.grid{
	display: grid;
	gap: 2rem;
}
.grid1-1{
	grid-template-columns: 1fr 1fr;
}
.grid1-2{
	grid-template-columns: repeat(3, 1fr);
}
.grid1-2 *:first-child{ grid-area: 1 / 1 / 2 / 2; }
.grid1-2 *:last-child { grid-area: 1 / 2 / 2 / 4; }

.grid2-1{
	grid-template-columns: repeat(3, 1fr);
}
.grid2-1 *:first-child{ grid-area: 1 / 1 / 2 / 3; }
.grid2-1 *:last-child { grid-area: 1 / 3 / 2 / 4; }

.grid2{
	grid-template-columns: repeat(2, 1fr);
}
.grid2-book{
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 0;
}
.grid3{
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));;
}
.grid4{
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));;
}
.row-flex{
	display: flex;
	flex-direction: column;
}
.row-flex .inner{
	flex-grow: 1;
}
.left{
	padding: 2rem 0 2rem 2rem;
}
.right{
	padding: 2rem 2rem 2rem 0;
}
.inner{
	padding: 1.3rem 2rem 1.3rem;
}
.illust{ 
	border: 1px solid;
	width:  fit-content;
	max-width: 1200px;
	padding: 1.3rem 1rem 1.3rem;
	display: block;
}
.raku { 
	border: 1px solid;
	width:  fit-content;
	max-width: 1200px;
	padding: 1.3rem 1rem 1.3rem;
	display: block;
}


.img2 img{
	margin: 0px 10px;
}
.mt0{	margin-top: 0; }
.mt05{	margin-top: 0.5rem; }
.mt1{	margin-top: 1rem; }
.mt2{	margin-top: 2rem; }
.mb0{	margin-bottom: 0; }
.mb05{	margin-bottom: 0.5rem; }
.mb1{	margin-bottom: 1rem; }
.mb2{	margin-bottom: 2rem; }
.mb3{	margin-bottom: 3rem; }
.mb4{	margin-bottom: 4rem; }

.pt0{	padding-top: 0; }
.pb0{	padding-bottom: 0; }

.small{
	font-size: 0.85rem;
}
.normal{
	font-size: 1rem;
}


/* responsive --------------------------------------------*/

@media (max-width: 600px) {
	body{
		font-size: 0.95rem;
		margin: 0 0;
	}
main{ margin: 0px 10px;}
	br.mini{
		display: inline;
	}
	ul.gallery{
		grid-template-columns: repeat(auto-fill, minmax(80px, auto));
	}
	.imgwrap{
		text-align: center;
		padding-top: 1.5rem;
	}
	.left+.imgwrap{
		text-align: center;
		padding: 0 0 1.5rem;
	}
	.imgwrap img{
		width: 60%;
		display: inline;
	}
	.grid{
		display: block;
	}
	.grid div.border{
		margin-bottom: 1rem;
	}
	.grid2-book{
		grid-template-columns: 1fr;
		gap: 0;
	}
	.grid2-book .cover{
		text-align: center;
		padding-top: 1rem;
	}
	.grid2-book img{
		width: 60%;
		display: inline;
	}
	.grid2-book .inner{
		padding: 1rem 0 0;
	}
	.grid2-book .inner h3{
		padding: 0 1.5rem;
	}
	.grid2-book .inner p{
		padding: 0 1.5rem;
	}
	.grid2-book .inner p:last-child{
		margin-bottom: 1.8em;
	}
	.grid2-book .btn-fit{
		font-size: 0.9rem;
	}
	.inner{
		padding: 1rem 1.5rem;
	}
	.left{
		padding: 1.5rem;
	}
	.right{
		padding: 1.5rem;
	}
	.left+.right{
		padding: 0.3rem 1.5em 1.5rem;
	}
.illust{ 
	max-width:  100%;
	margin:0 auto;
	display: block;
}

}