@charset "utf-8";
/* CSS Document */
/* 共通base setting */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
html::-webkit-scrollbar {
  width: 14px;
  height: 14px;
  border: 1.5px solid #FFF4E5;
  border-radius: 10px;
}
html::-webkit-scrollbar-thumb {
  background-color: #FFF4E5;
  border-radius: 10px;
}
html::-webkit-scrollbar-track {
  border-radius: 10px;
  border: 1.5px solid #FFF4E5;
}
html::-webkit-scrollbar-corner {
  display: none;
}
body {
  width: 100%;
  margin: 0 auto;
  color: #FFF4E5;
  background: #03010E;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  user-select: none;
}
@media screen and (max-width: 768px) {
  body span.body_borderTop, body span.body_borderRight, body span.body_borderLeft {
    visibility: hidden;
  }
}
/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  text-align: center;
  background: #03010e;
  color: #fff4e5;
}
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(22px, 2vw, 40px);
}
#splash-logo div.loader {
  display: inline-block;
}
/* ローディングアニメーション setting */
.loader {
  width: 50px;
  height: 16px;
  --_g: no-repeat radial-gradient(farthest-side, #FFF4e5 94%, #0000);
  background:
    var(--_g) 50% 0, var(--_g) 100% 0;
  background-size: 12px 12px;
  position: relative;
  animation: l23-0 1.5s linear infinite;
}
.loader:before {
  content: "";
  position: absolute;
  height: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFF4e5;
  left: 0;
  top: 0;
  animation:
    l23-1 1.5s linear infinite, l23-2 0.5s cubic-bezier(0, 200, .8, 200) infinite;
}
@keyframes l23-0 {
  0%, 31% {
    background-position: 50% 0, 100% 0
  }
  33% {
    background-position: 50% 100%, 100% 0
  }
  43%, 64% {
    background-position: 50% 0, 100% 0
  }
  66% {
    background-position: 50% 0, 100% 100%
  }
  79% {
    background-position: 50% 0, 100% 0
  }
  100% {
    transform: translateX(calc(-100%/3))
  }
}
@keyframes l23-1 {
  100% {
    left: calc(100% + 7px)
  }
}
@keyframes l23-2 {
  100% {
    top: -0.1px
  }
}
/*========= 画面遷移のためのCSS ===============*/
/*画面遷移アニメーション*/
body {
  background: #03010e; /*遷移アニメーションと同じ色を指定*/
}
body.loading {
  background: #03010e; /*画面を開いた後の背景色を指定*/
}
/*画面遷移アニメーション*/
.splashbg1, .splashbg2 {
  display: none;
}
/*bodyにappearクラスがついたら出現*/
body.loading .splashbg1, body.loading .splashbg2 {
  display: block;
}
/*右に消えるエリア*/
body.loading .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: #03010e; /*伸びる背景色の設定*/
}
@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  90% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/*左に消えるエリア*/
body.loading .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: #03010e; /*伸びる背景色の設定*/
}
@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  90% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /*はじめは透過0に*/
}
/*bodyにappearクラスがついたら出現*/
body.loading #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*header setting*/
header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30%;
  box-sizing: border-box;
  padding: 3em 0;
  margin: 0 auto;
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background-color: #03010e;
}
header nav#g-nav ul#nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  gap: 10vw;
}
header nav#g-nav ul#nav li.g-nav_link a {
  line-height: 1em;
  transition: all .2s ease-in;
}
header nav#g-nav ul#nav li.g-nav_link a:hover {
  color: #A89E98;
}
header nav#g-nav ul#nav li.g-nav_link a:hover header nav ul li.drop-menu::after {
  color: #A89E98;
}
header nav#g-nav ul#nav li.g-nav_link span {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(8px, 0.6vw, 10px);
}
header nav ul li {
  text-align: center;
  font-size: clamp(18px, 1vw, 20px);
}
header .icons {
  display: flex;
  gap: 0 24px;
  transition: all .2s ease-in;
}
header li.icons svg{
	 fill: #FFF4E5;
	transition: .3s ease;
}
header li.icons svg:hover{
	fill: #a89e98;
}
.btn {
  transition: all .3s cubic-bezier(.24, .45, .32, 1);
}
/* drop-menu setting */
@media screen and (min-width: 1300px) {
  nav .drop-menu ul {
    display: block;
  }
  .drop-menu {
    width: fit-content;
    position: relative;
  }
  .drop-menu-list {
    white-space: nowrap;
  }
  /* drop-menuの下向き記号 */
  header nav ul li.drop-menu::after {
    content: "";
    position: absolute;
    top: 0.2em;
    left: 4.5em;
    width: 10px;
    height: 10px;
    border-top: 3px solid;
    border-right: 3px solid;
    transform: rotate(135deg);
  }
  /*ホバー、クリック時にドロップダウン領域を表示*/
  nav ul li.drop-menu:hover .drop-menu-list, nav ul li.drop-menu-item:hover .drop-menu-list, nav ul li.drop-menu:active .drop-menu-list, nav ul li.drop-menu-item:active .drop-menu-list {
    transform: scaleY(1); /*Gナビメニューにホバーしたら表示*/
    opacity: 1;
  }
  header nav ul li ul.drop-menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: fit-content;
    z-index: 100;
    background-color: #03010E;
    border: 2px solid;
    border-radius: 10px;
    transform: scaleY(0); /*デフォルトでは非表示の状態にしておく*/
    transform-origin: center top; /*変形を適応する基準をtopとする*/
    transition: all .4s; /*表示の変化を0.3秒に指定*/
  }
  .drop-menu-item {
    box-sizing: border-box;
    border-bottom: 1px solid;
    padding: 0.5em 1em;
  }
  .drop-menu-item:last-child {
    border-bottom: none;
  }
  .drop-menu-item a {
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 700;
  }
}
/* メディアクエリ、ハンバーガーメニューsetting */
@media screen and (min-width: 1300px) {
  header div.openbtn {
    display: none;
  }
  header .title {
    display: none;
  }
  header nav#g-nav ul#nav div#navBottom li.name {
    display: none;
  }
}
@media screen and (max-width: 1299px) {
  #g-nav {
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(3, 1, 14, 0.8);
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }
  /*ナビゲーション*/
  header nav#g-nav ul#nav {
    display: block;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    border: none;
  }
  header nav#g-nav ul#nav li.g-nav_link {
    margin: 0 auto;
    font-size: clamp(24px, 1.25vw, 28px);
    border-top: 2px solid #FFF4E5;
    padding: 2em 0;
  }
  header nav#g-nav ul#nav li.g-nav_link:nth-child(3) {
    border-bottom: 2px solid #FFF4E5;
  }
  header nav#g-nav ul#nav li.g-nav_link span {
    font-size: clamp(12px, 1vw, 14px);
  }
  header nav#g-nav ul#nav li.drop-menu {
    width: 100%;
  }
  header nav ul li.drop-menu::after {
    display: none;
  }
  header nav#g-nav ul#nav div#navBottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header nav#g-nav ul#nav div#navBottom li.g-nav_link {
    margin: 0;
    border: none;
  }
  header nav#g-nav ul#nav div#navBottom li.name {
    font-size: clamp(44px, 3.2vw, 100px);
    line-height: 0.9em;
    text-align: left;
    color: #FFF4e5;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 99999; /*ボタンを最前面に*/
    top: 2em;
    right: 5%;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 4px;
    border-radius: 2px;
    background-color: #FFF4E5;
    width: 70%;
  }
  .openbtn span:nth-of-type(1) {
    top: 11px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 35px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
  /* アコーディオンパネル */
  /*アコーディオン全体*/
  .accordion-area {
    list-style: none;
    width: 100%;
    margin: 0 auto;
  }
  .accordion-area li {
    margin: 10px 0;
  }
  .accordion-area section {
    border: 1px solid #ccc;
  }
  /*アコーディオンタイトル*/
  .PCtitle {
    display: none;
  }
  .title {
    width: 100%;
    position: relative; /*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
  }
  /*アイコンの＋と×*/
  .title::before, .title::after {
    position: absolute;
    content: '';
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background-color: #FFF4E5;
    transition: all .5s ease;
  }
  .title::before {
    top: 25%;
    left: 10%;
    transform: rotate(0deg);
  }
  .title::after {
    top: 25%;
    left: 10%;
    transform: rotate(90deg);
  }
  /*　closeというクラスがついたら形状変化　*/
  .title.close::before {
    transform: rotate(45deg);
  }
  .title.close::after {
    transform: rotate(-45deg);
  }
  /*アコーディオンで現れるエリア*/
  .drop-menu-list {
    display: none; /*はじめは非表示*/
    color: #FFF4e5;
  }
  .drop-menu-list .drop-menu-item {
    width: 100%;
    font-size: clamp(18px, 1.1vw, 22px);
    font-weight: 800;
    border-top: 2px solid #FFF4E5;
    padding: 0.8em 0;
  }
  .drop-menu-list .drop-menu-item:last-child {
    border-bottom: 2px solid #FFF4E5;
  }
}
section {
  margin: 5% auto;
}
/* page-top-link setting */
#page-top{
	display: flex;
	justify-content:center;
	align-items:center;
	background: #FFF4e5;
	border: 3px solid #fff4e5;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	transition:all 0.3s;
}
#page-top .dli-chevron-up {
  display: inline-block;
  vertical-align: middle;
  color: #03010e;
  line-height: 1;
  width: 15px;
  height: 15px;
	border-radius: 4px;
  border: 5px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
	transition: .3s ease;
}
#page-top:hover, #page-top:hover .dli-chevron-up{
	color: #FFF4e5;
	background: #03010e;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 20px;
	bottom:20px;
	z-index: 80;
    /*はじめは非表示*/
	opacity: 1;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.4s ease-in-out both;
}
@keyframes UpAnime{
  0% {
	transform: translateY(100px) scale(0.2);
  }
	75%{
	transform: translateY(-10px) scale(1);
	}

  100% {
	transform: translateY(0) scale(1);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.35s forwards;
}
@keyframes DownAnime{
  0% {
	transform: translateY(0) scale(1);
  }
	25%{
	transform: translateY(-10px) scale(1);
	}

  100% {
	transform: translateY(100px) scale(0.2);
  }
}
/* footer setting */
footer {
  width: 100%;
  height: fit-content;
  margin: 10% auto;
  text-align: center;
}
footer .icons {
  width: 20%;
  min-width: 200px;
  display: flex;
  justify-content: center;
  gap: 0 3vw;
  margin: 3% auto 35px auto;
  padding: 3vh 2vw;
  box-sizing: border-box;
  border-radius: 100px;
  background-color: #FFF4E5;
  box-shadow: 0 2px 0 #DDD2CB, 0 4px 0 #C2B8B2, 0 6px 0 #BAB0AA, 0 10px 0 #A89E98, 0 15px 0 #A89E98, 0 20px 0 #A89E98;
}
footer span.bigcircle {
  display: block;
  content: "";
  aspect-ratio: 1 / 1;
  width: 2%;
  min-width: 20px;
  border-radius: 50%;
  box-shadow: 0 1px 0 #DDD2CB, 0 3px 0 #C2B8B2, 0 6px 0 #BAB0AA, 0 10px 0 #A89E98;
  background-color: #FFF4E5;
  margin: 0 auto 1% auto;
  position: relative;
  left: 10px
}
footer span.smallcircle {
  display: block;
  content: "";
  aspect-ratio: 1 / 1;
  width: 1%;
  min-width: 10px;
  border-radius: 50%;
  box-shadow: 0 1px 0 #DDD2CB, 0 2px 0 #C2B8B2, 0 3px 0 #BAB0AA, 0 5px 0 #A89E98;
  background-color: #FFF4E5;
  margin: 0 auto;
  position: relative;
  right: 10px;
}
footer .sleepwoman {
  width: 10%;
  min-width: 150px;
  position: relative;
  bottom: 20px;
  right: 20px;
  animation: sleeping 2.5s ease-in-out infinite alternate;
}
footer small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(10px, 0.625vw, 14px);
  margin: 0 auto;
  width: 50%;
  min-width: 330px;
  cursor: default;
}
footer div.icons svg{
	 width: 2.7vw;
  min-width: 40px;
	 fill: #A89E98;
	filter: drop-shadow(0px 2px 0 #A09791);
	transform: translateY(-2px);
	transition: .2s ease;
}
footer div.icons svg:hover{
	transform: translateY(0);
	filter: none;
}
/* ここから#home setting */
#home header nav#g-nav ul#nav li.g-nav_link a#link-home {
  color: #a89e98;
}
/* #FV setting*/
.FV {
  width: 100%;
  height: 100vh;
}
div.FVheading {
  width: 100%;
  min-width: 330px;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  white-space: nowrap;
}
div.FVheading h1 {
  position: relative;
  font-size: clamp(78px, 10vw, 250px);
  line-height: 1em;
}
div.FVheading h1 span {
  margin-right: 0.05em;
  text-shadow: 1px 1px 0 #DDD2CB, 2px 2px 0 #C2B8B2, 3px 3px 0 #A89E98, 4px 4px 0 #A89E98, 5px 5px 0 #A89E98;
  position: relative;
  animation-duration: 5s;
  cursor: default;
}
div.FVheading h1 span.lastText {
  margin-right: 0;
}
div.FVheading h1 span:hover, #home div.FVheading h1 span:active {
  animation: poyoyon .5s cubic-bezier(0.12, 0, 0.39, 0) 1 forwards;
}
@keyframes poyoyon {
  0% {
    bottom: 5px;
    transition: bottom;
  }
  5% {
    bottom: 10px;
    transition: bottom;
  }
  10% {
    bottom: 20px;
    transition: bottom;
  }
  50% {
    bottom: 0;
    transition: bottom;
  }
  65% {
    bottom: 5px;
    transition: bottom;
  }
  100% {
    bottom: 0;
    transition: bottom;
  }
}
#home div.FVheading h1 span.z10 {
  position: relative;
  z-index: 10;
}
#home div.FVheading h1 img {
  max-width: 20%;
  position: absolute;
  z-index: 10;
}
/* #FV img setting */
#home div.FVheading h1 img#sleeping {
  bottom: 100%;
  left: -35%;
  animation: sleeping 2.5s ease-in-out infinite alternate;
}
#home div.FVheading h1 img#sleeping:hover{
	animation: sleeping 1.25s ease-in-out infinite alternate;
}
@keyframes sleeping {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 10px);
  }
  100% {
    transform: translate(0, 0);
  }
}
#home div.FVheading h1 img#fighting {
  bottom: 30%;
  right: 23%;
  filter: drop-shadow(15px 28px 2px rgba(3, 1, 14, 30%));
  animation: fighting 1.5s ease-in-out infinite both;
}
#home div.FVheading h1 img#fighting:hover{
	animation: smile 1.2s ease-in-out infinite both;
}
@keyframes fighting {
  0%, 100% {
    transform: translateX(0%);
    transform-origin: bottom;
  }
  15% {
    transform: translateX(-30px) rotate(-10deg);
  }
  30% {
    transform: translateX(15px) rotate(10deg);
  }
  45% {
    transform: translateX(-15px) rotate(-5deg);
  }
  60% {
    transform: translateX(9px) rotate(2.5deg);
  }
  75% {
    transform: translateX(-6px) rotate(-1.25deg);
  }
}
#home div.FVheading h1 img#sitting {
  right: -30%;
  width: 11%;
  min-width: 50px;
  animation: sitting 1.3s infinite;
  transform-origin: bottom;
}
#home div.FVheading h1 img#sitting:hover{
	animation: smile 1.2s ease-in-out infinite both;
}
@keyframes sitting {
  0% {
    transform: skewX(0deg)
  }
  25% {
    transform: skewX(5deg)
  }
  50% {
    transform: skewX(0deg)
  }
  75% {
    transform: skewX(-5deg)
  }
  100% {
    transform: skewX(0deg)
  }
}
#home div.FVheading h1 img#smile {
  top: 10%;
  left: -30%;
  width: 17%;
  min-width: 50px;
  animation: smile 1.8s infinite;
  transform-origin: bottom;
}
#home div.FVheading h1 img#smile:hover{
	animation: smile .9s infinite;
}
@keyframes smile {
  0% {
    transform: translateY(0px)
  }
  40% {
    transform: translateY(0px)
  }
  50% {
    transform: translateY(-20px) skewX(2deg)
  }
  60% {
    transform: translateY(0px)
  }
  70% {
    transform: translateY(-20px) skewX(-2deg)
  }
  80% {
    transform: translateY(0px)
  }
  100% {
    transform: translateY(0px)
  }
}
#home div.FVheading h1 img#sad {
  max-width: 27%;
  top: 50%;
  left: 10%;
  filter: drop-shadow(10% 1% 2px rgba(3, 1, 14, 30%));
  animation: sad 0.2s linear infinite both;
}
#home div.FVheading h1 img#sad:hover{
	animation: sad 0.1s linear infinite both;
}
@keyframes sad {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(-1px, -1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}
#home div.FVheading h1 img#heart {
  width: 90%;
  min-width: 70px;
  top: 50%;
  right: -30%;
  animation: heart 1.5s ease-in-out infinite alternate;
  transform-origin: bottom;
}
#home div.FVheading h1 img#heart:hover{
	animation: smile 1.1s infinite;
}
@keyframes heart {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: translate(10px, 30px) rotate(10deg);
  }
  100% {
    transform: translate(0) rotate(0);
  }
}
@media screen and (max-width:768px) {
  div.FVheading h1 {
    line-height: 1.5em;
  }
  #home div.FVheading h1 img#sleeping {
    bottom: 100%;
    left: 10%;
  }
  #home div.FVheading h1 img#sitting {
    top: -30%;
    right: 0;
  }
  #home div.FVheading h1 img#smile {
    top: 90%;
    left: -10%;
  }
  #home div.FVheading h1 img#heart {
    top: 50%;
    right: 0;
  }
}
/* #rowscroll setting */
#home #rowscroll {
  margin: 0 auto;
  height: 500vh;
  overflow: visible;
  view-timeline-name: --rowscroll;
  view-timeline-axis: block;
}
#home #rowscroll .rowscroll-sticky {
  margin: 0 auto;
  height: 100vh;
  width: 97vw;
  position: sticky;
  top: 0;
  overflow-x: hidden;
}
#home #rowscroll .rowscroll-item {
  padding-top: 10%;
  padding-bottom: 10%;
  height: 100%;
  width: 300vmax;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  animation: horizontalScroll ease-in-out both;
  animation-timeline: --rowscroll;
  animation-range: contain 0% contain 100%;
}
#home #rowscroll .rowscroll-item .partition {
  width: 450px;
  height: 480px;
  transform: skewY(340deg);
  position: relative;
}
#home #rowscroll .rowscroll-item .partition .side_main {
  width: 100%;
  height: 100%;
  background-color: #DDD2CB;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 100;
  border-top: 5px solid #EFE3DA;
  border-left: 5px solid #C2B8B2;
}
#home #rowscroll .rowscroll-item .partition .side_shadow {
  width: 10%;
  height: 100%;
  background-color: #A89E98;
  transform: skewY(-320deg);
  position: absolute;
  z-index: 10;
  left: -10%;
  bottom: 4%;
  border-top: 5px solid #BAB0AA;
}
#home #rowscroll .rowscroll-item .partition .side_light {
  width: 100%;
  height: 10%;
  background-color: #FFF2E9;
  position: absolute;
  bottom: 97.8%;
  left: -9.89%;
}
#home #rowscroll .rowscroll-item .partition .topside_light {
  width: 10%;
  height: 100%;
  background-color: #FFF2E9;
  transform: skewY(-320deg);
  position: absolute;
  z-index: -10;
  bottom: 4%;
  right: 0;
}
#home #rowscroll .rowscroll-item .partition img {
  box-shadow: 0px 3px 3px 0 #A89E98;
}
#home #rowscroll .rowscroll-item .partition .caption_top {
  display: block;
  position: absolute;
  right: 14%;
  top: 53%;
  box-shadow: 0 1px 1px 0 #A89E98;
}
#home #rowscroll .rowscroll-item .partition .caption_bottom {
  display: block;
  position: absolute;
  right: 10.75%;
  top: 59%;
  box-shadow: 0 1px 1px 0 #A89E98;
}
#home #rowscroll .rowscroll-item .wideArt .caption_top {
  right: 11%;
}
#home #rowscroll .rowscroll-item .wideArt .caption_bottom {
  right: 7.75%;
}
@keyframes horizontalScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-66.5%);
  }
}
/* メディアクエリ */
@media screen and (max-width: 1400px) {
  #home #rowscroll .rowscroll-item {
    width: 500vmax;
  }
}
@media screen and (max-width: 768px) {
  #home #rowscroll .rowscroll-item {
    animation: horizontalScrollSP ease-in-out both;
    animation-timeline: --rowscroll;
    animation-range: contain 0% contain 100%;
  }
  #home #rowscroll .rowscroll-item .partition {
    width: 330px;
    height: 352.11px;
  }
  #home #rowscroll .rowscroll-item .partition img.widthWork {
    width: 200px;
  }
  #home #rowscroll .rowscroll-item .partition img.heightWork {
    height: 210px;
  }
  #home #rowscroll .rowscroll-item .partition .side_light {
    left: -9.5%
  }
  #home #rowscroll .rowscroll-item .partition .caption_top {
    right: 10%;
  }
  #home #rowscroll .rowscroll-item .partition .caption_bottom {
    right: 5.75%;
    top: 60.5%;
  }
}
@keyframes horizontalScrollSP {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* falldown animation */
.falldown {
  animation: falldown 1.2s both;
}
@keyframes falldown {
  0% {
    transform: skewY(340deg) translateY(-100vh);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  24% {
    opacity: 1;
  }
  40% {
    transform: skewY(340deg) translateY(-80px);
    animation-timing-function: ease-in;
  }
  65% {
    transform: skewY(340deg) translateY(-40px);
    animation-timing-function: ease-in;
  }
  82% {
    transform: skewY(340deg) translateY(-20px);
    animation-timing-function: ease-in;
  }
  93% {
    transform: skewY(340deg) translateY(-10px);
    animation-timing-function: ease-in;
  }
  25%, 55%, 75%, 87% {
    transform: skewY(340deg) translateY(0px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: skewY(340deg) translateY(0px);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}
/* appear animation */
.appear {
  animation-name: appearAnime;
  animation-duration: .6s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes appearAnime {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  5% {
    transform: scale(0.1);
  }
  10% {
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
  20%, 100% {
    opacity: 1;
  }
}
.appearTop {
  animation-name: appearAnimeTop;
  animation-duration: .6s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes appearAnimeTop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  5% {
    transform: scale(0.1);
  }
  10% {
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
  20%, 100% {
    opacity: 1;
  }
}
.delay-time02 {
  animation-delay: 1.4s;
}
.delay-time04 {
  animation-delay: 1.6s;
}
/* hover animation */
#home #rowscroll .rowscroll-item .partition .side_main a {
  transition: 0.3s;
  cursor: zoom-in;
}
#home #rowscroll .rowscroll-item .partition .side_main a:hover, #home #rowscroll .rowscroll-item .partition .side_main a:active {
  transform: rotate(10deg);
  box-shadow: 0px 6px 6px 0 #A89E98;
}
/* #home #about setting */
#home #about {
  height: 100vh;
  margin: 10% auto;
}
#home #about .twoculumnFrame {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  padding: 0 10%;
  gap: 5%;
}
#home #about .twoculumnFrame .twoculumnLeft {
  width: 40%;
  min-width: 330px;
  text-align: center;
  cursor: default;
}
#home #about .twoculumnFrame .twoculumnLeft h2 {
  width: 100%;
  font-size: clamp(36px, 3.3vw, 64px);
  font-weight: 800;
  color: #A89E98;
  background-color: #FFF4E5;
  padding: 1em 1.5em;
  margin-bottom: 7vh;
  border-radius: 100px;
  box-shadow: 0 2px 0 #DDD2CB, 0 4px 0 #C2B8B2, 0 6px 0 #BAB0AA, 0 10px 0 #A89E98, 0 15px 0 #A89E98, 0 20px 0 #A89E98;
  text-shadow: -1px -1px 0 #A89E98, 1px 1px 0 #EFE3DA;
  position: relative;
  box-sizing: border-box;
}
.triangleBottom {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #A89E98;
  position: absolute;
  bottom: -40px;
  right: 43%;
}
#home #about .twoculumnFrame .twoculumnLeft img {
  width: 75%;
  min-width: 320px;
}
#home #about .twoculumnFrame .twoculumnRight {
  width: 50%;
  min-width: 330px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(14px, 0.83vw, 18px);
  color: #03010E;
  line-height: 1.25em;
  cursor: default;
}
#home #about .twoculumnFrame .twoculumnRight .about_caption {
  background-color: #EFE7E1;
  width: 100%;
  padding: 5% 8%;
  box-shadow: 0 -4px 0 #F9EFE9, 0 -8px 0 #FFF9F5, 0 2px 0 #DDD2CB, 0 4px 0 #C2B8B2, 0 6px 0 #BAB0AA, 0 8px 0 #A89E98;
  border-radius: 20px;
}
#home #about .twoculumnFrame .twoculumnRight .about_captionTop {
  width: 50%;
  min-width: 250px;
  margin-bottom: 5%;
  padding: 3.5% 8%;
  line-height: 3em;
}
#home #about .twoculumnFrame .twoculumnRight .about_captionTop p {
  font-weight: 600;
}
#home #about .twoculumnFrame .twoculumnRight .about_captionTop p.year {
  line-height: 1.5em;
}
#home #about .twoculumnFrame .twoculumnRight .about_captionTop h4 {
  font-size: clamp(18px, 1.04vw, 22px);
  font-weight: 700;
}
#home #about .twoculumnFrame .twoculumnRight .about_caption .English {
  font-size: clamp(12px, 0.73vw, 16px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25em;
  margin-top: 1em;
}
#home #about .twoculumnFrame .twoculumnRight .about_captionBottom {
  letter-spacing: 0.05em;
}
@media screen and (max-width: 974px) {
  #home #about {
    height: fit-content;
  }
  #home #about .twoculumnFrame .twoculumnRight .about_caption {
    margin: 5% auto;
  }
  #home #about .twoculumnFrame .twoculumnLeft, #home #about .twoculumnFrame .twoculumnRight {
    width: 70%;
    min-width: 330px;
  }
}
/* scroll animation */
.appearTopFirst {
  animation-name: appearAnimeTopFirst;
  animation-duration: .8s;
  animation-fill-mode: both;
  opacity: 0;
}
@keyframes appearAnimeTopFirst {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  5% {
    transform: scale(0.1);
    opacity: 1;
  }
  10% {
    transform: scale(0.3);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.flipRight {
  animation: flipRightAnime 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes flipRightAnime {
  0% {
    transform: rotateY(-360deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0);
    opacity: 1;
  }
}
.flipBottom {
  animation: flipBottomAnime 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.delay-time2 {
  animation-delay: 0.2s;
}
.delay-time4 {
  animation-delay: 0.4s;
}
.delay-time6 {
  animation-delay: 0.6s;
}
.delay-time8 {
  animation-delay: 0.8s;
}
@keyframes flipBottomAnime {
  0% {
    transform: rotateX(80deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0);
    opacity: 1;
  }
}
/* #home #contact setting */
#home #contact {
  width: 100%;
  height: fit-content;
  box-sizing: border-box;
  margin: 20% auto;
}
#home #contact h2 {
  position: relative;
  z-index: 30;
  top: 13vh;
  font-size: clamp(40px, 7vw, 150px);
  text-shadow: 1px 1px 0 #DDD2CB, 2px 2px 0 #C2B8B2, 3px 3px 0 #A89E98, 4px 4px 0 #A89E98, 5px 5px 0 #A89E98;
  text-align: center;
  animation: slideSong linear both;
  animation-timeline: view();
  animation-range: contain 10% contain 65%;
}
@keyframes slideSong {
  0% {
    transform: translate(30%, 35vh) rotate(12deg) scale(0);
    opacity: 0;
  }
  19% {
    opacity: 0;
  }
  20% {
    transform: translate(18%, 29vh) rotate(10deg) scale(0.15);
    opacity: 1;
  }
  30% {
    transform: translate(10%, 23vh) rotate(8deg) scale(0.2);
  }
  50% {
    transform: translate(0, 10vh) rotate(5deg) scale(0.5)
  }
  90% {
    transform: translate(-20%, 0) rotate(0) scale(0.9)
  }
  100% {
    transform: translate(-20%, 0) rotate(0) scale(1);
    opacity: 1;
  }
}
/* メディアクエリ */
@media screen and (max-width: 768px){
	#home #contact h2{
		top: 5vh;
		animation: slideSongSP linear both;
  animation-timeline: view();
  animation-range: contain 10% contain 65%;
	}
}
@keyframes slideSongSP {
  0% {
    transform: translate(40%, 12vh) rotate(12deg) scale(0);
    opacity: 0;
  }
  19% {
    opacity: 0;
  }
  20% {
    transform: translate(25%, 11vh) rotate(10deg) scale(0.15);
    opacity: 1;
  }
  30% {
    transform: translate(20%, 9vh) rotate(8deg) scale(0.2);
  }
  50% {
    transform: translate(0, 5vh) rotate(5deg) scale(0.5)
  }
  90% {
    transform: translate(-20%, 0) rotate(0) scale(0.9)
  }
  100% {
    transform: translate(-20%, 0) rotate(0) scale(1);
    opacity: 1;
  }
}
#home #contact div.frame {
  width: 50%;
  min-width: 330px;
  height: fit-content;
  margin: 0 auto;
  padding-top: 2%;
  text-align: center;
  border: 2vw solid #F5EFE4;
}
#home #contact div.frame img {
  width: 24%;
}
#home #contact div.frame img.heightFace {
  width: 20%;
}
#home #contact div.frame div#surprisedFace {
  width: 20%;
  display: inline-flex;
}
#home #contact div.frame div#surprisedFace img.leftFace {
  width: 40.532%;
  position: relative;
  z-index: 10;
  left: 1px;
  bottom: -8px;
}
#home #contact div.frame div#surprisedFace img.rightFace {
  width: 59.468%;
  position: relative;
  z-index: 50;
  bottom: -8px;
}
/* #home #contact animation */
#home #contact div.frame img#smileFace {
  animation: smileFace 1.2s ease-in-out .2s infinite;
  transform-origin: bottom;
}
#home #contact div.frame img#smileFace:hover{
	animation: smileFace .5s ease-in-out infinite;
}
@keyframes smileFace {
  0% {
    transform: scaleY(1)
  }
  50% {
    transform: scaleY(1.05)
  }
  100% {
    transform: scaleY(1)
  }
}
#home #contact div.frame img#seeFace {
  animation: seeFace 1.1s ease-in-out infinite;
  transform-origin: bottom;
}
#home #contact div.frame img#seeFace:hover {
  animation: seeFace.5s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes seeFace {
  0% {
    transform: scaleY(1)
  }
  50% {
    transform: scaleY(0.95)
  }
  100% {
    transform: scaleY(1)
  }
}
#home #contact div.frame img#sleepFace {
  animation: sleepFace 1.4s ease-in-out .4s infinite;
  transform-origin: bottom;
}
#home #contact div.frame img#sleepFace:hover {
  animation: sleepFace .3s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes sleepFace {
  0% {
    transform: scaleY(1)
  }
  50% {
    transform: scaleY(1.025)
  }
  100% {
    transform: scaleY(1)
  }
}
#home #contact div.frame div#surprisedFace .leftFace, #home #contact div.frame div#surprisedFace .rightFace {
  animation: surprisedFace 1.3s ease-in-out .3s infinite;
  transform-origin: bottom;
}
#home #contact div.frame div#surprisedFace:hover {
  animation: surprisedFace .5s ease-in-out infinite;
	transform-origin: bottom;
}
@keyframes surprisedFace {
  0% {
    transform: scaleY(1)
  }
  50% {
    transform: scaleY(0.9)
  }
  100% {
    transform: scaleY(1)
  }
}
/* #home #thanks */
#home #thanks {
  width: 100%;
  margin: 0 auto 10% auto;
  text-align: center;
}
#home #thanks div#fallman-wrap {
  position: sticky;
  top: 62%;
  z-index: 50;
  animation: reveal-image ease both;
  animation-timeline: view();
  animation-range: contain 0% contain 50%; /* 開始: 要素がビューポートに完全に入った時、終了: ビューポートの真ん中 */
}
@keyframes reveal-image {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#home #thanks div#fallman-wrap img#fallman {
  width: 4%;
  min-width: 40px;
  animation: shake-top 4s ease-in-out infinite;
}
@keyframes shake-top {
  0%, 100% {
    transform: rotate(0deg);
    transform-origin: top;
  }
  10% {
    transform: rotate(2deg);
  }
  20%, 40%, 60% {
    transform: rotate(-4deg);
  }
  30%, 50%, 70% {
    transform: rotate(4deg);
  }
  80% {
    transform: rotate(-2deg);
  }
  90% {
    transform: rotate(2deg);
  }
}
#home #thanks h2 {
  width: fit-content;
  min-width: 330px;
  margin: 0 auto;
  position: relative;
}
#home #thanks h2 span {
  position: relative;
  font-size: clamp(45px, 8vw, 200px);
  line-height: 1.25em;
  margin-right: 0.05em;
  text-shadow: 1px 1px 0 #DDD2CB, 2px 2px 0 #C2B8B2, 3px 3px 0 #A89E98, 4px 4px 0 #A89E98, 5px 5px 0 #A89E98;
  cursor: default;
}
#home #thanks h2 .heading-bottom {
  position: relative;
  z-index: 60;
}
#home #thanks h2 div.heading-top span.mar {
  margin-right: 0.25em;
}
#home #thanks h2 span:hover, footer h2 span:active {
  animation: poyoyon .5s cubic-bezier(0.12, 0, 0.39, 0) 1 forwards;
}
#home #thanks h2 img:first-child {
  width: 20%;
  min-width: 80px;
  position: absolute;
  z-index: 10;
  left: -4%;
  top: 14%;
  filter: drop-shadow(5px 15px 2px rgba(3, 1, 14, 30%));
  animation: pushman 1.5s infinite;
  transform-origin: bottom;
}
@keyframes pushman {
  0% {
    transform: rotate(0deg) translateX(0px)
  }
  20% {
    transform: rotate(10deg) translateX(30px)
  }
  100% {
    transform: rotate(0deg) translateX(0px)
  }
}
#home #thanks h2 img:last-child {
  width: 14%;
  min-width: 40px;
  position: absolute;
  z-index: 80;
  right: 10%;
  top: 38%;
  filter: drop-shadow(30px 30px 2px rgba(3, 1, 14, 30%));
  animation: gutsman 2s ease-in-out infinite alternate-reverse;
  transform-origin: bottom;
}
@keyframes gutsman {
  0% {
    transform: translateY(-10%) rotate(3deg);
  }
  100% {
    transform: translateY(15%) rotate(-5deg);
  }
}
/* ここからwork.html 共通setting */
#work header nav#g-nav ul#nav li.g-nav_link a#link-work, #work li.drop-menu::after {
  color: #A89E98;
}
#charcoal header nav#g-nav ul#nav li.g-nav_link a#link-work, #charcoal li.drop-menu::after {
  color: #A89E98;
}
#pencil header nav#g-nav ul#nav li.g-nav_link a#link-work, #pencil li.drop-menu::after {
  color: #A89E98;
}
:is(#work, #charcoal, #pencil) .FV {
  height: 80vh;
}
@media screen and (max-width: 768px) {
  :is(#work, #charcoal, #pencil) .FV {
    height: 60vh;
  }
}
:is(#work, #charcoal, #pencil) .FV h1 {
  position: relative;
  z-index: 1;
}
:is(#work, #charcoal, #pencil) .FV h1 span {
  font-size: clamp(80px, 8vw, 150px);
}
:is(#work, #charcoal, #pencil) .FV h1 span.lastText {
  position: relative;
  z-index: 100;
}
:is(#work, #charcoal, #pencil) .FV h1 img {
  position: absolute;
  width: 15%;
  min-width: 50px;
}
:is(#work, #charcoal, #pencil) .FV h1 img#warnman {
  z-index: 50;
  left: -10%;
  bottom: 0;
  filter: drop-shadow(25px 60px 2px rgba(3, 1, 14, 30%));
  animation: warnman 3s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes warnman {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }
  90% {
    transform: translate(0, 0) rotate(5deg) scale(1.1)
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }
}
:is(#work, #charcoal, #pencil) .FV h1 img#dead {
  z-index: 150;
  width: 25%;
  min-width: 80px;
  right: 37%;
  top: 49%;
  transform: scaleX(-1);
  filter: drop-shadow(-15px 20px 2px rgba(3, 1, 14, 30%));
  animation: dead 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes dead {
  0% {
    transform: translateY(0) rotate(0deg) scaleX(-1)
  }
  50% {
    transform: translateY(30px) rotate(-5deg) scaleX(-1)
  }
  100% {
    transform: translateY(0) rotate(0deg) scaleX(-1)
  }
}
:is(#work, #charcoal, #pencil) .FV h1 img#sphere {
  width: 14%;
  min-width: 45px;
  z-index: 1;
  right: -10%;
  top: -30%;
  filter: drop-shadow(25px 60px 2px rgba(3, 1, 14, 30%));
  animation: sphere .5s ease-in-out infinite alternate-reverse;
  transform-origin: top;
}
@keyframes sphere {
  0% {
    transform: translateY(0)
  }
  60% {
    transform: translateY(-5px)
  }
  100% {
    transform: translateY(0)
  }
}
@media screen and (max-width: 768px){
	:is(#work, #charcoal, #pencil) .FV h1 img#warnman{
		left: 0;
	}
	:is(#work, #charcoal, #pencil) .FV h1 img#dead{
		
	}
	:is(#work, #charcoal, #pencil) .FV h1 img#sphere{
		right: 0;
	}
}
:is(#work, #charcoal, #pencil) footer {
  margin-top: 15%;
}
@media screen and (max-width: 768px) {
  :is(#work, #charcoal, #pencil) footer {
    margin-top: 25%;
  }
}
:is(#work, #charcoal, #pencil) section {
  width: 100%;
  height: fit-content;
  margin: 0 auto;
  padding: 0 5%;
}
:is(#work, #charcoal, #pencil) ul#category-list {
  display: flex;
  gap: 32px;
}
:is(#work, #charcoal, #pencil) ul#category-list li.category {
  font-size: clamp(16px, 1vw, 20px);
  letter-spacing: 0.05em;
  line-height: 2em;
}
:is(#work, #charcoal, #pencil) ul#category-list li.category a {
  transition: .3s ease;
}
:is(#work, #charcoal, #pencil) ul#category-list li.category a:hover, :is(#work, #charcoal, #pencil) ul#category-list li.category a:active {
  color: #A89E98;
}
:is(#work, #charcoal, #pencil) ul#category-list li.category a span {
  font-size: clamp(12px, 0.7vw, 18px);
  font-weight: 700;
  margin-left: 0.3em;
}
/* category color setting */
#work ul#category-list li.category:first-child {
  color: #A89E98;
}
#charcoal ul#category-list li.category:nth-child(2) {
  color: #A89E98;
}
#pencil ul#category-list li.category:nth-child(3) {
  color: #A89E98;
}
@media screen and (max-width: 768px) {
  :is(#work, #charcoal, #pencil) ul#category-list {
    display: block;
    margin-bottom: 50px;
  }
}
:is(#work, #charcoal, #pencil) div.works-container {
  margin: 5% auto;
  width: 65%;
  height: fit-content;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 3%;
  grid-row-gap: 0.8%;
}
:is(#work, #charcoal, #pencil) div.works-container a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
:is(#work, #charcoal, #pencil) div.works-container a {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
:is(#work, #charcoal, #pencil) div.works-container a img:hover {
  animation: wobble-hor-top 0.8s both;
}
@keyframes wobble-hor-top {
  0%, 100% {
    transform: translateX(0%);
    transform-origin: 50% 50%;
  }
  15% {
    transform: translateX(-10px) rotate(3deg);
  }
  30% {
    transform: translateX(5px) rotate(-3deg);
  }
  45% {
    transform: translateX(-5px) rotate(1.8deg);
  }
  60% {
    transform: translateX(2.5px) rotate(-1.2deg);
  }
  75% {
    transform: translateX(-2px) rotate(0.6deg);
  }
}
/* メディアクエリ */
@media screen and (max-width: 768px) {
  :is(#work, #charcoal, #pencil) div.works-container {
    width: 70%;
    display: block;
  }
  :is(#work, #charcoal, #pencil) div.works-container a img {
    display: block;
    margin-bottom: 5%;
  }
}
/* grid contents 共通setting */ :is(#work, #charcoal, #pencil) div.works-container #everydayOpen1 {
  grid-column: 2/5;
  grid-row: 1/3;
}
:is(#work, #charcoal, #pencil) div.works-container #everydayOpen2 {
  grid-column: 5/7;
  grid-row: 1/2;
}
:is(#work, #charcoal, #pencil) div.works-container #everydayOpen3 {
  grid-column: 5/7;
  grid-row: 2/3;
}
:is(#work, #charcoal, #pencil) div.works-container #melancholyOpen1 {
  grid-column: 3/6;
  grid-row: 3/4;
}
:is(#work, #charcoal, #pencil) div.works-container #melancholyOpen2 {
  grid-column: 1/4;
  grid-row: 4/5;
  margin-left: 18%;
}
:is(#work, #charcoal, #pencil) div.works-container #melancholyOpen3 {
  grid-column: 5/8;
  grid-row: 4/5;
  margin-left: -18%;
}
:is(#work, #charcoal, #pencil) div.works-container #perspectiveOpen1 {
  grid-column: 2/7;
  grid-row: 5/6;
}
:is(#work, #charcoal, #pencil) div.works-container #perspectiveOpen2 {
  grid-column: 1/4;
  grid-row: 6/7;
}
:is(#work, #charcoal, #pencil) div.works-container #perspectiveOpen3 {
  grid-column: 4/8;
  grid-row: 6/7;
}
:is(#work, #charcoal, #pencil) div.works-container #sadismOpen1 {
  grid-column: 1/5;
  grid-row: 7/8;
}
:is(#work, #charcoal, #pencil) div.works-container #sadismOpen2 {
  grid-column: 5/8;
  grid-row: 7/8;
}
:is(#work, #charcoal, #pencil) div.works-container #stillLifeOpen1 {
  grid-column: 1/4;
  grid-row: 8/9;
  margin-left: 18%;
}
:is(#work, #charcoal, #pencil) div.works-container #stillLifeOpen2 {
  grid-column: 5/8;
  grid-row: 8/9;
  margin-left: -18%;
}
/* #charcoal grid contents */
#charcoal div.works-container #perspectiveOpen2 {
  display: none;
}
#charcoal div.works-container #perspectiveOpen3 {
  display: none;
}
#charcoal div.works-container #sadismOpen1 {
  display: none;
}
#charcoal div.works-container #sadismOpen2 {
  display: none;
}
/* #pencil grid contents */
#pencil div.works-container #everydayOpen1 {
  display: none;
}
#pencil div.works-container #everydayOpen2 {
  display: none;
}
#pencil div.works-container #everydayOpen3 {
  display: none;
}
#pencil div.works-container #melancholyOpen1 {
  display: none;
}
#pencil div.works-container #melancholyOpen2 {
  display: none;
}
#pencil div.works-container #melancholyOpen3 {
  display: none;
}
#pencil div.works-container #perspectiveOpen1 {
  display: none;
}
#pencil div.works-container #perspectiveOpen2 {
  grid-column: 3/6;
  grid-row: 6/7;
}
#pencil div.works-container #perspectiveOpen3 {
  display: none;
}
#pencil div.works-container #stillLifeOpen1 {
  display: none;
}
#pencil div.works-container #stillLifeOpen2 {
  display: none;
}
/* モーダル */
.btn-close-modal {
  position: fixed;
  z-index: 1000;
  width: 100%;
  text-align: right;
  cursor: pointer;
  padding-top: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.closebt-container {
  position: relative;
  z-index: 1000;
  width: 100%;
  text-align: center;
  margin-top: 40px;
}
.closebt {
  display: inline-block;
  vertical-align: middle;
  color: #fff4e5;
  line-height: 1;
  width: 2em;
  height: 0.3em;
  background: currentColor;
  border-radius: 15px;
  position: relative;
  transform: rotate(45deg);
}
.closebt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}
.closebt {
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
}
.closebt:hover, .closebt:active {
  transform: rotate(180deg);
  transition-duration: .3s;
}
.modal-content {
  width: 100%;
  height: 100%;
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7%;
}
@media screen and (max-width: 1000px) {
  .modal-content {
    padding: 30% 10%;
  }
}
.modal-content img {
  width: 50%;
  min-width: 320px;
}
.modal-content img.vertical {
  width: 30%;
  min-width: 250px;
}
.modal-content div.work_caption {
  width: 30%;
  min-width: 300px;
  display: flex;
	align-items: center;
  flex-direction: column;
  font-family: "Noto Sans JP", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(14px, 0.84vw, 20px);
}
.modal-content div.work_caption .captionTop {
  font-weight: 500;
  line-height: 2.5em;
  margin-bottom: 8%;
}
.modal-content div.work_caption .captionTop h5 {
  font-size: clamp(16px, 1.04vw, 24px);
}
.modal-content div.work_caption .captionTop h5 span {
  display: block;
  font-size: clamp(12px, 0.7vw, 16px);
}
@media screen and (max-width: 768px) {
  .modal-content {
    padding: 10% auto;
  }
}