@charset "utf-8";

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

/*** メニュー ***/
  #menu{
    display: none;
  }
	.spnav {
		display: block;
		text-align: center;
		margin: 0;
	}
	label {
		font-size: 20px;
		background: url(img/spmenu.png) no-repeat left #00357f;
		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: #00357f;
    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: #0055CB;
    text-decoration:none;
    color: #FFFFFF;
  }
  .new{
      width: 3em;
      margin: -23px 30px 6px auto;
  }

/*** 事務局・運営準備室 ***/
    #jimu_unei{
        width: 100%;
        margin: 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;
    }
    #whatsbar{
      width: auto;
      font-size: 16px;
      margin-bottom: 0;
    }
    #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 #dce8f3;
    }
    .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;
  }
  .table_k td {
    border-bottom: none;
    padding-bottom: 10px;
  }
  /*** ご挨拶 ***/
    .aisatsu{ flex-wrap:wrap; }
    .aisatsu div{
        padding-left: 0px;
        line-height: 1.4;
    }
    .aisatsu img{
        width: 50%;
        margin: 0 auto 15px auto;
    }
  /*** 協賛・寄付のご案内 ***/
  .botan1, .botan1b{
    width: auto;
    padding: 10px 5px;
    font-size: 16px;
  }
  .table1{ width: 100%; }
  .table1 th, .table1 td{
    padding: 5px 5px;
  }

}
