
/*
Theme Name: Ballsy2
Theme URL: テーマのサイトのURI
Description: ballsy用のWordPressテーマです(修正)
Author: Sho Wakai
*/

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    /*
    htmlはデフォルトが16pxなので62.5%＝10pxと考えることができる
    つまり1rem＝10px　1.6rem=16px
    ▼「rem（レム）」について
    常にhtmlに対して相対的な値を指定することができます。
    ％とemと違い、htmlの値のみ考慮すればいいので、
    比較的楽に指定することができます。
    */
}
body {
    font-family:Futura;
    font-size: 1.6rem;
  }
h1{
    font-size: 5rem; /* 50px */
}
h2{
    font-size: 3rem; /* 30px */
}
p{
    font-size: 1.5rem; /* 15px */
}

h2.large{
  color: #ECECEC;
  font-size: 200px;
  font-family: Futura;
  font-weight: normal;
  margin-top: 15px;
  text-align: right;
  white-space: nowrap;


}

h2.small{
  color: #001274;

}

p.large{
  color: #2A3E93;
  font-size: 55px;
  font-weight: bold;

}

p.medium{
  color: #707070;
  line-height: 3.5;
}

p.small{
  color: #505050;
  line-height: 3.5;
  font-size: 17px;
}

.col-2{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.col-3{
  display: flex;
  justify-content:space-around;
  align-items:center;
}

}
/*====================
START→pcデザイン
====================*/
/*= top　start =*/
img{
  max-width: 100%;

}

.section-inner{
  width: 100%;
  max-width:calc(100% - 100px);
  margin: 0 auto;
}

.section-inner2{
  width: 100%;
  max-width:90%;
  margin: 0 auto;
}

.pc-only{
  display: block;
}

.sp-only{
  display: none;
}


#header{
  width: 100vw;
  height:70px;
  background-color: #001274;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #fff;
  padding: 10px 50px;
  position: fixed;
  top: 0;
  z-index: 2;


}

.header-logo{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 130px;
}


.gnav-pc-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;


}

.gnav-pc{
  display: flex;
}
.gnav-pc li{
  display: inline;
  align-items: center;
  margin-right: 30px;
}

.gnav-pc a{
  color: #FFFFFF;
  text-decoration: none;
  font-size: 10px;

}

ul.gnav-pc li a:hover{
  color: #B6BFE6;
}

.header-nav{
  display: none;
}


.burger-btn {
  display: none;
}



/* メインヴィジュアル ーーーーーーー*/
#mainvisual{
  width: 100%;
  height: 100vh;
  background-color: #001274
}
.top{
  display: flex;
  justify-content:center;
  align-items: center;
  padding-top: 200px;
  position: relative;
}
.topimg{
  width: 40%;
}
.sub{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content:center;
  z-index: 1;
}

.subcopy{
  padding-top: 100px;
}
.main{
  position: absolute;
  top: 100px;
  width: 100%;
}
.main h2{
  padding-top:40px;
  font-weight: normal;
  color: #43519E;
  font-size: 200px;
  white-space:nowrap;
}


#service{

}

.service-img{
  width: 700px;
}


.subcopy_text{
  color: #001274;
  margin: 30px;
  margin-left: 35px;
  font-size: 33px;

}

.sample{
  background-color: #FFFFFF;
  padding: 0px 5px;

}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container,.modal-container2,.modal-container3,.modal-container4{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,60%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
  box-sizing: border-box;
  z-index: 2;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 600px;
	width: 90%;
  z-index: 2;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	position: absolute;
	display: flex;
  align-items: center;
  justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	background: #fff;
  border-radius: 10px;
	text-align: center;
	padding: 30px;
}
.modal-content p{
  text-align: left;
}

.modal-content p span{
  display: block;
}

.modal-img{
  width: 60%;
  margin: 0 auto;
}


/*モーダル本体の擬似要素の指定*/
.modal-container2:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container2.active{
	opacity: 1;
	visibility: visible;
}


/*モーダル本体の擬似要素の指定*/
.modal-container3:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container3.active{
	opacity: 1;
	visibility: visible;
}

/*モーダル本体の擬似要素の指定*/
.modal-container4:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container4.active{
	opacity: 1;
	visibility: visible;
}


#business{
  margin-bottom: 70px;

}
#business p.large{
  text-align: center;
  margin-bottom: 60px;

}



.p-boder{
  border-bottom: 3px solid #2A3E93;
  padding-bottom: 8px;


}

.business-wrap-pc a{
  position: absolute;
  top:0;
  left:0;
  height: 100%;
  width: 100%;
}

h2.business{
  font-size: 35px;

}

.business-wrap-pc{
  display: flex;
  justify-content: space-between;
  background-color: #001274;
  border-bottom: 2px solid #707070;
  position: relative;
  align-items: center;


}

.business-area-pc{
  color: #fff;
  height: 220px;
  font-size: 60px;
  font-weight: bold;
  display: flex;
  padding-left:80px;
  align-items: center;



}


h2.business a{
  color: #fff;
  text-decoration: none;
}

.arrow-img{
width: 30px;
margin: 30px;

}
.cart-img{
width:60px;
margin: 30px;
}

.banner-img{
  width: 580px;
  display: flex;


}

#information p.large{
    text-align: center;
    margin-bottom: 100px;

  }
  .p-boder{
    border-bottom: 3px solid #2A3E93;
    padding-bottom: 8px;
  }

.news-wrap{
  margin-bottom:
}
.news{
  display: flex;
  justify-content:center;
  margin-top: 20px;
}

.news-day{
  color: #B4C0F0;
  font-size: 20px;
}

.news-body{
  color: #2A3E93;
  font-weight: bold;
  font-size: 20px;

  padding-left: 40px;
}



#company p.large{
    text-align: center;
    margin-bottom: 100px;

  }
  .p-boder{
    border-bottom: 3px solid #2A3E93;
    padding-bottom: 8px;

  }

  #company h2{
    margin-top: 40px;
  }

  #table01 tr{
  border-bottom: 1px solid #b5b1b1;
  }

  #table01 th,
  #table01 td{
    padding: 24px 0;
    border: none;
  }
  #table01 td{
    width: 400px;
  }
  #table01 td span.right{
    display: block;
    text-align: right;
    padding-right: 23px;

  }

  #table01 th {
  width: 30%;
  text-align: left;
   font-weight: bold;

}


  .company-img-pc{
    width: 200px;
  }

#company.item{
  width:100%;

}

#footer{
  margin-top: 200px;
  background-color: #001274;
  text-align: center;
  padding: 40px;
  position: relative;

}
#footer a{
  color: #fff;
  text-decoration: none;

}

ul.footer-link{
  padding-bottom: 40px;
  text-align: right;
  position: absolute;
  right:150px;
  top:60px;

}

.footer-link li{
  display:inline;
  margin-left: 30px;

}

.footer-link img{
display: inline;

}

.copyright{
  color: #fff;
}


.footer-logo{
  width: 130px;
  margin:0 auto;
  margin-bottom: 15px;

}



/*= top　end =*/

/*====================
START→spデザイン
====================*/

@media screen and (max-width: 768px) {

  .section-inner{
   max-width: 550px;
   padding: 0 20px;
  }

  .section-inner2{
    width: 60%;
    margin: 0 auto;
  }

  .sp-only{
    display: block;
  }

  .pc-only{
    display: none;
  }

  h2.large{
    font-size: 130px;
    text-align: right;
    margin-bottom: 0;
    margin-top: 0;
  }

  p.large{
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto;

  }

  p.medium{
    color: #707070;

    line-height: 3;
  }

  p.small{
    color: #505050;
    line-height: 3.5;
    font-size: 17px;
  }

  .col-2{
    display: block;
    align-items: center;
  }
  .col-3{
    display: block;
    align-items:center;
  }

  /*=header=*/
  /*ハンバーガーボタン　*/
      .hamburger {
          display : block;
          position: fixed;
          z-index : 63;
          right : 15px;
          top   : 12px;
          width : 42px;
          height: 42px;
          cursor: pointer;
          text-align: center;
      }
      .hamburger span {
          display : block;
          position: absolute;
          width   : 40px;
          height  : 2px ;
          right: 0px;
          background : #fff;
          -webkit-transition: 0.3s ease-in-out;
          -moz-transition   : 0.3s ease-in-out;
          transition        : 0.3s ease-in-out;
      }
      .hamburger span:nth-child(1) {
          top: 11px;
      }
      .hamburger span:nth-child(2) {
          top: 22px;
      }
      .hamburger span:nth-child(3) {
          top: 33px;
      }

      /* ナビ開いてる時のボタン */
      .hamburger.active span:nth-child(1) {
          top : 16px;
          right: 0px;
          background-color: #CBC8C8;
          -webkit-transform: rotate(-45deg);
          -moz-transform   : rotate(-45deg);
          transform        : rotate(-45deg);
      }

      .hamburger.active span:nth-child(2),
      .hamburger.active span:nth-child(3) {
          top: 16px;
          background-color: #CBC8C8;
          -webkit-transform: rotate(45deg);
          -moz-transform   : rotate(45deg);
          transform        : rotate(45deg);
      }
      /* ナビ開いてる時のボタン */

      .globalMenuSp {
          position: fixed;
          z-index : 62;
          top  : 0;
          right: 0;
          text-align: right;
          transform: translateX(100%);
          transition: all 0.6s;
          width: 40%;
          height: 100vh;
          background-color: #000;
      }

      /*ハンバーガーボタン*/
      /*----------------------------
      * メニュー本体
      *----------------------------*/
      .menu{
          position: fixed;
          top: 0;
          right: 0;
          z-index: 60;
          width: 100vw;
          height: 100vh;
          font-size:20px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;

          background: #F5F5F5;
          transition: all .3s linear;

      }
      .menu__item{
          width: 100%;
          height: auto;
          padding: .6em 1em;
          text-align: center;
          color: #fff;
          box-sizing: border-box;


      }
      .menu-btn{

          color: #fff;
          width: 80%;
          padding: .5em 1em;
          margin: .5em 0;
          text-align: center;
      }
      .menu-btn a{
          color: #fff;

      }
      /*----------------------------
      * アニメーション部分
      *----------------------------*/
      /* アニメーション前のメニューの状態 */
      .menu{
          transform: translateX(100vw);
          transition: all .3s linear;
      }
      /* アニメーション後のメニューの状態 */
      .menu.active{
          transform: translateX(0px);
      }
      /*=header 終わり=*/



  #header .gnav-pc-wrap{
    display: none;
  }

  #header{
    padding: 10px 20px;

  }




  #mainvisual{
    width: 100vw;
    height: 100vh;

  }
  .main{
    top:40px;
  }

  .main h2{
    font-size: 110px;
  }


  .topimg{
    width:80%;
    margin: 0 auto;
  }


  .sub{
    display: block;
    margin-top: -60px;

  }
  .subcopy{
    margin-left:20px;
    text-align: center;
    }


  .subcopy_text{
    margin: 20px;
    margin-left: 10px;
    font-size: 18px;

  }

  .subcopy{
    padding-top: 0px;
  }


  #service{

  }


  #service .service-img{
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
  }

  #businessarea{
    padding-top: 100px;
    margin-top: -100px;

  }

  #business p.large{
    margin-bottom: 50px;
  }

  .modal-content p span{
    display: inline;
  }


  .business-wrap-pc{
    display: none;
  }
  h2.business{
    font-size: 20px;
  }
  .cart-img{
    width: 30px;
    margin: 20px;
  }


  .business-sp{
    padding:10px　0;
    margin-bottom: 20px;
  }

  .business-wrap-sp{
    padding:10px 0;
    background-color: #001274;

  }
  .business-area-sp{
    color: #fff;
    display: flex;
    height: 80px;
    align-items: center;
    position: relative;
  }

  .business-area-sp a{
    position: absolute;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
  }




  .banner-img-sp{
    width: 90%;
    margin: 0 auto;

  }

.modal-container2 h2.modal{
  padding: 0 20px;
}



  #information p.large{
      margin-bottom: 50px;
    }

  .news{
    display: block;
    text-align: center;
  }

  .news-day,.news-body{
    font-size: 15px;
  }
  .news-body{
    padding-left:0;
  }
  .news-wrap{
    margin-bottom: 50px;
  }
  #companyarea{
    padding-top: 100px;
    margin-top: -100px;
  }
  #company p.large{
      margin-bottom: 50px;
    }
  #company h2.large{
    margin-top:0;
  }

  #company p.small{
    font-size: 15px;
  }
  #company p.small span{
    display: block;

  }

  h2.small{
    font-size: 23px;
    text-align: left;
  }

  #table01{
  margin: 0 auto;
  }
  #table01 span{
    display: block;
  }

  #table01 th,
 #table01 td {
   width: 100%;
   display: block;
   margin: 0 auto;
 }

 #table01 th {
   width: 100%;
 }

 #table01 td {
   padding-top: 0;
   border-bottom: 1px solid #BCBCBC;
   margin: 0 auto;
}

#table01 td span.right{
  text-align: left;
  padding-right: 0;
}
  .company-img-pc{
    display: none;
  }

  .company-img-sp{
    width: 150px;
    margin:0 auto;
    padding-top: 20px;
  }

  #footer{
    padding: 40px 0 20px 0;
    margin-top: 70px;
    text-align: center;

  }
  p.copyright{
    font-size: 10px;
    padding: 10px 0;
  }

  ul.footer-link{
    padding-bottom: 20px;
    text-align: center;
    position: static;


  }

  .footer-link li{
    display:block;
    margin-bottom: 10px;
    margin-left: 0;

  }

  .footer-link img{
  display: inline;

  }



  .footer-logo{
    display: block;

  }

  element.style{
    height: 100px;
  }

  .modal-img{
    width: 100%;
    margin: 0 auto;
  }

  .modal-img img{
    width: 100%;
    margin: 0 auto;
  }

}
