@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;
    }

/*** メニュー ***/
  #menu{
    display: none;
  }
	.spnav {
		display: block;
		text-align: center;
		margin: 0;
	}
	label {
		font-size: 20px;
		background: url(img/spmenu.png) no-repeat left #033B7B;
		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: 540px; /* 1つ増えたら+49px */
	}
	.spnav li{
		width: 100%;
		padding: 8px 0px 8px 25px;
        font-size: 16px;
		line-height: 200%;
        background-color: #033B7B;
        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: #397cc0;
    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;
    }

/*** ご案内 ***/
    #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;
    }
/*** 開催概要 ***/
  .table_k {
    width: 100%;
  }
  .table_k th, .table_k td {
    display: block;
    text-align: left;
    width: auto;
    padding: 5px;
  }
  /*** 協賛・寄付のご案内 ***/
  .botan1, .botan1b{
    width: auto;
    padding: 10px 5px;
    font-size: 16px;
  }
  .table1{ width: 100%; }
  .table1 th, .table1 td{
    padding: 5px 5px;
  }

}
