@charset "UTF-8";

/* Responsive overrides for narrow screens */
.glnv-text {
  display: inline;
}

/* ハンバーガーボタンのデフォルト状態を非表示 */
.glnv-toggle {
  display: none;
}

/* nav width adjustment for medium screens */
@media screen and (max-width: 1100px) {
  nav.glnv ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px;
    box-sizing: border-box;
  }
}

@media screen and (min-width: 901px) {
  .glnv-toggle {
    display: none !important;
  }
  header nav#fixedBox.glnv {
    position: static !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
    background: url(/wp-content/themes/animazione/images/common/glnv_bg.png) left bottom repeat-x !important;
  }
  header nav#fixedBox.glnv ul {
    display: flex !important;
    width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  header nav#fixedBox.glnv ul li {
    float: none !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    list-style: none !important;
  }
  header nav#fixedBox.glnv ul li p {
    margin: 0 !important;
  }
  header nav#fixedBox.glnv ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 1.6rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    position: relative !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  header nav#fixedBox.glnv ul li a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    background: #fc5e5e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }
  header nav#fixedBox.glnv ul li a:hover,
  header nav#fixedBox.glnv ul li a:focus-visible {
    background: #161616 !important;
    transform: translateY(-1px);
    box-shadow: inset 0 -2px 0 rgba(252, 94, 94, 0.5);
  }
  header nav#fixedBox.glnv ul li a:hover::after,
  header nav#fixedBox.glnv ul li a:focus-visible::after {
    transform: scaleX(1);
  }
  header nav#fixedBox.glnv ul li a:focus-visible {
    outline: 2px solid rgba(252, 94, 94, 0.65);
    outline-offset: -2px;
  }
  header nav#fixedBox.glnv .glnv-text {
    display: inline-block !important;
  }
  html body #fancybox-overlay,
  html body #fancybox-wrap,
  html body #fancybox-wrap .fancybox-bg,
  html body div.fancybox-bg {
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media screen and (max-width: 900px) {
  html {
    font-size: 56.25%;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }

  #wrapper {
    padding-top: 72px;
  }

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

  header .inner {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 8px 16px;
    box-sizing: border-box;
    position: relative;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  header #logo_headdescription {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header #logo_headdescription #logo,
  header #logo_headdescription>#logo_headdescription {
    float: none;
    width: 100%;
    text-align: center;
  }

  header #logo_headdescription img {
    margin: 0 auto 8px;
    width: 70%;
    /* max-width: 240px; */
  }

  .glnv-toggle {
    position: fixed;
    right: 12px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 6px 14px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    color: #ffffff;
    z-index: 20000;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.9);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
  }

  .glnv-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
  }

  .glnv-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  header nav#fixedBox.glnv {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto !important;
    max-height: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.35) !important;
    overflow: hidden;
    transform: translateY(-12px);
    opacity: 0;
    transition: max-height 0.3s ease, transform 0.3s ease, opacity 0.25s ease;
    z-index: 19999;
    overscroll-behavior: contain;
    pointer-events: none;
    display: block;
  }

  header nav#fixedBox.glnv ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100% !important;
    margin: 0 !important;
    padding: 80px 12px 10px;
    box-sizing: border-box;
  }

  /* override desktop floats */
  header nav#fixedBox.glnv ul li {
    float: none !important;
    width: 49% !important;
    display: block;
    clear: both;
    margin-bottom: 6px;
    text-align: center;
    list-style: none;
    position: relative;
  }

  header nav#fixedBox.glnv ul li img {
    width: 100%;
    height: auto;
  }

  header nav#fixedBox.glnv a {
    display: block;
    padding: 10px 12px;
    color: #ffffff;
    background: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.4rem;
    line-height: 1.2;
  }

  header nav#fixedBox.glnv ul li img {
    display: none;
  }

  header nav#fixedBox.glnv .glnv-text {
    display: block !important;
    visibility: visible !important;
    color: #ffffff;
    font-weight: 600;
  }

  header nav#fixedBox.glnv ul li p {
    margin: 0 !important;
  }

  header nav#fixedBox.glnv.is-open,
  header nav#fixedBox.glnv[aria-hidden=false] {
    max-height: 100vh !important;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 8px;
    pointer-events: auto;
  }

  /* guard against legacy lightbox overlay artifacts on mobile */
  #fancybox-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #fancybox-wrap,
  #fancybox-wrap .fancybox-bg {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body,
  body * {
    box-sizing: border-box;
  }

  #page_img {
    height: clamp(220px, 56vw, 360px);
    overflow: hidden;
    position: relative;
  }

  #page_img .page_title {
    position: relative;
    z-index: 2;
    padding: 10px 0;
  }

  #page_img .backstretch {
    z-index: 1 !important;
  }

  #page_img .page_title h1 {
    width: 100%;
    height: auto;
    padding: 8px 0;
  }

  #page_img .page_title h1 span {
    padding-top: 0;
  }

  .social,
  #mainimg,
  #day_area,
  #news .inner,
  #twitter .set,
  #mixi .inner,
  #facebook .inner,
  #cosplay .outer,
  #cosplay .inner,
  #staff .outer,
  #staff .inner,
  #link .inner,
  #page_top .inner,
  #page_top,
  #news .block,
  #news dl,
  .cont_block .in_block,
  .cont_block .in_title,
  #breadcrumb,
  .page_catch,
  .goto,
  footer .inner {
    width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }

  #page_top {
    height: auto;
  }

  #page_top h1 {
    padding-top: 30px;
  }

  #page_top span {
    margin: 16px auto 0;
    width: 160px;
  }

  #page_top .inner {
    padding-top: 32px;
  }

  #page_top span img {
    width: 100% !important;
    height: auto;
  }

  .goto p {
    float: none;
    width: 47px;
    margin: 0 auto;
  }

  #mainimg .bxslider li img {
    width: 100% !important;
    height: auto;
    display: block;
  }

  /* bxSlider container fixes */
  #mainimg {
    width: 100% !important;
  }

  #mainimg .bx-wrapper,
  #mainimg .bx-viewport {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #mainimg .bxslider li {
    box-sizing: border-box;
    height: auto !important;
  }

  #mainimg .bx-wrapper {
    margin: 0 auto 12px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    position: relative;
    z-index: 1;
  }

  #mainimg .bx-viewport {
    left: 0 !important;
    overflow: hidden;
  }

  #mainimg .bxslider {
    margin: 0;
    padding: 0;
  }

  #mainimg .bx-pager {
    padding-top: 6px;
  }

  #mainimg .bx-controls-direction a {
    z-index: 9999;
    pointer-events: auto;
    opacity: 0.9;
  }

  #day_area {
    height: auto;
  }

  #day_area .day {
    padding: 48px 0;
    font-size: 3rem;
  }

  #news .block {
    background: none !important;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  #news .block dl {
    float: none;
    width: 100%;
    background: none;
    padding: 0;
  }

  #news .block dl dt,
  #news .block dl dd {
    float: none;
    width: 100%;
    padding: 10px 0;
    background: none;
  }

  #news .block dl dd {
    padding-top: 0;
  }

  #twitter .set {
    background: none;
  }

  #twitter .set .tweets,
  #twitter .set .hash {
    float: none;
    width: 100%;
  }

  #page_navi {
    display: none;
  }

  #mixi .inner {
    position: static;
  }

  #mixi .inner .btn {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  #facebook {
    background: none;
  }

  #cosplay .outer,
  #staff .outer {
    background: none;
  }

  #cosplay .inner .set {
    margin-left: 0 !important;
    width: 100% !important;
  }

  #link .inner .txt_banner .txt,
  #link .inner .txt_banner .txt_pic,
  #link .inner .txt_banner .txt_pic .box .img,
  #link .inner .txt_banner .txt_pic .box .txt {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  #link .inner .bnr_index {
    width: 100%;
  }

  #cosplay .inner {
    text-align: left;
    padding-top: 48px;
  }

  #cosplay .inner .set {
    width: 100%;
    margin: 0 0 24px 0;
  }

  #staff .inner {
    padding: 32px 0;
  }

  #staff .inner .btn_area {
    width: 100%;
  }

  footer .inner .add_area,
  footer .inner .g_banner,
  footer .inner .copyright {
    float: none;
    text-align: center;
    padding: 8px 0;
  }

  footer .inner .add_area .mail,
  footer .inner .add_area .twitter {
    display: table;
    text-align: left;
    margin: 0 auto 8px;
    background-position: left 4px;
    background-repeat: no-repeat;
    padding-left: 22px;
    line-height: 1.35;
  }

  /* index/list pages */
  #event_index ul,
  #cast_index ul,
  #book_index ul,
  #photo_index .ul_index,
  #photo_index .ul_index ul,
  #book .inner,
  .set_outer,
  #time table,
  #time .comment,
  #log_area,
  #comment,
  .to_old {
    width: 100%;
    margin: 0 auto;
  }

  .to_old {
    position: static;
    margin-top: 0;
    text-align: right;
  }

  .to_old p {
    position: static;
  }

  #event_index ul li a,
  #cast_index ul li a,
  #book_index ul li a {
    height: auto;
    padding: 10px 12px;
    background: #000;
    border-radius: 6px;
  }

  #event_index ul li a:hover,
  #cast_index ul li a:hover,
  #book_index ul li a:hover {
    border-left: none;
  }

  .page_catch ul li {
    float: none;
    margin: 0 0 12px 0;
    text-align: center;
  }

  .set_outer .set_index {
    margin-right: 0;
  }

  .set_outer .set_index .set {
    width: 100%;
    margin-right: 0;
  }

  #time .table_area {
    padding: 0 10px;
    box-sizing: border-box;
  }

  #time table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
    font-size: 10px;
    font-size: 1.0rem;
  }

  #time table th,
  #time table td {
    padding: 4px 3px;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #time table th:first-child,
  #time table td:first-child,
  #time table th:last-child,
  #time table td:last-child {
    width: auto;
    text-align: left;
  }

  /* event detail */
  #detail #log_area #togetter,
  #detail #log_area #ust,
  #detail #log_area #photo,
  #flyer .date_place .date_area,
  #flyer .date_place .place_area,
  #flyer .price_discount .price_area,
  #flyer .price_discount .discount_area,
  #detail .date_place .date_area,
  #detail .date_place .place_area,
  #detail .price_discount .price_area,
  #detail .price_discount .discount_area {
    float: none;
    width: 100%;
    margin: 0 0 16px 0;
  }

  #detail .date_place .txt,
  #detail .price_discount .txt,
  #flyer .date_place .txt,
  #flyer .price_discount .txt {
    margin-left: 0;
  }
  #detail #log_area {
    margin-bottom: 32px;
  }
  #detail #log_area h3 {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.45;
    margin-bottom: 8px;
  }
  #detail #log_area p img,
  #detail .to_cast img,
  #detail .price_discount .btn img,
  #detail .link_area .bnr img {
    max-width: 100%;
    height: auto;
  }
  #detail .to_cast,
  #detail .link_area,
  #detail .map,
  #detail .place {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  #detail .description {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 24px;
  }
  #detail .box .sub_title,
  #flyer .box .sub_title {
    font-size: 15px;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  /* event detail flyer strip should not overflow on small screens */
  #flyer .mainimg {
    background: none;
    margin-bottom: 20px;
  }

  #flyer .mainimg p {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 0 16px;
    box-sizing: border-box;
  }

  #flyer .mainimg p img {
    width: 100% !important;
    height: auto;
    display: block;
  }

  .map-embed,
  #detail .map iframe,
  #flyer .map iframe {
    width: 100%;
  }
  .map-embed iframe {
    min-height: 240px;
    height: 56vw;
    max-height: 360px;
  }

  /* photo */
  body {
    overflow-y: auto !important;
  }

  #photo_index .ul_index ul {
    width: 100%;
    margin-right: 0;
  }

  #photo_index .ul_index ul li {
    float: left;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }
  #photo_index .ul_index ul li img {
    width: 100% !important;
    height: auto;
    display: block;
  }

  #photo_index .ul_index ul li:nth-child(2n) {
    margin-right: 0;
  }

  #log_area #togetter,
  #log_area #ust {
    float: none;
    margin: 0 0 16px 0;
  }

  #photo_detail .in_title img,
  #photo_detail .in_title .name {
    float: none;
    margin: 0 0 8px 0;
  }

  #gallery p {
    font-size: 2rem;
  }

  #gallery a {
    font-size: 1.6rem;
  }
  #comment {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* live */
  #schedule .live_nav .inner,
  #schedule .set .title,
  #schedule .set .detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  #schedule .set .ust_btn,
  #schedule .set .nico_btn {
    margin-left: 0;
  }
  #ust .media .prayer,
  #ust .media .stream {
    width: 100% !important;
    display: block !important;
    margin: 0 0 12px 0;
  }
  #ust .media iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
  }
  #ust .media .prayer iframe {
    min-height: 220px;
    height: 52vw;
    max-height: 420px;
  }
  #ust .media .stream iframe {
    min-height: 260px;
    height: 62vw;
    max-height: 460px;
  }

  /* contact */
  .cont_block .in_block .txt {
    text-align: left;
  }
  /* generic mobile overflow guards for all pages */
  .cont_block .in_block img,
  .cont_block .in_block video,
  .cont_block .in_block canvas {
    max-width: 100%;
    height: auto;
  }
  .cont_block .in_block iframe,
  .cont_block .in_block embed,
  .cont_block .in_block object {
    max-width: 100%;
  }
  section:not(#time) .in_block table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width: 600px) {
  header nav#fixedBox.glnv ul li {
    width: 49% !important;
  }

  #page_top h1 img {
    width: 100%;
  }

  #day_area .day {
    font-size: 2.4rem;
  }

  #photo_index .ul_index ul li {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

@media screen and (max-width: 380px) {
  header nav#fixedBox.glnv ul li {
    width: 100% !important;
  }
}
