/*------------------------------------*/

body {
  width: 950px;
  margin-left: 0;
}

/*-ヘッダー-----------------------------------*/

header {
  background-color: rgb(255, 219, 172);
  width: 950px;
  height: 120px;
  position: fixed;
  margin-top: 60px;
}

header h1{
  padding-top: 30px;
}

header h1 a{
  text-decoration: none;
  color: #fff;
  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: black;
  font-size: 70px;
  text-shadow:
    3px 3px 0 #fff,
    -3px 3px 0 #fff,
    -3px -3px 0 #fff,
    3px -3px 0 #fff;
}

#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: black;
  font-size: 70px;
  text-shadow:
    3px 3px 0 #fff,
    -3px 3px 0 #fff,
    -3px -3px 0 #fff,
    3px -3px 0 #fff;
}

#index header h1{
  padding-top: -200px;
}

main {
  width: 800px;
  margin: 0 auto;
  color: #000;
  text-align: center;
}



/*-インデックス-----------------------------------*/

#index{
  color: #000;
}

#index main{
  width: 950px;
  margin: 0 auto;
}

.salutation {
  width: 950px;
  height: 420px;
  margin-top: 20px;
  background-color: #fce7c2;
}

.salutation .s-m{
  width: 300px;
  float: left;
}

.salutation .s-m img{
  width: 100%;
}

.salutation .s-s{
  width: 650px;
  float: right;
}

.salutation .s-s h3{
  width: 600px;
  margin: 5px auto;
  text-align: right;
}

.salutation .s-s p{
  width: 600px;
  margin: 10px auto;
  text-align: left;
}

/*-大会概要-----------------------------------*/

#overview #expl{
  text-align: left;
  width: 85%;
  margin: 0 auto;
  padding-left: 0;
}

#overview main h1{
  text-align: center;
  color: #000;
}

#overview #expl h2{
  margin: 50px auto 20px auto;
  border-bottom: 1px solid #000;
}

#overview #expl p{
  margin-top: 0;
}


/*-場所・時間-----------------------------------*/

#time{
  color: #000;
}

#time p{
    font-size: 30px;
}

/*-チーム紹介-----------------------------------*/

#team main{
  width: 920px;
}

.teamblock {
  width: 900px;
  background-color: cornsilk;
  margin: 0 auto;
  margin-top: 50px;
}

.teamblock h1 {
  background-color: antiquewhite;
}

.teamblock .team_m {
  background-color: cornsilk;
	width: 900px;
  height: 430px;
  margin-top: -25px;
}

.teamblock .team_m img {
  height: 400px;
  padding-top: 15px;
}

.teamblock .team_s{
  background-color: cornsilk;
  width: 900px;
  height: 430px;
  margin-top: -25px;
}

.teamblock .team_s table{
  margin: 60px auto;
  border-collapse:  collapse;
}

.teamblock .team_s th, td {
  padding: 10px;
  border: 1px solid #333;
}

.teamblock .ex {
  color: #000;
  margin-top: -150px;
  padding-top: 10px;
}

.teamblock .ex h2 {
  color: #000;
  border-bottom: 1px solid;
}

.teamblock .ex p {
  margin: 0 auto;
  color: #000;
  font-size: 15pt;
  width: 800px;
}

.teamblock .ex-s {
  color: #000;
  margin-top: -100px;
  padding-top: 10px;
}

.teamblock .ex-s h2 {
  color: #000;
  border-bottom: 1px solid;
}

.teamblock .ex-s p {
  margin: 0 auto;
  color: #000;
  font-size: 15pt;
  width: 800px;
}

/*-試合情報-----------------------------------*/

#match{
  color: #000;
}

#match main{
  width: 900px;
}

embed {
  width: 900px;
  height: 780px;
}

/*-協賛企業-----------------------------------*/

#conpany main{
  color: #000;
  width: 900px;
}

#depo {
  margin: 50px auto 0 auto;
}

.line{
  margin: 0 auto;
}

.line h2{
  background-color: cornsilk;
  width: 900px;
}

.block {
  display: inline-block;
  width: 430px;
  height: 260px;
  margin: 15px 10px 0 10px;
}

.block a .img-h{
  height: 260px;
}

.block a .img-w{
  margin-top: 118px;
  width: 430px;
}

.block-s {
  display: inline-block;
  width: 430px;
  height: 260px;
  margin: 15px 10px 0 10px;
}

.b-main img{
  float: left;
  width: 75%;
  height: 260px;
}

.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%;
}