/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/*ヘッダー右のウィジェットの下のマージン*/
.site-header-sub .widget{
	margin-bottom:0!important;
}

/*モバイル用ハンガーメニュー*/
.vk-mobile-nav{
	background-color:#000;
}
.vk-mobile-nav nav ul li a{
	color:#fff;
		font-family: 'Oswald', sans-serif;
	font-weight:400!important;
	font-style: normal;
}

/*サブヘッダーのアニメーション*/
.page-header{
animation-name:fadeUpAnime;
animation-duration:0.75s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(30px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*アーカイブの見出し*/
body.post-type-archive-practice .main-section:before{
  background-image: url(https://online-stc.com/wp-content/uploads/2024/05/practice-title.png);}
body.post-type-archive-tournament .main-section:before{
  background-image: url(https://online-stc.com/wp-content/uploads/2024/05/tournament-title.png);}
body.post-type-archive-event .main-section:before{
  background-image: url(https://online-stc.com/wp-content/uploads/2024/05/event-title.png);}
body.post-type-archive-new-member .main-section:before{
  background-image: url(https://online-stc.com/wp-content/uploads/2024/05/newmember-title.png);}

body.post-type-archive-practice .main-section:before,
body.post-type-archive-tournament .main-section:before,
body.post-type-archive-event .main-section:before,
body.post-type-archive-new-member .main-section:before{
  content: '';/*何も入れない*/
  display: inline-block;
  max-width: 500px;/*画像の幅*/
	width:100%;
  height: 150px;/*画像の高さ*/
	background-repeat:no-repeat;
  background-size: contain;
  vertical-align: middle;
	animation-name:fadeUpAnime;
animation-duration:0.75s;
animation-fill-mode:forwards;
opacity:0;
}

.vk_posts-postType-practice,
.vk_posts-postType-tournament,
.vk_posts-postType-event,
.vk_posts-postType-new-member{
	animation-name:fadeUpAnime;
animation-duration:0.75s;
animation-fill-mode:forwards;
opacity:0;
}
ul.page-numbers li a{
	color:#fff!important;
}


/*ヘッダー部分*/
.site-header-logo img {
	max-height: 80px;
	padding-bottom:15px;
}
@media (max-width: 991.98px) {
  .site-header-logo img {
    max-height: 50px;
	 	padding-bottom:0px;
  }
}

/*コンテンツが少ない場合にfooterを下に固定する*/
body.page-id-170,
body.post-type-archive-practice,
body.post-type-archive-tournament,
body.post-type-archive-event,
body.post-type-archive-new-member{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.page-id-170 footer,
.post-type-archive-practice footer,
.post-type-archive-tournament footer,
.post-type-archive-event footer,
.post-type-archive-new-member footer{
    margin-top: auto;
}

/*グローバルナビの書体*/
.global-nav-name{
	font-family: 'Oswald', sans-serif;
	font-weight:400!important;
	font-style: normal;
	font-size:20px!important;
}

/*全体の文字色*/
body{
	color:#F4F4F4;
}
/*TOPメインイメージ*/

@media screen and (min-width: 768px) {
.top-slider,
.top-slider .swiper-wrapper,
.top-slider .wp-block-vk-blocks-slider-item{
	height:30vw!important;
	max-height:40vh;
}

.top-slider .wp-block-vk-blocks-slider-item{
  repeat: no-repeat!important;
    background-size: contain;
}
}

/*h2見出し*/
.contents-title-english,
.contents-title-english-center{
	font-family: 'Oswald', sans-serif;
	font-size:min(10vw,50px)!important;
	line-height:min(10vw,50px)!important;
	font-weight:400!important;
	font-style: normal;
  position: relative;
  margin-bottom:25px!important;
}
.contents-title-english:after {
  background-color: var(--vk-color-primary);/* 線の色 */
  bottom: -15px; /* 線の位置 */
  content: "";
  height: 2px; /* 線の高さ */
  position: absolute;
	max-width:500px;
  width: 100%!important; /* 線の長さ */
}

.contents-title-english-center:after {
  background-color: var(--vk-color-primary);/* 線の色 */
  bottom: -15px; /* 線の位置 */
  content: "";
  height: 2px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
	max-width:200px;
  width: 100%!important; /* 線の長さ */
}


/*練習予定・大会日程・イベント情報・加入者情報のリンクを無効にする*/
.post-type-archive-practice .postListText_title a,
.post-type-archive-tournament .postListText_title a,
.post-type-archive-tournament .postListText_singleTermLabel a,
.post-type-archive-event .postListText_title a,
.post-type-archive-event .postListText_singleTermLabel a,
.post-type-archive-new-member .card-horizontal-inner-row a{
  pointer-events: none;
  text-decoration:none;
}
/*練習予定の日付セルを非表示*/
.post-type-archive-practice .postListText_singleTermLabel{
  display:none;
}
/*加入者情報の写真の幅を調整*/
.vk_posts-postType-new-member a{
  pointer-events: none;
  text-decoration:none;
}
.vk_posts-postType-new-member .col-5{
    flex: 0 0 20%;
    max-width: 20%;
}
.vk_posts-postType-new-member .vk_post-col-5{
    width: 20%;
}
.vk_posts-postType-new-member .col-7{
    flex: 0 0 80%;
    max-width: 80%;
}
.vk_posts-postType-new-member .vk_post-col-7{
    width: 80%;
}
.vk_posts-postType-new-member .card{
  border-radius:0px;
  border:0px;
  background-color:transparent;
}
.vk_posts-postType-new-member .vk_post_title a{
  color:#fff!important;
  font-size:20px;
  padding-bottom:10px;
  border-bottom:1px solid #fff;
	display:block;
}
.vk_posts-postType-new-member .vk_post_title{
  margin-bottom:20px;
  width:100%;
}
.vk_posts-postType-new-member .vk_post_imgOuter {
	border-right: 0px!important;
	background-size:contain;
	background-position:0 0;
	background-repeat:no-repeat;
}
.vk_posts-postType-new-member .card-text{
	font-size: 14px;
	line-height:1.6rem;
}
.vk_posts-postType-new-member .card-body{
	padding-top:0;
}

/*メンバー一覧のテーブルデザインを調整*/
.member-teble table tr th{
	background-color:#333!important;
	border-color:#808080!important;
	border-top:solid 0px #000!important;
	border-right:solid 0px #000!important;
	border-left:solid 0px #000!important;
}
.member-teble table tr td{
	background-color:transparent!important;
	border-color:#808080!important;
	border-right:solid 0px #000!important;
	border-left:solid 0px #000!important;
}

/*パスワードページのアニメーション*/
.page-id-170 .entry-body{
	animation-name:fadeUpAnime;
animation-duration:0.75s;
animation-fill-mode:forwards;
opacity:0;
}

/*パスワードページのボタンデザイン*/
.page-id-170 form.post_password input[type=submit]{
	margin-top:50px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	position: relative;
	z-index: 0; 
	border-radius: 0;
	padding: 16px 35px;
	letter-spacing: 0.1em;
	width: 240px;
    background-color: transparent;
    border: 1px solid currentColor;
	-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
-o-transition: 0.3s ease-in-out;
transition: 0.5s;
}
.page-id-170 form.post_password input[type=submit]:hover {
    background-color: #fff!important;
	color:#000;
}

/*インスタグラム*/
#sb_instagram #sbi_load,
#sb_instagram .sb_instagram_header, .sb_instagram_header{
	display:none;
}

/*フェイスブック*/
.facebook_wrap{
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
 
.fb-page,
.fb-page span,
.facebook_wrap iframe{
  width: 100% !important;
  height: 500px !important;
}

/*アニメーションスライダー*/
.slider1 {
  display: flex;
  margin: 0 calc(50% - 50vw);
	margin-top:-10px;
	margin-bottom:-5px;
  width: 100vw;
  height:250px;
  overflow: hidden;
}
.slider1 ul{
	display:flex;
	padding: 0;
	margin:0;
}
.slider1 li{
	width:333px;
	list-style: none;
}
@media screen and (max-width: 599px){
.slider1 {
  width: 100vw;
  height:150px;
}
.slider1 li{
	width:200px;
}
}

.slider1 ul:first-child {
  animation: slide1 150s -75s linear infinite;
}
.slider1 ul:last-child {
  animation: slide2 150s linear infinite;
}
@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/

/*　送信ボタンを中央に　*/
div.wpcf7 .wpcf7-spinner {
    display: none !important;
}
/*　フォーム全体　*/
#cf7-area {
width:100%;
margin: 0 auto;
font-family: “遊ゴシック”,”ヒラギノ角ゴ”,”メイリオ”,”MS Pゴシック”,sans-serif;
}

.cf7-item {
display: flex;
align-items: flex-start;
justify-content: flex-start;
}

.cf7-q {
width: 30%;
margin: 0 0 0 10px;
}

.cf7-a {
width: 70%;
}

/*　見出し　*/
.form-heading
{
width: 100%;
background-color:  var(--wp--preset--color--vk-color-primary-vivid);
border-radius: 2px;
color: #ffffff;
font-weight: bold;
padding: 1em .8em;
margin: 0 0 3em;
}

.form-heading p {
margin: 0;
}
.wpcf7 .wpcf7-submit:disabled{
    border: 1px solid #d3d3d3;
    background-color: #d3d3d3 !important;
    color: #fff !important;
}
/* 各項目共通 */
#cf7-area label{
font-weight:bold;
}

#cf7-area input[type=”text”],#cf7-area input[type=”email”],#cf7-area input[type=”tel”],#cf7-area textarea {
background: #F0F8FF;
width:500px;
margin-left:10px;
}

#cf7-area input[type=”text”]:focus,#cf7-area input[type=”email”]:focus,#cf7-area input[type=”tel”]:focus,#cf7-area textarea:focus {
background: #FFE4E1;
border: 2px solid #FF1493;
outline: 0;
}

#cf7-area input[type=”checkbox”], #cf7-area input[type=”radio”]{
appearance: auto;
}

#cf7-area .wpcf7-list-item {
display: block;
}

#cf7-area textarea{
height:200px;
width:100%;
padding: 0.625em 0.4375em;
	margin-left:0!important;
}

.cf7-accept-check{
text-align: center;
margin: 50px auto;
}

.cf7-submit {
width: 40%;
margin: 0 auto;
text-align: center;
}

#cf7-area input[type=”submit”]
{
width: 100%;
background-color: #191970;
color: #ffffff;
border-radius: 5px;
font-size: 1.2em;
padding: 1em 10px;
}

#cf7-area input[type=”submit”]:hover
{
background-color:#ffffff;
border: 2px solid #191970;
color:#191970;
}

.cf7-btn{
width: 40%;
margin: 0 auto;
text-align: center;
}

/*　必須ラベル　*/
.cf7-req{
font-size:.8em;
padding: 4px 6px;
background: #eb2a2a;
color: #ffffff;
margin-left: 10px;
display:inline-block;
}

@media screen and (max-width:768px){
.cf7-item {
display: block;
}

#cf7-area label{
display: block;
margin-bottom: 10px;
}

.cf7-q {
width: 100%;
margin: 0;
}

.cf7-a {
width: 100%;
}

#cf7-area input[type=”text”], #cf7-area input[type=”email”], #cf7-area input[type=”tel”], #cf7-area textarea{
margin-left: 0;
}

.cf7-submit{
width: 90%;
}
}