@charset "UTF-8";
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #ffffff;
  color: #323232;
  font-family: 'Noto Sans Japanese', sans-serif;
  line-height: 1.8;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* 共通 */
.wrapper {
  margin: 100px auto;
  min-height: calc(100svh - 260px);
}
.home-wrapper {
  margin: 5rem auto;
}
.wrapper,
.home-wrapper {
  padding: 0 4%;
  max-width: 1000px;
}
.space-top {
  margin-top: 3.125rem;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.small-text {
  font-size: 0.75rem;
}
.attention {
  color: #ff0d11;
}

/* google fonts */
.kaisei-opti-regular {
  font-family: 'Kaisei Opti', serif;
  font-weight: 400;
  font-style: normal;
}

/* 見出し */
.main-title {
  font-size: 2.5rem;
  text-transform: uppercase;
}
.sub-title {
  max-width: 300px;
  margin: 0 auto;
}

/* グローバルナビゲーション ------------------- */
/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fcfcfc;
  /*丸のスタート位置と形状*/
  transform: scale(0); /*scaleをはじめは0に*/
  right: -50px;
  top: -50px;
  transition: all 0.6s; /*0.6秒かけてアニメーション*/
}
.circle-bg.circleactive {
  transform: scale(50); /*クラスが付与されたらscaleを拡大*/
  opacity: 0.9;
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none; /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav.panelactive #g-nav-list {
  display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0; /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: 0.2s; /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*リストのレイアウト設定*/
#g-nav li,
.shop li {
  text-align: center;
  list-style: none;
}
#g-nav li a,
.shop li a {
  position: relative;
  color: #323232;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#g-nav li a::after,
.shop li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #ff35a2;
  /*アニメーションの指定*/
  transition: all 0.3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: center top; /*上部中央基点*/
}

/*現在地とhoverの設定*/
#g-nav li.current a::after,
#g-nav li a:hover::after,
.shop li a:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

/* 開閉ボタン */
.openbtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999; /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #d9d9d9;
  opacity: 0.8;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #323232;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.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: 30%;
}

/* メインビジュアル */
.mainvisual {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 200px;
  position: relative;
}
.logo {
  position: absolute;
  left: 3rem;
  bottom: -90px;
}
/*SVGのサイズ*/
#logo {
  max-width: 280px; /*SVGタグの横幅*/
  width: 100%; /* レスポンシブ対応にするため100%を指定*/
  height: auto;
}
#base path {
  fill: #000000; /* 塗りの色 */
}
#mask path {
  fill: none; /* 塗りの色 */
  stroke: #ffffff; /* 線の色 */
  stroke-width: 25px; /* 線幅 */
  stroke-linecap: round; /* 線端の形状 */
  stroke-linejoin: round; /* 角の形状 */
}

/* トップニュース */
.top-news {
  max-width: 500px;
  margin: 0 auto;
}
.top-news a {
  color: #ff35a2;
}

/* メニュー画像 */
.main-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 600px) {
  .main-menu {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
.n-img,
.sub-title {
  position: relative;
  font-size: 1.125rem;
  text-transform: uppercase;
}
.n-img a {
  color: #323232;
}
.n-img a:hover {
  color: #ff35a2;
}
.n-news,
.n-sns {
  position: absolute;
  top: 15%;
  left: 15%;
}
.n-profile {
  position: absolute;
  top: 15%;
  left: 12%;
}
.n-works,
.n-blog {
  position: absolute;
  top: 18%;
  left: 18%;
}
.n-shop {
  position: absolute;
  bottom: 20%;
  left: 18%;
}
.n-contact {
  position: absolute;
  top: 10%;
  right: 12%;
}
.n-news,
.n-profile,
.n-works,
.n-blog,
.n-shop,
.n-sns,
.n-contact {
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0px 1px 0 #fff, 0-1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

.exhibition {
  padding: 3rem 4%;
  background-color: rgba(255, 53, 161, 0.082);
}
.top-news.center img {
  margin: 2rem 0;
}
/* フッター */
footer {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: #000000;
  color: #f1f1f1;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

/* ニュースページ==================== */
.news-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0.5rem 0;
  margin: 0 0 0.5rem 0;
  border-bottom: 1px solid #ff35a2;
}
.news-title:hover {
  cursor: pointer;
}
.news-title time {
  font-size: 0.75rem;
}
.news-post {
  margin: 0 0 6.25rem 0;
}
.post-hidden {
  display: none;
}

/* プロフィールページ==================== */
.profile-title {
  font-size: 1.125rem;
  display: inline-block;
  padding: 0 0 0.5rem 0;
  border-bottom: 1px solid #ff35a2;
}
.profile-subtitle {
  color: #ff35a2;
  font-size: 1.125rem;
  margin: 5rem 0 3rem;
}
.profile-flex {
  display: flex;
}
.profile-flex dt {
  padding: 0 2rem 0 0;
  min-width: 100px;
}
.profile-flex dd {
  text-align: left;
}
.border {
  padding: 0 0 0.5rem 0;
  margin: 0 0 0.5rem 0;
  border-bottom: 1px solid #ff35a2;
}

/* ワークスページ ==================== */
.works ul {
  list-style: none;
}
.search {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}
.search-item {
  padding: 0.5rem;
  cursor: pointer;
}
.search-item:hover,
.search-item.active {
  border-bottom: 2px solid #ff35a2;
}
.works-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 800px) {
  .works-container {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
}
.is-animated {
  animation: zoom-in 0.7s;
  /* animation: slide-in 0.7s; */
  /* animation: fade-in 1s; */
}
.list-item {
  align-self: flex-end;
}
.list-item img {
  aspect-ratio: auto;
}
.list-item:hover {
  cursor: pointer;
}
@keyframes zoom-in {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: none;
  }
}
@keyframes slide-in {
  0% {
    transform: translateY(20%);
  }
  100% {
    transform: none;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hide {
  display: none;
}
.category {
  display: inline-block;
  font-size: 0.625rem;
  border-radius: 50px;
  border: 1px solid #ff35a2;
  padding: 0.25rem 0.625rem;
  margin: 0.5rem 0;
}

/* モーダル */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 1; /* 必要に応じて */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  transition: all 0.4s;
}
.modal-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  padding: 40px 6%;
  background-color: rgb(0 0 0 / 0.6);
}
.modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.modal-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}
.modal-text {
  color: #323232;
  text-align: center;
}
.modal.is-show {
  opacity: 1;
  visibility: visible;
}
.close {
  text-align: center;
  margin: 30px 0 10px;
}
.close span {
  padding: 10px 40px;
  text-align: center;
  color: #fff;
  background: #000;
  cursor: pointer;
}

/* スライダー */
.swiper {
  max-width: 700px;
  margin: 1rem auto;
}
.swiper img {
  aspect-ratio: auto;
}
.slide {
  height: 80%;
  width: 100%;
}
.thumb .swiper-slide {
  opacity: 0.5;
}
.thumb .swiper-slide img {
  width: 50%;
  height: auto;
}
.thumb .swiper-slide-thumb-active {
  opacity: 1;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;
}

/* SNSとショップページ ==================== */
.shop {
  width: 200px;
  margin: 3rem auto 1.75rem;
}
.shop li {
  margin: 0 0 1rem;
}

/* コンタクトページ ==================== */
.contact div {
  padding-bottom: 1.6rem;
}
.contact > p:last-of-type {
  margin-bottom: 1rem;
  padding: 0; /* 入力内容確認ページ対応 */
  background: none; /* 入力内容確認ページ対応 */
}
.contact label {
  display: block;
  padding: 1rem 0;
}
.contact input[type='text'],
.contact input[type='email'],
.contact textarea {
  width: 100%;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ff35a2;
}
@media (min-width: 800px) {
  .contact input[type='text'] {
    width: 60%;
  }
}
.contact textarea {
  height: 8em;
  vertical-align: top;
  border-radius: 0; /* iOS対応 */
}
.contact input:focus-visible,
.contact textarea:focus {
  background-color: rgba(255, 53, 161, 0.082);
}
.contact button[type='submit'] {
  background: #323232;
  color: #fff;
  padding: 0.6rem 2rem;
  margin: 2rem 0;
}
button[type='submit']:hover {
  background-color: #000000;
}

/* PHP版追加 */
/* エラーメッセージ */
span.caution {
  display: block;
  color: #ff0d11;
}

/* 入力内容確認ページ・thanksページ */
.confirm p,
.thanks p:last-child {
  background-color: rgba(255, 53, 161, 0.082);
  padding: 0.4rem 1rem;
}
.confirm div.btn {
  padding-bottom: 0;
  border: none;
}
.thanks p {
  margin-bottom: 1rem;
}

/* 戻るボタン */
.confirm button[name='btn_back'] {
  background-color: #bbb;
  margin-right: 0.6rem;
}
.confirm button[name='btn_back']:hover {
  background-color: #aaa;
}

@media (min-width: 800px) {
  .confirm button[name='btn_back'] {
    margin-right: 2rem;
  }
}
