@charset "UTF-8";

/* 共通部分 */

:root {
  --scroll-padding-top: 150px;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #333;
  color: #eee;
  font-family: 'M PLUS 1p', sans-serif;
}

a {
  text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #FFF
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

.anchor {
  /* display: block; */
  margin-top: -80px;
  padding-top: 80px;
  /* background-color: aqua; */
}

.page-header {
  position: sticky;
  z-index: 1000;
  width: 100%;
  top: 0;
  background-color: rgba(20, 20, 20, .8);
  padding: 15px 0 5px;
}

.page-header-inner {
  max-width: 1100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* background-color: beige; */
}

.main-logo {
  position: absolute;
  top: 75%;
  left: calc(50% - 200px);
  z-index: 999;
}


.logo {
  width: 400px;
  opacity: .9;
  /* margin-top: 10px; */
}

.yamaguchi{
  position: absolute;
  top:89%;
  left:80%;
  z-index: 999;
}

.yamaguchi a:link, .yamaguchi a:visited{
  color:#aaa;
  mix-blend-mode: darken;
  font-size: 0.8rem;
}


.nav {
  display: flex;
  list-style: none;
  font-size: 1.35rem;
}

.nav a:link {
  color: #FFF;
}

.nav a:visited {
  color: #FFF;
}

.nav li {
  margin-left: 30px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  color: #FFF;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  transition: .3s;
  transform: translateX(-50%);
  background-color: #fff;

}

.nav-link:hover:after {
  width: 100%;
}

/* section */

.section-heading {
  color: #fff;
  font-size: 2rem;
  font-family: 'M PLUS 1p', sans-serif;
  text-transform: uppercase;
  padding: 0 0 2px 10px;
  margin-top: 50px;
  margin-bottom: 20px;
  border-left: 3px solid #eee;
}

/* News */
.news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

.news-list .news-item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #ddd;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

.news-list .news-item:first-child {
  border-top: 1px solid #CCC;
}

.news-list .news-item .news-date {
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #ddd;
  padding: 0 20px 0 0;
}

.news-list .news-item .news-category {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}

.news-list .news-item .news-category span {
  background: #666;
  color: #ddd;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}

.news-list .news-item .news-title {
  margin: 0;
  width: 100%;
}

.news-list .news-item a:hover .news-title {
  color: #fff;
}

.more{
  font-size: 0.825rem;
  text-align: center;
  margin-bottom:5px;
}



/* event */

.event-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

.event-list .event-item a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #ddd;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

.event-list .event-item:first-child a {
  border-top: 1px solid #CCC;
}

.event-list .event-item .event-date {
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #ddd;
  padding: 0 20px 0 0;
}

.event-list .event-item .event-category {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}

.event-list .event-item .event-category span {
  background: #666;
  color: #ddd;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}

.event-list .event-item .event-title {
  margin: 0;
  width: 100%;
}

.event-list .event-item a:hover .event-title {
  color: #fff;
}

.past-event {
  text-align: center;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

/* works */
.works-cat-sel {
  display: flex;
  list-style: none;
}

.works-cat-sel li {
  padding: 0 15px;
  font-size: 1.2rem;
}

.works-heading {
  font-size: 1.5rem;
  font-weight: normal;
  padding: 0 0 0 10px;
  margin: 10px 0;
}

.works-box {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  /* grid-template-columns: repeat(3, 1fr); */
}



.works-item {
  max-width: 350px;
}

.works-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px 3px;
}


.works-cat {
  font-size: 0.75rem;
  color: #fff;
  background: #666;
  padding: 5px;
}

.works-date {
  font-size: 0.8rem;
}

.works-title {
  padding: 3px;
  font-size: 1.2rem;
  text-align: justify;
}

.works-title::before {
  content: "『";
}

.works-title::after {
  content: "』";
}

.works-author::before {
  content: "著者：";
}

.works-editor::before {
  content: "編集：";
}

.works-illustrator::before {
  content: "イラスト：";
}

.works-caption{
  border-top:dotted 1px #FFF;
  padding:5px 1px;
  margin: 5px 0;
  text-align: justify;
}

.works-price {
  font-size: 1.2rem;
}

.works-melon, .works-booth {
  /* background: #666; */
  padding: 5px;
  text-align: center;
}

.works-melon a, .works-booth a {
  display: block;
}

.works-melon:hover, .works-booth:hover {
  background: #aaa;
}


footer {
  background: #444;
  color: #ddd;
  margin-top: 20px;
  padding: 20px 0;
  text-align: center;
}

.hamburger-menu {
  display: none;
}

.menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  background: #666;
  border-radius: 5px;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  position: absolute;
  transition: all 0.5s;
}

.menu-btn span::before {
  bottom: 8px;
}

.menu-btn span::after {
  top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}

#menu-btn-check:checked~.menu-btn span:before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span:after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check {
  display: none;
}

.menu-content {
  width: 250px;
  /* height: 100%; */
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 1180;
  background-color: #666;
  transition: all 0.5s;
}

.menu-content ul {
  padding: 70px 0 20px;
  list-style: none;
}

.menu-content ul li:not(:last-child) {
  border-bottom: solid 1px #fff;

}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  padding: 9px 15px 10px 15px;
  position: relative;
  z-index: 1110;
}

.menu-content ul li a:before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}

#menu-btn-check:checked~.menu-content {
  left: calc(100% - 250px);
}

.toggle {
  display: none;
  }

  .option {
  position: relative;
  margin-bottom: 1em;
  }
  .option:hover, .option img:hover{
      cursor: pointer;
  }
  .title,
  .content {
  transition: all 0.3s;
  }
  .title {
  display: block;
  }

  .content {
  max-height: 0;
  overflow: hidden;
  }
  .toggle:checked~.content {
  max-height: 500px;
  transition: all 1.5s;
  }
  /* .toggle:checked + .title::before {
  transform: rotate(90deg) !important;
  } */

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

  header{
    height:60px;
  }

  .hamburger-menu {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .logo {
    width: 300px;
  }

  .main-logo {
    top:75%;
    left:50%;
    transform: translate(-50%,-50%); 
  }

  .yamaguchi{
    left: 50%;
    top: 88%;
    transform: translate(-50%,0); 
  }

  .news-list .news-item,
  .event-list .event-item a {
    flex-wrap: wrap;
  }

  .news-list .news-item .news-date,
  .event-list .event-item .event-date {
    min-width: 100px;
  }

  .news-list .news-item .news-title,
  .event-list .event-item .event-title {
    margin-top: 10px;
  }
}