/*
Theme Name: DIGSHIBUYA2
Theme URI: 
Author: hysysk
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.4.1
Requires PHP: 5.7
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digshibuya
Tags: full-site-editing, 
*/

header {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  max-width: 100% !important;
  padding: 0 1rem !important;
  box-sizing: border-box;
  height: 56px;
  font-size: 1rem;
  z-index: 10;
}

header div,
header .wp-block-image {
  height: 64px;
}

header img {
  height: 64px;
  width: auto !important;
}

header .hashtag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
}

section {
  text-align: center;
}

footer a {
  text-decoration: none;
}

.wp-block-cover .cover__caption {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  text-align: right;
}

.entry-content {
  margin: 0;
}

.bogo-language-switcher {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.bogo-language-switcher li {
  margin: 0 0.5rem;
}

.bogo-language-switcher a.current {
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #28ef30;
}

.bogoflags {
  display: none;
}

.overview__list {
  list-style: none;
  text-align: left;
  padding: 1rem;
  background-color: #fff;
  color: #0055b2;
  font-weight: bold;
  font-size: 0.875rem;
}

.overview__list__item__separator {
  display: inline-block;
  width: 32px;
  padding: 0 0.5rem;
}

.is-style-arrow-underline {
  display: inline-block;
  border-bottom: 4px solid #28ef30;
  position: relative;
  padding-bottom: 0.25rem;
}

.is-style-arrow-underline::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("./assets/images/arrow_head.png");
  background-repeat: no-repeat;
  width: 9px;
  height: 12px;
  bottom: -8px;
  right: -6px;
}

.is-style-arrow-underline::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url("./assets/images/arrow_tail.png");
  background-repeat: no-repeat;
  width: 5px;
  height: 8px;
  bottom: -5.5px;
  left: -4px;
}

.column-reverse-row {
  flex-direction: column-reverse;
}

.column {
  flex-direction: column;
}

.dig-info-card {
  background-color: #004085;
  display: flex;
  text-align: left;
  gap: 1rem;
  padding: 1rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.dig-info-card__image {
  width: 5rem;
}

.dig-info-card__image img {
  width: 100%;
  height: auto;
}

.dig-info-card__image--small {
  width: 80px;
  height: auto;
}

.dig-info-card__image--medium {
  width: 128px;
  height: auto;
}

.dig-info-card__image--large {
  width: 100%;
  height: auto;
}

.dig-info-card__text {
  font-size: 0.75rem;
}

.dig-info-card__text {
  width: 100%;
  cursor: pointer;
  background-image: url("./assets/images/ico_plus.png");
  background-repeat: no-repeat;
  background-position: 100% 0;
}

.dig-info-card--open .dig-info-card__text {
  background-image: url("./assets/images/ico_minus.png");
  background-position: 100% 6px;
}

.dig-info-card__text__header__name {
  color: #28ef30;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.5;
  width: calc(100% - 1.25rem);
}

.dig-info-card__text__header__dateplace {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.5;
}

.dig-info-card__text__body {
  display: none;
}

.dig-info-card--open .dig-info-card__text__body {
  display: block;
  border-top: 1px solid #fff;
  margin-top: 1rem;
  padding-top: 1rem;
}

.dig-info-card__text__body__content {
  display: none;
}

.dig-info-card__text__body__content--current {
  display: block;
}

.dig-info-card__body__tabs {
  display: flex;
  gap: 1.5rem;
  font-weight: bold;
}

.dig-info-card__body__tab--current {
  border-bottom: 1px solid #28ef30;
}

.nft-artists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  font-weight: bold;
  line-height: 1.5;
  gap: 1rem;
}

.nft-artists a {
  font-weight: normal;
  text-decoration: none;
  color: #fff;
}

.news-entry {
  text-align: left;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-entry .entry-content {
  font-size: 1.125rem;
  color: #28ef30;
  font-weight: bold;
}

.news-entry .entry-content p {
  margin: 0;
  padding: 0;
}

.news-entry--stack .news-entry__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.news-entry--stack .news-entry__item__date {
  padding: 0;
}

.news-entry__item img {
  width: 100%;
  height: auto;
  display: block;
}

.news-entry__item a {
  color: #28ef30;
  position: relative;
  text-decoration: none;
  padding-right: 20px;
}

.news-entry__item a::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("./assets/images/ico_outer.png");
  background-repeat: no-repeat;
  width: 17px;
  height: 17px;
  bottom: 0px;
  right: 0;
}

.news-entry__item__date {
  font-weight: bold;
  padding: 0.5rem 0;
}

.timetable p.has-background {
  padding: 0 0.5rem;
}

.timetable__menu {
  list-style: none;
  margin: 0;
  padding: 2rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 3rem;
  z-index: 11;
}

.timetable__menu__item {
  color: #28ef30;
  font-weight: bold;
  margin: 0 0.5rem;
  cursor: pointer;
  width: 88px;
  background-color: #0055b2;
  height: 40px;
  border-radius: 20px;
}

.timetable__menu__item--current {
  color: #0055b2;
  background-color: #28ef30;
}

.timetable__date {
  font-size: 1.5rem;
}

.timetable {
  display: none;
}

.timetable--current {
  display: block;
}

.visible-sp {
  display: block;
}

.visible-pc {
  display: none;
}

.archive section,
.page section,
.page main {
  padding-top: 8rem;
}

.page main {
  padding-right: 1rem;
  padding-left: 1rem;
}

.guideline p {
  border-top: 1px solid #28ef30;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.clip {
  clip-path: polygon(0 16px, 16px 16px, 16px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.menu {
  z-index: 100;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu a {
  text-decoration: none;
}

.menu__open,
.menu__close {
  background: none;
  border: none;
  cursor: pointer;
  width: 64px;
  height: 64px;
  padding: 0;
  margin: 0;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 101;
}

.menu .menu__close {
  display: none;
  z-index: 102;
}

.menu__content {
  display: none;
}

.menu--open .menu__content {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  max-width: unset;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #0055b2;
  align-items: center;
  justify-content: center;
}

.menu--open .menu__close {
  display: block;
}

.totop {
  background: none;
  border: none;
  cursor: pointer;
  width: 64px;
  height: 64px;
  padding: 0;
  margin: 0;
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.languages {
  font-weight: bold;
}

.language--current {
  border-bottom: 1px solid #28ef30;
}

.committee {
  color: #fff;
  text-align: center;
}

.committee a {
  text-decoration: none;
}

.committee .mail {
  color: #fff;
  font-size: 0.75rem;
}

.category-news {
  padding: 0 1rem;
}

.event-dates {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

.event-dates__date {
  display: flex;
  align-items: end;
  line-height: 1;
}

.event-dates__arrow {
  width: 3rem;
  height: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

@media (min-width: 782px) {
  header {
    padding: 0 2rem;
    height: 120px;
    font-size: 1.25rem;
  }

  .page header {
    height: 64px;
    padding: 0 2rem;
  }

  .archive section,
  .page section,
  .page main {
    padding-top: 8rem;
  }

  .timetable__menu {
    top: 1rem;
  }

  .visible-sp {
    display: none;
  }

  .visible-pc {
    display: block;
  }

  .news-entry {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-entry--stack {
    grid-template-columns: 1fr;
  }

  .column-reverse-row {
    flex-direction: row;
  }

  .nft-artists {
    grid-template-columns: repeat(5, 1fr);
  }

  .overview__list {
    font-size: 1rem;
  }
}