/*-サイズ変更-----------------------------------*/
@media screen and (min-width: 1500px) {
  body {
    width: 100%;
  }
  header{
    width: 100%;
  }
}

@media screen and (max-width: 1500px) {
  body{
    width: 1500px;
  }
  header{
    width: 1500px;
  }
}

body{
  margin-left: 0;
}

/*-ヘッダータブ-----------------------------------*/

header {
  background-color: rgb(255, 219, 172);
  height: 120px;
  position: fixed;
  display: flex; 
  justify-content:space-between;
}

header h1{
  padding-top: 35px;
}

header h1 a{
  color: #fff;
  width: 200px;
  text-decoration: none;
  padding-left: 30px;
}

.inner ul li a{
  font-weight: 500;
  width: 150px;
  color: #fff;
}

/*-ダウンタブ-----------------------------------*/

#navArea{
  float: right;
  padding-top: 45px;
  padding-right: 20px;
}

nav .inner ul li{
  display: inline-block;
  font-size: 20px;
}

nav .inner ul li a{
  margin: 0 20px 0 20px;
  text-decoration: none;
  font-size: 25px;
  color: #000;
}

/*-メインバックグラウンド-----------------------------------*/

main {
  margin: 0 auto;
  color: #000;
  text-align: center;
}

#background {
  width: 100%;
  height: 600px;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  margin-top: -50px;
  text-align: center;
}

#index #background h1 {
  margin: auto;
  padding-top: 150px;
  color: #000;
  font-size: 100px;
}

#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: 250px;
  color: #000;
  font-size: 100px;
}

/*-インデックス-----------------------------------*/

#index{
  color: #000;
}

#index main{
  width: 1000px;
  margin: 0 auto;
}

.salutation {
  width: 1000px;
  height: 400px;
  margin-top: 20px;
  background-color: #fce7c2;
}

.salutation .s-m{
  width: 300px;
  float: left;
}

.salutation .s-m img{
  width: 100%;
}

.salutation .s-s{
  width: 700px;
  float: right;
}

.salutation .s-s h3{
  width: 650px;
  margin: 5px auto;
  text-align: right;
}

.salutation .s-s p{
  width: 650px;
  margin: 10px auto;
  text-align: left;
}

/*-大会概要-----------------------------------*/

#overview #expl{
  text-align: left;
  width: 50%;
  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{
  color: #000;
}

.teamblock {
  width: 1200px;
  margin: 0 auto;
  background-color: cornsilk;
}

.teamblock h1 {
  background-color: antiquewhite;
}

.teamblock .team_m {
  float: left;
  background-color: cornsilk;
	width: 600px;
  height: 430px;
  margin-top: -25px;
}

.teamblock .team_m img {
  height: 400px;
  padding-top: 15px;
}

.teamblock .team_s{
  float: right;
  background-color: cornsilk;
  width: 600px;
  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 {
  color: #000;
}

.teamblock .ex h2 {
  background-color: antiquewhite;
  color: #000;
}

.teamblock .ex p {
  padding-top: -20px;
}

/*-試合-----------------------------------*/

#match{
  color: #000;
}

#match main{
  width: 1000px;
}

embed {
  width: 1000px;
  height: 800px;
}

/*-協賛企業-----------------------------------*/

#conpany main{
  color: #000;
}

.line{
  margin: 0 auto;
}

.line h2{
  margin: 50px auto 0 auto;
  background-color: cornsilk;
  width: 1300px;
}

.block {
  display: inline-block;
  width: 430px;
  height: 260px;
  margin-top: 15px;
}

.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-top: 15px;
}

.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 {
  background: #fce7c2;
  width: 100%;
  height: 100px;
  margin-top: 100px;
  bottom: 0;
  left: 0;
}

footer p{
  margin: 0 auto;
  width: 60%;
}