/* basic */

* {
	margin: 0;
	padding: 0;
	font-family: "quasimoda", 'NotoSansJapanese', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Meiryo, メイリオ, sans-serif;
	font-size: 10px;
}

a {
	text-decoration: none;
	color: #a1a6b3;
}

a:hover {
	color: #5f6a92;
}

abbr{
	text-decoration: none;
}

body {
	color: #192f60;/* 紺 */
}

.caption {
	float: right;
}

.dot{
	margin-right: 15px;
	color: #192f60;
	border: none;
	background: #ffffff;
}

.dot:hover{
	color:#a1a6b3;
	cursor: pointer;
}

.dot::before{
	font-family: "Font Awesome 5 Free";
	font: var(--fa-font-solid);
	content: "\f111";
	padding: 0 10px;
}

.dot::after{
	font-size: 8px;
	vertical-align: middle;
	margin: 10px;
	padding: 2px 7px;
	border-radius: 3px;
}

.element {
	margin-bottom: 20px;
	height: fit-content;
}

.element a{
	font-weight: bold;}

.element_max {
	padding: 10px 0;
	position: relative;
	clear: left;
}

.element_max_img{
	margin: 0 auto 20px auto;
	clear: both;
}

#fc2_footer{
	background: #192f60;
	width: 100%;
	height: 30px;
	border-top: #192f60 10px solid;
	border-bottom: #192f60 10px solid;
}

#fc2_footer a{
	color: #fff;
}

h1 {							/* 各項目タイトル、カプ分け */
	font-size: 15px;
	color: #192f60;
	padding: 10px 15px;
	margin: 10px 0;
	font-weight: bold;
	border-bottom: 2px #192f60 dotted;
}

h2{
	position: absolute;
	top: 0;
	right: 0;
	color: #192f6050;
	font-size: 40px;
}

img{
  	pointer-events: none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}

#jump{
	background-image: url("/images/header_s.jpg");
	height: 100px;
	width: 100%;
	position: absolute;
	top: 0;
	background-size: 100% auto;
}

#jump::after{
	content: '';
	display: block;
	width: 100px;
	height: 60px;
	background-image: url("/images/logo1.png");
	background-size: cover;
	opacity: 0.7;
	margin: 20px;
}

.main{
	background: #ffffff;
	padding: 40px 20px 20px 20px;
	font-size: 10px;
	min-height: calc(100vh - 180px);
}

.pc{
	display: none;
}

.text {
	padding: 10px;
}










/* navigation */

.drawer_hidden {				/* チェックボックスを非表示にする */
	display: none;
}

.drawer_open {					/* ハンバーガーアイコンの設置スペース */
	display: flex;
	height: 60px;
	width: 60px;
	background: #192f60b6;	   /* 紺 */
	justify-content: center;
	align-items: center;
	position: sticky;
	margin: 10px 10px 10px auto;
	top: 20px;
	right: 10px;
	z-index: 70;				/* 重なり順を一番上にする */
	cursor: pointer;
}

.drawer_open::after{
	content: 'MENU';
	color: #fff;
}

#drawer_input:checked~.drawer_open::after{
	display: none;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {		/* ハンバーガーメニューのアイコン */
	content: '';
	display: block;
	height: 1.5px;
	width: 30px;
	transition: 0.5s;
	position: absolute;
	margin: 6px auto;
}

.drawer_open span:before {		/* 三本線の一番上の棒の位置調整 */
	bottom: 6px;
	border-radius: 1px;
	background: #ffffff;
}

.drawer_open span:after {		/* 三本線の一番下の棒の位置調整 */
	top: 6px;
	border-radius: 1px;
	background: #ffffff;
}

#drawer_input:checked~.drawer_open span {	/* アイコンがクリックされたら真ん中の線を透明にする */
	background: rgba(255, 255, 255, 0);
}

#drawer_input:checked~.drawer_open span::before {	/* アイコンがクリックされたらアイコンが×印になるように上下の線を回転 */
	bottom: -6px;
	transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
	top: -6px;
	transform: rotate(-45deg);
}

#drawer_input:checked~.nav_content {	/* アイコンがクリックされたらメニューを表示 */
    visibility: visible;		/* メニューを画面に入れる */
    opacity: 1;
    transition: opacity 1s;		/* メニューを画面に入れる */
}

.nav_content {					/* メニューのデザイン*/
	width: 80%;
	position: fixed;
	top: 0;
	left: 0;
    visibility: hidden;			/* メニューを画面の外に飛ばす */
    opacity: 0;					/* メニューを画面の外に飛ばす */
	background: #192f60;
	height: 100%;
	transition: .5s;
	text-align: center;
	padding: 20px 10%;
	z-index: 50;
}

.nav_content img{
	width: 75px;
}

.nav_list {
	list-style: none;			/* メニュー黒ポチを消す */
	width: 100%;
	margin: 30px auto;
	padding: 70px 0;
}

.nav_text a{
	font-size: 18px;
}

.nav_item{
	display: block;
	width: 150px;
	padding: 8px;
	margin: auto;
	border-bottom: solid 1px #ffffff;
}

.dot_under{
	display: block;
	font-size: 15px;
	margin: 5px;
}

.icon{
	padding: 20px;
}

.table {
	color: #ffffff;
}

.table a {
	position: relative; 		/*アンダーラインの位置を決めるための基準 */
	color: #ffffff;
}

.table a:hover:after {
	position: absolute;			/*親要素であるaタグを基準に位置を指定*/
	left: 0;            		/*アンダーラインを各メニュー（aタグ）の左端に指定*/
	bottom: 1px;
	content: '';        		/*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーラインなので何も記載しない*/
	color: #ffffff;
	width: 100%;        		/*アンダーラインを各aタグの幅に合わせる*/
	height: 0.5px;        		/*アンダーラインの高さ（太さ）*/
	background: #ffffff;	   /*アンダーラインの色*/
}










/* index */

.door::before{
	font-family: "Font Awesome 5 Free";
	content: '\f52a';
	font-weight: 900;
	font-size: 30px;
	color: #192f60;
}

.door:hover::before{
	content: '\f52b';
}

#entrance{
	width: 80%;
	margin: auto;
	padding: 30px 20px 50px 20px;
	color: #192f60;
	font-size: 13px;
}

#entrance img {
	width: 35%;
	margin-bottom: 30px;
	border-bottom: 2px #192f60 dotted;
}

#index{
	height: calc(100vh - 40px);
	padding: 80px 0;
	text-align: center;
}










/* home */

.date {
	font-size: 8px;
}



.infomation{
	background: #bebed833;
	margin-bottom: 30px;
	padding: 20px 0 20px 25px;
	border-radius: 5px;
}

.list {
	overflow-y: scroll;
	height: 200px;
	padding: 5px 0;
}

.news{
	display: flex;
	justify-content: space-between;
	border-bottom: 1px #a1a6b3 solid;
	padding: 5px 0 3px 0;
}

.youso{
	padding: 0 10px;
}










/* works */

/* .accordion{
	display: block;
	position: static;
    opacity: 1;
	padding: 10px;
}

.accordion_title{
	display: flex;
	font-size: 15px;
	font-weight: bold;
	color: #192f60;
	border-bottom: 2px #192f60 dotted;
	cursor: pointer;
	padding: 10px 15px;
	margin: 10px 0;
}

.accordion_title:after {
	font-family: "Font Awesome 5 Free";
	content: "\f054";
	font-weight: 900;
	position: absolute;
	right: 10px;
	height: 100%;
	padding: 5px;
}

.accordion_title:hover::after{
	color: #a1a6b3;
} */
 
.hidden {
	display: none;
}

.hidden:checked ~ .popup {
	display: block;
}

.w_caption {
	margin: 0px 0px 5px 30px;
	color: #5f6a92;
}

.works {
	padding: 10px 0;
	position: relative;
	margin: 10px;
}

.works a{
	color: #192f60;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.works .sidemenu_title{
	width: 1em;
	height: 100%;
	font-weight: bold;
	color: #192f60;
	border-right: 2px #192f6050 dotted;
	margin: 5px 0;
	padding: 8px;
}

.works .sidemenu_content{
	width: 100%;
	vertical-align: middle;
	padding: 10px 0;
}

.yokonarabi{
	display: flex;
	justify-content: space-between;
}

.comedy::after{
	content: '# コメディ';
	background: #e903;
	color: #e90;
}

.humandrama::after{
	content: '# ヒューマンドラマ';
	background: #1a13;
	color: #1a1;
}

.icha::after{
	content: '# いちゃいちゃ';
	background: #a073;
	color: #a07;
}

.serious::after{
	content: '# シリアス';
}












/* 作品ページ */

.back{
	padding: 10px;
}

.content{
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.date_140{
	color:#192f6080;
	width: fit-content;
	margin: 0 0 0 auto;
}

h5{								/* 作品タイトル */
	font-size: 20px;
	padding: 10px 25px;
	border-bottom: 2px #192f60 dotted;
}

pre{
	margin: 20px 0;
	padding: 0 15px;
	white-space: pre-wrap;
}

.sidemenu_iframe{
	display: none;
}










/* links */

.links{
	padding: 10px;
}

.links a{
	display: inline-block;
	margin: 2px 0;
}










/* gallery */

input[name='tag'] {
	position: relative;
	display: none;
}

input[name='tag']:checked + label {
	color: #fff;
	background-color: #192f60;
}

.gallery{
	display: flex;
	flex-wrap: wrap;
	background: #a1a6b3;
	padding: 5px 5px 10px 5px;
	margin: 20px 10px;
}

.gallery img{
	border-radius: 10px;
	height: 100%;
}

.refineteims{
	position: relative;
	cursor: pointer;
	height: 100px;
	margin: 3px;
	float: left;
}

#refine1:checked ~ .refineteims:not(.solo),
#refine2:checked ~ .refineteims:not(.rough),
#refine-3:checked ~ .refine-teims:not(.js),
#refine-4:checked ~ .refine-teims:not(.php) {
	display: none;
}

.tag{
	width: calc(30% - 10px);
	padding: 5px;
	border: 2px #192f60 dotted;
	margin: 10px 5px;
	text-align: center;
	background: #ffffff;
}



body{
  	overflow-y: scroll;
}

body.modal-active{ /* モーダル表示時は、bodyにfixedを指定する */
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
}

/* モーダル*/

.modal{
  /* 配置、装飾 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0,0,0,0.9);
  min-width: 100vw;
  overflow-y: scroll;
  /* 動き */
  opacity: 0; z-index: -1; transition: 0.2s;
}

.modal.modal-active{
	opacity: 1; z-index:1001;
}

.modal-inner{
  display: flex; align-items: center; min-height: 100%;
}

.modal-img{
	width: 100%;
}

.closee{
  position: absolute; top: 0; right: 0; z-index: 10; padding: 25px 20px 20px; cursor: pointer;
}
.close-bar{
  width: 40px; height: 2px; background: #606060;
}

.close-bar:nth-child(1) {
  transform: translateY(13px) rotate(-45deg);
}

.close-bar:nth-child(2) {
  transform: translateY(-13px) rotate(45deg);
  margin: 24px 0 0;
}

/* スワイパー */
.modal-swiper{
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-horizontal-gap: 6px;
  width: 92%;
}

.swiper-pagination-bullet{
	width: var(--swiper-pagination-bullet-size, 8px);
	height: var(--swiper-pagination-bullet-size, 8px);
	display: inline-block;
	margin: 0 4px;
	border-radius: 50%;
	background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, #fff);
}

.modal-slide{
  text-align: center;
}

.modal-nav-next,.modal-nav-prev{
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  margin: auto;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
}

.modal-nav-next::before, .modal-nav-prev::before{
	content: ""; width: 35px; height: 35px; border-style: solid; border-color: #606060;
}

.modal-nav-prev{
  left: 20px;
}

.modal-nav-prev::before{
	border-width: 2px 0 0 2px; transform: rotate(-45deg);
}

.modal-nav-next{
  right: 20px;
}

.modal-nav-next::before{
	border-width: 2px 2px 0 0; transform: rotate(45deg);
}

.modal-pagination{
  	position: relative;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	margin: 10px;
}



/* 画像を並べる（並び方に関係するcssを一部省略）*/

.item{
  cursor: pointer;
  height: 60px;
  float: left;
  border: 2px dotted #192f60;
  border-radius: 20%;
  aspect-ratio: 1 /1;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 3px;
}

.item-img{
  width: 300%;
  height: 300%;
  object-fit: cover;
  position: relative;
  left: -100%;
  top: -100%;
}

.item-img:hover{
	opacity: 0.5;
}










/* nmmn */

.close{
	display: flex;
	background: transparent;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 120;
}

.cross{
	color: #192f60;
	display: flex;
	position: absolute;
	top: 50px;
	right: 55px;
	font-size: 25px;
	cursor: pointer;
	z-index: 130;
}

.cross::before{
	font-family: "Font Awesome 5 Free";
	font: var(--fa-font-solid);
	content: "\f00d";
	font-weight: 900;
}

.cross:hover::before{
	color: #a1a6b3;
}

.illustration{
	background: #00000050;
	margin: 0 auto;
	padding: 40px;
	max-width: 600px;
	position: relative;
	color: #333747;
}

.nm_title{
	position: absolute;
	bottom: 45px;
	left: 50px;
}

.popup{
	display: none;
	width: 100%;
	height: 100%;
	height: fit-content;
	position: fixed;
	z-index: 100;
	top: 80px;
	left: 0;
	overflow-y: hidden;
}

.popup img{
	width: 100%;
}

.popup_img{
	display: flex;
	border: 2px #a1a6b3 dotted;
	cursor: pointer;
	width: 30%;
	aspect-ratio: 1 /1;
	margin: 5px;
	float: left;
}

.popup_img:hover{
	opacity: 0.5;
}

.thumbnail{
	width: 100%;
	object-fit: cover;
}

table{
	width: 100%;
	padding: 0 10px;
	color: #192f60;
}









/* article */

.article{
	border: #a1a6b3 1px solid;
	padding: 10px;
	width: 100%;
	height: fit-content;
	margin-bottom: 10px;
}

#refine1:checked ~ .article:not(.ArakiHirohumi),
#refine2:checked ~ .article:not(.KitazonoRyo),
#refine3:checked ~ .article:not(.SasamoriHiroki),
#refine4:checked ~ .article:not(.SomeyaToshiyuki){
	display: none;
}

h6{
	display: block;
	margin: 0px 0px 5px 0px;
	font-size: 15px;
}

.paper{
	display: flex;
	flex-wrap: wrap;
	padding: 5px 5px 10px 5px;
	margin: 0px 10px 20px 10px;
}

.tag_artc{
	width: calc(25% - 25px);
	padding: 5px;
	border: 2px #192f60 dotted;
	margin: 10px 5px;
	text-align: center;
	background: #ffffff;
}

.viewer{
	color: #a1a6b3;
}












/*

#claps{
	width: 400px;
	margin: 20px 0;
}

.claps{
	color: #727407;
	padding: 2px 10px;
	border: 4px double;
	border-radius: 5px;
	margin: 0 15px;
}

.claps:hover{
	color: #a5a706;
}

.claps::before{
	font-family: "Font Awesome 5 free";
	font: var(--fa-font-solid);
	content: "\e1a8";
}

#fc2_footer{
	color:#192f60;
}

.image{
	margin: 0 5px;
}

.kome{
	display: inline-block;
	vertical-align: middle;
}

.main pre {
}

#side{
	background: #333747;
	color: #ffffff;
	text-align: center;
	font-size: 10px;
	height: 100%;
}

#side_main a{
	color: #ffffff;
}

#side h1{
	font-size: 20px;
	font-weight: 100;
	padding: 30px 0;
}

#side_main {
	padding: 30px 10px;
	background: #333747;
	color: #ffffff;
	text-align: center;
	height: 100%;
}

.ura_main{
	background: #ffffff;
	color: #333747;
	text-align: left;
	padding: 50px;
}
.ura_main a{
	text-decoration: none;
	color: #a1a6b3;
}


/* ①シンプルなカルーセルの個別CSS */

/* ----------------------*
 * コンテナー
 * ----------------------*/
.container {
  --item-width: 600px;
  --item-height: 300px;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
  /* 各パーツ配置をグリッドでレイアウト */
  display: grid;
  grid-template-areas: "item item item" "left markers right";
  grid-template-columns: 1fr 2fr 1fr;
  row-gap: 16px;
}

/* ----------------------*
 * カルーセル
 * ----------------------*/
.carousel {
  width: 100%;
  display: grid;
/* アイテムを横並びにする */
  grid-auto-flow: column;
  grid-area: item;
  /* 次のスライドとの間隔 */
  gap: 120px;
  overflow-x: auto;
  /* X方向にスナップ */
  scroll-snap-type: x mandatory;
  /* 1度に1枚ずつ移動 */
  scroll-snap-stop: always;
  /* スムーズにスクロールさせる */
  scroll-behavior: smooth;
  /* インジケーターの表示 */
  scroll-marker-group: after;
  /* スクロールバー非表示 */
  scrollbar-width: none;


  /* 前へ・次へボタン */
  &::scroll-button(*) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    padding: 0;
    color: #192f60;
    border: 1px solid #192f60;
    transition: background-color 0.2s, color 0.2s;
  }

  /* ホバー時スタイル */
  @media (any-hover: hover) {
    &::scroll-button(*):not(:disabled):hover {
      background-color: #192f60;
      color: #fff;
      cursor: pointer;
    }
  }


  /* 非活性時スタイル */
  &::scroll-button(*):disabled {
    color: darkgray;
    border: 1px solid lightgray;
  }

  /* 前へボタン */
  &::scroll-button(left) {
    /* コンテンツ / 代替テキスト */
    content: "◀" / "前へ";
    grid-area: left;
    justify-self: end;
  }

  /* 次へボタン */
  &::scroll-button(right) {
    /* コンテンツ / 代替テキスト */
    content: "▶" / "次へ";
    grid-area: right;
  }

  /* インジケーター（コンテナー） */
  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    grid-area: markers;
    align-items: center;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
}

/* ----------------------*
 * カルーセルの画像アイテム
 * ----------------------*/
.item1 {
  width: 100%;
  min-width: var(--item-width);
  height: var(--item-height);
  scroll-snap-align: center;

  /* インジケーター */
  &::scroll-marker {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: lightgray;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
  }

  /* インジケーターのカレントスタイル */
  &::scroll-marker:target-current {
    background-color: #192f60;
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (width < 600px) {
  .container {
    --item-width: calc(100vw - 32px);
    /* width: var(--item-width); */
    grid-template-columns: 1fr 3fr 1fr;
  }
}