/*------------------------------------*/

body {
  width: 950px;
  margin-left: 0;
}

/*-ヘッダー-----------------------------------*/

header {
  background-color: #687; 
  width: 950px;
  height: 120px;
  position: fixed;
  margin-top: 60px;
}

header h1{
  padding-top: 30px;
}

header h1 a{
  text-decoration: none;
  padding-left: 30px;
}

/*-ヘッダータブ-----------------------------------*/

nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 3;
  opacity: 0;
}
.open nav {
  left: 0;
  opacity: 1;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: #e4e4e4;
}
@media screen and (max-width: 767px) {
  nav {
    left: -220px;
    width: 220px;
  }
}

.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}

#mask {
  display: none;
  transition: all .5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}

/*-メインバックグラウンド-----------------------------------*/

#background {
  width: 100%;
  height: 500px;
  background-image: url("../img/bg.jpg");
  background-size: 950px;
  background-attachment: fixed;
  margin-top: -100px;
  text-align: center;
}

#index #background h1 {
  margin: auto;
  padding-top: 180px;
  color: #000;
  font-size: 70px;
}

#overview #background h1 ,
#time #background h1 ,
#team #background h1 ,
#match #background h1 ,
#conpany #background h1 ,
#state #background h1 ,
#record #background h1
{
  margin: auto;
  padding-top: 300px;
  color: #000;
  font-size: 70px;
}

#index header h1{
  padding-top: -200px;
}

main {
  width: 800px;
  margin: 0 auto;
  color: #000;
  text-align: center;
}

main h2 {
  color: #B78D4A;
  text-decoration: none;
  padding-top: 100px;
}

/*-インデックス-----------------------------------*/

#index{
  color: #000;
}

#index main{
  color: #000;
  width: 900px;
}

/*-大会概要-----------------------------------*/

#overview #expl{
  margin: 0 auto;
}

#overview main h1{
  text-align: center;
  color: #000;
}

#overview #expl h2{
  margin-top: -30px;
}

#overview #expl p{
  margin-top: 0;
}


/*-場所・時間-----------------------------------*/

#time{
  color: #000;
}

#time p{
    font-size: 30px;
}

/*-チーム紹介-----------------------------------*/

#team main{
  width: 900px;
}

.teamblock {
  width: 900px;
  background-color: #CCC;
  margin: 0 auto;
}

.teamblock h1 {
  background-color: #aaa;
}

.teamblock .team_m {
  background-color: #CCC;
	width: 900px;
  height: 430px;
  margin-top: -25px;
}

.teamblock .team_m img {
  height: 400px;
  padding-top: 15px;
}

.teamblock .team_s{
  background-color: #CCC;
  width: 900px;
  height: 430px;
  margin-top: -25px;
}

.teamblock .team_s table{
  margin: 0 auto;
}

.teamblock .team_s th, td {
  padding: 10px;
  border: 1px solid #333;
}

.teamblock .ex h2 {
  background-color: #aaa;
  color: #000;
}

/*-試合情報-----------------------------------*/

#match{
  color: #000;
}

#match main{
  width: 900px;
}

embed {
  width: 900px;
  height: 780px;
}

/*-協賛企業-----------------------------------*/

#conpany{
  color: #000;
  height: 1000px;
}

.line{
  margin: auto;
}

.block {
    display: inline-block;
    background-color: cornsilk;
    width: 600px;
    height: 200px;
    margin-top: 15px;
}

.block a img{
    height: 200px;
}

.block-s {
    display: inline-block;
    background-color: cornsilk;
    width: 600px;
    height: 200px;
    margin-top: 15px;
}

.b-main img{
    float: left;
    width: 75%;
    height: 200px;
}



.b-sub img{
    float: right;
    margin: auto;
    padding-top: 10px;
    width: 80px;
    height: 80px;
}

.block-m{
    display: inline-block;
    padding-top: 60px;
    width: 25%;
}

.block-m a{
    font-size: 20pt;
    text-decoration: none;
}

/*-大会の様子-----------------------------------*/

#state{
  color: #000;
}

/*-過去大会-----------------------------------*/

#record{
  color: #000;
}

/*-フッター-----------------------------------*/

footer {
    margin-top: 20px;
    background: #CCC; 
}

footer p{
    margin: 0 auto;
    width: 60%;
}