@charset "utf-8";

/* スマホだけに適用するCSS */
@media screen and (max-width:580px){
    #zentai{
		  width: auto;
		  padding: 0px;
      flex-direction: column-reverse;
    }
    #main{
		  width: 100% ;
	  }
	h1, #topmain, #topimg, #whatstitle, #title, footer{
		width: 100% ;
	}
    #left{
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        box-shadow: none;
    }
    #topbar{ display: none; }

/*** メニュー ***/
  #menu{
    display: none;
  }
	.spnav {
		display: block;
		text-align: center;
		margin: 0;
	}
	label {
		font-size: 20px;
		background: url(img/spmenu.png) no-repeat left #002047;
		font-weight: bold;
		padding: 5px;
		display: block;
		margin: 0;
		color: #FFFFFF;
    border-bottom: solid 1px #FFFFFF;
	}
	input[type="checkbox"].on-off{
		display: none;
	}
		.spnav ul {
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
		margin: 0;
		padding: 0;
		list-style: none;
	}
		input[type="checkbox"].on-off + ul{
		height: 0;
		overflow: hidden;
	}
		input[type="checkbox"].on-off:checked + ul{
		height: 589px; /* 1つ増えたら+49px */
	}
	.spnav li{
		width: 100%;
		padding: 8px 0px 8px 25px;
    font-size: 16px;
		line-height: 200%;
    background-color: #002047;
    color: #FFFFFF;
    margin: 0;
    border-bottom: solid 1px #FFFFFF;
		text-align: left;
	}
	.spnav li a{
		display: block;
	}
  .spnav a:link {
    text-decoration:none;
    color: #FFFFFF;
  }
  .spnav a:visited {
    text-decoration:none;
    color: #FFFFFF;
  }
  .spnav li:hover {
    background-color: #003075;
    text-decoration:none;
    color: #FFFFFF;
  }
  .new{
      width: 3em;
      margin: -23px 30px 6px auto;
  }

/*** 事務局・運営準備室 ***/
    #jimu_unei{
        width: 100%;
        margin: 5px auto 0 auto;
        padding: 10px 10px;
        box-sizing: border-box;
    }
    #jimu_unei .jimtxt1{
        font-size: 15px;
    }
    #jimu_unei .jimtxt2{
        font-size: 14px;
        padding-left: 10px;
    }

/*** トップ演題募集期間 ***/
  .topendai{
    font-size: 15px;
    padding: 0px 0 0 10px;
  }
  .rightbox{
    margin: 5px 5px 5px 10px;
    padding: 10px 5px;
  }
  .topendai .ft2{
    font-size: 18px;
  }

/*** ご案内 ***/
    #top_annai{
        margin: 10px 10px;
        width: auto;
    }

/*** お知らせ ***/
    #whats{
      margin: 0 10px;
      width: auto;
      padding: 0;
      box-sizing: border-box;
    }
    #whatsbar{
      width: auto;
      font-size: 16px;
      margin-bottom: 5px;
    }
    #whatsnaka{
      width: auto;
	    padding:10px;
      height: 150px;
    }
    #whatsnaka th, #whatsnaka td{
	    padding:0 0 6px 0;
    }
    #whatsnaka th{
      padding-right: 15px;
    }

/*** other ***/
    h2{
      font-size: 18px;
      padding: 5px 15px;
      margin: 10px 10px;
      height: auto;
    }

/*** contents ***/
    #contents{
      min-height: 500px;
      margin: 0;
      border-bottom: solid 2px #033b7b;
    }
    .txtbox1{
      padding: 10px 10px 30px 10px;
    }
/*** ごあいさつ ***/
    .aisatsu{ flex-wrap:wrap; }
    .aisatsu div{
        padding-left: 0px;
        line-height: 1.4;
    }
    .aisatsu img{
        width: 50%;
        margin: 0 auto 15px auto;
    }
/*** 開催概要 ***/
  .table_k {
    width: 100%;
  }
  .table_k th, .table_k td {
    display: block;
    text-align: left;
    width: auto;
    padding: 5px;
    border-bottom: none;
  }
  /*** 協賛・寄付のご案内 ***/
  .botan1, .botan1b{
    width: auto;
    padding: 10px 5px;
    font-size: 16px;
  }
  .table1{ width: 100%; }
  .table1 th, .table1 td{
    padding: 5px 5px;
  }
  .table3a, .table3b{ width: 100%;}
  .table3a th, .table3b th{ width: auto;}
  .table3a th, .table3a td, .table3b th, .table3b td{ padding: 5px;}
  /*** 演題募集のご案内 ***/
  .entoroku{ flex-direction: column;}
  /*** 宿泊案内 ***/
.jalpak2{ width: 100%;}
}
