@charset "UTF-8";
html{
  /* 1rem = 100pxと定義 */
  font-size: 100px;
}
*{
  box-sizing:border-box;/*余白や線を幅や高さに含める*/
}
.img{
  max-width:100%;/*画像が親要素からはみ出すのを防ぐ*/
  height:auto;
}
p,a{
  text-decoration:none;
  color:#333;
}
.red{
  color:#F06C64;
}
.grey{
  color:#0C0C0C;
}
:root {
  --background-navbar: rgba(255, 255, 255, 0.98);
}
body {
  background: var(--background-navbar);
  font-size: 0.16rem; /* 1rem = 100pxと定義 */
  margin:0;
  padding:0;
  flex-direction: column;
  font-family: "Hiragino Maru Gothic Pro", "Times New Roman", sans-serif;/*Helvetica,cursive,Times New Roman,Marck Script,luxus-brutも検討*/
}
/* ナビバーの設定 */
.header {
  z-index: 20;
  padding: 0px 20px;
  background: var(--background-navbar);
  position: sticky;/*固定する*/
  position: -webkit-sticky;/*Safari用*/
  display: flex;
  justify-content: flex-start;
  align-items: center;
  top: 0;
  width: 100%;
  height: 76px;
}
.header::before {
  background-color: #566C73; /* 線の色 */
  border-radius: 5px; /* 線の両端を丸く */
  bottom: 0; /* 線の位置 */
  content: "";
  height: 3px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 95%; /* 線の長さ */
}
.navtext {
  position: absolute;
  text-transform: none;
  color: #000000;
  letter-spacing: 5px;
  font-size: 0.36rem;
  font-weight: bold;
}
/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 40px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 30%;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgb(110, 110, 110);
  transition: .5s;
  text-align: center;
  padding-top: 20px;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

.nav_item a {
  color: #fff;
  font-size: 0.24rem;
  text-decoration: none;
}
/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  top: 0;/* メニューを画面に入れる */
}
.content{
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  background: #FFF5EE;
}
.main{
  display: flex;
  width: 100%;
  padding: 0.8rem 0.4rem 0.8rem 0.4rem;
  flex-direction: column;
  background: #FFF5EE;
}
.fsize{
  font-size: 0.32rem;
  margin-bottom: 20px;
  color: #333;
  list-style: none;
}
.key{
  display:flex;
  max-width: 6rem;
  margin: 0.8rem auto;/* 0.8rem 0.8rem 1.6rem 0.8rem;*/
  font-size: 0.20rem;
  color: #BDC0BA;/* 白鼠 */
  justify-content: center;
  align-items: center;
  text-align: center;
}
.box{
  display:flex;
  padding: 0.8rem 0 1.6rem 0;
  flex-direction: row;
  align-items: flex-start;
}
.kotoba{
  font-size: 0.28rem;
  flex-direction: column;
  color: #333;
}
.news{
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /*justify-content: flex-start / start;*/
  margin: 0.6rem 0 0.6rem 0;
}
.line {
  margin: 1rem 0;
  width: 8px;
  height: 70%;
  background-color: #BDC0BA;
}
.kotoba1{
  font-size: 0.28rem;
  flex-direction: column;
  color: #333;
}
.exhib{
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start / start;
  margin: 0.6rem 0 0.6rem 0.4rem;
}
.pan{
  margin: 20px 20px;
  width: 3.0rem;
  list-style: none;
  text-align:center;
}
.pan img{
  width: 100%;
}
.kotoba2{
  font-size: 0.28rem;
  flex-direction: column;
  color: #333;
}
.artists{
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0.6rem 0 1.6rem 0;
}
.column{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
}
.col{
  margin: 20px 20px;
  width: 3.0rem;
  list-style: none;
}
.footer {
  position: sticky;
  background: var(--background-navbar);
  height: 76px;
  font-size: 0.12rem;
  text-align: center;
}
@media screen and (max-width: 550px) {
/* 550pxまでの幅の場合に適用される */
html{
    /* 1rem = 50pxと再定義 */
    font-size: 50px;
  }
body {
  font-size: 0.28rem;   /* フォントサイズを少し小さく14pxに（50px * 0.28rem = 14px） */
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  min-width: initial;
}
  .navtext {
    position: absolute;
    text-transform: none;
    color: #000000;
    letter-spacing: 5px;
    font-size: 0.72rem;
    font-weight: bold;
  }
  .nav_item a {
    color: #fff;
    font-size: 0.36rem;
    text-decoration: none;
  }
  .content{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }
  .key {
    font-size: 0.28rem;
    order: 0;
  }
  .box {
    display: flex;
    width: 100%;
    padding-bottom: 3.2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
   .kotoba {
    display: block;
    font-size: 0.64rem;
    justify-content: center;
    text-align: center;
    color: #333;
    order: 1;
  }
  .news {
    flex-direction: column;
    padding-bottom: 1.0rem;
    justify-content: center;
    text-align: center;
    order: 2;
  }
  .pan {
    width: 100%;
  }    
  .line {
    display: none;
  }
  .kotoba1 {
    display: block;
    font-size: 0.64rem;
    justify-content: center;
    text-align: center;
    color: #333;
    order: 3;
  }
  .exhib {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    order: 4;
  }
  .kotoba2 {
    display: block;
    font-size: 0.64rem;
    justify-content: center;
    text-align: center;
    color: #333;
    order: 5;
  }
  .artists {
    width: 100%;
    flex-direction: column;
    order: 6;
  }
  .column{
    width: 100%;	  
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .col{
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .footer {
    order: 7;
    font-size: 0.2rem;
  }
}
