/*
Theme Name: Lightning Child v3
Theme URI: ★ テーマの公式サイトなどのURL（空欄でも可） ★
Template: lightning
Description: ★ テーマの説明（空欄でも可） ★
Author: doraxdora
Tags:
Version: 0.5.1
*/
:root {
	--color-primary: #aa0101;
	--color-primary-rgba: RGBA(170,1,1,0.6);

	--color-primary-dark: #850606;
	--color-primary-dark-rgba: RGBA(133,6,6,0.6);

	--color-black: #252525;
	--color-white: #fff;
	--color-gray: #ccc;
	--color-light-gray: #eee;
	--color-dark-gray: #a9a9a9;
	--color-silver: #c0c0c0;

	--main-bgcolor: #fff;
}

/**
 * 共通
 */
html {
	font-size: 12px;
}

.lt {
	text-align: left !important;
}
.rt {
	text-align: right !important;
}
.ct {
	text-align: center !important;
}

/**
 * 見出し
 */
h2.section-title,
h2.sub-section {
	padding-bottom: 8px;
	position: relative;
	border: 0px;
	text-align: center;
	font-size: 2rem;
	margin-top: 20px;
	margin-bottom: 10px;
	color: var(--color-primary-dark);
}
h2.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	border: 0px;
	background: linear-gradient(to right, transparent 0%, var(--color-primary) 40%, var(--color-primary) 60%,transparent 100%);
}

h2.section-title+.title-treat {
	margin-top: -70px;
	margin-bottom: 70px;
	text-align: center;
	font-size: 12px;
	color: var(--color-primary);
}

/** 吹き出し */
.comment-top {
	position: relative;
	display: inline-block;
	margin: .5em 0;
	padding: 7px 10px;
	min-width: 120px;
	max-width: 100%;
	color: var(--color-dark-gray);
	font-size: 16px;
	background: #FFF;
	border: solid 1px var(--color-dark-gray);
	border-radius: 10px;
	box-sizing: border-box;
}

.comment-top:before {
	content: "";
	position: absolute;
	top: -24px;
	left: 10%;
	margin-left: -15px;
	border: 12px solid transparent;
	border-bottom: 12px solid #FFF;
	z-index: 2;
}

.comment-top:after {
	content: "";
	position: absolute;
	top: -28px;
	left: 10%;
	margin-left: -17px;
	border: 14px solid transparent;
	border-bottom: 14px solid var(--color-dark-gray);
	z-index: 1;
}

.comment-top p {
	margin: 0;
	padding: 0;
}

/** サイトヘッダー */
.site-header .nav li a {
	color: #aa935d;
}

/** ページヘッダー */
.page-header {
	display:none;
}

/** コピーライト */
.site-footer-copyright {
	border-top: 1px solid gray;
	max-width: unset;
	background-color: var(--color-primary);
	color: #fff;
}
.site-footer-copyright p {
	font-size: 14px;
	font-style: italic;
}
.cast-wrapper {
	width: 100%;
}
/**
 * キャスト一覧
 */
.cast-box {
	padding: 5px 0px;
	margin: 0px auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: start;
	align-items: start;
	align-content: space-around;
}
.one-cast {
	display: inline-block;
	position: relative;
	max-width: 257px;
	height: 400px;
	margin: 10px 10px 20px 10px;
	padding: 0;
	text-align: left;
	line-height: 1.3em;
	overflow: hidden;
	letter-spacing: normal;
	transition: box-shadow 0.8s;
}
.one-cast:hover {
	box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.one-cast figure {
	position: relative;
	margin: 0 auto 0;
	padding: 0;
	overflow: hidden;
	position: relative;
	text-align: center;
	width: 100%;
	height: 340px;
	overflow: hidden;
}
.one-cast figure img {
	width: 100%;
	transition: 0.8s all;
}
.one-cast:hover figure img {
	transform:scale(1.05,1.05);
}
.one-cast .cast-workinfo {
	position: absolute;
	bottom: 0;
	z-index: 100;
	margin: 0;
	background-color: rgba(248,187,208,0.8); /* ごく薄いピンク + 80%不透明 */
  color: #333; /* 薄い背景にはダーク文字推奨 */
	text-align: center;
	width: 100%;
}
.one-cast figcaption {
	position: relative;
	width: 100%;
	height: 175px;
	margin: 0px;
	padding: 0px;
	text-align: center;
	font-size: 14px;
	line-height: 1.2em;
	background-color: #fff;
	color: var(--color-primary);
}

.one-cast figcaption p.cast-name {
	display: block;
	color: var(--color-primary);
	padding: 10px 0px 0px 0px;
	font-weight: 900;
	margin: 0px;
}
.one-cast figcaption p.cast-name span {
	font-size: 80%;
}
.one-cast figcaption p.cast-size {
	display: block;
	color: var(--color-black);
	font-size: 80%;
	margin: 0px 0px 10px 0px;
}
.one-cast figcaption p.cast-size span {
	font-size: 75%;
}
.cast-txn {
	background-color: var(--color-primary-rgba);
	padding: 2px 5px;
	border-radius: 3px;
	color: #fff;
}

/** ツイッターアイコン */
.one-cast .tw {
	right: 2px;
	top: calc(50vh - 215px);
	width: 60px;
	height: 60px;
	position: absolute;
	display: block;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 100;
	background-image: url(images/twitter_x_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: 18px;
	opacity: 0.9;
	font-weight: normal;
	padding: 5px;
	position: absolute;
	display: block;
	z-index: 26;
}

/**
 * 新人バッジ
 */
.one-cast .new_cast {
	left: 2px;
	top: 2px;
	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: -10px;
	top: 340px;
	width: 90px;
	height: 50px;
	position: absolute;
	display: block;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 26;
	opacity: 0.9;
}
.one-cast .rank img {
	width: 80px;
}

/**
 * 個人ページ
 */

/** スケジュール */
.sch-box {
	table-layout: fixed;
	margin:0px;
	margin-bottom: 20px;
	border: 0px;
	border-top: 1px solid var(--color-silver);
	border-left: 1px solid var(--color-silver);


}
.sch-box tr td,
.sch-box tr th {
	text-align: center;
	border: 0px;
	border-right: 1px solid var(--color-silver);
	border-bottom: 1px solid var(--color-silver);
}
.sch-box tr th {
	background-color: var(--color-primary-dark);
	color: #fff;
}
.sch-box tr td {
	background-color: RGBA(255, 255, 255, 0.6);
	height: 50px;
}


/**
 * キャスト個人ページ
 */
.cast {
	color: var(--color-black);
	overflow: hidden;
	padding: 20px 0px;
	display: flex;
	flex-wrap: wrap;
}
.cast-photo {
	padding: 10px;
	flex: 0 0 35%;
}
.cast-profile {
	padding: 10px;
	flex: 0 0 65%;
}
.cast-profile > div {
	background-color: var(--color-white);
	padding: 0px 20px;
	margin-bottom: 30px;
}
.cast-profile h2:first-child {
	margin-top: 0px;
}
.cast-comment {
	width: 100%
}
.cast-schedule {
	width: 100%
}
.cast-info {
	border: 0px;
}
.cast-info > tbody > tr > th,
.cast-info > tbody > tr > td {
	border: 0px;
	font-size: unset;
	text-align:left;
	border-bottom: 3px solid white;
}
.cast-info > tbody > tr > th {
	width: 10%;
	min-width: 150px;
	background-color: var(--color-light-gray);
	font-weight: normal;
	text-align: right;
}
.cast-pr {
	width: 100%;
	font-size: 18px;
	line-height: 1.8;
	padding: 0px;
	line-height: 2;
}
.cast-pr pre {
	white-space: pre-wrap;
	color: var(--color-black);
	font-size: 16px;
	margin: 10px;
}

/** スライダー */
.flexslider {
	background: unset;
	border: unset;
}
.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
	height: 60px;
}
#slider,
#thumbnail {
	/** border: 5px solid #e58f8f; */
	margin-bottom: 10px;
}
#slider {
	margin-bottom: 0px;
	overflow:hidden;
}
#slider ul {
	overflow:hidden;
}
#slider ul li {
	flex-grow: unset;
	margin-bottom: 2px;
}
#slider ul li img {
	object-fit:cover;
}

#thumbnail {
	overflow:hidden;
}
#thumbnail .slides li {
	max-height:150px;
	width:100px;
}
#thumbnail .slides img {
	max-height: 150px;
	width:100px;
	-moz-user-select: none;
	object-fit:cover;
}
#thumbnail img {
	opacity: 0.5;
}
#thumbnail .flex-active-slide img {
	opacity: 1;
	cursor: default;
}


/**
 * スケジュールページ
 */
.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: var(--color-white);
	background-color: var(--color-primary);
	border: 1px solid var(--color-primary);
	text-align: center;
	text-decoration: none;
}
.week_calendar ul li.target a {
	color: var(--color-black);
	background-color: var(--color-white);
}

.week_calendar ul li a:hover {
	color: var(--color-black);
	background-color: var(--color-white);
}


/* 4-2　パタッ（左へ） */
.flipLeft{
animation-name: flipLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area{
    transform:  translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
    opacity: 0;
}


@media (max-width: 575.98px) { /* モバイル */

	/**
	 * キャスト一覧
	 */
	.one-cast{
		flex: 0 0 50%;
		max-width: calc(50% - 16px);
		max-height: 300px;
		margin: 10px 5px;
	}
	.one-cast figure {
		height: 240px;
	}
	.one-cast figcaption {
		height: 140px;
	}

	.one-cast figure img {
		height: 100%;
		object-fit: cover;
	}
	.one-cast figcaption .cast-badge .cast-txn {
		font-size: 80%;
	}
	/** ツイッターアイコン */
	.one-cast .tw {
		top: 190px;
		width: 35px;
		height: 35px;
	}

	/**
	 * 新人バッジ
	 */
	.one-cast .new_cast {
		width: 35px;
		height: 35px;
	}

	/**
	 * ランキングバッジ
	 */
	.one-cast .rank {
		top: 240px;
		width: 50px;
		height: 50px;
	}
	.one-cast .rank img {
		width: 80px;
	}

	/**
	 * キャスト個人ページ
	 */

	.cast-photo,
	.cast-profile {
		flex: 0 0 100%;
		padding: 10px 0px;
	}
	.cast-photo {
	}
	.cast-profile > div {
		padding: 10px 0px;
	}
	.cast-schedule > div {
		padding: 10px;
	}
	.cast-meta-left {
		width: 40%;
	}
	.cast-meta-right {
		width: 40%;
		white-space: normal;
	}
	.cast-schedule {
		padding: 10px;
		float: left;
	}

	#slider ul li img {
		margin: 0 auto;
	}

	#thumbnail ul {
	}

	/** スケジュールテーブル行列を入れ替える */
	.sch-box {
		width: 100%;
	}
	.sch-box tr {
		display: block;
		float: left;
	}
	.sch-box tr td,
	.sch-box tr th {
		border-left: none;
		display: block;
		height: unset;
	}
	.sch-box thead {
		display: block;
		float: left;
		width: 30%;
	}
	.sch-box thead tr {
		width: 100%;
	}
	.sch-box tbody {
		display: block;
		float: left;
		width: 70%;
	}
	.sch-box tbody tr {
		width: 100%;
	}
	.sch-box tr td + td {
		border-left: none;
	}
	.sch-box tbody td:last-child {
		border-bottom: solid 1px #ccc;
	}

}
@media (min-width: 576px) and (max-width: 991.98px) { /* タブレット */
}
@media (min-width: 992px) { /* PC */

	.wp-block-media-text-block {
		position: relative;
	}
	.wp-block-media-text-block .wp-block-media-text {
		position: relative;
		margin-bottom: 100px;
		min-height: 600px;
	}
	.wp-block-media-text-block .wp-block-media-text .wp-block-media-text__content {
		left: -20vh;
		right: 0px;
		max-width: 800px;
	}
	.wp-block-media-text-block .wp-block-media-text .wp-block-media-text__content {
		box-shadow: 0 0 20px #999;
		position: absolute;
		background-color: rgba(255,255,255,0.85);
		top: 25vh;
		z-index: 1;
	}
	.wp-block-media-text-block:nth-child(2n) .wp-block-media-text .wp-block-media-text__content {
		left: 80px;
		margin-left: 0;
	}

	.wp-block-media-text-block .wp-block-group	{
		width: 100%;
		height: 250px;
		position: absolute;
		top: 200px;
		background-color: #e07987;
	}
	.wp-block-media-text-block .wp-block-media-text .wp-block-media-text__media {
		margin-top: -100px;
	}

}
