@charset "utf-8";

/* スマホだけに適用するCSS */
@media screen and (max-width:580px){
  html{
    line-height: 1.6;
  }
    #zentai{
		  width: auto;
		  padding: 0px;
      flex-direction: column;
    }
    #main{
		width: 100% ;
	}
	#topmain, #topimg, #whatstitle{
		width: 100% ;
	}

/*** title ***/
  h1{ display: none;}
  #title{ display: none;}
  #sptitle{ display: block; 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 #f4e927;
		font-weight: bold;
		padding: 5px;
		display: block;
		margin: 0;
		color: #032335;
/*    border-bottom: solid 1px #032335;*/
	}

	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: 535px; /* 1つ増えたら+49px */
	}
	.spnav li{
		width: 100%;
    font-size: 16px;
		line-height: 200%;
    background-color: rgba(255,255,255,0.90);
    color: #032335;
    margin: 0;
		text-align: left;
    border-bottom: solid 1px #5cadce;
	}
	.spnav li a{
		display: block;
		padding: 8px 0px 8px 25px;
	}
  .spnav a:link {
    text-decoration:none;
    color: #032335;
  }
  .spnav a:visited {
    text-decoration:none;
    color: #032335;
  }

/*** 事務局・運営準備室 ***/
    #jimu_unei{
        width: 100%;
        margin: 0 auto;
        padding: 15px 0 30px 0;
        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;
    }
/*** お知らせ ***/
    #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 15px;
      height: auto;
    }
  .page-top {right: 0px; bottom: 38px;}

/*** contents ***/
    #contents{
        min-height: 450px;
        margin: 0;
    }
    .txtbox1{
      padding: 10px 5px 20px 5px;
    }
/*** 開催概要 ***/
  .table_k {
    width: 100%;
  }
  .table_k th, .table_k td {
    display: block;
    text-align: left;
    width: auto;
    padding: 5px;
    border-bottom: none;
  }
/*** ごあいさつ ***/
  .aisatsu{ flex-wrap:wrap; }
  .aisatsu div{
    padding-left: 0px;
    line-height: 1.4;
  }
  .aisatsu img{
    width: 50%;
    margin: 0 auto 15px auto;
  }
  /*** 協賛募集・申込 ***/
  .botan1{
    width: auto;
    padding: 13px 5px;
    font-size: 16px;
  }
  .table1{ width: 100%; }
  .table1 th, .table1 td{
    padding: 6px 5px;
  }

}