@charset "UTF-8";

/* CSS Document */

/* common */
html {
  font-size: 62.5%;
}

body {
  color: #595757;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-feature-settings: 'palt';
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: #595757;
}

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

ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
}

h2 {
  margin-block-end: 0;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 3.6rem;
  letter-spacing: 0.12em;
  margin: 8px 0;
}

.section_footer {
  text-align: right;
}

.section_footer a {
  display: inline-block;
  width: 240px;
  margin: 40px 0;
}

.section_footer__arrow:hover {
  animation: fadeIn 0.5s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flex-box {
  display: flex;
}

/*****************
ヘッダー
******************/
#header {
  position: fixed;
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 100px;
  left: 0;
  right: 0;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 5;
  background-color: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0;
}

.logo {
  display: block;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ハンバーガーメニュー */
.openbtn {
  position: relative;
  background-color: transparent;
  cursor: pointer;
  width: 50px;
  height: 60px;
  border-radius: 5px;
  z-index: 100;
}

.btn-icon {
  transition: all 0.4s; /* アニメーションの設定 */
  position: absolute;
  width: 50px;
  padding: 0 9px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.line {
  margin-bottom: 8px;
}

.line:last-child {
  margin-bottom: 0;
}

.black {
  height: 3px;
  background: #292929;
  border-radius: 2px;
}

.white {
  height: 1px;
  background: #ffffff;
}

.close_btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-image: url('../images/close_icn.svg');
  background-repeat: no-repeat;
  cursor: pointer;
}

.openbtn.active .line:first-of-type {
  opacity: 0;
}

.openbtn.active .line:last-of-type {
  opacity: 0;
}

.nav_wrapper {
  display: none;
  position: fixed;
  font-size: 1.8rem;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 120px 0 150px;
  background-color: rgb(255 255 255 / 0.97);
  z-index: 10;
}

.nav-item {
  padding-bottom: 100px;
}

/*****************
フッター
******************/
.footer {
  position: relative;
}

.footer-title {
  font-family: 'mulish', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  padding: 0 40px;
  margin-right: 40px;
  border-right: solid 1px;
  border-color: #707070;
}

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-sns-list {
  display: flex;
  font-size: 3rem;
}

.footer-nav-list a {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.footer-sns-item {
  padding-right: 40px;
}

.footer-nav-list {
  display: flex;
  padding: 40px 0;
}

.footer-nav-item {
  padding-right: 40px;
}

.copyrights {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  padding-bottom: 40px;
}

/*****************
メインビジュアル
******************/
.p_hero {
  margin-bottom: 60px;
}

/*****************
Utility
******************/
.section-inner {
  border-top: solid 1px #d0d0d0;
  padding: 24px 0;
}

h3 {
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 80px 0 8px;
}

.p_detail p {
  font-size: 1.6rem;
  line-height: 28px;
}

.image:hover {
  filter: opacity(70%);
  transition: 0.5s;
}

.width60 {
  width: 60%;
}

.mar-top20 {
  margin-top: 20px;
}

.font-28 {
  font-size: 2.8rem;
}

/*****************
TOPページ
******************/
.section_block {
  margin-bottom: 80px;
}

/* Top-About */
.catch {
  font-weight: 300;
}

.catch span {
  padding-left: 32px;
}

.catch span:first-of-type {
  padding-left: 0;
}

.description {
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 38px;
  margin-top: 30px;
}

/* Top-News */
.content_list {
  border-top: solid 1px #d0d0d0;
}

.content_item {
  border-bottom: solid 1px #d0d0d0;
  padding: 24px 0;
}

.post_news {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
}

.hover:hover {
  filter: opacity(70%);
}

.thumb_news {
  width: 38%;
}

.category {
  width: 110px;
  background-color: #a9a9a9;
  color: #ffffff;
  padding-top: 2px;
}

.date {
  padding-right: 2%;
  font-family: 'Mulish';
  color: #bdbdbd;
}

.news_detail {
  font-size: 2rem;
  padding-top: 16px;
}

/* Top-Projects */
.post_projects {
  display: flex;
  justify-content: space-between;
}

.thumb_projects {
  width: 38%;
}

.project_title {
  font-size: 2rem;
}

.thumb_news iframe {
  width: 100%;
  margin: 0;
}

/* Top-Artists */
.post_artists {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
}

.artist_title {
  padding-left: 40px;
}

.thumb_artists {
  width: 22%;
}

.top_artist_en {
  font-size: 2.2rem;
}

/*****************
Aboutページ
******************/
.og_map {
  max-width: 100%;
  margin: 40px 0;
  text-align: center;
}

.og_map img {
  max-width: 120%;
}

.access_info {
  margin: 24px 0;
  font-size: 1.6rem;
}

.br-sp {
  display: none;
}

.access_info p::before {
  content: '■';
}

.adress {
  line-height: 32px;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}

.maps-outer {
  position: relative;
  padding-top: 38.85%;
}

.maps {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*****************
Artistページ
******************/
.artist-name_en {
  display: block;
}

.artists_grid {
  display: flex;
  flex-flow: row wrap;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 80px;
}

.artists_block {
  flex-basis: 22%;
  margin-top: 32px;
  letter-spacing: 0.06em;
}

.artist_hp {
  padding-bottom: 32px;
}

.artists_block a {
  color: #363434;
}

.artist-name_en {
  padding-top: 16px;
  font-size: 1.8rem;
}

.artist-name_jp {
  font-size: 1.2rem;
}

.modal__content {
  display: none;
}

.artist-profile {
  color: #ffffff;
}

.modaal-container {
  width: 60%;
}

.artist-detail_top {
  display: flex;
}

h3 span {
  display: block;
  color: #ffffff;
  padding-left: 20px;
}

.artist-detail-name_en {
  font-size: 6rem;
  padding-bottom: 20px;
  letter-spacing: 0.01em;
}

.font-2 {
  font-size: 2rem;
  padding: 0;
}

.font-12 {
  font-size: 1.2rem;
  padding: 0;
}

.artist_image {
  width: 28%;
}

.artist-profile {
  padding-top: 40px;
  line-height: 1.5;
  padding-bottom: 32px;
}

.artist-profile_jp {
  font-size: 1.4rem;
  padding-bottom: 32px;
}

.artist-profile_en {
  font-size: 1.6rem;
}

.artist-profile a {
  color: #ffffff;
}

.artist_item {
  padding: 0 60px;
}

.modal p img {
  object-fit: cover;
}

/*****************
Projectページ
******************/

/* Project utility */
.mar60 {
  margin-top: 60px;
}

.project_list {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.event_box {
  width: 28%;
  border-radius: 20px;
  margin: 0 40px 40px 0;
}

.event_box:nth-child(3n) {
  margin-right: 0;
}

.event_sumb__ttl {
  padding: 10px 0 0 8px;
}

.subsidy {
  display: flex;
  font-size: 1.2rem;
  line-height: 20px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 80px;
}

.subsidy span {
  display: block;
  width: 18%;
  padding: 0 16px 16px 0;
}

.logo-wid36 {
  width: 36%;
}

.sub-ttl {
  font-size: 4rem;
  color: #dbdbdb;
}

.exhibition {
  display: flex;
  border-color: #bdbdbd;
}

.exhibition-date {
  display: inline-block;
  width: 60%;
  color: #bdbdbd;
  font-size: 2rem;
  font-style: oblique;
}

.year {
  font-size: 1.4rem;
}

.works-item {
  display: flex;
  padding-bottom: 64px;
  justify-content: flex-end;
}

.works-item:last-of-type {
  padding-bottom: 0;
}

.caption {
  width: 40%;
  padding-right: 16px;
  margin-top: auto;
}

.image-box {
  width: 68%;
}

.item-right {
  text-align: right;
}

.youtube-box {
  width: 48%;
  padding: 20px;
}

.youtube-box iframe {
  width: 100%;
  margin: 0 0 0 auto;
}

.youtube-box_mddle {
  margin: 0 auto;
}

.schedule_list {
  margin-top: 32px;
}

.schedule_detail {
  display: flex;
  margin-bottom: 10px;
}

.schedule_detail__ttl {
  padding-top: 3px;
  width: 100px;
  height: 24px;
  font-size: 1.2rem;
  text-align: center;
  color: #ffffff;
  background-color: #707070;
}

.schedule_detail__date {
  padding: 2px 0 0 2%;
}

.pdf {
  width: 28%;
}

.vid_box__top {
  padding: 0;
}

.vid_box__top___img {
  margin: 0;
  width: 100%;
}

.exhi_content {
  margin-top: 40px;
}

.schedule_detail__ttl__none-bgc {
  color: #707070;
  background-color: transparent;
}

.strong {
  font-size: 1.8rem;
  font-weight: 700;
}

.left {
  justify-content: flex-start;
  padding: 24px 0 0;
  align-items: baseline;
}

.subsidy-left {
  display: flex;
  font-size: 1.2rem;
  line-height: 20px;
  align-items: center;
  padding-bottom: 80px;
}

.subsidy-left span {
  display: block;
  width: 18%;
  margin-right: 0;
}

.list-right {
  display: inline-block;
}

.gallery_block {
  flex-basis: 32%;
  margin-top: 32px;
  letter-spacing: 0.06em;
}

.gallery_image {
  width: 100%;
}

.sub-category {
  display: inline-block;
  color: #bdbdbd;
  font-size: 2.8rem;
  font-style: oblique;
}

.works-item.item-right {
  text-align: right;
}

.title_2rem {
  font-size: 2rem;
}

.pd20 {
  padding: 20px 0;
}

.pd-b20 {
  padding-bottom: 20px;
}

/*************************
harenohi2022ページ
**************************/
.shop-list:hover {
  color: #dcdcdc;
}

/*************************
online Exhibition(2021)ページ
**************************/
.bg {
  background: #c8e4cb;
}

#exhi-header {
  width: 100%;
  height: 100vh;
  position: relative;
}

#exhi-header::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url('../images/projects/air2021/air2021_dm_logo.png') no-repeat center;
  background-size: contain;
}

#exhi_container {
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.works_box {
  margin: 210px 0;
}

.youtube {
  padding-bottom: 40px;
}

iframe {
  display: block;
  width: 80%;
  height: auto;
  aspect-ratio: 16/9;
  margin: 0 auto;
}

.artist_box {
  display: flex;
  background: #ffffff;
  margin: 0 auto;
  width: 80%;
}

.vid_box {
  width: 50%;
  padding: 20px;
}

.artist-name_en__web-exhi {
  font-size: 4.4rem;
}

.artist-name_jp__web-exhi {
  font-size: 2.4rem;
}

.prof {
  font-size: 1.4rem;
  padding-top: 20px;
}

@media screen and (width <= 768px) {
  #header {
    padding: 0 24px;
  }

  .wrapper {
    padding: 0 24px;
  }

  .pc {
    display: none;
  }

  .flex_none {
    display: block;
  }

  .section_block_posts {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
    margin: 24px 0 8px;
  }

  .catch span {
    padding: 0 8px;
    margin-bottom: 10px;
  }

  .description {
    font-size: 1.4rem;
    line-height: 28px;
    margin-top: 16px;
  }

  .section_footer a {
    width: 124px;
    margin: 24px 0;
  }

  /*****************
フッター
******************/
  .footer-title {
    font-size: 2rem;
    padding: 0 24px 0 0;
    margin-right: 24px;
  }

  .footer-sns-item {
    padding-right: 24px;
  }

  .footer-nav-list {
    display: block;
  }

  .footer-nav-item {
    padding-bottom: 10px;
  }

  .footer-sns {
    justify-content: left;
  }

  /*****************
トップページ
******************/
  .content_item {
    padding: 16px 0;
  }

  .thumb_news {
    width: 100%;
  }

  .project_title {
    font-size: 1.4rem;
  }

  .thumb_projects {
    width: 100%;
  }

  .ttl {
    padding-bottom: 16px;
  }

  .artist_title {
    padding-left: 0;
  }

  .thumb_artists {
    width: 40%;
  }

  /*****************
Aboutページ
******************/
  .og_map img {
    width: 100%;
  }

  /*****************
Projectsページ
******************/
  .event_box {
    width: 100%;
    margin-right: 0;
  }

  .subsidy {
    display: block;
    width: 80%;
    margin-right: 0;
  }

  .subsidy span {
    width: 100%;
  }

  .pdf {
    width: 100%;
  }

  .schedule_detail__date {
    padding: 2px 0 0;
  }

  .epflex {
    display: block;
  }

  /* AIR2021 */
  .sub-ttl {
    font-size: 2.4rem;
  }

  .schedule_detail {
    display: block;
  }

  /*****************
Artistsページ
******************/
  .artists_block {
    flex-basis: 46%;
  }

  .artist_image {
    width: 60%;
  }

  .artist-detail_top {
    display: block;
  }

  .artist_item {
    padding: 0;
  }

  .artist-detail-name_en {
    font-size: 3rem;
  }

  .artist-detail-name_jp {
    font-size: 1.4rem;
  }

  /*************************
online Exhibition(2021)ページ
**************************/
  .artist_box {
    display: block;
  }

  .vid_box {
    width: 100%;
  }

  .artist-name_en__web-exhi {
    font-size: 2.4rem;
  }

  .artist-name_jp__web-exhi {
    font-size: 1.4rem;
  }
}

/*****************
ダークモード切り替えボタン
******************/
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  width: 50px;
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 100;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/*****************
ダークモード
******************/
html.dark-mode {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }

  a {
    color: #e0e0e0;
  }

  /* ヘッダー */
  #header {
    background-color: rgb(26 26 26 / 0.9);
  }

  .logo img {
    filter: invert(1);
  }

  .black {
    background: #e0e0e0;
  }

  .nav_wrapper {
    background-color: rgb(26 26 26 / 0.97);
  }

  /* ボーダー */
  .section-inner,
  .content_list,
  .content_item {
    border-color: #404040;
  }

  .footer-title {
    border-color: #808080;
  }

  /* カテゴリバッジ */
  .category {
    background-color: #505050;
  }

  /* 日付 */
  .date {
    color: #808080;
  }

  /* サブタイトル */
  .sub-ttl {
    color: #505050;
  }

  /* 展示日付 */
  .exhibition-date {
    color: #808080;
  }

  /* スケジュール詳細 */
  .schedule_detail__ttl {
    background-color: #505050;
  }

  .schedule_detail__ttl__none-bgc {
    color: #808080;
    background-color: transparent;
  }

  /* サブカテゴリ */
  .sub-category {
    color: #808080;
  }

  /* アーティストページ */
  .artists_block a {
    color: #e0e0e0;
  }

  /* noimage画像をダークモード用に切り替え */
  img[src*='noimage.jpg'] {
    content: url('../images/artists/noimage-dark.jpg');
  }

  /* 施設概要の地図をダークモードで見やすく */
  .og_map img {
    filter: invert(1) hue-rotate(180deg);
    background-color: #ffffff;
  }

  /* オンライン展示ページ */
  .bg {
    background: #2d4a2f;
  }

  .artist_box {
    background: #2d2d2d;
  }

  /* ショップリスト */
  .shop-list:hover {
    color: #606060;
  }
}
