@charset "UTF-8";
/* ==========================================
   Template: Simple Slider!（https://do.gt-gt.org/）
   Copyright: 2020 do.
   利用規約を遵守の上お使いください。二次配布・販売を禁じます。
   ========================================== */
/* ==========================================
  リセットCSS
  基本的には触らないでください
  ========================================== */
ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
img,
p {
  margin: 0;
  padding: 0;
}

/* ==========================================
  以下、デザインを決める記述です
  crimson（リンク色）、lightpink（ホバーしたときの色）
  をそれぞれ好きな色に一括置換するとメインカラーが変わります
   ========================================== */
   

   


body {
    display: flex;
    flex-direction: column;
	font-family: YuGothic,'Yu Gothic','TsukuBRdGothic-Regular','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Cambria Math','Avenir',sans-serif;
    min-height: 100vh; /* 画面いっぱいの高さを確保 */
    margin: 0;
}

main {
    flex: 1; /* コンテンツが少なくても、mainが伸びてフッターを下に押し下げる */
}

body#text p {
  line-height: 2em;
}

dl {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

dl dd,
dl dt {
  display: block;
}

.row {
  background: white;
  /* コンテンツの背景色 */
}

a {
  text-decoration: none;
  color: crimson;
  -webkit-transition: .2s;
  transition: .2s;
  /* リンクの色 */
}

a:hover {
  color: lightpink;
  /* リンクをホバーすると色が明るくなります */
}

a.link {
  padding-left: 1.25em;
  position: relative;
}

a.link::before {
  content:"\f35d";
  font-family: "Font Awesome 5 Free";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
}

a img:hover {
  -webkit-filter: brightness(120%);
          filter: brightness(120%);
  -webkit-transition: .2s;
  transition: .2s;
}


p, ul, dl {
  font-size: 16px;
  padding-left: 20px;
  padding-right: 30px;
  margin: 0 0 40px 0;
}

@media screen and (max-width: 767px) {
  p, ul, dl {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 0 30px 0;
  }
}

h1, h2, h3, h4 {
  font-family: "Kulim Park", "M PLUS 1p", sans-serif;
}

h4 {
  padding-left: 10px;
  margin: 20px 0 10px;
  font-size: 120%;
}

p#menubtn {
  color: #333333;
  margin: 0;
  cursor: pointer;
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 25px;
  position: absolute;
  color: #333333;
  top: 5px;
  right: 10px;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
  z-index: 99999;
  display: none;
}

#right {

			text-align: right;
		}


@media screen and (max-width: 767px) {
  p#menubtn {
    display: block;
  }
}

.margin-top {
  margin-top: 30px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.center {
  text-align: center;
}

img {
  max-width: 100%;
}

img + img {
  margin-left: 5px;
}

textarea.textbox{
	width: 100%;
}


h2 {
  font-size: 190%;
  font-weight: 500;
  margin: 20px 5px;
  color: crimson;
  width: 100%;
}

h2:first-letter {
  font-size: 130%;
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 150%;
  }
}

a.btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 30px;
  background: gray;
  color: #ffffff;
  margin: 20px auto;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn:hover {
  background: #b3b3b3;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.white {
  background: #ffffff;
  color: #333333;
}

a.btn.white:hover {
  color: #666666;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.black {
  background: #333333;
}

a.btn.black:hover {
  background: #595959;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.crimson {
  background: #fa3c72;
}

a.btn.crimson:hover {
  background: #fc87a8;
  -webkit-transition: .2s;
  transition: .2s;
  color: #ffffff;
}

a.btn.blue {
  background: #4169e1;
}

a.btn.blue:hover {
  background: #839deb;
  -webkit-transition: .2s;
  transition: .2s;
  color: #ffffff;
}

hr {
  height: 2px;
  background-color: crimson;
  width: 100px;
  border: none;
  margin: 30px auto;
}

.row > h2 {
  padding-left: 15px;
  padding-right: 15px;
}

h3 {
  font-weight: normal;
  font-size: 130%;
  display: block;
  margin: 30px 0 15px 0;
  border-left: 4px solid;
  padding: 0 0 0 15px;
}


input[type=submit] {
  border: 1px solid #e2e2e2;
  padding: 2px 8px;
  font-size: 12px;
}

input[type=submit]:focus {
  outline: none;
}

header {
  position: -webkit-sticky;
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 70px;
  background: #ffffffad;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

header .container {
  height: 70px;
}

header .row {
  background: transparent;
}

header .header__wrapper {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  height: 70px;
  position: relative;
}

header h1 {
  color: crimson;
  padding: 0;
  font-size: 180%;
  line-height: 70px;
}

header ul#navmenu {
  display: -webkit-box;
  display: flex;
  margin: 0;
}

header ul#navmenu li {
  height: 70px;
  padding-left: 20px;
  padding-right: 20px;
}

header ul#navmenu li a {
  display: block;
  position: relative;
  height: 100%;
  line-height: 70px;
  color: #333333;
}

header ul#navmenu li a:after {
  position: absolute;
  bottom: 1px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: crimson;
  -webkit-transform: scale(0, 1);
          transform: scale(0, 1);
  -webkit-transform-origin: center top;
          transform-origin: center top;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
}

header ul#navmenu li a:hover {
  color: inherit;
}

header ul#navmenu li a:hover:after {
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}

@media screen and (max-width: 767px) {
  header {
    height: auto;
    min-height: 60px;
  }
  header h1 {
    font-size: 150%;
    line-height: 50px;
  }
  header .container, header .header__wrapper {
    height: auto;
    min-height: 60px;
  }
  header .header__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
  header ul#navmenu {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    padding: 0;
    width: calc(100% + 30px);
    margin: 0 -15px;
  }
  header ul#navmenu.checked {
    display: -webkit-box;
    display: flex;
  }
  header ul#navmenu li {
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }
  header ul#navmenu li a {
    line-height: 50px;
  }
}

dl.update {
  font-size: 14px;
}

dl.update dt {
  width: 100px;
  margin-bottom: 10px;
  color: crimson;
}

dl.update dd {
  width: calc(100% - 120px);
  margin: 0;
  margin-bottom: 10px;
}

dl.inner {
    height: 200px;
    overflow-y: scroll;
}

dl::-webkit-scrollbar {
  width: 5px;
  height: 10px;
}
 
dl::-webkit-scrollbar-thumb {
  background: crimson;
  border-radius: 10px;
}

ul.link01 {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: start;
          justify-content: flex-start;
  margin: 10px 0;
}

ul.link01 li {
  margin-right: 8px;
}

ul.link02 {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

ul.link02 li {
  display: -webkit-box;
  display: flex;
}

ul.link02 li a {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

ul.link02 li:not(:first-of-type):before {
  content: '/';
  margin: 0 5px;
}

footer {
  background: #cdcdcd;
  overflow: hidden;
  margin-top: auto; /* 常に一番下へ */
}

footer .footer {
  padding: 30px 0;
}

footer .footer > p {
  text-align: center;
  font-size: 14px;
  margin-bottom: 10px;
}

footer .footer .title {
  font-size: 130%;
}

footer .bottom {
  background: #333333;
  color: #ddd;
}

footer .bottom .template {
  text-align: right;
  width: 100%;
  font-size: 12px;
  padding: 5px 10px;
  margin: 0;
}

footer a.home {
  text-decoration: none;
  color: #54c6ff;
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}


h2.h2-a {
  padding: 5px 20px;
  background: linear-gradient(90deg, black,80%, crimson);
  color: #ffffff;
}

h2.h2-b {
  padding: 10px 20px;
  background: transparent;
  text-align: center;
  color: #333333;
}

h2.h2-b:before {
  content: '';
  height: 2px;
  width: 10%;
  display: inline-block;
  background: #333333;
  vertical-align: middle;
  margin-right: 30px;
}

h2.h2-b:after {
  content: '';
  height: 2px;
  width: 10%;
  display: inline-block;
  background: #333333;
  vertical-align: middle;
  margin-left: 30px;
}

h2.h2-c {
  font-size: 150%;
  border-bottom: 1px dotted #cccccc;
  padding: 0 10px 10px;
}

h3.h3-a {
  padding: 10px 20px;
  background: transparent;
  color: #000000;
  border-left: none;
  border-bottom: 3px dotted #000000;
}

h3.h3-b {
  border-left: none;
}

h3.h3-b:before {
  content: '-';
  font-size: 105%;
  margin-right: 1em;
}

h3.h3-b:after {
  content: '-';
  font-size: 105%;
  margin-left: 1em;
}

ul.li-a {
  list-style: square inside;
  margin: 1em 0.5em;
}

ul.li-a li {
  margin-bottom: 0.5em;
}

ul.li-b {
  list-style: disc inside;
  margin: 1em 0.5em;
}

ul.li-b li {
  margin-bottom: 0.5em;
}

ol.li-a {
  list-style: decimal inside;
  margin: 1em 0.5em;
}

ol.li-a li {
  margin-bottom: 0.5em;
}

ol.li-b {
  list-style: lower-alpha inside;
  margin: 1em 0.5em;
}

ol.li-b li {
  margin-bottom: 0.5em;
}

.page {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  width: 90%;
  margin: 30px auto;
}

.page a {
  display: block;
  padding: 3px 10px;
}

span.crimson {
  color: #fa3c72;
}

blockquote {
  background: #ededed;
  padding: 10px 30px;
  margin: 20px;
  font-size: 15px;
  font-style: italic;
}

@media screen and (max-width: 767px) {
  .only-pc {
    display: none;
  }
}

html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 45px;
    width: 45px;
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #fff;
	
    border-radius: 30% 10% 30% 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
	box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}

.pagetop__arrow {
    height: 8px;
    width: 8px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #fff;
		background-color: crimson;
    }
}



#back1,#back2,#back3,#next1,#next2,#next3{
	display: none;
}
.b_left span, .b_right span {
	position: absolute;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 30px;
	font-weight: bold;
	opacity:0;
	top: 35%;
	color:#EEE;
}
.b_left span {
	left: 5%;;	
}
.b_right span {
	left: 90%;
}

.pic:hover > label div span {
	opacity:1;
	color:crimson;
}
.pic label div span:hover {
	color:#f00;
	cursor:pointer;
}




/* イラストページ用のCSS*/
/* 全体設定 */


.gallery-container {
    width: 95%;
    max-width: 900px;
    padding: 10px 0;
	margin: 0 auto; /* これを追加：左右中央寄せ */
}

.gallery-container {
    padding-bottom: 50px; /* 下に余白を作る */
}

/* スライダー全体の高さを確保 */
.main-swiper {
    width: 100%;
	height: auto;      /* 高さを固定せず中身に合わせる */
    aspect-ratio: 4 / 3; /* アスペクト比を固定すると見切れにくくなります（任意） */
    max-height: 60vh;  /* 画面の6割までに抑える */
}

/* メインスライダー */
.main-swiper.swiper {
    width: 100%;
    height: 60vh;
    border-radius: 12px;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像を切らずに表示 */
	background: #f9f9f9; /* 余白を薄いグレーにして見やすくする */
}

/* Swiper全体の変数を上書き */
.main-swiper {
    --swiper-navigation-color: crimson; /* 通常時の色 */
    --swiper-theme-color: crimson;      /* アクティブ要素の色 */
}

/* ホバー時はこれまで通り個別に指定 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: lightpink !important; /* 強制的に上書き */
}
}

/* テキスト情報エリア */
.info-area {
    text-align: center;
    margin: 2px 0;
}

#art-info {
	font-size: 1rem;
    color: #aaa; /* 制作時期に使われていた色 */
    margin-top: 10px;
    text-align: center;
}

/* サムネイルスライダー */
.thumb-swiper.swiper {
    width: 100%;
    padding: 0px 0;
}

/* サムネイルの高さ */
.thumb-swiper {
    height: 120px;
    margin-top: 0px;
}

/* ★ サムネイルを等速で流し続けるための必須設定 */
.thumb-swiper .swiper-wrapper {
  /* linearを指定することで、カクつきや停止を防ぎます */
  transition-timing-function: linear !important;
  margin: 0 auto;
}

.thumb-swiper .swiper-slide {
    width: 100px; /* PC時のサムネイル幅 */
    height: 100px;
    cursor: pointer;
	position: relative; /* タグの基準位置にする */
    overflow: hidden;
    border-radius: 6px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.new-tag {
    position: absolute;
    top: 5px;          /* 上からの位置 */
    left: -25px;       /* 左からの位置（マイナス値で外側へ） */
    width: 80px;       /* タグの長さ */
    background-color: #000; /* 黒背景 */
    color: #fff;       /* 白文字 */
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    line-height: 18px;
    transform: rotate(-45deg); /* 左に45度回転 */
    z-index: 5;        /* 画像より上に表示 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); /* 軽く影をつけると立体的になります */
    letter-spacing: 1px;
}

.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* アクティブなサムネイルを強調 */
.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid crimson; /* サイトのメインカラーに合わせる */
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .main-swiper {
        height: 40vh;
    }
    #art-title { font-size: 1.4rem; }
    .thumb-swiper .swiper-slide {
        width: 60px; /* スマホ時のサムネイル幅 */
        height: 60px;
    }
}



/* ドット全体の配置調整 */
.swiper-pagination {
    position: relative !important; /* スライダーの外に置く場合 */
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

/* 通常のドット（グレー） */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc !important; /* グレー */
    opacity: 1 !important;
    margin: 0 5px !important;
}

/* 選択中のドット（crimson） */
.swiper-pagination-bullet-active {
    background: crimson !important;
    width: 12px; /* 少し大きくすると見やすいです */
    height: 12px;
}




/* イラスト用のCSSコードおわり*/


.profile{
  display:flex;/* flexbox */
  justify-content:center; /* 水平方向 */
  align-items: center; /* 垂直方向 */
}






</style>