html {
  margin-top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100vw;
  height: 100%;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
  margin: 0;
  height: 100%;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* .has-black-color {
  color: #333 !important;
} */

.section>h2 {
  padding: 2em 0;
  margin: 0;
}

.underline {
  text-decoration: underline;
}


.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.toumei {
  background-color: rgba(255, 255, 255, 0.92);
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

/* boxの影 (filterプロパティ未対応のブラウザ) */
.section {
  padding: 60px;
}

.section:nth-of-type(odd) {
  /* background-color: #f7f7f7; */
}

.top {
  background-image: url("../img/common/background.png");
}

.top .section {
  box-shadow: 0 -30px 30px -5px rgba(0, 0, 0, .05);
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb40 {
  margin-bottom: 40px;
}

.flex-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/*--------------------------------
 モーダル
 ---------------------------------*/
/* モーダルと背景の指定 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}

/* モーダルの擬似要素の指定 */
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 11;
}

/* モーダル内側の指定 */
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;

}

/* モーダルを閉じるボタンの指定 */
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content {
  background-image: url("../img/common/background.png");
  background-size: 40%;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* モーダルボタン */
svg {
  height: 40px;
  position: absolute;
  width: 40px;
  cursor: pointer;
  /*   border: 1px solid black; */
  background-color: #333;
  left: 0;
}

.plate {
  height: 41px;
  width: 41px;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 11;
}

.burger {
  filter: url(#gooeyness);
}

.x {
  transform: scale(0);
  transition: transform 400ms;
}

.active .x {
  transform: scale(1);
  transition: transform 400ms 350ms;
}

.line {
  fill: none;
  /* stroke: red; */
  stroke: #fff;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50%;
  transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms,
    transform 500ms 200ms;
}

.x .line {
  stroke-width: 5.5px;
}

.plate2 .line1 {
  stroke-dasharray: 21 185.62753295898438;
  transition-delay: 0;
}

.plate2 .line2 {
  stroke-dasharray: 21 178.6514129638672;
  transition-delay: 30ms;
}

.plate2 .line3 {
  stroke-dasharray: 21 197.92425537109375;
  transition-delay: 60ms;
}

.plate2 .line4 {
  stroke-dasharray: 21 190.6597137451172;
  transition-delay: 90ms;
}

.plate2 .line5 {
  stroke-dasharray: 21 208.52874755859375;
  transition-delay: 120ms;
}

.plate2 .line6 {
  stroke-dasharray: 21 186.59703063964844;
  transition-delay: 150ms;
}

.active.plate2 .line1 {
  stroke-dasharray: 5 185.62753295898438;
  stroke-dashoffset: -155px;
}

.active.plate2 .line2 {
  stroke-dasharray: 5 178.6514129638672;
  stroke-dashoffset: -150px;
}

.active.plate2 .line3 {
  stroke-dasharray: 5 197.92425537109375;
  stroke-dashoffset: -190px;
}

.active.plate2 .line4 {
  stroke-dasharray: 5 190.6597137451172;
  stroke-dashoffset: -180px;
}

.active.plate2 .line5 {
  stroke-dasharray: 5 208.52874755859375;
  stroke-dashoffset: -160px;
}

.active.plate2 .line6 {
  stroke-dasharray: 5 186.59703063964844;
  stroke-dashoffset: -186px;
}

.active.plate2 .x {
  transition: transform 400ms 250ms;
}

/*--------------------------------
  ホバーアニメーション
 ---------------------------------*/

/* アンダーライン */
.hov-anim-line a {
  position: relative;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
}

.hov-anim-line a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.hov-anim-line a:hover:after {
  width: 100%;
}

/* 色を付ける */
.hov-anim1 a {
  display: inline-block;
  position: relative;
  /* overflow: hidden; */
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.hov-anim1 a::after {
  content: "";
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  margin: auto;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  opacity: 0;
  background: rgb(255 255 255 / .4);
  width: 100%;
  height: 100%;
}

.hov-anim1 a:hover::after {
  opacity: 1;
}

/* ズームイン */
.hov-anim2 a img {
  display: block;
  transition-duration: .5s;
}

.hov-anim2 a:hover img {
  transform: scale(1.1);
}

/* 
 アニメーション
*/
.textcontainer {
  padding: 40px;
  text-align: center;
}

.particletext {
  text-align: center;
  font-size: 27px;
  position: relative;

  &.bubbles {
    >.particle {
      opacity: 0;
      position: absolute;
      background-color: rgba(130, 183, 184, 0.5);
      animation: bubbles 10s ease-in infinite;
      border-radius: 100%;
    }
  }

  &.confetti {
    >.particle {
      opacity: 0;
      position: absolute;
      animation: confetti 10s ease-in infinite;

      &.c1 {
        background-color: rgba(76, 175, 80, 0.5);
      }

      &.c2 {
        background-color: rgba(156, 39, 176, 0.5);
      }
    }
  }

}

@keyframes bubbles {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
    transform: translate(0, -20%);
  }

  100% {
    opacity: 0;
    transform: translate(0, -1000%);
  }
}

@keyframes confetti {
  0% {
    opacity: 0;
    transform: translateY(0%) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  35% {
    transform: translateY(-800%) rotate(270deg);
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(2000%) rotate(1440deg);
  }
}

/*--------------------------------
  カード
---------------------------------*/
.card04.not-swipe .card-area {
  overflow: visible;
}

.card04.not-swipe .card-area {
  padding: 0;
}

.card04.not-swipe .card-area>div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);
}

.header .flex-box {
  padding: 20px 30px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.header-logo {
  margin: 0 20px;
}

.header-logo img {
  width: 500px;
}

.sub-title {
  width: calc((100% - 60px) *0.3);
}

.sub-title img {
  width: 200px;
}

.gnav {
  width: calc((100% - 60px) *0.3);
}

.gnav-list.flex-box {
  justify-content: end;
  list-style: none;
  font-size: 0.8em;
  padding: 0;
}

.gnav-list.flex-box a {
  line-height: 14px;
}

.gnav-list li:not(:last-child) {
  margin-right: 20px;
}

.en .gnav-list li:not(:last-child) {
  margin-right: 25px;
}

.lang-item {
  font-weight: bold;
}

/*--------------------------------
 点字デジタルアートとは
---------------------------------*/
.braille-art .back {
  background: url(https://braille-digiart.com/wp-content/uploads/2025/05/s1.jpg);
  background-size: cover;
  background-position: center;
}

.braille-art .container {
  text-align: center;
  font-size: 1.3em;
  line-height: 2.1em;
}

.braille-art .toumei {
  padding: 4em 0;
}

/*--------------------------------
 アーティスト
---------------------------------*/
#artist.card04 .slide {
  border-radius: 50%;
}

#artist .slide-content {
  text-align: center;
}

/*--------------------------------
 固定ページ
---------------------------------*/
.page,
.single {
  padding: 50px 100px;
  background-image: linear-gradient(90deg, rgba(255, 252, 252, 0.3), rgba(216, 219, 218, 0.24)),
    url("../img/common/background.png");
}

.page>h1,
.single>h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 3rem;
}

.main.single {
  padding: 50px 100px;
}

/*--------------------------------
 アクセス
---------------------------------*/
.access-img {
  width: 50%;
  max-width: 500px;
  ;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  position: sticky;
  top: 100vh;
  /* width: 100%; */
  padding: 5px 30px;
}

.footer>div {
  /* margin: 8px 30px; */
  position: relative;
}

.footer-logo img {
  height: 60px;
}

.copyright {
  font-size: 15px;
  position: absolute;
  right: 0;
  bottom: 0;
}

/*----------------------------------------------------
media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-top: 1em;
    margin-bottom: 10px;
  }

  /* レイアウト */
  .section {
    padding: 30px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section>h2 {
    padding: 1em 0
  }

  /* カード */
  .card04.not-swipe .card-area>div {
    grid-template-columns: none;
  }

  /* ヘッダー */
  .header .flex-box {
    padding: 10px;
    justify-content: left;
  }

  .header-logo {
    width: calc((100% - 40px) * 0.65);
    text-align: left;
  }

  .sub-title {
    width: 25%;
  }

  .gnav {
    width: 100%;
  }

  .gnav-list {
    padding-left: 0;
    text-align: center;
  }


  .gnav-list li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 25px;
  }

  .gnav-list li a {
    font-size: 16px;
    border-bottom: 2px solid #333;
  }

  .gnav-list li a:after {
    display: none;
  }

  /* アーティスト */
  #artist .slide-content h2 {
    font-size: 3rem;
  }

  /* フッター */
  .footer {
    padding: 5px 10px;
  }

  .footer-logo {
    width: 45%;
  }

  .footer-logo img {
    height: 33px;
  }

  .copyright {
    font-size: 12px;
  }

  /* 投稿詳細ページ共通 */
  .main.single {
    padding: 10px 15px;
  }


  /* 固定ページ */
  .page {
    padding: 22px;
  }

  .page>h1,
  .single>h1 {
    margin-bottom: 26px;
    font-size: 2rem;
  }

  /* アクセス */
  .access-img {
    width: 100%;
  }

  /* video {
    width: -webkit-fill-available;
  } */
}