*{
  box-sizing: border-box;
  font-family: sans-serif;
}


body {
    margin: 0;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
  }
  main {
    background: #ffffff;
    flex: 1;
  }
  
  
  
  /*header開始*/
  header {
      height: 80px;
      width: 100%;
      background-color:black;     
    }
      
    .header-left {
      float: left;
    }
    .logo {
       height: 60px;
       margin: 9px 0 0 5px;
    } 
    .font{
      height: 80px;
      margin: -5px 0 0 0;
    }
    .SEI{ margin-left:-9px; }
    .FO{ margin-left:-10px; }
    .OT{ margin-left:-10px; }
    .BA{ margin-left:-10px; }
    .LL{ margin-left:-10px; }
    .CL{ margin-left:-11px; }
    .UB{ margin-left:-11px; }


  .header-center{
      color: white;
      float: left;
      font-size: 40px;
      margin: 0 10px 0 10px;
      line-height: 80px;
      font-family: serif;
  }
  .header-center-second{
    color:  rgb(219,186,133);
    font-family:Impact,'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    padding: 35px 0 0 0;
    float: left;
  }
  /*header終了*/  
    
  .link-list{
    height:40px;
    width:100%; 
    background-color: white;   
  }
  .link {
    margin:0 1.5%;
    height: 40px;
    line-height: 40px;
    list-style: none;
    float: left;
    color: black;
    display: block;
    text-align: center;      
    text-decoration: none;
  }   
  .btn{
    margin:0 1%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    list-style: none;
    float: right;
    color: black;
    display: block;
    text-align: center;      
    text-decoration: none;
  } 
  
  
    /*メニューバーのカーソルモーション*/
    .link:hover{
      font-weight: bold;
    }  
    .btn:hover{
      opacity:0.5;
    }
       /*ココから*/
/*========= ナビゲーションのためのCSS ===============*/
.menu-icon{
  display: none;
  }
  
  #g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0px;
  right: -120%;
  width:100%;
  height: 100vh;/*ナビの高さ*/
  background-image:url(メニュー用オリジナルロゴ.png);
  background-size: cover;
  background-repeat: no-repeat;
  /*動き*/
  transition: all 0.6s;
  }
  
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
  right: 0;
  }
  
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  }
  
  /*ナビゲーション*/
  #g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  }
  
  /*リストのレイアウト設定*/
  
  #g-nav li{
  list-style: none;
  text-align: center;
  }
  
  #g-nav li img{
  width:100px;
  }
  #g-nav li a{
  color: white;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size:30px;
  text-align: center;
  }
  #g-nav li a:hover{
  text-decoration: underline;
  }
  
  /*========= ボタンのためのCSS ===============*/
  .openbtn{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
  display: none;
  background-color: rgb(0,0,0,0.3);
  }
  
  /*×に変化*/	
  .openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: white;
  width: 45%;
  }
  
  .openbtn span:nth-of-type(1) {
  top:15px;	
  }
  
  .openbtn span:nth-of-type(2) {
  top:23px;
  }
  
  .openbtn span:nth-of-type(3) {
  top:31px;
  }
  
  .openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  }
  /*ココまで*/
  
   /*~~~~~~~ココから作成~~~~~~~~*/  
 
   .top-wrapper{
    margin-top:0px;
    height: 100px;     
    background-color:black; 
    color:white;
    text-align: center;
  }
  .top-wrapper h{
    display: block;
    line-height: 100px;
    color:rgb(219,186,133);
    font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    font-size:30px;
  }



    .first-wrapper{
      margin-top:0px;
      overflow: hidden;
      background-color:black; 
      color:white;
      padding-bottom: 50px;
    }
   
    .date{
      font-size:20px;
      display: block;
      text-align: center;
    }
    .competition{
      font-size:20px;
      display: block;
      text-align: center;
    }
    
    .home-team-name{
      width:23%;
      font-size:40px;
      line-height: 60px;
      padding-right:20px;  
      text-align: right;
      float: left;    
      font-weight: bold;
  }  
    .home-team{
        float:left;
        width:12%;
    }      
    .team-logo{
      height:140px;        
    }
    
    .home-score{
        width:5%;
        float:left;
        text-align: center;
        height: 140px;
    }
    .point{
      width: 100%;
      height: 100%;
      background-color: white;
      color:black;
      font-size: 80px;
      line-height: 140px;
      margin-top:-80px;
    }

    .match-data{
        float:left;
        width:20%;
        text-align: center;
        font-size:20px;
    }
    .half-score{
        font-size:25px;
        margin-top: 17px;        
    }
    .pk-score{
        font-size:30px;
        font-weight: bold;
    }
    
    .away-score{
        width:5%;
        float:left;
        text-align: center;
        height: 140px;
    }

    .opponent{
        float:left;
        width:35%;
    }
    .opponent p{
        font-size: 40px;
        line-height: 60px;
        font-weight: bold;
        padding-left: 20px;
    }
  
  
    .second-wrapper{
      width:100%;
      overflow: hidden;
      background-image:url(サブページ背景.png);
      padding-bottom: 30px;
    } 

      .space-box1{
        width:7%;
        float:left;
        display: block;
      }
  
      .starting{
          width:15%;  
          margin-top:40px;
          float:left;
      }
      .starting h{
          font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          font-size:25px;
          line-height: 50px;
          display: block;
          padding: 0 0 0 5px;
          color: white;
          font-weight: bold;
          background: linear-gradient(90deg, rgb(89, 26, 147),rgb(129, 12, 133));
      }

      .lineup{
        display: inline;
      }
  
      .position{
          width:20%;
          float:left;
          text-align: right;
          font-weight: bold;
          font-size:20px;
          line-height: 20px;
          padding-top: 10px;
          background-color:  rgb(89, 26, 147);
          color:white;     
      }
      .player{
          width:80%;
          float:left;
          padding-left: 20px;        
          font-size:20px;
          line-height: 20px;
          padding-top: 10px;
          background: linear-gradient(90deg, rgb(89, 26, 147,1),rgb(129, 12, 133,1));
          color:white;
      }
    
      .space-box2{
        width:5%;
        float:left;
      }

      .topic{
          width:20%;
          margin:40px 0 0 0;
          float:left;
      }
  
      .scorer h{
          font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          font-size:25px;
          line-height: 50px;
          margin: 0 0 0 0px;
          padding-top: 37.5px;
          color: rgb(89, 26, 147);
          font-weight: bold;
      }
      .scorer p{
          font-size:20px;
          line-height: 20px;
          padding-left: 10px;
      }
  
      .member-change h{
          font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          font-size:25px;
          line-height: 50px;
          margin: 0 0 0 0px;
          color: rgb(89, 26, 147);
          font-weight: bold;   
      }
      .member-change p{
          font-size:20px;
          line-height: 20px;
          padding-left: 10px;
      }

      .space-box3{
        width:1%;
        float:left;
      }
      
  
      .report{
          width:45%;
          margin:40px 0 0 0;
          float:left;
          background:rgba(221,221,221,0.5);          
      }
      .match-report h{
          font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          font-size:25px;
          line-height: 50px;
          padding:0 0 0 5px;
          color: rgb(89, 26, 147);
          font-weight: bold;   
      }
      .match-report p{
          font-size:15px;
          padding:0 15px;
      }

      .space-box4{
        width:7%;
        float:left;
      }


      .photo-wrapper{
        width: 100%;
        
      }
      .photo-box{
        width: 50%;
        margin: 0 25%;
        
      }
      .photo-box img{
        width: 100%;
        object-fit: contain;
        margin-top:20px;
      }


    
      footer {
        background: black;
        color:  rgb(219,186,133);
        position:relative;
        padding-bottom: 100px;
      }
      .footer-list{
        text-align: center;
      }
      .footer-list-respomsive{
        text-align: center;
        display: none;
      }
      .final-logo{
        width:150px;
        margin-top:50px;
      }
      .footer-heading-container{
        width:100%;
        text-align: center;
      }
      .footer-heading {
        color: rgb(219,186,133);
        text-align: left;
        width:15%;   
        display: inline-block;
        vertical-align: top;
      }
      .main-heading {
        font-size:35px;  
        margin-bottom: 5px;
        font-weight: bolder;
        width:100%;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      }
      .sub-heading {
        font-size:20px;
        line-height: 40px;
        font-family:Arial, Helvetica, sans-serif;
        width:100%;
        font-weight:lighter;
        color:  rgb(219,186,133);
        text-decoration: none;
      }
      .sub-heading:hover{
        text-decoration:underline;
        display:inline;
        transition:all 1s;
      }
      .footer-btn{ 
        color: rgb(219,186,133);
        font-size:25px;   
      } 
      .footer-btn:hover{
        opacity:0.5;
      }
      .copyright{
        color: rgb(219,186,133);
        font-size:13px;
        position:absolute;
        bottom:5px;
        right:5px;
      }