/*
Theme Name: Lightning Child
Theme URI: ★ テーマの公式サイトなどのURL（空欄でも可） ★
Template: lightning
Description: ★ テーマの説明（空欄でも可） ★
Author: ★ テーマ作成者の名前（空欄でも可） ★
Tags:
Version: 0.5.1
*/
/**
 * 共通
 */
body{
  color:#cdcdcd;
}
.siteHeader {
    background: #0f0f0f;
}
div#gMenu_outer {
    background: #0f0f0f;
}
div#gMenu_outer .gMenu a {
    color: #cdcdcd;
}

footer.section.siteFooter {
    color: #cdcdcd;
    background: #0f0f0f;
}

footer .nav li a {
    color: #cdcdcd;
}
body .is-layout-flow > * + * {
    margin-block-start: unset;
}
h2.sub-section {
  padding-bottom: 8px;
  position: relative;
  border: 0px;
  text-align: center;
}
h2.sub-section:first-child {
  margin-bottom: 50px;
}
h2.sub-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border: 0px;
  background: linear-gradient(to right, transparent 0%, #cf2e2e 50%, #cf2e2e 50%,transparent 100%);
}
.page-header {
  background-color: #f1d2d0;
  background: linear-gradient(25deg, transparent 0%, #cf2e2e 50%, #cf2e2e 50%, transparent 100%);
}
.wp-block-group.is-style-vk-group-shadow.home-block {
  margin: 20px 0px;
}
.wp-block-button__link.has-white-color.has-text-color.has-background {
  background-color:#d03232;
  width:100%;
  margin-bottom: 20px;
}
.mobile-linebox {
  border: 3px solid #efefef;
  padding: 10px;
  background-color: #f9f9f9;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.mobile-linebox > div {
  margin: 15px 0px;
}

/* ブログ 一覧*/
.archive-meta {
    font-size: 1.8rem;
}
.media-body {
    border-bottom: 1px solid;
    background: #281f1f;
    padding: .5em;
}
h1.media-heading.entry-title a{
    color: #cdcdcd !important;
}

 h2 {
  background-image: -webkit-linear-gradient(315deg, #b8751e 0%, #ffce08 37%, #fefeb2 47%, #fafad6 50%, #fefeb2 53%, #e1ce08 63%, #b8751e 100%);
  background-image: linear-gradient(135deg, #b8751e 0%, #ffce08 37%, #fefeb2 47%, #fafad6 50%, #fefeb2 53%, #e1ce08 63%, #b8751e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/**
 * キャストスケジュール
 */

.krc_calendar {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
  margin: 24px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.22);
}

.krc_calendar dl {
  margin: 0px;
  border: 0px;
  border-right: 1px solid #ccc;
  width: 20%;
  float: left;
  display: block;
}
.krc_calendar dl dt {
  border: 0px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  padding: 2px;
  background-color: #f9e7e7;
  font-weight: normal;
}

.krc_calendar dl dd {
  border: 0px;
  text-align: center;
  text-decoration: none;
  padding: 24px 2px;
  display: block;
  color: #ff9900;
  font-weight: bold;
}


/**
 * 出勤情報
 */
.week_calendar ul {
  list-style:none;
  overflow: hidden;
  margin: 5px 0px;
  padding: 0px;
  width: 100%;
}

.week_calendar ul li {
  position: relative;
  float: left;
  width: 14%;
}

.week_calendar ul li a {
  display: block;
  padding: 17px 5%;
  width: 99%;
  color: #fff;
  background-color: #ff0000;
  text-align: center;
  text-decoration: none;
}
.week_calendar ul li.target a {
  background-color: #ff8080;
}

.week_calendar ul li a:hover {
  background-color: #ffaaaa;
}

/**
 * キャスト一覧
 */

.rank-box.bpink {
  border: 1px solid #efefef;
  background-color: #fcf4f4;
  border-radius: 5px;
  padding: 15px 0px;
  margin-bottom: 20px;
}

/* ここからONE-cast */
.one-cast {
  display: inline-block;
  position: relative;
  text-align: center;
  border-radius: 3px;
  box-shadow: 15px 15px 15px rgb(71 71 71 / 22%);
  background: #281f1f;
  width :100%;
}
.one-cast img {
    max-height: 100px;
    width: 100%;
    object-fit: contain;
}
.post-name-schedule .one-cast {
    margin: 1em;
    max-width: calc(100% / 4 - 4em);
}
@media (max-width: 991px) {
  .post-name-schedule .one-cast {
	  max-width: calc(100% / 2 - 4em);
	  margin: 4em 1em;

  }
}
@media (max-width: 480px) {
  .post-name-schedule .one-cast {
	max-width: calc(100% - 2em);
  }
}
/* ,.home .cast-wrapper ,.post-name-todayscast .entry-body ,.post-name-newcast .entry-body */
.wrap ,.home .cast-wrapper ,.post-name-todayscast .entry-body ,.post-name-newcast .entry-body{
	display: grid;
    grid-template-columns: repeat(4 ,1fr);
    gap: 1em;
}
@media (max-width: 991px) {
.wrap ,.home .cast-wrapper ,.post-name-todayscast .entry-body,.post-name-newcast .entry-body{
    display: grid;
    grid-template-columns: repeat(2 ,1fr);
    gap: 1em;
}
}
@media (max-width: 480px) {
  .wrap ,.home .cast-wrapper  ,.post-name-todayscast .entry-body,.post-name-newcast .entry-body{
    display: grid;
    grid-template-columns: repeat(1 ,1fr);
    gap: 4em;
  }
}

/* ---------- */
.rank-box > .one-cast {
  margin :0 18px 4px
}

.one-cast a.iframe {
  z-index: 8;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: #111;
}

.one-cast figure {
/*   position: relative;
  margin: 0 auto 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
  height: 300px;
  overflow: hidden; */
}
.one-cast figure img {
/*   width: 235px; */
/*   height: auto; */
	max-height: 300px;
}

.one-cast figcaption {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 5% 0;
  height: auto;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.2em;
}

/**
 * キャスト個人ページ
 */
.cast {
  overflow: hidden;
  border: 0px solid gray;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.22);
  padding: 20px;
}
.cast-photo {
  padding: 10px;
  width: 50%;
  min-width: 300px;
  float: left;
}
.cast-profile {
  padding: 10px;
  width: 50%;
  min-width: 300px;
  float: left;
}
.cast-schedule {
  width: 100%
}
.cast-meta {
  overflow:hidden;
  text-align: center;
}
.cast-meta-left {
  width:49%;
  float:left;
  text-align: right;
  background-color: #f9e7e7;
  margin: 1px;
  padding:10px;
}
.cast-meta-right {
  width:49%;
  float:left;
  text-align: left;
  margin: 1px;
  padding:10px;
}
.cast-pr {
  font-size: 18px;
  overflow: hidden;
  line-height: 1.8;
  padding: 15px 10px;;
}
.cast-pr pre {
  white-space: pre-wrap;
}

#slider,
#thumbnail {
  border: 5px solid #e58f8f;
}
#slider {
  margin-bottom: -10px;
  max-height: 600px;
  overflow:hidden;
}
#slider ul {
  overflow:hidden;
}

#thumbnail {
  max-height:170px;
  overflow:hidden;
}
#thumbnail .slides li {
  width: auto !important;
}
#thumbnail .slides img {
  width: auto;
  max-height: 170px;
  -moz-user-select: none;
}
#thumbnail img {
  opacity: 0.5;
}
#thumbnail .flex-active-slide img {
  opacity: 1;
  cursor: default;
}

/**
 * ツイッターアイコン
 */
.one-cast .tw {
  right: 0px;
  top: 260px;
  width: 50px;
  height: 50px;
  position: absolute;
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 26;
  background-image: url(images/twitter_icon.png);
}

.one-cast .tw:hover {
  opacity: 0.8;
}

/**
 * 当日出勤バッジ
 */
.one-cast .todays_cast {
  right: 0px;
  top: 0px;
  border-radius: 3px;
  background-color: #ed561b;
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  font-weight: normal;
  padding: 5px;
}

.one-cast .todays_cast {
  position: absolute;
  display: block;
  z-index: 26;
}

/**
 * 出勤時間バッジ
 */
.one-cast .worktime {
  text-align: left;
  left: 0px;
  top: unset;
  bottom: 100px;
  width:100%;
  background-color: #ed561b;
  color: #fff;
  font-size: 18px;
  opacity: 0.8;
  font-weight: normal;
  padding: 5px 5px 5px 20px;
  border-radius: 0px;
}

.one-cast .worktime {
  position: absolute;
  display: block;
  z-index: 26;
}

/**
 * 新人バッジ
 */
.one-cast .new_cast {
  left: 0px;
  top: 0px;
  width: 50px;
  height: 50px;
  position: absolute;
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 26;
  background-image: url(images/new_icon.png);
  opacity: 0.9;
}

/**
 * 新人バッジ
 */
.one-cast .rank {
  left: 0px;
  top: 300px;
  width: 70px;
  height: 50px;
  position: absolute;
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 26;
  opacity: 0.9;
}

.new_cast.badge {
    left: 0px;
    top: 0px;
    width: 50px;
    height: 50px;
    position: absolute;
    display: block;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 26;
    background-image: url(images/new_icon.png);
    opacity: 0.9;
}


/**
 * キャスト情報
 */
.one-cast a {
  text-decoration: none;
}
.one-cast figcaption span.cast-name {
  display: block;
  font-size: 130%;
  color: #ff8080;
  padding: 10px 0px;
}

.one-cast figcaption span.cast-size {
  display: block;
/*  color: #000; */
    color:#cdcdcd;
}

.one-cast figcaption span.cast-time {
  display: block;
  color: #e1053b;
}

/**
 * 電話ボタン
 */
.vk_button_link.btn
{
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 6px 0px;
  opacity: 0.8;
  z-index: 100;
}

.vk_button_link_before {
  margin-right: 0.0rem;
}
.vk_button_link {
  min-width: 50px;
  min-height: 50px;
  border-radius: 25px;
  background-color:#7bdcb5;
  border:1px solid #7bdcb5;
  color:#fff;
}

/**
 * スマホ対応
 */
@media screen and (max-width:480px) {
/* 画面サイズが480pxからはここを読み込む */
  #thumbnail {
    display: none;
  }
  .home-block,
  .box-body {
    text-align: center;
    font-weight: normal;
  }
  .krc_calendar dl {
    min-height: 135px;
  }
  .wp-block-group.is-style-vk-group-shadow.home-block {
    padding: 5px 0px;
  }
  .cast {
    margin: 10px 15px;
  }
  .one-cast figcaption span.cast-name {
    display: block;
    font-size: 110%;
    color: #ff8080;
    padding: 10px 0px;
  }
  /**
   * ツイッターアイコン
   */
  .one-cast .tw {
    top: 105px;
    width: 35px;
    height: 35px;
  }

  /**
   * 当日出勤バッジ
   */
  .one-cast .todays_cast {
    font-size: 10px;
    opacity: 0.7;
  }

  /**
   * 出勤時間バッジ
   */
  .one-cast .worktime {
    top: unset;
    font-size: 10px;
    text-align: left;
    padding: 5px 5px;
  }

  /**
   * 新人バッジ
   */
  .one-cast .new_cast {
    width: 35px;
    height: 35px;
  }
}


/* ---widget 用 */
.widget .one-cast {
    width: 100%;
    max-width: 100% !important;
  	min-height: auto;
  	height: auto;
  	box-shadow: unset;
  	margin: 2em auto;
    display: block;
  	background: unset;
}

.widget .one-cast figure {
    height: auto;
}
.widget .one-cast figure img {
    max-height: 200px;
    object-fit: contain;
}
/* ---　ここまで　widget */


.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: unset;
}


.wp-block-table.is-style-stripes {
  border-bottom: unset;
}

.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {
    border-color: #ffffff4d;
}

/* ======================== */
/* 追尾page-top なし */
#page_top {
    display: none;
}
/* OPENINGモーダル用 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
/*   background-color: rgba(0, 0, 0, 0.5); */
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #000;
}
.modal-content h2 {
  color: #000;
}

.close {
  color: #aaa;
  float: right;
  font-size: 4rem;
  font-weight: bold;
  cursor: pointer;
}

.modal-content--box {
  max-width: 600px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #888;
  text-align: center;
}
/* <!-- floating バナー	========= --> */
      .scroll-top {
        display: inline-block;
        position: fixed;
        right: .5%;
        bottom: 5%;
        z-index: 9999;
        text-align: center;
      }
      
      @media screen and (max-width: 783px) {
        .scroll-top {
          bottom: 0%;
        }
      }
      
      .scroll-top img {
        width: 8em;
        height: auto;
      }
      
      .scroll-top:hover {
        cursor: pointer;
        opacity: 0.7;
      }
      
      .scroll-top {
        opacity: 0;
        transition: opacity 350ms ease;
      }
      
      .is-hide {
        display: none;
      }
      
      .photo-container {
        position: fixed;
        width: 100%;
/*         height: 100%; */
		  height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        overflow-y: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.9);
        padding: 5%;
        color: #fff;
        transition: left 350ms ease;
        z-index: 9998;
      }
      
/*       .photo-container img {
        max-width: 100%;
        height: auto;
      } */
      
      .photo-container-contents {
        display: grid;
        place-items: center;
		height: 100%;
    	width: 100%;
      }
      
      .close-button {
        position: absolute;
        top: 3%;
        right: 10%;
        background-color: transparent;
        border: none;
        color: #fff;
        padding: 10px;
        cursor: pointer;
      }
@media screen and (max-width 768px){
/* 	.close-button {
        top: 0%;
        right: 10%;
      } */
}
      
      .photo-container.is-hide {
        left: 50%;
      }
      .photo-container:not(.is-hide) {
        left: 50%;
      }
      
      .modal-open {
        overflow: hidden;
      }
	
	.shake-002{
      transform-origin: center bottom;
      animation: yurayura 2s linear infinite;
   }

	@keyframes yurayura {
	  0% , 100%{
		  transform: rotate(2deg);
	  }
	  50%{
		  transform: rotate(-2deg);
	  }
	}

