@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  background-color: #F5F2E9;
  background-image: url(../img/washi.jpg);
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #333;

  font-family:
    メイリオ, Meiryo,
    "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro",
    游ゴシック, YuGothic,
    "ＭＳ Ｐゴシック", "MS PGothic",
    sans-serif;

  -webkit-font-smoothing: antialiased;

}

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

/* パンくずリスト */

.breadcrumbs_list {
  /* padding-top: 20px; */
  line-height: 1;
  margin-bottom: 80px;
}

.breadcrumbs_list li {
  display: inline-block;
  font-size: 1.6rem;
  margin-left: 6px;
  padding-left: 16px;
  background: url(../img/breadcrumb_arrow.svg) left center/6px auto no-repeat;
}

.breadcrumbs_list li:first-child {
  margin-left: 0;
  padding-left: 0;
  background: none;
}

@media only screen and (max-width: 958px) {
  .breadcrumbs_list {
    display: none;
  }
}

/* 明朝体 */

.mincho {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN",
    "ヒラギノ明朝 Pro", "Hiragino Mincho Pro",
    游明朝, "Yu Mincho", "ＭＳ Ｐ明朝", "MS PMincho",
    serif
}

/* ページ全体 */

.page_wrapper {
  max-width: 1080px;
  min-width: 375px;
  background-color: white;
  margin: 0 auto;
  min-height: calc(100vh - 50px);
  position: relative;
  padding-bottom: 50px;
}

.wrapper {
  max-width: 960px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-top: 0px;
}

/* ヘッダー */

.header {
  padding-top: 30px;
  z-index: 2;
}

/* サイトロゴ */

.sp {
  display: none;
}

.header_logo {
  display: flex;
  justify-content: center;
}

.header_logo img {
  height: 420px;
}

.header_logo a:hover {
  opacity: 1;
}

/* メイン */

.main {
  width: 780px;
  min-width: 375px;
  margin-right: 0;
  margin-top: 30px;
}

/* トップイメージ */

.top_img {
  display: block;
  margin-bottom: 60px;
}

.top_img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  vertical-align: top;
}

/* 北九州芸術祭リンクバナー */

.sp767 {
  display: none;
}

.artfes_link {
  opacity: 1;
  transition: opacity 0.1s;
  margin-bottom: 60px;
}

.artfes_link img {
  max-width: 100%;
  height: auto;
}

.artfes_link a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

@media only screen and (max-width: 767px) {
  .sp767 {
    display: block;
  }

  .pc767 {
    display: none;
  }
}



/* コンテンツ */

.content_wrapper {
  width: 100%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.content_title {
  border-bottom: 2px solid #504664;
  border-left: 10px solid #504664;
  padding: 6px 10px;
  font-size: 3.0rem;
  line-height: 1.2;
  color: #504664;
}

.content_container {
  width: 767px;
  margin-top: 40px;
  padding-bottom: 40px;
}

/* 開催概要のテーブル処理 */


.table {
  border-collapse: separate;
  border-spacing: 10px 15px;
  margin-top: -15px;
  margin-left: -10px;
}

.table th,
.table td {
  line-height: 1.4;
  vertical-align: middle;
}

.table td {
  padding: 0px 0px 0px 10px;
}

.table th {
  width: 2.5em;
  background: #efefef;
  font-size: 1.6rem;
  text-align-last: justify;
  text-justify: inter-ideograph;
  padding: 5px 10px;
}

/* フッター */

footer {
  width: 100%;
  min-width: 375px;
  height: 50px;
  background-color: #333;
  margin: 0 auto;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  font-size: small;
  color: #fff;
  text-align: center;
  margin-left: -60px;
}

/* 404 */

.notfound {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 50px;
}

.notfound+a.btn::before {
  content: '';
  width: 0px;
  height: 0px;
  border: 0;
  border-top: none;
  border-right: none;
  position: static;
  top: 0;
  margin-top: 0;
}

.notfound+a.btn:hover::before {
  border-top: none;
  border-right: none;
}


/*全体：タブレットサイズ以下*/

@media only screen and (max-width: 958px) {

  .wrapper {
    padding-top: 0px;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .main {
    margin: 0 auto;
    background-color: white;
    width: 100%;
  }

  .header {
    background-color: #F5F2E9;
    background-image: url(../img/washi.jpg);
    width: 100%;
    height: 70px;
    position: fixed;
    padding-top: 0px;
  }

  .header_logo img {
    height: 25px;
    margin: 22px;
  }

  .content_wrapper {
    width: 75%;
    max-width: 680px;
    /* margin-top: 40px; */
  }

  .top_img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-top: 70px;
  }

  .top_img {
    margin-bottom: 0px;
  }

  .subpage {
    margin-top: 70px;
  }

  .content_container {
    width: 100%;
    padding-bottom: 30px;
    margin-top: 30px;
  }
}

/* 長い見出しの改行 */

.sp_br {
  display: none;
}

@media only screen and (max-width: 550px) {
  .sp_br {
    display: block;
  }

  .content_title {
    line-height: 1.2;
    padding: 5px 10px;
  }
}

/* 展覧会 */

.exhibition_wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 2px solid #504664;
}

.exhibition_container {
  width: 100%;
}

.exhibition_head {
  padding-bottom: 30px;
  border-bottom: 1px solid #999;
}

.exhibition_title {
  text-align: left;
  font-size: 3.0rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* 副題の設定 */
.exhibition_title span {
  font-size: 1.8rem;
  padding-right: 10px;
}

.exhibition_subtitle {
  margin-top: 10px;
  font-size: 2.0rem;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* 副題の小文字にも設定を追加 240913 */
.exhibition_subtitle span {
  font-size: 1.6rem; /* spanの1.8remの設定から複製し1.6に変更 240913 */
  font-weight: normal;
}


/* ↓ここのgapが320pxだったのを20pxにしたら画像とtableの間隔がちょうどよく狭まった */
.exhibition_main {
  display: flex;
  gap: 20px;
  /* margin-left: 50px; */
}

.work_main {
  display: flex;
  gap: 20px;

}

.table.work_table {
  margin-top: 25px;
  width: 100%;
}
/* ↑ここのwidthで長めの釈文の折り返し幅が調節可能 width100%にするのが妥当かと思われる */

.work_table th {
  min-width: 4.5em;
}

.exhibition_table {
  margin-top: 25px;
  width: 100%;
}

.exhibition_table th {
  min-width: 4.5em;
}

.exhibitions-news_img {
  /* width: 300px; */
  padding-top: 6%;
}

.exhibitions-news_img img {
  width: 300px;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.4);
}

.exhibition_img.tatenaga img {
  height: auto;
  width: 300px;
}

.exhibition_img.yokonaga img {
  height: auto;
  width: 600px;
}

.work01 .exhibition_img.tatenaga img {
  height: auto;
  width: 300px;
}

.work02 .exhibition_img.yokonaga img {
  height: auto;
  width: 778px;
}

.work03 .exhibition_img.tatenaga img {
  height: auto;
  width: 307px;
}

.work04 .exhibition_img.yokonaga img {
  height: auto;
  width: 772px;
}

.work05 .exhibition_img.tatenaga img {
  height: auto;
  width: 174px;
}

/* ↓ココのwidthとheightに気をつけて！ サムネのサイズが変わってくるから */
.exhibition_img.yokonaga {
  width: auto;
  height: 250px;
  padding-bottom: 120px;
}

/* .wide {
  width: 400px;
} */

.exhibition_img img {
  max-width: 100%;
  /* height: auto; */
  margin-top: 40px;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.4);
}

@media only screen and (max-width: 767px) {

  .exhibition_main {
    display: flex;
    flex-direction: column-reverse;
  }

  /* この下の↓justify-content:space-between;は 左右のmarginなしで要素を均等配置するもの */
  .work_main {
    display: flex;
    flex-direction: column-reverse;
    justify-content:space-between;
  }

  .exhibition_head {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .work_head {
    padding-bottom: 20px;
  }

  .exhibition_table {
    margin-top: 15px;
    width:100%;
  }

  .exhibition_img.tatenaga {
    width: 90%;
    /* margin: 0 auto; */
    padding-left: auto;
    padding-right: auto;
  }

  .exhibition_img.yokonaga {
    width: 90%;
    /* margin: 0 auto; */
    padding-left: auto;
    padding-right: auto;
  }

  .exhibition_img.tatenaga img {
    width: 70%;
    /* margin: 10 auto; */
    margin-bottom: -20px;
  }

  .exhibition_img.yokonaga img {
    width: 80%;
    margin-bottom: 40px;
  }

  /* .work02 .exhibition_img.yokonaga {
    margin-bottom: 10px;
  } */

  /* .work04 .exhibition_img.yokonaga {
    margin-bottom: 30px;
  } */

  .exhibition_img img {
    box-shadow: none;
    text-align: center;
    /* box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.4); */
  }

  .exhibitions-news_img {
    width: 60%;
    margin: 0 auto;
  }

  .exhibitions-news_img img {
    width: 100%;
    /* 今月の作品の影をつけるか隠すかはココ */
    /* box-shadow: none; */
    box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.4);
  }

}

@media only screen and (max-width: 550px) {

  .exhibition_img.tatenaga {
    width: 70%;
    padding-left: auto;
    padding-right: auto;
    margin: 0 auto;
  }

  .exhibition_img.yokonaga {
    width: 100%;
    padding-left: auto;
    padding-right: auto;
    margin: 0 auto;
  }

  .work02 .table.work_table {
    margin-top: -50px;
  }

  .work04 .table.work_table {
    margin-top: -50px;
  }

  .exhibitions-news_img {
    width: 80%;
    margin-top: 20px;
  }

}

/* NEWS */

.news {
  width: 80%;
  max-width: 600px;
  margin: 80px auto 80px;
  border: 3px double #999;
  padding: 30px 20px;
}

.news h2 {
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1rem;
  position: relative;
  line-height: 1;
}

.news h2::after {
  content: "";
  width: 60px;
  height: 1px;
  background-color: #999;
  position: absolute;
  left: 49%;
  transform: translateX(-48%);
  bottom: -15px;
}

.news li {
  width: 100%;
  border-bottom: 1px dashed #999;
  margin-top: 15px;
  padding-bottom: 2px;
  list-style-type: none;
}

/* .news a, */
.news p {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  padding: 0px 10px;
  transition: opacity 0.1s;
}

.news a:hover {
  opacity: 50%;
  transition: opacity 0.3s;
}

.news span {
  font-size: 1.4rem;
  color: #999;
  float: left;
  padding: 0px 10px;
}

@media only screen and (max-width: 767px) {
  .news {
    width: 86%;
    margin: 40px auto 40px;
  }

  .news span {
    float: none;
  }
}

/* ごあいさつ */

.greeting_title {
  line-height: 1;
  padding-top: 20px;
  padding-left: 20px;
  border-left: 1px solid #AAA;
  border-top: 1px solid #AAA;
  margin-top: 30px;
  font-size: 2rem;
}

.greeting {
  padding-left: 20px;
  padding-top: 20px;
  border-left: 1px solid #AAA;
  /* display: flex; */
}

.greeting_ceo {
  text-align: right;
  margin-top: 20px;
}

/* シンボルマークについて */

.symbolmark {
  display: flex;
}

.symbolmark p {
  margin-right: 20px;
}

.symbolmark_img {
  text-align: center;
}

.symbolmark_img img {
  width: 180px;
  height: auto;
}

.symbolmark_comment_ttl {
  border-top: 1px dotted #333;
  border-bottom: 1px dotted #333;
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
}

.symbolmark_comment {
  margin-top: 30px;
}


@media only screen and (max-width: 550px) {
  .symbolmark {
    flex-direction: column-reverse;
  }

  .symbolmark p {
    margin-right: 0px;
  }
}

/* 役員紹介 */

.sraff_wrap {
  margin-top: 35px;
  margin-bottom: 60px;
}

.staff_container {
  display: flex;
  margin-bottom: 20px;
}

.staff_position {
  min-width: 8em;
  background-color: #efefef;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.6rem;
  padding: 0 10px;
}

.staff {
  display: flex;
  flex-wrap: wrap;
}

.staff p {
  margin: 0px 20px 0px 20px;
}

@media only screen and (max-width: 550px) {
  .sraff_wrap {
    margin-bottom: 40px;
  }

  .staff_container {
    display: inline;
  }

  .staff_position {
    width: 100%;
    padding: 0;
  }

  .staff {
    margin-top: 5px;
    margin-bottom: 10px;
    justify-content: center;
  }
}

/* 書連のあゆみ */

.history_top_img img {
  width: 100%;
  height: auto;
}

.history_menu_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.history_menu {
  width: 100%;
  height: 60px;
  margin: 10px auto;
}

@media only screen and (max-width: 670px) {
  a.history_select_container {
    margin-top: 0px;
  }

  .history_menu {
    width: 100%;
    margin: 10px 0px;
  }
}

.history {
  background-color: #504664;
  color: white;
  text-align: center;
  margin-top: 50px;
}

.history_table {
  font-size: 1.6rem;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
}

.history_year {
  margin-top: -1px;
  padding: 5px 10px;
  border-top: 1px solid white;
  font-weight: normal;
  background-color: #B1B7BA;
  color: white;
}

.history_month {
  width: 3em;
  background-color: #F5F5F5;
  white-space: nowrap;
  text-align: center;
}

.history_month,
.history_event {
  padding: 5px 0px 5px 10px;
  border-bottom: 1px solid #AAA;
}

.history_event,
.history__ {
  flex: 1;
}

.history_ceo {
  margin-top: -1px;
  padding: 5px 10px;
  border-top: 1px solid white;
  background-color: #DDDDDD;
  text-align: left;
}

.history_event_flex {
  display: flex;
}

.history_img {
  display: flex;
  flex-wrap: wrap;
}

.history_img img {
  /* width: calc(50% - 10px); */
  height: auto;
  max-width: 100%;
  margin: 5px 10px 5px 0px;
}

.history_nav_container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
}

.history_nav_oneside {
  justify-content: center;
}

.history_nav,
.history_nav_oneside_width {
  width: 200px;
  height: 50px;
}

@media only screen and (max-width: 958px) {

  .history {
    margin-top: 30px;
  }

}

@media only screen and (max-width: 767px) {

  /* SPは年を改行しない*/
  .pc_br {
    display: none;
  }

  .history_table {
    flex-direction: column;
  }

  .history_ceo {
    margin-top: -2.2em;
    border-top: px solid white;
    background-color: transparent;
    text-align: right;
    color: white;
  }

}

.history_small {
  font-size: 0.8em;
  margin: 5px 0;
}

.history_hr {
  margin: 0.3em 0;
}

@media only screen and (max-width: 550px) {

  .history_img img {
    max-width: 100%;
    margin: 5px 0px 5px 0px;
  }

  .history_nav {
    width: 40%;
  }

  .history_nav_container {
    margin-top: 30px;
    margin-bottom: 30px;
  }

}

/* ギャラリー */

.gallery_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* background-color: #CCC; */
  padding-bottom: 40px;
  border-bottom: 2px solid #CCC;
  margin-bottom: 40px;
  margin-top: 10px;
}

.gallery_title {
  font-size: 2.2rem;
  line-height: 1.4;
}

.gallery_item {
  width: calc(100% - 220px);
  margin-top: 5px;
}

.gallery_item p {
  font-size: 1.6rem;
}

.gallery_detail {
  width: 180px;
  height: 50px;
}

@media only screen and (max-width: 550px) {

  .gallery_container {
    display: block;
  }

  .gallery_item {
    width: 100%;
    margin-bottom: 20px;
  }

  .gallery_detail {
    width: calc(100% - 17px);
    padding-left: 15px;
  }

}

.gallery_description {
  margin-top: 20px;
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px solid #AAA;
}

.gallery_description_img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.gallery_description_img img {
  margin: 10px 10px;
  max-width: 100%;
  height: auto;
}

.gallery_description_figure {
  display: table;
}

.gallery_description_figure img {
  display: block;
}

/* .gallery_description_figcaption {
  font-size: small;
  text-align: left;
  display: table-caption;
  caption-side: bottom;
  padding: 0px 10px;
} */

.gallery_back,
.top_back {
  width: 250px;
  height: 50px;
  margin: 60px auto -30px;
}

/* 散歩路 */

.monument_header {
  margin-bottom: 20px;
}

.monument_header h3 {
  font-size: 2.2rem;
}

.monument_map {
  margin-top: 10px;
  max-width: 800px;
  height: auto;
}

.monument_map img {
  width: 100%;
  height: auto;
}

.monument_place_wrapper {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  margin-top: -20px;
  ;
}

.ward_wrapper {
  width: 160px;
  text-align: center;
}

.ward {
  line-height: 2;
  border: 1px solid #504664;
  background-color: #504664;
  color: white;
  margin-top: 3em;
}

.ward_wrapper dt {
  font-weight: bold;
}

.ward_wrapper dd {
  line-height: 2.5;
  border: 1px solid #504664;
  margin-top: -1px;
}

.ward_wrapper dd a {
  display: block;
  transition: background-color 0.1s;
}

.ward_wrapper dd a:hover {
  background-color: #DDD;
  transition: background-color 0.3s;
}

@media only screen and (max-width: 767px) {

  .monument_place_wrapper {
    flex-direction: column;
  }

  .ward_wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .ward {
    width: calc(100% - 3px);
    margin-top: 2em;
  }

  .ward_wrapper dd {
    width: calc(50% - 2px);
    margin-right: -1px;
    line-height: 4;
  }
}

/* @media only screen and (max-width: 550px) {
  .monument_map {
    display: none;
  }
} */

/* ボタン */

a.button {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: #504664;
  border: 1px solid #504664;
  position: relative;
  transition: right 0.1s;
}

a.button::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 1px solid #504664;
  border-right: 1px solid #504664;
  position: absolute;
  transform: rotate(45deg);
  right: 30px;
  top: 25px;
  transition: right 0.1s;
}

a.button:hover {
  background-color: #504664;
  color: white;
  transition: right 0.1s;
}

a.button:hover::after {
  border-top: 1px solid white;
  border-right: 1px solid white;
  right: 15px;
  transition: right 0.5s;
}

a.mini {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-left: -15px;
  padding-right: 15px;
}

a.mini::after {
  top: 20px;
}

a.back {
  margin-left: 0px;
  padding-right: 0px;
  margin-right: -15px;
  padding-left: 15px;
}

a.back::after {
  transform: rotate(-135deg);
  left: 30px;
}

a.back:hover::after {
  left: 15px;
  transition: left 0.5s;
}


/* グローバルナビ */

#spnavi {
  display: none;
}

.menu {
  margin-top: 65px;
  font-size: 1.8rem;
  line-height: 2.8;
}

.menu a {
  display: block;
  padding: 0px 0px;
  position: relative;
  transition: background-color 0.1s;
}

.menu .this_page::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid #333;
  border-right: 6px solid transparent;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  position: absolute;
  transform: scaleX(140%);
  top: 38%;
  left: -10px;
}

.menu a::after {
  content: '';
  width: 0%;
  height: 1px;
  background-color: #999;
  display: block;
  margin: 0 auto;
  /* margin-left: 0; */
  position: relative;
  bottom: 8px;
  transition: width 0.1s;
}

.menu a:hover::after {
  width: 100%;
  transition: width 0.3s;
}


/* タブレットサイズ以下 */

@media only screen and (max-width: 958px) {
  #global_navi {
    top: 0;
    left: 0;
    width: 100%;
  }

  #spnavi:checked~* .blackout {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
  }

  .menu {
    margin-top: 70px;
    background-color: #FFF;
    width: 100%;
    line-height: 0;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transition: line-height 1.3s;
  }

  .menu a:hover {
    display: block;
    background-color: #DDD;
    transition: background-color 0.3s;
  }

  .menu a::after {
    height: 0px;
  }

  .menu li {
    border-bottom: 1px solid #DDD;
  }

  #spnavi:checked~* .menu {
    opacity: 1;
    line-height: 5;
    transition: line-height 0.3s;
  }

  #spnavi:checked~#global_navi {
    position: fixed;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
  }

  /* ハンバーガー */

  #global_navi #spnavi_ibtn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  #spnavi_ibtn span {
    display: block;
    width: 40px;
    height: 40px;
    cursor: pointer;
    cursor: hand;
  }

  #spnavi_ibtn span span::before,
  #spnavi_ibtn span span::after,
  #spnavi_ibtn span::after {
    position: absolute;
    left: 5px;
    content: "";
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.2s;
  }

  #spnavi_ibtn span span::before {
    top: 10px;
  }

  #spnavi_ibtn span span::after {
    top: 20px;
  }

  #spnavi_ibtn span::after {
    bottom: 8px;
  }

  /* ハンバーガー（閉じる） */

  #spnavi:checked~#global_navi label#spnavi_ibtn span span::before {
    top: 19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition: all 0.2s;
  }

  #spnavi:checked~#global_navi label#spnavi_ibtn>span::after {
    bottom: 18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transition: all 0.2s;
  }

  #spnavi:checked~#global_navi label#spnavi_ibtn span span::after {
    display: none;
  }
}

/* TOPへ戻る*/
.pagetop_onoff {
  display: none;
}

.pagetop {
  height: 80px;
  width: 80px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #E198B4;
  border-radius: 50%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  opacity: 0.5;
  transition: opacity 0.1s;
}

.pagetop_arrow {
  height: 20px;
  width: 20px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: translateY(20%) rotate(-45deg);
}

.pagetop_top {
  font-size: 18px;
  color: white;
}

.pagetop:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

@media only screen and (max-width: 767px) {
  .pagetop {
    height: 40px;
    width: 40px;
    border-radius: 0;
    opacity: 0.7;
    right: 10px;
    bottom: 10px;
  }

  .pagetop_top {
    display: none;

  }
}


/* 作品一覧 */

.category_tab {
  display: none;
}

.category_wrapper {
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 100px;
}

.category_wrapper::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: #504664;
  order: -1;
}

.category_label {
  color: #504664;
  background-color: #EFEFEF;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
  border: 1px solid #504664;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category_label:not(:last-of-type) {
  margin-right: 5px;
}

.category_content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.category_tab:checked+.category_label {
  color: White;
  background-color: #504664;
  font-weight: bold;
}

.category_tab:checked+.category_label+.category_content {
  height: auto;
  overflow: auto;
  /* padding: 10px 15px; */
  opacity: 1;
  transition: opacity .5s;
  border: 1px solid #504664;
}

@media only screen and (max-width: 767px) {

  .category_wrapper {
    display: block;
  }

  .category_label {
    display: block;
    border-radius: 0 0 0 0;
    margin-top: 5px;
  }

  .category_label:not(:last-of-type) {
    margin-right: 0px;
  }

  .category_content {
    width: auto;
  }

  .category_content>p {
    text-align: center;
  }

  .koubo_tab {
    padding: 20px 0 18px;
  }

}

/* .work_width {
  max-width: 760px;
} */

.award {
  margin: 40px 0;
}

.award h3 {
  font-size: 2.2rem;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

.award h3::after {
  content: "";
  width: 60px;
  height: 1px;
  background-color: #999;
  position: absolute;
  left: 50%;
  transform: translateX(-48%);
  bottom: -15px;
}

.nonaward {
  padding-top: 50px;
}

.work_container {
  display: flex;
  flex-wrap: wrap;
}

.centering {
  justify-content: center;
}

.work_card_wrapper {
  width: 150px;
  margin: 0px 15px 40px 15px;
}

.work_card {
  text-align: center;
}

.group {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 3px;
}

.creator {
  font-size: 1.8rem;
}

@media screen and (max-width: 765px) {

  .work_wrapper {
    max-width: 540px;
    margin: 0 auto;   
  }

  .nonaward {
    padding-top: 40px;
  }

}


/*モーダルウインドウ*/

.full.is-locked {
  position: fixed;
  width: 100%;
}

.modal {
  visibility: hidden;
  overflow-y: scroll;
  opacity: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s, visibility 0s 0.3s;
  background: rgba(0, 0, 0, 0.8);
}

.modal.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0s 0s;
}

.modal_container {
  display: flex;
  min-height: 100%;
  justify-content: center;
  align-items: center;
}

/* IE11 */
.modal_container _:-ms-lang(x)::-ms-backdrop,
.modal_container {
  min-height: 100vh;
}

.modal_container::after {
  content: '';
  min-height: inherit;
  font-size: 0;
}

.modal_inner {
  margin: 20px auto;
}

.modal_content {
  display: none;
  max-width: 80vw;
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  margin: 20px auto;
  text-align: center;
}

.is-active .modal_content {
  display: block;
}

.text_wrapper img {
  max-width: 100%;
  height: auto;
}

.monument_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.monument_card {
  margin: 20px;
}

.monument_img {
  margin-bottom: 0px;
}

.monument_img img {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
}

.monument_ttl {
  width: 100%;
  background-color: #504664;
  color: white;
}

.modalBtn {
  display: block;
  width: 150px;
  height: 150px;
  border: 1px solid #999;
  margin-bottom: 10px;
  overflow: hidden;
}

.modalBtn.exhibitionModal {
  width: 100%;
  height: auto;
  border: none;
  margin-bottom: 0;
  text-align: center;
  overflow: visible;
}

@media only screen and (max-width: 767px) {
  .exhibition_img a.modalBtn {
    pointer-events: none;
  }
}

.modalBtn img {
  object-fit: cover;
  transition: opacity 0.1s, transform 0.1s;
}

.modalBtn img:hover {
  opacity: 0.5;
  transform: scale(1.1);
  transition: opacity 0.3s, transform 0.3s ease-out;
  cursor:pointer
}

.monument_reset {
  width: auto;
  height: auto;
  border: none;
  margin-bottom: 0px;
  overflow: visible;
}

.modalClose {
  padding: 5px;
  background-color: white;
  border: 1px solid #504664;
  color: #504664;
  transition-duration: 0.1s;
}

.modalClose:hover {
  background-color: #504664;
  color: white;
  transition-duration: 0.3s;
}

#iframeID {
  width: 100%;
}

/* 公募規定 */

.koubo_regulations {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #BF272D;
  color: white;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px;
}

.koubo_regulations_title {
  font-size: 3.0rem;
  line-height: 1.2;
  margin-left: 15px;
  padding: 5px 0;
}

.koubo_regulations_title span {
  background-color: #333;
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px 15px;
}

.koubo_table {
  margin-bottom: 30px;
}

.koubo_table th {
  min-width: 4.5em;
}

@media only screen and (max-width: 767px) {
  .koubo_regulations {
    display: block;
    margin-top: 0px;
    margin-bottom: 80px;
    text-align: center;
  }

  .koubo_regulations span {
    left: 0;
    top: 100%;
  }
}

.bumon_wrapper {
  margin-top: 30px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.bumon_wrapper::after {
  height: 0px;
  background-color: none;
}


/* 部門別色分け */

.koubo_label01 {
  background-color: #DEEDF5;
  color: #4C829A;
  border-width: 0px;
}

.category_tab:checked+.category_label.koubo_label01 {
  background-color: #63A4C2;
}

.category_tab:checked+.category_label+.category_content.koubo_content01 {
  border: 8px solid #63A4C2;
  margin-bottom: 15px;
}

.koubo_table01 th {
  background-color: #63A4C2;
  color: white;
}

.koubo_label02 {
  background-color: #F5E3EB;
  color: #98617A;
  border-width: 0px;
}

.category_tab:checked+.category_label.koubo_label02 {
  background-color: #BF7C9A;
}

.category_tab:checked+.category_label+.category_content.koubo_content02 {
  border: 8px solid #BF7C9A;
  margin-bottom: 15px;
}

.koubo_table02 th {
  background-color: #BF7C9A;
  color: white;
}

.koubo_label03 {
  background-color: #F7ECDD;
  color: #9C7F54;
  border-width: 0px;
}

.category_tab:checked+.category_label.koubo_label03 {
  background-color: #C5A16C;
}

.category_tab:checked+.category_label+.category_content.koubo_content03 {
  border: 8px solid #C5A16C;
  margin-bottom: 15px;
}

.koubo_table03 th {
  background-color: #C5A16C;
  color: white;
}

.koubo_label04 {
  background-color: #DBE8E5;
  color: #508179;
  border-width: 0px;
}

.category_tab:checked+.category_label.koubo_label04 {
  background-color: #68A299;
}

.category_tab:checked+.category_label+.category_content.koubo_content04 {
  border: 8px solid #68A299;
  margin-bottom: 15px;
}

.koubo_table04 th {
  background-color: #68A299;
  color: white;
}

@media only screen and (max-width: 767px) {

  .category_tab:checked+.category_label+.category_content.koubo_content01,
  .category_tab:checked+.category_label+.category_content.koubo_content02,
  .category_tab:checked+.category_label+.category_content.koubo_content03,
  .category_tab:checked+.category_label+.category_content.koubo_content04 {
    border-top: none;
  }
}

.award_space {
  line-height: 3;
}

.work_size {
  width: 100%;
  margin: 0px 0px 5px 0px;
}

.work_size td {
  text-align: center;
  padding: 5px 5px;
}

.work_size tr:nth-child(2n+1) {
  background-color: #EFEFEF;
}

.koubo_ippan {
  display: flex;
  margin: 0px 0px 0px 0px;
}

.koubo_ippan_ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #F7ECDD;
  margin-right: 10px;
  padding: 5px 10px;
}

.koubo_ippan_contents {
  margin: 0;
  width: 78%;
}

.bumon_table {
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 0px;
  /*.tableの上書き*/
}

.bumon_table th {
  width: 5.5em;
}

.v_center {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}


@media only screen and (max-width: 700px) {

.table td {
    padding-left: 0px;
  }

  .bumon_table {
    margin: 0px 5px;
  }

  .bumon_table th,
  .bumon_table td {
    display: block;
  }

  .bumon_table th {
    width: 100%;
    text-align-last: auto;
    text-justify: none;
    padding: 3px 0px;
  }

  .bumon_table td {
    padding-top: 5px;
  }

  .work_size td {
    display: table-cell;
    padding: 3px 5px;
  }

  .work_size {
    margin-top: 5px;
    width: 100%;
  }

  .v_center {
    justify-content: center;
  }

  .center {
    text-align: center;
  }

  .koubo_ippan {
    display: block;
    margin-top: 3px;
  }

  .koubo_ippan_ttl {
    margin-right: 0px;
    padding: 3px 0px;
  }

  .koubo_ippan_contents {
    margin-top: 8px;
    width: 100%;
  }

}

.submission_wrapper {
  width: 100%;
  background-color: #FFF0D3;
  padding-bottom: 1px;
  margin-top: -10px;
  margin-bottom: 35px;
}

.submission_header {
  background-color: #E57936;
  color: white;
  text-align: center;
  padding: 5px;
}

.submission_content_wrapper {
  margin: 20px 20px 30px;
  display: flex;
}

.submission_content_title {
  width: 150px;
  padding: 5px;
  background-color: #936771;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submission_kojin {
  background-color: #5F765B;
}

.submission_content {
  margin-left: 20px;
  flex: 1;
}

.submission_button {
  padding-top: 10px;
  padding-bottom: 3px;
  width: 100%;
  height: 60px;
  line-height: 1.2;
}

.submission_address_wrapper {
  background-color: white;
  text-align: center;
  margin: 20px 20px;
}

.submission_address_header {
  background-color: #333;
  color: white;
  padding: 5px;
}

.submission_address_text {
  padding: 10px;
}

.red {
  color: red;
}

.submission_notice {
  margin-top: -10px;
  margin-bottom: 35px;
  color: red;
  border-top: 1px solid red;
  border-bottom: 1px solid red;
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 767px) {

  .submission_content_wrapper {
    display: block;
  }

  .submission_content_title {
    width: 100%;
  }

  .submission_content {
    margin-left: 0px;
    margin-top: 5px;
  }
}

.shop_wrapper {
  border-bottom: 1px solid #AAA;
  margin-top: 50px;
  padding-bottom: 50px;
}

.shop_wrapper_last {
  border-bottom: none;
}

.shop_content {
  display: flex;
  margin-bottom: 25px;
}

.shop_name {
  width: 150px;
  background-color: #AAA;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
}

.shop_address {
  margin-left: 20px;
  flex: 1;
}

.shop_map {
  width: 100%;
  aspect-ratio: 16/9;
}

@media only screen and (max-width: 767px) {

  .shop_wrapper {
    border-bottom: none;
    margin-top: 30px;
    padding-bottom: 15px;
  }

  .shop_content {
    display: block;
    margin-bottom: 5px;
  }

  .shop_name {
    width: 100%;
    margin-bottom: 5px;
  }

  .shop_address {
    margin-left: 0px;
    text-align: center;
  }

  footer {
    margin-left: 0;
  }

}

.koubo_back {
  width: 250px;
  height: 50px;
  margin: 0px auto 80px;
}