@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Gidugu&display=swap);


html{
/*	scroll-behavior: smooth;*/
    scrollbar-color: var(--color-main) var(--color-light);

}

body{
	position: relative;
	padding: var(--margin-base);
	font-family: var(--font-primary);
	font-weight: 400;
	overflow-x: hidden;
	background-color: var(--color-base);
	color: var(--color-text);
}


#body{
    height: 100%;
    width: 100%;
    position: fixed;
}

a#return{
	display: block;
	position: fixed;
	bottom: 2rem;
	right: 49%;
	font-size: 3em;
	line-height: 1;
	color: var(--color-accent);
	scroll-behavior: smooth; 

}

#clap{
	display: block;
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	line-height: 1;

	width: 2.5em;
	height: 2.5em;
	font-size: 1.8em;
	line-height: 1em;
	border-radius:50%;
    letter-spacing: 0em;
    margin: auto;
    padding: auto 0;
}

#clap_button{
	display: block;
	position: fixed;
	width: 2.5em;
	height: 2.5em;
	font-size: 1.8em;
	line-height: 1em;
	border-radius:50%;
    letter-spacing: 0em;
    margin: auto;
    padding: auto 0;
}

a{
	color: var(--color-main);
	word-break: break-all;
}

/* コンテンツエリア */
section{
	max-width: 110rem;
	margin: 0 auto var(--margin-base);
}

section:last-of-type{
	margin-bottom: 0;
}

/* プロフ */

#prof #h1-info { position: relative; }

section#prof { margin-bottom: 2em; }

#prof > *{
	margin: 0 auto;
	width: fit-content;
}

#prof h1{
	font-size: 2.2em;
	line-height: 1.8em;
	letter-spacing: 0.5rem;
	font-weight: 600;
}

#prof h1:first-letter{
	color: var(--color-main);
}

#prof #icon{
	margin-right: 0.7em;
	width: 1.8em;
	aspect-ratio: 1 / 1;
	border-radius:50%;
	vertical-align: middle;
	object-fit:cover;
	background-color: var(--color-accent);
}

#prof .text{
	margin: 2em auto 2.5em;
	width: fit-content;
}

#prof .infotext{
	margin: 1.5em auto 2em;
	width: fit-content;
    text-shadow: 1px 1px 0px #fff, 1px 1px 1px #fff ;
    font-weight: 600;
	letter-spacing: 0.1rem;
}

img#logo{
    width: 50%;     height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
	will-change: filter;
}

dd.genre{
    display: flex;
}


dd.genre>p.gimg {
    width: 45%;
}
p.gimg img {
    width: 100%;     height: auto;
}
dd.genre>p.gtxt {
    width: 45%;
    margin-left:1em;
}



@media screen and (max-width: 800px) {
  dd.genre {
    display: block;
  }
  dd.genre>p.gimg {
    width: 100%;
    border: 0;
  }
  dd.genre>p.gtxt {
    width: 100%;
    margin-left:1em;
}
}


#menu{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.4em 2em;
	margin-top: 1em;
}

#menu a{
	display: block;
	text-align: center;
	font-weight: 600;
	color: var(--color-light); /* ボタンの文字・アイコン色 */
    margin: 0 auto;
}


#menu a i{
	display: block;
	margin-bottom: -0.1em;
	width: 2.5em;
	height: 2.5em;
	font-size: 1.8em;
	line-height: 2.5em;
	border-radius:50%;
    letter-spacing: 0em;
    margin: 0 auto;
}

#menu a span{
	font-size: 1.6em;
	letter-spacing: 0.1em;
	color: var(--color-text); /* a:hoverと同じ色にする */
    font-family: 'Gidugu', sans-serif;
    line-height: 1;
    letter-spacing: 0.01em;
}

#menu div.tooltip-002:nth-child(odd) div a i{ /* 通常時のアイコンベースの色 */
	background-color: var(--color-main);
}
#menu div.tooltip-002:nth-child(even) div a i{
	background-color: var(--color-accent);
}

#menu div.tooltip-002:nth-child(odd) div a:hover i,
#menu div.tooltip-002:nth-child(even) div a:hover i{ /* オンマウス時のアイコンベースの色 */
	background-color: var(--color-text);
}

#menu a:hover i{        /* オンマウス時のアイコン(fontawesomeで出してる)の色 */
	color: var(--color-marker);
}

/* オブラアイコン */

#menu div.tooltip-002 div a i#menuobra{ /* 通常時のアイコンベースの色 */
	background-color: #0C3471;
}

#menu div.tooltip-002 div a:hover i#menuobra{ /* オンマウス時のアイコンベースの色 */
	background-color: #E8FB6E;
}

#menu i#menuobra img {          /* 通常時のアイコン画像の色 */
    filter: brightness(0) saturate(100%) invert(91%) sepia(6%) saturate(184%) hue-rotate(177deg) brightness(101%) contrast(89%);
}

#menu a:hover i#menuobra img {          /* オンマウス時のアイコン画像の色 */
    filter: brightness(0) saturate(100%) invert(17%) sepia(44%) saturate(2511%) hue-rotate(196deg) brightness(95%) contrast(99%);
}



#menu i div {
    margin: auto;
    width: 100%;
    height: 100%;
}

#menu i img {
    display: block;
    width: 60%;
    height: 100%;
    margin: auto;
}


/* ボックスの中 */
.box{
	padding: var(--margin-base);
	background-color: var(--color-light-opa); /* 透過のに変更 */
	border-radius: var(--border-radius);
}

.box h2{
	padding-top: 0em;
	padding-bottom: 0.2em;
	margin-bottom: 0.3em;
	font-size: 3em;
	font-weight: 600;
	border-bottom: solid 1px var(--color-main);
    font-family: 'Gidugu', sans-serif;
    /* text-box: trim-both cap alphabetic;  firefoxまだ未対応  */
      line-height: 1;
}

.box h2:first-letter{
	color: var(--color-main);
}


.box h2>i {
    	font-size: 0.5em;
        margin:0 6px 0 0 ;
    text-align:center;

}

.box p + h2,
.box ul + h2,
.box dl + h2{
	margin-top: 1.5em;
}

.box h3{
	padding-bottom: 0.2em;
	width: fit-content;
	font-size: 1.1em;
	font-weight: 600;
	border-bottom: solid 1px var(--color-accent);
}

.box h3:first-letter{
	color: var(--color-accent);
}

.box p + h3,
.box ul + h3,
.box dl + h3{
	margin-top: 2.2em;
}

.box > p{
	margin: 1.4em 0;
}

.box > div{
	margin: 2em 0;
}

.box > *:first-child{
	margin-top: 0;
}

.box > *:last-child{
	margin-bottom: 0;
}

.box strong{
	font-weight: 600;
	background:linear-gradient(transparent 60%, var(--color-marker) 60%);
}

.text a{
	text-decoration: underline;
	font-weight: 600;
}

.text a::after{
	margin-left: 0.2em;
	font-family: var(--font-icon);
	content: "\f35d";
	font-weight: 900;
}

dl,ul{
	margin: 1.6em 0;
	padding-left: 1.6em;
}

dt,li{
	position: relative;
}

ul{
	column-gap: var(--margin-base);
}

ul.column2{
	column-count: 2;
}

ul.column3{
	column-count: 3;
}

li{
	margin-bottom: 0.3em;
}

dd{
	margin-bottom: 1em;
}

dt::before,
li::before{
	position: absolute;
	left: -1.2em;
	font-family: var(--font-icon);
	content: "\f152"; /* \f058 */
	color: var(--color-accent);
	font-weight: 900;
}

dt.about::after,
li.about::after{
	position: absolute;
	right: 0em;
	font-family: var(--font-icon);
	content: "\f0da"; /* \f058 */
	color: var(--color-accent);
	font-weight: 900;
}

.about {
	font-weight: 900;
}


.about::after{
	margin-left: 0.4em;
	margin-right: 0.4em;
	font-family: var(--font-icon);
	content: "\f0da"; /* \f058 */
	color: var(--color-accent);
	font-weight: 900;
}


dt.check::before,
li.check::before{
	position: absolute;
	left: -1.6em;
	font-family: var(--font-icon);
	content: "\f058";
	font-weight: 400;
	color: var(--color-accent);
}

dt.like::before,
li.like::before{
	content: "\f004";
	color: var(--color-main);
	font-weight: 900;
}

dt.dislike::before,
li.dislike::before{
	content: "\f7a9";
	font-weight: 900;
}


dt.alink::before,
li.alink::before{
	content: "\f1e0"; /* \f0c1*/
	font-weight: 900;
}


dt.gift::before,
li.gift::before{
	content: "\f06b"; /* \f0c1*/
	font-weight: 900;
}


dt.user::before,
li.user::before{
	content: "\f007"; /* \f0c1*/
	font-weight: 900;
}

dt.house::before,
li.house::before{
	content: "\f015"; /* \f0c1*/
	font-weight: 900;
}

.link dt::before,
.link li::before{
	content: "\f35d";
	font-weight: 900;
}

.update dt::before,
.update li::before {
	content: "\f0a1";
	font-weight: 900;
	line-height: 1;
	color: var(--color-text);
}

.aboutlink {
      display: flex;
      gap: 8px;
}

.aboutlink div {
    display: flex;
    align-items: center;
    
}

.aboutlink dl {
    margin: 0 0 0 2em;
    padding: 0;
}

.aboutlink dd, .aboutlink dt {
    margin: 0;    padding: 0;
    line-height: 1.2;
}

.aboutlink p {
    display: flex;
    justify-content: center;
    margin: 0em 0;
}

.aboutlink>p>img {
    margin: auto 0;
    text-align: center;
    width: 200px; height:40px;
}


/* ↓イラスト */
#illustlog{
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
}

#illustlog .illust{
	width: calc(20% - 1.5em * 4 / 5);
	aspect-ratio: 1 / 1;
}

#illustlog .illust > a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#illustlog .illust > a::before{
	content: "";
	display: block;
	padding-top: 100%;
}

#illustlog .illust > a > img{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* ↓オフライン */
.booklist{
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}

.book{
/*	padding: 1.3em; */
	width: calc(50% - 2em / 2);
    aspect-ratio: 1414 / 1000;
/*	border: solid 1px var(--color-accent); */
}


.book .gaiyou{
	display: flex;
	align-items: flex-start;
	gap: 1.5em;
    padding: 0.6em;
    margin: 0.5em ;
    width: 48%;
    max-height: 100%;
    background: var(--color-dark-opa);

    overflow: auto;
    scrollbar-color: #DEE2E8 #000000;
    scrollbar-width: thin;
    
	color: var(--color-light);
}

.book .gaiyou img.hyoushi{
	width: 40%;
	height: auto;
	vertical-align: bottom;
}

.bookbg{
    background: no-repeat center center;
    background-size: contain;
    aspect-ratio: 1414 / 1000;
    
    display: flex;
    justify-content: flex-end;   /* 左右 */
    align-items: stretch;   /* flex-end　上下 */
}


.book h4{
	font-weight: 600;
    line-height: 1.5;
}

.book p.product{
	margin: 0.3em 0;
	font-size: 0.8em;
	letter-spacing: 0.1em;
	font-family: var(--font-alphanumeric);
	font-weight: 600;
	color: var(--color-marker); /* accent */

}

.book p.booktag{
    display: flex;

	margin: 0.3em 0;
    padding: 0.2em 1em;
	font-size: 0.8em;
    line-height: 1;
	letter-spacing: 0.1em;
	font-family: var(--font-alphanumeric);
	font-weight: 600;
	color: var(--color-text);
    background-color:  var(--color-base);
    border-radius: 9999px;
}

.book h4, .book p.outline, .book p.product {
	padding: 0 0.35em;
}

.book p.outline{
	font-size: 0.95em;
	line-height: 1.5;
}

.booklink {
    margin-top: 0.75em;
    
}

.order{
	display: flex;
	align-content: space-between;
	gap: 1em;
/*	margin-top: 1em; */
	width: 50%;
    margin: 0 auto;

}

.book .order a{
	display: block;
	width: 100%;
	color: var(--color-light);
	background-color: var(--color-main);
	line-height: 2.4;
	text-align: center;
	font-weight: bold;
}

.book .order a.soldout{
	pointer-events: none;
	background-color: #ECECEC;
	color: #aaa;
}



/* ↓折り畳み */
summary{
	position: relative;
	display: block;
	margin: 2em auto 0;
	padding: 0 3em;
	width: fit-content;
	height: 2.4em;
	line-height: 2.4em;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	color: var(--color-accent);
	border: solid 1px var(--color-accent);
	border-radius: 2.4em;
	transition: 0.3s;
}

summary span{
	line-height: 2.4em;
}

summary:hover{
	color: var(--color-light);
	background-color: var(--color-accent);
	opacity: 0.6;
}

summary::-webkit-details-marker {
	display: none;
}

details[open] > * {
	animation: fadeIn 0.5s ease;
}

details[open] > summary{
	margin-bottom: 2em;
}

details[open] > summary span{
	display: none;
}

details[open] > summary {
	display: none;
}

@keyframes fadeIn {
	0% {
		opacity: 0; /* 透明 */
	}
	100% {
		opacity: 1;
	}
}


#fooooter{
    font-family: 'Gidugu', sans-serif;
    text-align: center;
    font-size: 2em;
    padding: 0;
    margin-top: 1em;    margin-bottom: 1em;
}


.tooltip-002 {
    display: inline-block;
    position: relative;
}

.tooltip-002 > div {
    cursor: pointer;
}

.tooltip-002 > span {
    display: flex;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: .10em 1em;
    border-radius: 3px;
    background-color: var(--color-marker);
    color:  var(--color-text);
    font-size: .9em;
    white-space: nowrap;
    transition: opacity .3s;
}

.tooltip-002 > span::before {
    position: absolute;
    bottom: -6px;
    width: 9px;
    height: 6px;
    background-color: inherit;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    
}

.tooltip-002:hover > span {
    visibility: visible;
    opacity: 1;
}


/* プロフ案内 fit-content*/

#infomenu {
    position: absolute; top: 0; width: 100%; height: 100%;
}

#infomenu > div {
    position: absolute;  right: 0; height: 100%;
    display: grid;    grid-auto-flow: row; 
    margin-top: auto; margin-bottom: auto;
}

#infomenu > div > div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#infomenu a{
	display: block;
	text-align: center;
	font-weight: 600;
	color: var(--color-light); /* ボタンの文字・アイコン色 */
    margin: 0 auto;
}

#infomenu a i {
	display: block;
	margin-bottom: -0.1em;
	width: 2em;
	height: 2em;
	font-size: 1.3em;
	line-height: 2em;
	border-radius:50%;
    letter-spacing: 0em;
    margin: 0 auto;
	color: var(--color-light);
	background-color: var(--color-text);/* 通常時のアイコンベースの色 */
}

#infomenu a:hover i { /* オンマウス時のアイコンの色 */
	color: var(--color-text);
    background-color: var(--color-base);
}

@media ( max-width: 768px) {
    
#infomenu a i {
	display: block;
	margin-bottom: -0.1em;
	width: 1.6em;
	height: 1.6em;
	font-size: 0.9em;
	line-height: 1.6em;
	border-radius:50%;
    letter-spacing: 0em;
    margin: 0 auto;
	color: var(--color-light);
	background-color: var(--color-text);/* 通常時のアイコンベースの色 */
    }
}    

#h1-info h1 img { position: relative; z-index:5; }
#infomenu { z-index:1; }
.tooltip-002 { z-index:10; }

.alinkgrid {
        display: grid;
        grid-template-columns    :max-content auto;
        grid-template-rows       :auto;
        gap: 1em;
    }
.alinkgrid dl { margin: 0;}
    
@media ( max-width: 768px) {
.alinkgrid {
        display: grid;
        grid-template-columns    :max-content;
        grid-template-rows       :auto;
    }
}    

/* --------　サイトマップなど見出し＋本文　---------- */

.info-table {
  display: flex;
  flex-direction: column;
  gap: 0.3rem; 
}

.info-row {
  display: grid;
  grid-template-columns: max-content 1fr; /* ← タイトル列を最長に合わせる */
  align-items: start;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: bold;
  word-break: break-word;
}

.sitemap .info-title {  min-width: 8.5em;}
.aboutlink .info-title {  min-width: 5em;}

.info-title i,
.info-title svg {
  flex-shrink: 0;
}

.info-content {
  align-self: start;
  word-break: break-word;
}

.info-content::before{
    margin-left:0.4em; margin-right:0.4em; 
	font-family: var(--font-icon);
	content: "\f0da"; /* \f058 */
	color: var(--color-accent);
	font-weight: 900;
}

/* スマホ用：タイトルと本文を縦並びに */
@media screen and (max-width: 768px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}

.info-title i,
.info-title svg,
.info-title img {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
}

.info-title img { filter: brightness(0) saturate(100%) invert(17%) sepia(37%) saturate(3282%) hue-rotate(200deg) brightness(87%) contrast(98%); }

/* --------　HTMLモーダル　---------- */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

div.modal-overlay {
  margin: 0 ;
}

/* モーダル本体 */
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 90%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
/*  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);*/
}

/* iframe */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 閉じるボタン（大きく＆右上にはみ出す） */
.modal-close {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
/*  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); */
  transition: background-color 0.2s;
}

/* 背景スクロール防止 */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* フェードイン */
.fade-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #1A2042;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 99999;
}
.fade-overlay.active {
  opacity: 1;
  pointer-events: all;
}
/* 白いオーバーレイ */
#enterFadeOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #DEE2E8;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
#enterFadeOverlay.fade-out {
  opacity: 0;
}

