@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{
		width: 100% ;
	}

/*** メニュー ***/
  #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 #DBD4C3;
	}

	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: #FFFFFF;
    color: #1C1C1C;
    margin: 0;
		text-align: left;
    border-bottom: solid 1px #DBD4C3;
	}
	.spnav li a{
		display: block;
	}
  .spnav a:link {
    text-decoration:none;
    color: #1C1C1C;
  }
  .spnav a:visited {
    text-decoration:none;
    color: #1C1C1C;
  }
/*  .spnav li:hover {
    background-color: #00357F;
    text-decoration:none;
    color: #FFFFFF;
  }*/
  .new{
      width: 3em;
      margin: -23px 30px 6px auto;
  }

/*** 事務局・運営準備室 ***/
    #jimu_unei{
        width: 100%;
        margin: 0 auto;
        padding: 15px 0px;
        flex-wrap: wrap;
    }
    #jimu_unei .jimu, #jimu_unei .unei{
        width: 100%;
        margin-left: 10px; margin-right: 10px;
        margin-bottom: 20px;
    }
    #jimu_unei .unei{margin-bottom: 0px;}
    #jimu_unei .jimtxt1{
        font-size: 15px;
    }
    #jimu_unei .jimtxt2{
        font-size: 13px;
    }
/*** ご案内 ***/
    #top_annai{
        margin: 10px 10px;
        width: auto;
    }
/*** お知らせ ***/
    #whats{
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    #whatsbar{
        width: auto;
        font-size: 16px;
    }
    #whatsnaka{
        width: auto;
	    padding:10px;
    }
    #whatsnaka th{
        padding-right: 15px;
    }
  #copy{ font-size: 10px;}

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

/*** contents ***/
    #contents{
        min-height: 500px;
        margin: 0;
    }
    .txtbox1{
      padding: 10px 15px;
    }
/*** ご挨拶 ***/
    .aisatsu{ flex-wrap:wrap; }
    .aisatsu div{
        padding-left: 0px;
        line-height: 1.4;
    }
    .aisatsu img{
        width: 50%;
        margin: 0 auto 15px auto;
    }
    .table_k th, .table_k td {
      padding: 10px 5px;
      line-height: 1.3;
    }
/*** 会場のご案内 ***/
  .map1 iframe{
    height: 300px;
  }
/*** ご協賛のお申込み ***/
    .botan1{
        font-size: 16px;
        width: 95%;
        padding: 15px 10px;
        line-height: 1.5;
    }
    .table1{
        width: 100%;
    }
    .table1 th, .table1 td{
        padding: 5px 5px;
    }

}