@charset "UTF-8";

html {
   scroll-behavior: smooth;
}

#m_body img {
   max-width: 100%;
   width: 100%;
   height: inherit;

   -o-object-fit: contain;
   object-fit: contain;
}

#m_body a {
   display: block;
   transition: .3s;
   font-family: auto;
   font-size: clamp(15px, 2vw, 40px);
   text-decoration: none;
   color: #000;
   font-weight: bold;
}

#m_body a:hover {
   opacity: .5;
}

#m_body a[href=""] {
   pointer-events: none;
}

/* ///// layout ///////////////////////////////// */
.l_bg {
   background-image: url(https://www.melonbooks.co.jp/special/b/0/fair_dojin/20230528_akihabaradojinfes_plus/images/bg.png?0419);
   background-size: 5.5%;
   margin: 0 auto;
   width: 84.6%;
}

.l_width_full {
   width: 100vw;
}

@media (max-width:769px) {
   .l_width_full {
      margin: 0 calc(50% - 50vw);
   }

   .l_bg {
      margin: 0 auto;
      width: 84.6%;
   }
}

.circle_list {
   display: flex;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%);
    flex-direction: column;
    width: 100%;
}

.circle_list2 {
   display: flex;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%);
    flex-direction: column;
    width: 100%;
}


.list2 {
   left: 40%;
   width: 79.6%;
}

.consign_list1 {
   top: 2.83%;
}

.consign_list2 {
   top: 46.1%;
}

.dl_list1 {
   top: 8.6%;
}

.list_flex {
   display: flex;
   padding: 34% 0% 0%;
}

.list_flex2 {
   display: flex;
   padding: 42.6% 0% 0%;
}

.list_sns {
   display: flex;
   width: calc(100%/5);
   justify-content: center;
}

.list_sns2 {
   display: flex;
   width: calc(100%/2);
   justify-content: center;
}

.list_sns a {
   width: 18%;
   padding: 0 3%;
}

.list_sns2 a {
   width: 9.5%;
   padding: 0 3%;
}

.l_contwrap {
   padding: 6.2% 0;
}

.l_contwrap_paddingtop {
   width: 85%;
   position: relative;
   margin: auto;
}

.l_ticket {
   width: 84.6%;
   padding: 2% 7.7% 3%;
   background-image: url(../images/ip/bg.jpg);
   background-size: cover;
}

.main_ticket {
   margin: -3% 0% 0%;
   position: relative;
}

.main2_flex {
   display: flex;
   flex-wrap: wrap;
}

.main2 {
   position: relative;
   width: calc(100%/2);
}

.main2_item {
   position: absolute;
   top: 50%;
   width: 76%;
   left: 50%;
   transform: translate(-50%, -50%);
}

.main2_item h2 {
   width: 65%;
   margin: 0% auto 7%;
}

.btn_ticket {
   display: flex;
   position: absolute;
   width: 55%;
   top: 19%;
   left: 50%;
   transform: translate(-50%);
}

.btn_ticket a {
   padding: 0% 2% 0% 0%;
}

.jump {
   padding-top: 6%;
   margin-top: -6%;
}


/* ///// conponent ///////////////////////////////// */
.c_flex {
   display: flex;
}

.c_ttl {
   margin: 0 auto;
   width: 29.7%;
}

.c_ttl2 {
   margin: 0 auto;
   width: 40%;
}

/* ///// nav ///////////////////////////////// */
#m_nav {
   position: sticky;
   top: 0;
   z-index: 99;
}

.p_nav {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 1.4vw 0;
   background-color: #f2f2f2;
}

.p_nav_logo {
   margin-left: 4.4%;
   width: 11.1%;
}

.p_nav_menu {
   display: flex;
   margin-right: 7.7%;
   width: 68.1%;
}

.p_nav_menu a:not(:first-child) {
   margin-left: 4.9%;
}

[id^=n_] {
   scroll-margin: 10vw;
}

/* ///// to ///////////////////////////////// */
.p_to {
   display: flex;
   justify-content: center;
   padding: 3.6% 0;
}

.p_to a {
   width: 100%;
}

.p_to a:not(:first-child) {
   margin-left: 2.2%;
}

/* ///// middlemenu ///////////////////////////////// */
.p_middlemenu a {
   width: 20%;
}

/* ///// circlemenu ///////////////////////////////// */
#m_body a.btn_map {
   display: block;
   min-width: 50%;
   width: fit-content;
   margin: 3% auto;
   text-align: center;
   background: #3eb647;
   padding: 1em;
   color: #ffffff;
   font-size: clamp(16px, 2.3vw, 50px);   
}

.c_margintop_circlemenu {
   margin-top: 4.5%;
}

.c_circlemenu_left {
   display: flex;
}

.c_circlemenu_right {
   display: flex;
   flex-direction: row-reverse;
}

.c_circlemenu_icon {
   width: 35.5%;
}

.c_circlemenu_left .c_circlemenu_icon {
   margin-right: 2.3%;
}

.c_circlemenu_right .c_circlemenu_icon {
   margin-left: 2.3%;
}

.c_circlemenu_txt {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   width: 61.8%;
}

.c_circlemenu_btn_a a {
   width: 18.4%;
}

.c_circlemenu_btn_a a:not(:first-child) {
   margin-left: 2%;
}

.p_circlemenu_txt_summary {
   width: 83.7%;
}

.p_circlemenu_txt_entry {
   width: 100%;
}

.p_circlemenu_txt_transport {
   width: 52.8%;
}

.p_circlemenu_txt_campaign {
   width: 67.1%;
}

.p_circlemenu_txt_schedule {
   width: 97.8%;
}

/* ///// updating_info ///////////////////////////////// */
.p_updating_info {
   margin: 0 auto;
   width: 60%;
}

/* ///// circleentry & udx ///////////////////////////////// */
.p_circleentry_and_udx {
   display: flex;
   align-items: flex-end;
   justify-content: center;
   margin: 0 auto;
   width: 86.7%;
}

.p_circleentry_and_udx>div {
   width: 42.2%;
}

.p_circleentry_and_udx>div:first-child {
   margin-right: 15.2%;
}

.p_circleentry_icon,
.p_udx_icon {
   margin: 0 auto;
   margin-bottom: 8.4%;
}

.p_circleentry_icon {
   width: 50.4%;
}

.c_circleentry_btn_a a {
   width: 31%;
}

.c_circleentry_btn_a a:not(:first-child) {
   padding-left: 4%;
}

.p_udx_icon {
   width: 36.7%;
}

/* undermenu */
.p_undermenu {
   display: flex;
   flex-wrap: wrap;
   margin-top: 4.5%;
}

.p_undermenu a {
   width: 16.6%;
}

.p_undermenu a:nth-child(-n+3) {
   width: 49.8%;
}

/* ///// footer ///////////////////////////////// */
.p_footer {
   padding: 7.3% 8.6%;
   background-color: #333333;
}

.p_logo_melon {
   margin: 0 auto;
   width: 24%;
}

.p_logo_melon a:first-child {
   margin-bottom: 6.8%;
}

/* ///// modal ///////////////////////////////// */
.base {
   position: relative;
}

/* modal-01 */
.p_popup_entry_btn_01 {
   display: flex;
   position: absolute;
   top: 32.9%;
   left: 50%;
   justify-content: space-between;
   width: 73.7%;
   transform: translateX(-50%);
}

.p_popup_entry_btn_01 a {
   width: 32.2%;
}

.p_popup_entry_btn_02 {
   position: absolute;
   top: 43.5%;
   left: 50%;
   width: 35.7%;
   transform: translateX(-50%);
}

/* modal-02 */
.p_popup_transport_btn_01 {
   position: absolute;
   top: 23.6%;
   left: 13%;
   width: 35.7%;
}

/* modal-03 */
.p_popup_campaign_btn_01 {
   display: flex;
   position: absolute;
   top: 23%;
   left: 52%;
   justify-content: space-between;
   width: 44%;
}

.p_popup_campaign_btn_01 a {
   width: 48.6%;
}

.p_popup_campaign_btn_02 {
   position: absolute;
   top: 47%;
   left: 4%;
   width: 44%;
}

.p_popup_campaign_btn_03 {
   display: flex;
   position: absolute;
   top: 72.5%;
   left: 52%;
   justify-content: space-between;
   width: 44%;
}

.p_popup_campaign_btn_03 a {
   width: 30.6%;
}

.p_popup_campaign_btn_04 {
   position: absolute;
   top: 90%;
   left: 74%;
   width: 19.4%;
}

.p_ip_schedule {
   width: 60%;
   margin: 3% auto;
}



/* ////////// スクロール可能モーダルウィンドウ //////////  */


[id^=modal] a:hover {
   opacity: 1;
}

div.comment a img {
   width: 100%;
}

.modal-wrapper {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 999;
   text-align: center;
}

.modal-wrapper:not(:target) {
   visibility: hidden;
   opacity: 0;
   transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
   visibility: visible;
   opacity: 1;
   transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
   display: inline-block;
   margin-left: -.05em;
   height: 100%;
   content: "";
   vertical-align: middle;
}

.modal-wrapper .modal-window {
   display: inline-block;
   position: relative;
   z-index: 20;
   box-sizing: border-box;
   max-width: 100%;
   max-height: 102vh;
   width: 80vh;
   border-radius: 2px;
   background: #ffffff;
   box-shadow: 0 0 30px rgba(0, 0, 0, .6);
   vertical-align: middle;
}

.modal-content img {
   width: 100%;
}

.modal-wrapper .modal-window .modal-content {
   overflow-y: auto;
   max-height: 80vh;
}

.modal-overlay {
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 10;
   background: rgba(0, 0, 0, .8);
}

.modal-wrapper .modal-close {
   position: absolute;
   top: 0;
   right: 0;
   z-index: 20;
   width: 6vh;
   color: #95979c !important;
   text-align: center;
   text-decoration: none;
   text-indent: 0;
   font-weight: bold;
   font-size: 6vh;
   line-height: 7vh;
}

.modal-wrapper .modal-close:hover {
   color: #2b2e38 !important;
}

@media (min-width: 511px) {
   #map.modal-wrapper .modal-window {
      width: 90vw;
   }
}

@media (max-width:510px) {
   .modal-wrapper .modal-close {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 20;
      width: 7.5%;
      color: #95979c !important;
      text-align: center;
      text-decoration: none;
      text-indent: 0;
      font-weight: bold;
      font-size: 9vw;
      line-height: 90%;
   }

   .modal-wrapper .modal-window {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
   }
}