@charset "UTF-8";

/* =========================================================
  0) OPTION / DEBUG
========================================================= */
/** キャラを消す場合**/
.character{
  display: none !important;
}

/* =========================================================
  1) Base / Variables / Reset
========================================================= */
:root{
  --bg: #fdf6ee;
  --text: #111;
  --muted: rgba(0,0,0,.45);
  --inner-max: 1280px;
  --hamburger-size: 48px;
  --hamburger-offset: 2.5rem;
  --fab-gap: 12px; /* お問い合わせ + ハンバーガーの間隔 */
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
}

html{
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 100%; /* 16px */
  letter-spacing: .02em;
  line-height: 1.7;
}

body{
  position: relative;
  background: var(--bg);
  color: var(--text);
}

a{
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease, transform .3s ease;
}

a:hover{ opacity: .5; }

.pc-only{ display: block; }
.sp-only{ display: none; }

ul, ol{
  margin: 0;
  padding-left: 1.25rem;
}

.page-main img{
  display: block;
  border-radius: 1rem;
  overflow: hidden;
}

/* =========================================================
  2) Loader (Minimal Spinner)
========================================================= */
#loader{
  position: fixed;
  inset: 0;
  background:#fdf6ee;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.spinner{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: rgba(0,0,0,.6);
  animation: spin .9s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

#loader{
  transition: opacity .6s ease;
}

#loader.is-hidden{
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
  3) Layout / Spacing (Common)
========================================================= */
.inner{
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 3rem 1rem;
}

.inner-full{ width: 100%; }

.front-main .inner{
  padding: 5rem 1rem;
}

.page-header .inner{
    margin: 0 auto;
  padding: 10rem 1rem 6rem;
}

.desc{ margin: 2rem 0; }

.page-main h2 {
  margin-bottom: 2.5rem;
}

.page-main h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.page-main p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.page-main ul {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

/* =========================================================
  4) Table
========================================================= */
table{ width: 100%; }

table tr{
  border-bottom: 1px dashed #000;
}

table tr:first-child{
  border-top: 1px dashed #000;
}

/*
table tr:nth-child(odd){
  background-color: rgba(255,255,255,0.8);
}*/

table th,
table td{
  padding: 3rem;
}

table th{

}
table td{

}

table tr:first-child{}
table tr{ }

.page-main table td ul{
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================================
  5) Title / Heading
========================================================= */
/* google推奨 トップページh1 非表示 */
.visually-hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h1,h2,h3,h4,h5,h6{
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1{ font-size: 2.4rem; }
h2{ font-size: 2rem; }
h3{ font-size: 1.5rem; }
h4{ font-size: 1.35rem; }
h5{ font-size: 1.2rem; }
h6{ font-size: 1.05rem; }

.heading{
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.heading__en{
  z-index: 0;
  font-size: 7rem;
  font-family: "DM Serif Display", system-ui, serif;
  font-weight: 500;
  line-height: 1;
  opacity: .05;
  color: #000;
}
.heading .heading__en{
  position: absolute;
  top: -5rem;
  left: -2rem;
}

.heading .heading__main{
  position: relative;
  z-index: 1;
}

.en{
  font-size: 3rem;
  font-family: "DM Serif Display", system-ui, serif;
  font-weight: 500;
  line-height: 1;
}



.page-header .heading{
  text-align: center;
}
.page-header  .heading .heading__en{
  position: absolute;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
}

.pic-page-header .inner{
  display: flex;
  justify-content: flex-end;
  position: relative;
  padding-block: 2rem;
}

.pic-page-header .inner::after{
  position: absolute;
  bottom: 20%;
  left: 0;
  content: "";
  border-bottom: 1px dashed #000;
  width: 100%;
  z-index: -1;
}



.pic-page-header .inner .heading{
  text-align: left;
  position: absolute;
  top:50%;
  left: 0;
  transform: translateY(-50%);
  width: auto;
  white-space: nowrap;
}

.pic-page-header .inner .heading .heading__en{
  left: 0;
  transform: initial;
}

.page-header__media{
  width: 60%;
  -webkit-mask: url("../img/mv-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/mv-mask.svg") center / 100% 100% no-repeat;
}

.page-header__media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}





.rainbow-text{
  background: linear-gradient(90deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #8b00ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rainbow-anim{
  background: linear-gradient(90deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #8b00ff,
    #ff0000
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbowMove 3s linear infinite;
}

@keyframes rainbowMove{
  to{ background-position: 100% 0; }
}

/* =========================================================
  6) Button (more-btn)
========================================================= */
.more-btn{
  display: inline-flex;
  align-items: center;
}

.more-btn a{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}

.more-btn__icon{
  width: 40px;
  aspect-ratio: 1 / 1;
  border: 1px solid #000;
  border-radius: 50%;
  position: relative;
  transition: background .3s ease, transform .3s ease, color .3s ease;
}

.more-btn__icon::before,
.more-btn__icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
}

.more-btn__icon::before{ transform: translate(-30%, -50%) rotate(45deg); }
.more-btn__icon::after { transform: translate(-30%, -50%) rotate(-45deg); }

.more-btn a:hover{ opacity: 1; }

.more-btn a:hover .more-btn__icon{
  background: #000;
  color: #fff;
}

.more-btn.is-down .more-btn__icon{ transform: rotate(90deg); }
.more-btn.is-up   .more-btn__icon{ transform: rotate(-90deg); }
.more-btn.is-left .more-btn__icon{ transform: rotate(180deg); }

/* =========================================================
  7) Header / Global Nav (PC)
========================================================= */
.site-header{
  position: relative;
  overflow: hidden;
}

/*.site-header::before{
  content: "";
  position: absolute;
  z-index: -1;
  left: -600px;
  bottom: 0;
  background: url("../img/path-logo-yellow.svg") no-repeat center bottom / contain;
  width: min(1280px, 90vw);
  height: auto;
  aspect-ratio: 4 / 3;
}*/

/*.site-header::after{
  content: "";
  position: absolute;
  z-index: -1;
  right: -300px;
  top: -280px;
  background: url("../img/path-white.svg") no-repeat center bottom / contain;
  width: min(540px, 90vw);
  height: auto;
  aspect-ratio: 4 / 3;
}*/

.site-header__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 11rem 1rem 1rem;
}

.site-header .logo{
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  padding:1rem;
}
.site-header .logo a{
  text-decoration: none;
  color: inherit;
}

/* Global Menu */
#menu-global-nav__list{
  list-style: none;
  display: flex;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

#menu-global-nav__list li{ margin: 0 1rem; }

#menu-global-nav__list a{
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.sns__list{}
.sns__list ul{
  list-style: none;
  display: flex;
  padding-left: 0;
}
.sns__list ul li{
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 9999px;
  margin-right: .5rem;
  margin-bottom: 0;
  padding: .2rem;
}
.sns__list ul li img{
  width: 100%;
  height: auto;
  vertical-align: baseline;
}

.sns__list ul li a{
  display: block;
}

/* =========================================================
  8) FAB actions（お問い合わせ + ハンバーガーまとめて固定）
========================================================= */
.fab-actions{
  position: fixed;
  top: var(--hamburger-offset);
  right: var(--hamburger-offset);
  z-index: 1100;
  display: flex;
  gap: var(--fab-gap);
  align-items: center;
}

/* Contact button（ハンバーガーと同形状） */
.fab-btn{
  width: var(--hamburger-size);
  height: var(--hamburger-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.fab-btn--contact{
  background: #38bdf8;
  /*background: #00aa00;*/
  background: #000;
}

.fab-btn__icon{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.fab-btn__icon svg{ display: block; }

.fab-actions a:hover{ opacity: 1; }

.icon-mail{
  width: 40px;
  height: 40px;
  display: block;
}

/* =========================================================
  9) Hamburger (SVG morph)
========================================================= */
.hamburger-morph{
  position: relative; /* fixedはラッパーで */
  width: var(--hamburger-size);
  height: var(--hamburger-size);
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-morph::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #000;
  z-index: -1;
  transform: scale(1);
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger-morph__icon{
  width: 100%;
  height: 100%;
}

.hamburger-morph__line{
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  transition:
    stroke .3s ease,
    stroke-dasharray 500ms cubic-bezier(0.4,0,0.2,1),
    stroke-dashoffset 500ms cubic-bezier(0.4,0,0.2,1);
}

.hamburger-morph__line:nth-child(1),
.hamburger-morph__line:nth-child(3){
  stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2){
  stroke-dasharray: 60 60;
}

.hamburger-morph.active .hamburger-morph__line{ stroke: #fff; }

.hamburger-morph.active .hamburger-morph__line:nth-child(1),
.hamburger-morph.active .hamburger-morph__line:nth-child(3){
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2){
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

/* =========================================================
  10) Nav (circle expand)
========================================================= */
.nav-morph{
  position: fixed;
  inset: 0;
  background: var(--bg);
  /*background: repeating-linear-gradient(
    90deg,
    #ff0000 0 14.2857%,
    #ff7f00 14.2857% 28.5714%,
    #ffff00 28.5714% 42.8571%,
    #00ff00 42.8571% 57.1428%,
    #00ffff 57.1428% 71.4285%,
    #0000ff 71.4285% 85.7142%,
    #8b00ff 85.7142% 100%
  );*/
  padding: .3rem;
  z-index: 900;
  --cx: calc(100% - var(--hamburger-offset) - (var(--hamburger-size) / 2));
  --cy: calc(var(--hamburger-offset) + (var(--hamburger-size) / 2));
  clip-path: circle(0px at var(--cx) var(--cy));
  transition: clip-path .7s cubic-bezier(0.4,0,0.2,1);
}

.nav-morph a{
  color: #000;
}

.nav-morph.active{
  clip-path: circle(150vmax at var(--cx) var(--cy));
}

/* menu content */
.nav-morph__wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.nav-morph__space{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nav-morph__logo{
  margin-right: 6rem;
}

.nav-morph__logo .logo-wrapper{
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.nav-morph__logo ul{
}

.nav-morph__list{
  display: flex;
  flex-wrap: wrap;
}

.nav-morph__list .box{
}

.nav-morph__list ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.nav-morph__list ul li{
  width: 50%;
  margin: .8rem 0;
  padding: 0;
}

.nav-morph__item{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .4s ease, transform .4s ease;
}

.nav-morph.active .nav-morph__item{
  opacity: 1;
  transform: translateY(0);
}

.nav-morph.active .nav-morph__item:nth-child(1){ transition-delay: .3s; }
.nav-morph.active .nav-morph__item:nth-child(2){ transition-delay: .4s; }
.nav-morph.active .nav-morph__item:nth-child(3){ transition-delay: .5s; }
.nav-morph.active .nav-morph__item:nth-child(4){ transition-delay: .6s; }

.nav-morph__list li{ margin: 0 0 1.2rem 0; }

.nav-morph__list li a{
  display: block;
  font-size: 1.2rem;
  text-decoration: none;
}

/* hover無効（ナビ内だけ） */
.nav-morph__link{
  display: inline-block;
  padding: 20px;
  font-size: 28px;
  text-decoration: none;
  transition: none;
}

.nav-morph__link:hover{
  transform: none;
  opacity: 1;
}

/* scroll lock */
body.is-nav-open{ overflow: hidden; }

/* =========================================================
  11) Front - Main Visual
========================================================= */
.mv{
  position: relative;
  padding: 1rem 0;
  z-index: 0;
  margin-bottom: 6rem;
}

.mv__character{
  position: absolute;
  bottom: 0%;
  right: 3%;
  width: 160px;
  z-index: 400;
}
.mv__character img{
width: 100%;
height: auto;
}
.mv__inner{
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  justify-content: center;
  z-index: 0;
}

.mv__rainbow{
  position: absolute;
  top: 40px;
  left: 230px;
  width: 460px;
  z-index: -2;
}
.mv__rainbow img{
width: 100%;
height: auto;
}
/*.mv__inner::before{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0%;
  top: 55%;
  transform: translateY(-50%);
  background: url("../img/rainbow-circle.png") no-repeat center left / contain;
  width: min(700px, 90vw);
  aspect-ratio: 5 / 6;
}*/

.mv__text{
  position: absolute;
  left: 0%;
  bottom: 15%;
  /*top: 50%;
  transform: translateY(-50%);*/
  z-index: 2;
}

.mv__text span{
  background-color: #fff;
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 500;
  padding: 1rem;
  margin: .8rem 0;
  line-height: 1;
}

.mv__text span:last-child{
  margin-left: 2rem;
}

.mv__img{
  width: min(1000px, 90vw);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  -webkit-mask: url("../img/mv-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/mv-mask.svg") center / 100% 100% no-repeat;
}

.mv__img img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.mv__img img,
.mv__img .swiper,
.mv__img .swiper-wrapper,
.mv__img .swiper-slide{
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.ticker-swiper{
  overflow: hidden;
  padding: 1rem 0;
  background: transparent;
}

.tickerSwiper{
  width: 100%;
}

.tickerSwiper .swiper-wrapper{
  transition-timing-function: linear !important;
}

.tickerSwiper .swiper-slide{
  width: auto;                 /* ← 等速のコツ */
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 1.1rem;
  opacity: .7;
}

/* =========================================================
  12) Front - About
========================================================= */
#front-about{
  position: relative;
}

.about__character{
  position: absolute;
  top: 0%;
  left: 15%;
  width: 100px;
  z-index: 400;
}
.about__character img{
width: 100%;
height: auto;
}

.front-about__container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.front-about__media{
  width: 45%;
  position: relative;
  z-index: 1;
}

/*.front-about__media::before{
  content: "";
  position: absolute;
  z-index: -1;
  left: -10px;
  top: -10px;
  background: url("../img/path-v-blue.svg") no-repeat center left / contain;
  width: min(640px, 90vw);
  height: auto;
  aspect-ratio: 4 / 3;
}*/

.front-about__content{ width: 45%; }

.front-about__media img{
  display: block;
  width: 100%;
  height: auto;

  -webkit-mask-image: url("../img/mv-mask-circle-vertical.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;

  mask-image: url("../img/mv-mask-circle-vertical.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}


/* =========================================================
  13) Front - Workshop (Art Swiper)
========================================================= */
#front-workshop .inner-full{
  padding-block: 6rem;
  position: relative;
}

#front-workshop .more-btn{
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
}

.front-workshop__container .heading{
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 1rem;
}

/* wrapper */
.artSwiper-wrap{
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Swiper 本体 */
.artSwiper{
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-inline: 24px;
}

.artSwiper .swiper-wrapper{
  align-items: stretch;
}

.artSwiper .swiper-slide{
  flex: 0 0 auto;
  width: 25%;
  height: auto;
  padding-top: 10px;
  transform: translateZ(0);
  transition: transform .25s ease, opacity .25s ease;
}

.artSwiper .swiper-slide:hover{
  transform: translateY(-8px);
}

/* カード本体 */
.artSwiper .artCard{
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform;
  background: transparent; /* ←黒/白の板を防ぐ */
}

/* 画像コンテナ */
.artSwiper .artCard .pic{
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
}

/* 画像そのもの */
.artSwiper .artCard .pic img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform .6s ease;
}


/* グローバル a:hover の opacity を打ち消す */
.artSwiper .swiper-slide a:hover{
  opacity: 1;
}

/* hover時：画像ズーム */
.artSwiper .artCard:hover .pic img{
  transform: scale(1.05);
}

/* 黒オーバーレイ（hover前は透明） */
.artSwiper .artCard::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s ease;
  pointer-events: none;
  z-index: 1;
}

/* hover時：薄く暗く（0.35推奨） */
.artSwiper .swiper-slide:hover .artCard::before{
  background: rgba(0, 0, 0, 0.35);
}

/* hover時タイトル */
.artSwiper .sandart-card__title{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  color: #fff;
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 2;
  font-weight: 700;
  padding: .25rem .75rem;
}

/* タイトル表示 */
.artSwiper .swiper-slide:hover .sandart-card__title{
  opacity: 1;
  transform: translate(-50%, -50%);
}


/* =========================================================
  14) Front - News
========================================================= */
#front-news{
  /*background: url("../img/path-long-red.svg") no-repeat bottom left -250px / 320px;*/
}

/* News Category (more-btn small variant) */
.news-heading__container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.news-category__list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.news-category__list li{ margin-right: 1rem; }

.news-category__list .more-btn a{
  border-radius: 9999px;
  background-color: #fff;
  padding: .5rem 1.5rem .5rem .5rem;
}

.news-category__list .more-btn__icon{
  width: 32px;
  border-width: 1px;
}

.news-category__list .more-btn__icon::before,
.news-category__list .more-btn__icon::after{
  width: 8px;
  height: 1px;
  left: 46%;
}

.news-category__list .more-btn__text{
  font-size: 1rem;
  font-weight: 500;
}

/* Front News Card */
.news__list ul{
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.news-item{ margin: 0; }

.news-item a{
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, opacity .25s ease;
}

.news-item a:hover{
  transform: translateY(-8px);
  opacity: 1;
}

.news-item .pic{
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 3 / 2;
}

.news-item .pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.news-item a:hover .pic img{ transform: scale(1.03); }

.news-item .title{
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.news-item .news-bottom{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-item .date{
  font-size: 1rem;
  white-space: nowrap;
}

.news-item .category,
.news-item .category span{
  padding: .5rem 1rem;
  border-radius: 999px;
  background: #fff;
  line-height: 1;
  font-size: .9rem;
  font-weight: 500;
}

.news-item .category span{
  padding: 0;
  border: none;
  background: transparent;
}




/* =========================================================
  15) Page Common
========================================================= */
main header .inner{ padding-block: 6rem 2rem; }

main header h1{
  margin: 0;
  padding: 0;
}

.page-header h1,
.artwork-hero h1{
  text-align: center;
}

.page-content__media img{
  width: 100%;
  height: auto;
}
.gallery-grid{
  --gap: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.gallery-item{
  flex: 0 0 calc((100% - var(--gap)) / 2);
  max-width: calc((100% - var(--gap)) / 2);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.gallery-item img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* SP：1列 */
@media (max-width: 767px){
  .gallery-grid{ --gap: 1.5rem; }
  .gallery-item{ flex-basis: 100%; max-width: 100%; }
}

/* =========================================================
  16) about sandart
========================================================= */
.about-container{
  margin-bottom: 5rem;
  position: relative;
}


.about-container__media{
  width: 100%;
  position: relative;
}


.about-container__media img{
  width: 70%;
  height: auto;
}



.about-container__catch{
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.about-container__catch span{
  background-color: #fff;
  display: inline-block;
  font-size: 2rem;
  font-weight: 500;
  padding: 1rem;
  line-height: 1;
  margin: .5rem 0;
}

.about-container__catch span:last-child{

}

.about-container .en{
  font-size: 5rem;
  color: #fff;
}


/* =========================================================
  16) Concept Page
========================================================= */
.concept-content{}
.concept-container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.concept-content .concept-container:last-child{
  margin-bottom: 0rem;
}

.concept-content .concept-container:nth-child(odd){
}

.concept-content .concept-container:nth-child(even){
  flex-direction: row-reverse;
}

.concept-container__media{
  width: 33.3333%;
}
.concept-container__media img{
  width: 100%;
  height: auto;
}
.concept-container__desc {
  width: 50%;
}

.concept-content .concept-container:nth-child(odd) .concept-container__desc{
  padding-left: 5rem;
}

.concept-content .concept-container:nth-child(even) .concept-container__desc{
padding-right: 5rem;
}

.concept-container__desc p{}

/* =========================================================
  17) Art Page（下層の作品一覧）— Swiperと同じhoverエフェクト
========================================================= */

.art-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.art-grid a:hover{
  opacity: 1; /* グローバル opacity: .5 を打ち消し */
}

@media (max-width: 1024px){
  .art-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px){
  .art-grid{
    grid-template-columns: 1fr;
  }
}

/* カード本体 */
.art-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 1rem;
  background: transparent;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform;
}

@media (hover:hover) and (pointer:fine){
  .art-card:hover{
    transform: translateY(-8px);
  }
}

/* 画像コンテナ */
.art-card__pic{
  position: relative;
  z-index: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3;
}

/* 画像 */
.art-card__pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  transform: translateZ(0);
}

/* hoverで画像ズーム */
@media (hover:hover) and (pointer:fine){
  .art-card:hover .art-card__pic img{
    transform: scale(1.05);
  }
}

/* 黒オーバーレイ（初期は透明） */
.art-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s ease;
  pointer-events: none;
  z-index: 1;
}

/* hoverで薄く暗くする */
.art-card:hover::before{
  background: rgba(0, 0, 0, 0.35);
}

/* タイトル（画像の上に出す） */
.art-card__title{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .75rem;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  z-index: 2;
  transition: opacity .3s ease;
  pointer-events: none; /* クリックの邪魔をしない */
}

/* hoverで中央にふわっと表示 */
.art-card:hover .art-card__title{
  opacity: 1;
}

/* 下に説明テキストなどを置く場合 */
.art-card__body{
  padding-top: .75rem;
}



/* =========================================================
  18) Single Artwork
========================================================= */
.single-artwork .inner{
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.artwork-hero{ position: relative; }

.artwork-hero__media{
  width: 100%;
}

.artwork-hero__img{
  width: 100%;
  height: auto;
}

.artwork-hero__inner{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 1.25rem;
}

.artwork-body{ padding-block: 2rem 5rem; }

.artwork-content > *:first-child{ margin-top: 0; }
.artwork-content > *:last-child { margin-bottom: 0; }

.artwork-content p{ margin-block: 0 1rem; }

.nav-links{
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
}

.nav-links a{ color: inherit; }

/* =========================================================
  19) News Detail
========================================================= */
.news-detail__title{
  margin: 0 0 .75rem;
  line-height: 1.3;
}

.news-detail__meta{
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.news-detail__date{
  white-space: nowrap;
  margin-right: 1rem;
}

.news-detail__cat{
  display: inline-block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .9em;
}

.news-detail__body{ padding-block: 1rem 4rem; }

.news-detail__content > *:first-child{ margin-top: 0; }
.news-detail__content > *:last-child { margin-bottom: 0; }

/* =========================================================
  20) Form
========================================================= */
.c-form{
  margin: 0 auto;
  max-width: 800px;
}

.c-form__dt{
  margin: 0;
  font-weight: 500;
}

.c-form__dd{ margin: 0 0 2rem 0; }

.c-form input[type="text"],
.c-form input[type="email"],
.c-form input[type="tel"],
.c-form textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.c-form textarea{
  min-height: 180px;
  resize: vertical;
}

.req{
  font-size: .8rem;
  margin-left: .6rem;
  background-color: #ff0000;
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 999px;
}

.c-form__submit{
  margin-top: 22px;
  margin-inline: auto;
  text-align: center;
}

input[type="submit"]{
  display: inline-block;
  padding: 1rem 3rem;
  background-color: #ff0000;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 999px;
}

.wpcf7-spinner{ display: block; }

/* =========================================================
  21) Footer
========================================================= */
footer{
  position: relative;
}

.site-footer{
  background: url("../img/bg-footer.jpg") no-repeat bottom right / contain;
  position: relative;
  width: 100%;
}

.footer__character{
  display: none;
  position: absolute;
  bottom: 25%;
  right: 10%;
  width: 120px;
  z-index: 400;
}

.home .footer__character{
  display: block;
}

.footer__character img{
width: 100%;
height: auto;
}
.site-footer .inner{
  padding-block:8rem;
}

.footer__container{
}

.footer__contents .logo{
  font-weight: 500;
  font-size: 3rem;
}

footer .logo__contents{
  display: flex;
  align-items: flex-end;
}
footer .logo__contents ul{
  margin-left: 1rem;
  margin-bottom:0px;
}
footer .logo__contents ul li{
}

.footer-nav__list{
  list-style: none;
  padding-left: 0;
  display: flex;
  font-size: .85rem;
  margin: 0 0 4rem 0;
}
.licence{
  font-size: 1rem;
}
.footer-nav__list li{ margin-right: 1.5rem; }

footer a{ color: inherit; }

.copyright{
  padding: 0;
  margin: 0;
  font-size: .85rem;
}




/* ==================================================================================================================
  


  22) Mobile (〜767px)



================================================================================================================== */
@media screen and (max-width: 767px){

  /* =========================================================
    SP 1) Variables / Display toggles
  ========================================================= */
  :root{
    --hamburger-offset: 1rem;
  }

  .pc-only{ display: none; }
  .sp-only{ display: block; }

  /* =========================================================
    SP 2) Typography / Heading
  ========================================================= */
  h1{ font-size: 1.6rem; }
  h2{ font-size: 1.5rem; }
  h3{ font-size: 1.4rem; }
  h4{ font-size: 1.25rem; }
  h5{ font-size: 1.125rem; }
  h6{ font-size: 1.125rem; }

  .heading{ margin-bottom: 1.5rem; }

  .heading__en{
    font-size: 4rem;
    width: 100%;
  }

  .heading .heading__en{
    top: -2rem;
    left: 0;
  }

  /* =========================================================
    SP 3) Layout
  ========================================================= */
  .inner{ padding: 3rem 1rem; }
  .desc{ margin: 1rem 0; }


.inner-full{ width: 100%; }

.front-main .inner{
  padding: 4rem 1rem;
}

.page-header .inner{
    margin: 0 auto;
  padding: 3rem 1rem 0;
}


.pic-page-header .inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
   padding: 3rem 1rem;
}

.pic-page-header .inner::after{
  position: absolute;
  bottom: 0%;
  left: 0;
  content: "";
  border-bottom: 1px dashed #000;
  width: 100%;
  z-index: -1;
}



.pic-page-header .inner .heading{
  text-align: center;
  position: relative;
  top: initial;
  left:initial;
  transform: initial;
  width: 100%;
  white-space: nowrap;
}

.pic-page-header .inner .heading .heading__en{
  left: 50%;
  transform: translateX(-50%);
}

.page-header__media{
  width: 100%;
}







.desc{ margin: 1rem 0; }

.page-main h2 {
  margin-bottom: 2.5rem;
}

.page-main h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-main p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-main ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}


/* =========================================================
Table
========================================================= */
table {
  display: block;
  width: 100%;
}

table tr:nth-child(odd){
  background-color: initial;
}
table tr{
  display: block;
  width: 100%;
}

table th,
table td{
  display: block;
  width: 100%;
  padding: 1rem;
}

table th{
  background-color: rgba(255,255,255,.8);
}
table td{

}

table tr:first-child{}
table tr{ }

.page-main table td ul{
  margin-top: 0;
  margin-bottom: 0;
}



  /* =========================================================
    SP 4) Header / Global Nav / Nav content
  ========================================================= */
  .site-header::before{
    left: -120px;
    top: -180px;
    background: url("../img/path-logo-yellow.svg") no-repeat center / contain;
    width: min(340px, 90vw);
  }

  /*.site-header::after{
  right: -80px;
  top: -100px;
  background: url("../img/path-white.svg") no-repeat center top / contain;
  width: min(180px, 90vw);
}*/

  .site-header__inner{ padding: 1.3rem; }

  .site-header .logo{
    font-size: 2.6rem;
    padding: 0;
  }

  #menu-global-nav__list{ display: none; }

  /* nav content */
  .nav-morph__wrapper{

  }

  .nav-morph__space{
    padding-top: 5rem;
    text-align: center;
    width: 100%;
  }


  .nav-morph__logo{
    margin-right: 0;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
  }

    .nav-morph__logo ul{
      justify-content: center;
  }

    .nav-morph__logo ul li{
      margin-right: 0;
      margin: 0 .25rem;
  }


  .nav-morph__list{ width: 100%; }



.nav-morph__list ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.nav-morph__list ul li{
  width: 100%;
  margin: .5rem 0;
  padding: 0;
}


  .global-nav{
    width: 100%;
  }

  .nav-morph__space .logo-wrapper{
    font-size: 2.6rem;
    width: 100%;
  }

  /* =========================================================
    SP 5) Front - Main Visual
  ========================================================= */
  .mv{
    position: relative;
    padding: 0 0 5rem 0;
    z-index: 0;
    overflow: hidden;
    margin-bottom: 2rem;
  }

  .mv__character{
    position: absolute;
    bottom: 0%;
    right: 0px;
    width: 80px;
  }

  .mv__inner{
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: 0;
    padding-top: 10px;
  }

  .mv__rainbow{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
  }

  .mv__inner::before{
    content: "";
    position: absolute;
    z-index: -1;
    left: inherit;
    right: -40px;
    top: inherit;
    bottom: -80px;
    transform: initial;
    background: url("../img/rainbow-circle.png") no-repeat bottom right / contain;
    width: min(340px, 90vw);
  }

  .mv__inner::after{
    display: none;
  }

  .mv__img{
    width: min(380px, 90vw);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    -webkit-mask: url("../img/mv-mask-sp.svg") center / 100% 100% no-repeat;
    mask: url("../img/mv-mask-sp.svg") center / 100% 100% no-repeat;
    margin: 0 auto;
  }

  .mv__text{
    left: initial;
    top: initial;
    bottom: 0px;
    left: 5%;
    transform: initial;
  }

  .mv__text span{
    font-size: 1.3rem;
    margin: 0;
    padding: .6rem;
  }

  .mv__text span:last-child{
    margin-left: 1rem;
  }

  /* =========================================================
    SP 6) Front - About
  ========================================================= */
  #front-about{ background: none; }

  .about__character{
    position: absolute;
    top: 0%;
    right: 2%;
    width: 80px;
  }

  .front-about__media{
    width: 100%;
    margin-bottom: 2rem;
  }

  .front-about__content{ width: 100%; }

  .front-about__media::before{
    left: 10px;
    top: 10px;
    background: url("../img/path-v-blue.svg") no-repeat center / contain;
    width: min(150px, 90vw);
  }

  .front-about__media img{
    margin: 0 auto;
    width: 70%;
  }

  /* =========================================================
    SP 7) Front - Workshop
  ========================================================= */
  #front-workshop .more-btn{
    position: absolute;
    bottom: 0rem;
    right: initial;
    left: 1rem;
  }

  #front-workshop .inner-full{
    padding: 0 0 3rem;
    /*background: url("../img/path-v-blue.svg") no-repeat top right -150px / contain;*/
  }

  .front-workshop__container .heading{
    margin-left: 1rem;
    margin-bottom: 1rem;
  }

  .artSwiper-wrap{ padding-top: 0px; }

  .artSwiper{ padding-inline: 8px; }

  .artSwiper .swiper-slide{
    width: 80%;
  }

  .artSwiper .pic img{
    aspect-ratio: 4 / 3;
  }

  /* =========================================================
    SP 8) Front - News
  ========================================================= */
  #front-news{
    /*background: url("../img/path-v-red.svg") no-repeat top 33.3333% left -120px / 140px;*/
  }

  .news-heading__container{ margin-bottom: 1rem; }

  .news-category__list{
    margin: 1.2rem 0 1.8rem;
    gap: .5rem;
  }

  .news-category__list li{ margin: 0; }

  .news-category__list .more-btn a{
    padding: .3rem 1rem .3rem .3rem;
  }

  .news-category__list .more-btn__icon{ width: 28px; }

  .news-category__list .more-btn__text{ font-size: .9rem; }

  .news__list ul{
    padding: 0 .5rem;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .news-item .title{
    margin-top: 1rem;
    font-size: 1rem;
  }

  .news-item .news-bottom{ margin-top: .5rem; }

  .news-item .date{
    font-size: .9rem;
  }

  .news-item .category,
  .news-item .category span{
    padding: .4rem .8rem;
    font-size: .85rem;
  }

  /* =========================================================
    SP 9) Page Common
  ========================================================= */
  main header .inner{ padding-block:  3rem ; }

  main header h1{
    margin: 0;
    padding: 0;
  }

  .page-header h1,
  .artwork-hero h1{
    text-align: center;
  }

  .page-header .heading{
    text-align: center;
  }
  .page-header  .heading .heading__en{
    position: absolute;
    top: -2rem;
  }

  .page-content__media img{
    width: 100%;
    height: auto;
  }


/* =========================
  Gallery Grid（no link）
========================= */

  .gallery-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
/* =========================================================
  sp about sandart
========================================================= */
.about-container{
  margin-bottom: 2rem;
  position: relative;
}


.about-container__media{
  width: 100%;
  position: relative;
}


.about-container__media img{
  width: 100%;
  height: auto;
}



.about-container__catch{
  position: relative;
  right: initial;
   left: 0;
  top:  initial;
  transform: initial;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.about-container__catch span{
  display: inline-block;
  font-size: 1.2rem;
  padding: .4rem;
  margin: 0;
  line-height: 1.5;
}

.about-container__catch span:last-child{

}

.about-container .en{
  font-size: 2rem;
  color: #000;
  margin-bottom: 1rem;
}


  /* =========================================================
    SP 10) Concept
  ========================================================= */
  .concept-content{}
  .concept-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }

  .concept-content .concept-container:last-child{
    margin-bottom: 0rem;
  }

  .concept-content .concept-container:nth-child(odd){
  }

  .concept-content .concept-container:nth-child(even){
    flex-direction: row-reverse;
  }

  .concept-container__media{
    width: 100%;
  }
  .concept-container__media img{
    width: 100%;
    height: auto;
  }
  .concept-container__desc {
    width: 100%;
    padding: 1.5rem 0;
  }

  .concept-content .concept-container:nth-child(odd) .concept-container__desc,
  .concept-content .concept-container:nth-child(even) .concept-container__desc{
    padding: 1.5rem 0;
  }

  .concept-container__desc p{}

  /* =========================================================
    SP 11) Form
  ========================================================= */
  .c-form__row{ grid-template-columns: 1fr; gap: 8px; }

  /* =========================================================
    SP 12) Footer
  ========================================================= */
  .site-footer .inner{
    padding-block:3rem 3rem;
  }

  .footer__container{

  }

  .footer__contents .logo{
    font-size: 2.5rem;
  }

  .licence{
    font-size: .8rem;
  }

  .footer-nav__list{
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: .75rem !important;
    margin-bottom: 1.5rem;
  }

  .footer-nav__list li{
    margin-right: 0rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  footer a{ color: inherit; }

  .copyright{
    padding: 0;
    margin: 0;
    font-size: .75rem !important;
  }

  .site-footer{ min-height: 200px; }

  /** cala **/
  .footer__character{
    position: absolute;
    bottom: 5%;
    right: 1%;
    width: 80px;
  }

}
