@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: #cccccc;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

.main p {
  padding-bottom: 20px;
  border-bottom: 1px solid #cccccc;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: #3583aa;
  text-decoration: none;
}

a:visited {
  color: #ffffff;
}

a:hover {
  text-decoration: underline;
}

header {
  width: auto;
  height: auto;
}



.logo {
  float: left
}

ul.topnav {
  float: left;
  margin: 0;
  padding: 0;
  list-style-type: none;
  left:50%;
  position:relative;
}
ul.topnav li {
  float: left;
  left:-50%;
  position:relative;
}
ul.topnav li a {
	display: block;
	padding: 14px 16px;
	text-align: center;
	text-decoration: none;
	color: white;
}
ul.topnav li a:hover:not(.active) {
	background-color: #a9bce2;
}
ul.topnav li a.active {
	background-color: #f5898c;
}
ul.topnav li.right {
	float: right;
}
@media screen and (max-width: 480px) {
	ul.topnav li.right, ul.topnav li {
		float: none;
	}
}

#wrap {
  clear: both;
  background-color: #ffffff;
  padding: 35px 0;
}

.content {
  width: 960px;
  margin: 0 auto;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  background-color: rgb(141, 196, 156);
}

footer small{
  font-size: 12px;
}

#compe-record{
  background-image: url(../images/bg-top.JPG);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

.main {
  width: 700px;
  margin: 0 10px;
  float: left;
}

.sidebar {
  width: 200px;
  margin: 0 10px 0 30px;
  float: right;
  font-family: 'Noto Serif JP', serif;
}

h1{
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 30px;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 30px;
}

.title {
  padding-top: 33px;
}

.title a {
  background-color: #111;
  text-shadow: 0px 0px 10px #3d3d3d;
}

.title h1 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 28px;
  border-bottom: none;
  color: #ffffff;
  margin-bottom: 32px;
  
}

.title :hover {
  text-decoration: none;
}

h2{
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
}

.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 7px solid #9cb4a4;
}

#compe-record .record-txt {
  width: 540px;
  float: left;
}

#compe-record .record-txt span {
  font-weight: bold;
}

#compe-record .record-image {
  float: left;
  padding: 0 30px;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

section {
  margin-bottom: 35px;
}

.nav {
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  background-color: rgb(141,196, 156);
}

.copy {
  margin-bottom: 0;
}

.sidebar h2 {
  font-size: 20px;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 5px;
}

.sidebar ul {
  font-size: 16px;
  margin-left: 10px;
} 

.sidebar ul a {
  color: #333333;
} 
  
.sidebar li {
  list-style: none;
} 

a img:hover {
  opacity: 0.8;
}

footer #wrap {
  background-color: rgb(141,196, 156);
  padding: 0px;
}

address {
  width: 700px;
  font-style: normal;
  text-align: center;
  margin-top: 30px;
}
  
#management {
  width: 200px;
  margin: 0 10px 0 30px;
  padding: 0;
  float: right;
}

.management h4 {
  padding: 0 5px;
}

#management li {
  list-style: none;
  text-align: center;
}

#management li a {
  padding: 5px 10px;
  color: #ffffff;
}

#management ul a {
  color: #ffffff;
} 

.login {
  display: table;
  width: 960px;
  margin: 0 auto;
  text-align: center;
}

.login-child {
  display: table-cell;
  height: 300px;           /* 【重要】高さを設定します */
  vertical-align: middle;  /* これで上下中央揃えになります */
}

#login {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.schedule table {
	width: 90%;
    border-collapse: separate;
    border-spacing: 0px 5px;
    margin: 0 auto;
}

.schedule th {
	width: 30%;
    background: #f09199;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}

.schedule th,td {
	padding: 2px;
}

.schedule td {
	width: 70%;
    background: #f1fafe;
    padding-left: 20px;
}

.contract h2 {
  font-size: 20px;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 0;
}

.contract {
	width: 100%;
    margin: 0 auto;
}

.contract table {
	width: 100%;
    margin: 0 auto 30px auto;
    line-height: normal;
}

.contract th,td {
    padding: 1px 2px;
}

.contract th {
    width: 15%;
    font-weight: 400; 
    vertical-align: top;
}

.contract td {
    width: 85%;
}

.contract {
	width: 100%;
    margin: 0 auto;
}

.rule table {
	width: 85%;
    margin: 0 auto 30px auto;
    line-height: normal;
}

.rule th,td {
    padding: 1px 2px;
}

.rule th {
    width: 5%;
    font-weight: 400; 
    vertical-align: top;
}

.rule td {
    width: 95%;
}

.btn {
    background-color: #111;
    text-shadow: 0px 0px 10px #3d3d3d;
}

.btn {
	display: inline-block;
    padding: 5px 12px;
    font-size: 16px;
    font-weight: 400;
    vertical-align: middle;
    background: #cc7eb1;
    color: #fff;
    text-decoration: none;
}

.download :hover {
  text-decoration: none;
}

.union {
  list-style: none;
}


@media screen and (max-width:780px){
  
  body {
    font-size: 3.5vw;
  }
  
  h1 {
    font-size: 7.2vw;
  }
  
  .title {
    padding-top: 0px;
  }
  
  .title h1 {
    font-size: 4.5vw;
    text-align: center;
    margin-bottom: 0px;
  }
  
  h2 {
    font-size: 4.5vw;
  }  
  
  header {
    width: auto;
    height: auto;
  } 
  
  .content {
    width: 100%;
  } 
  
  .logo {
    float: none;
    text-align: center;
  }
  
  #wrap {
    padding: 35px 0 0;
  }
  
  .main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  address {
    float: none;
    width: 100%;
    font-size: 3vw;
    margin: 0;
  }
  
  #compe-record .record-txt {
    width: 100%;
    float: right;
  }
  
  .sidebar,#management {
    width: auto;
    float: none;
    margin: 0;
    padding: 30px 10% 10px;
    background-color: #f7f6f4;
  }
  
  #management {
    width: auto;
    float: none;
    margin: 0;
    padding: 0px;
    background-color: rgb(141,196, 156);
  }
  
  footer section,h4 {
    margin-bottom: 0px;
  }
  
  
  #newsWrap {
  　　width: auto;
  }

  .schedule table {
	font-size: 2.7vw;
  }  
  
  .rule img, header img {
	max-width: 100%;
  } 
  
  ul.topnav {
	background-color: rgb(141,196, 156);
    width: 100%;
  }
  
  .login {
    width: auto;
  }
  
  
  
  }

@media screen and (max-width:1000px){
  
header img {
	max-width: 100%;
}  
  
}

