@charset "UTF-8";

html {
 scroll-behavior: smooth;
}

body {
 background-color: #c4d700;
}

a {
 text-decoration: none;
}

#m_body {
 background-color: #c4d700;
}

#m_body img {
 max-width: 100%;
 width: 100%;
 height: inherit;

 -o-object-fit: contain;
    object-fit: contain;
}

#m_body a {
 display: block;
 transition: .3s;
}

#m_body a:hover {
 opacity: .5;
}

#m_body a[href=""] {
 pointer-events: none;
}

[id^=n_] {
 scroll-margin: min(4.9vw, 100px);
}

/* ///// 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%; */
}

.l_width_innner {
 margin: 0 auto;
 width: 84.6%;
}

.l_width_full ,
.l_bg {
 margin: 0 calc((50% - 50vw) - 10px);
 width: 100vw;
}

@media (max-width:769px) {
 .l_width_full ,
 .l_bg {
  margin: 0 calc(50% - 50vw);
 }
}

.l_contwrap {
 padding: 6.2% 0;
}

.l_contwrap_paddingtop {
 padding-top: 6.2%;
}

/* ///// conponent ///////////////////////////////// */
.c_flex {
 display: flex;
}

.c_ttl {
 margin: 0 auto;
 width: 29.7%;
}


/* ///// 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: #c4d700;
}

.p_nav_logo {
 margin-left: 4.4%;
 width: 11.1%;
}

.p_nav_logo:nth-child(2){
   margin-left: 1%;
}

.p_nav_menu {
 display: flex;
 margin-right: 7.7%;
 width: 68.1%;
}

.p_nav_menu a{
   width: calc(100% / 5);
}

.p_nav_menu a:not(:first-child) {
 margin-left: 4.9%;
}

[id^=n_] {
 scroll-margin: 10vw;
}
*/

/* ///// to ///////////////////////////////// */
.p_to.l_width_innner {
 width: 100%;
}


.p_to {
 display: flex;
 position: relative;
 justify-content: center;
 /* padding: 3.6% 0; */
}

.mada_img {
 position: absolute;
 top: 0;
 right: 0;
 width: 20%;
}

.mada_img img {
 max-width: 100%;
 width: 100%;
}

.p_to a {
 width: 100%;
}

.p_to a:not(:first-child) {
 /* margin-left: 2.2%; */
}

/* ///// middlemenu ///////////////////////////////// */
.p_middlemenu a {
 width: 20%;
}

/* ///// circlemenu ///////////////////////////////// */
.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%;
}

.btn_open {
 margin: 0 0 0 2%;
 padding-top: 3.2%;
}

.c_circlemenu_btn_a a {
 width: 18.4%;
}

.c_circlemenu_btn_a a.btn_end {
 padding-top: 0;
 width: 19.9%;
 pointer-events: none;
}

.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: calc(100% / 4);
}
/* ///// company ///////////////////////////////// */
.p_company {
 position: relative;
}

.p_company_btnwrap {
 display: flex;
 position: absolute;
 bottom: 3.5%;
 left: 50%;
 justify-content: space-between;
 width: 90%;
 transform: translateX(-50%);
}

.p_company_btnwrap a {
 width: 32%;
}

#p_company_nav01 {
 position: absolute;
 top: 31%;
}

#p_company_nav02 {
 position: absolute;
 top: 85%;
}

@media screen and (max-width: 1000px) {
 #nav-content.company {
  width: 60%;
 }
}

#nav-content ul li.company_sp {
 display: none;
}
@media screen and (max-width: 1000px) {
 #nav-content ul li.company_sp {
  display: block;
 }
}

/* ///// footer ///////////////////////////////// */
.p_footer {
 padding: 7.3% 8.6%;
 background-color: #c4d700;
}

.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: 33%;
 left: 50%;
 justify-content: space-between;
 width: 73.7%;
 transform: translateX(-50%);
}

.p_popup_entry_btn_01 a {
 padding-top: 2%;
 width: 32.2%;
}

.p_popup_entry_btn_01 a.btn_end {
 padding-top: 0;
 pointer-events: none;
}

.p_popup_entry_btn_02 {
 position: absolute;
 top: 44%;
 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%;
}

.p_popup_transport_btn_02 {
 position: absolute;
 top: 46.94%;
 left: 12.8%;
 width: 3.99%;
}

/* 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 {
 position: absolute;
 bottom: 0;
 width: 100%;
}

.p_popup_campaign_btn_02 {
 position: absolute;
 top: 42%;
 left: 4%;
 width: 44%;
}

.p_popup_campaign_btn_03 {
 display: flex;
 position: absolute;
 top: 62.5%;
 left: 52%;
 justify-content: space-between;
 width: 44%;
}

.p_popup_campaign_btn_03 a {
 width: 45%;
}

.p_popup_campaign_btn_04 {
 position: absolute;
 top: 91.7%;
 left: 74%;
 width: 19.4%;
}

/* ////////// スクロール可能モーダルウィンドウ //////////  */


[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 (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%);
 }
}
