/*
Theme Name: Theatre Role Official Site
Theme URI:
Author: Chiffote
Description: Theatre Role official site theme.
Version: 1.0
Text Domain: TheatreRole
*/


body {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color: #412a1a;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.03em;
	text-align: justify;
	font-weight: 400;
	font-style: normal;
	font-optical-sizing: auto;
}
a {
	color:var(--color-orange);
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:var(--color-brown);
}

::selection{background-color: var(--color-beige); color: #FFF;}
::-moz-selection{background-color: var(--color-beige); color: #FFF;}

body , header , footer{
	min-width: 1300px;
	max-width: 1920px;
	margin: auto;
}
@media screen and (max-width:640px) {
	body{font-size: 15px;}
	body,header,footer{min-width: 400px;}
}





/*============================================================================

	設定カラー

============================================================================*/
:root {
	--color-brown: #412a1a; /*チョコレート色*/
	--color-orange: #e98b3e; /*オレンジ色*/
	--color-beige: #aea6a0; /*ベージュ*/
}





/*============================================================================

	モーション　＊　文字が１文字ずつ出る

============================================================================*/
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 2s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}



/*============================================================================

	モーション　＊　wowオリジナル　fadeInUpMin

============================================================================*/
.fadeInUpMin {
    animation-name: fadeInUpMin;
}
@keyframes fadeInUpMin {
    from { opacity: 0; transform: translate3d(0, 10%, 0);}
    to { opacity: 1; transform: none;}
}



#loftloader-wrapper {
	min-width: 400px !important;
}
#loftloader-wrapper .loader-section.section-fade {
	min-width: 400px !important;
}




/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	width: 100%;
	height: 640px;
	margin:auto;
	background: url("images/mv_under.jpg") center top no-repeat;
  	background-size: cover;
  	z-index: 0;
  	overflow: hidden;
}
#mainvisual h2 {
	position: relative;
	z-index: 5;
	width: 100%;
	box-sizing: border-box;
	padding: 280px 0 20px 0;
	font-size: 60px;
	font-weight: bold;
	text-align: center;
	font-family: "Rosarivo", cursive;
	color: #a07f76;
	letter-spacing: 12px;
	font-weight: 300;
}
#mainvisual::after {
	position: absolute; content: "";
	left: 0; bottom: -1px;
	width: 100%;
	height: 300px;
	background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}
@media screen and (max-width: 640px) {
	#mainvisual {
		height: 320px;
	}
	#mainvisual h2 {
		padding: 160px 0 15px 0;
		font-size: 32px;
		letter-spacing: 6px;
	}
	#mainvisual::after {
		height: 150px;
	}
}








/*==================================================================

	main

==================================================================*/
main {
	margin-top: 60px;
}





/*==================================================================

	 タイトル

==================================================================*/

/*------------------------------ TOPで使用 ------------------------------*/
.h-title  {
	position: relative;
	width: 100%;
	margin: 12px auto 50px; /*12pxは調整*/
}
.h-title::before {
	position: absolute; content: "";
	width: 97%;
	height: 1px;
	top: 42%;
	left: 0; right: 0; margin: auto;
	background: #ddd2cf;
}
.h-title h2 {
	position: relative;
	display: block;
	width: 90%;
	max-width: 1540px;
	margin: auto;
	font-size: 50px;
	font-family: "Rosarivo", cursive;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--color-brown);
}
.h-title h2 em {
	background: #FFF;
	padding: 0 30px 0 35px;
}
@media screen and (max-width: 640px) {
	.h-title {
		margin: 8px auto 30px;
	}
	.h-title::before {
		width: 90%;
	}
	.h-title h2 {
		width: 100%;
		font-size: 30px;
		letter-spacing: 1px;
	}
	.h-title h2 em {
		padding: 0 20px 0 23px;
	}
}







/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
}
.text p {
	margin-bottom:1em;
}
.text p:last-child{
	margin-bottom:0;
}





/*==================================================================

	btn

==================================================================*/
.btn a {
	position: relative;
	display: block;
	width: 200px;
	padding: 12px 0 10px;
	background: linear-gradient(to right, #412a1a, #a07f76);
	border-radius: 50px;
	text-align: center;
	color: #FFF;
	font-family: "Rosarivo", cursive;
	font-size: 14px;
	letter-spacing: 1px;
}
.btn a:hover {
	opacity: 0.9;
	transform: translateY(-5px); 
	letter-spacing: 2px;
}






/*==================================================================

	youtube

==================================================================*/
.youtube {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}











/*==================================================================

		STORYページ

==================================================================*/
#story_lead {
	width: 90%;
	max-width: 1300px;
	margin: auto;
	text-align: center;
	font-family: "Shippori Mincho", serif;
	font-size: 17px;
	margin-bottom: 130px;
}
#story_lead figure {
	margin-bottom: 70px;
}
#story_lead dt {
	margin-top: 70px;
	margin-bottom: 35px;
}
@media screen and (max-width: 640px) {
	#story_lead {
		margin-bottom: 70px;
		font-size: 16px;
	}
	#story_lead figure {
		margin-bottom: 35px;
	}
	#story_lead dt {
		margin-top: 15px;
		margin-bottom: 20px;
	}
}



/*------------------------------ 各話 ------------------------------*/
.story {
	width: 90%;
	max-width: 1080px;
	margin: 0 auto 110px;
}
.story .youtube {
  max-width: 1080px;
}
.story dt {
	position: relative;
	margin-top: 25px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 40px;
	font-family: "Shippori Mincho", serif;
	font-size: 40px;
}
.story dt em {
	display: flex;
	align-items: center;
	gap: 20px;
}
.story dt em i {
	position: relative;
	font-style: normal;
	font-family: "Rosarivo", cursive;
	font-size: 110px;
	line-height: 1;
}
@media screen and (max-width: 640px) {
	.story {
		margin: 0 auto 60px;
	}
	.story dt {
		margin-top: 20px;
		margin-bottom: 15px;
		gap: 20px;
		font-size: 21px;
	}
	.story dt em {
		gap: 10px;
	}
	.story dt em img {
		width: 26px;
		height: auto;
	}
	.story dt em i {
		font-size: 50px;
	}
}



/*------------------------------ シチュエーションボイス ------------------------------*/
#story_situation_voice {
	position: relative;
	margin-top: 160px;
	margin-bottom: 120px;
}
#story_situation_voice .btn {
	position: absolute;
	top: -3px;
	right: calc( 2.5% + 156px );
}
#story_situation_voice .btn a:hover {
	transform: translateY(0px); 
}
@media screen and (max-width:640px) {
	#story_situation_voice {
		margin-top: 80px;
		margin-bottom: 60px;
	}
	#story_situation_voice .btn {
		position: relative;
		top: 0;
		right: 0;
	}
	#story_situation_voice .btn a {
		width: 80%;
		margin: 50px auto 0;
	}
}




/*==================================================================

		NEWSページ

==================================================================*/
#news {
	width: 90%;
	max-width: 1300px;
	margin: 60px auto 110px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: flex-start;
	gap: 40px;
}
#news .article-item {
	margin: 0;
	width: auto;
}
#news .article-item figure {
  aspect-ratio: 16 / 9;
	height: auto;
}
#news .article-item .article-inner {
	gap: 30px;
	margin-top: 20px;
}
#news p.text {
	margin-top: 10px;
	font-size: 14px;
	opacity: .8;
	display: -webkit-box;
  	-webkit-line-clamp: 2;
  	-webkit-box-orient: vertical;
  	overflow: hidden;
}
@media screen and (max-width:640px) {
	#news {
		margin: 60px auto 80px;
		grid-template-columns: repeat(1, 1fr);
		gap: 24px;
	}
	#news .article-item .article-inner {
		gap: 20px;
	}
}








/*==================================================================

		$投稿ページ(single.php)

==================================================================*/
#news_single {
	width: 100%;
	padding-bottom: 150px;
}
#news_single .inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
}
@media screen and (max-width: 640px) {
	#news_single {
		padding-bottom: 80px;
	}
	#news_single .inner {
		width: 90%;
	}
}



/*------------------------------ 記事メタ（日付・カテゴリ） ------------------------------*/
.news-meta {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 20px;
}
.news-meta .date {
	font-family: "Rosarivo", cursive;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 10px;
}
.news-meta .date-year {
	position: relative;
	top: 3px;
	font-size: 16px;
	color: #724f37;
}
.news-meta .date-month-day {
	display: flex;
	gap: 5px;
	align-items: baseline;
}
.news-meta .date-month,
.news-meta .date-day {
	font-size: 26px;
}
.news-meta .date-month-day em {
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
}
.news-meta .cate {
	display: flex;
	gap: 10px;
}
.news-meta .cate p {
	background: var(--color-orange);
	color: #FFF;
	font-size: 12px;
	border-radius: 30px;
	padding: 5px 15px;
	line-height: 1;
}
@media screen and (max-width: 640px) {
	.news-meta {
		gap: 16px;
		margin-bottom: 15px;
	}
	.news-meta .date-year {
		font-size: 17px;
		top: 1px;
	}
	.news-meta .date-month,
	.news-meta .date-day {
		font-size: 24px;
	}
	.news-meta .cate p {
		font-size: 12px;
		padding: 4px 15px;
	}
}




/*------------------------------ タイトル ------------------------------*/
.news-title {
	font-family: "Shippori Mincho", serif;
	font-size: 28px;
	line-height: 1.6;
	color: var(--color-brown);
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #ddd2cf;
}
@media screen and (max-width: 640px) {
	.news-title {
		font-size: 20px;
		line-height: 1.8;
		margin-bottom: 25px;
		padding-bottom: 20px;
	}
}




/*------------------------------ アイキャッチ ------------------------------*/
.news-eyecatch {
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 50px;
}
.news-eyecatch img {
	width: 100%;
	height: auto;
	display: block;
}
@media screen and (max-width: 640px) {
	.news-eyecatch {
		margin-bottom: 30px;
	}
}




/*------------------------------ 本文 ------------------------------*/
.news-body {
}
.news-body a {
  	text-decoration: underline;
  	text-underline-offset: 10px;
}
.news-body img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 20px;
}
.news-body h2 {
	font-family: "Shippori Mincho", serif;
	font-size: 24px;
	line-height: 1.6;
	color: var(--color-brown);
	margin-top: 70px;
	margin-bottom: 30px;
	padding: 25px 0;
	border-top: 1px solid #ddd2cf;
	border-bottom: 1px solid #ddd2cf;
	text-align: center;
}
.news-body h3 {
	font-family: "Shippori Mincho", serif;
	font-size: 23px;
	line-height: 1.6;
	color: var(--color-brown);
	margin-top: 60px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #ddd2cf;
}
.news-body h4 , .news-body h5 {
	font-family: "Shippori Mincho", serif;
	font-size: 20px;
	line-height: 1.6;
	color: var(--color-brown);
	margin-top: 60px;
	margin-bottom: 20px;
	font-weight: 700;
}
@media screen and (max-width: 640px) {
	.news-body h2 {
		font-size: 19px;
		margin-top: 50px;
		margin-bottom: 25px;
		padding: 18px 0;
	}
	.news-body h3 {
		font-size: 18px;
		margin-top: 40px;
		margin-bottom: 15px;
		padding-bottom: 8px;
	}
	.news-body h4, .news-body h5 {
		font-size: 16px;
		margin-top: 40px;
		margin-bottom: 15px;
	}
}
.news-body ol {
	counter-reset: news-ol-counter;
	margin: 30px 0;
	padding: 0;
	list-style: none;
}
.news-body ol li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 18px;
	line-height: 1.9;
}
.news-body ol li:last-child {
	margin-bottom: 0;
}
.news-body ol li::before {
	counter-increment: news-ol-counter;
	content: counter(news-ol-counter) ".";
	position: absolute;
	top: -2px;
	left: 0;
	font-family: "Rosarivo", cursive;
	font-size: 18px;
	color: var(--color-brown);
	font-weight: bold;
}
@media screen and (max-width: 640px) {
	.news-body ol {
		margin: 20px 0;
	}
	.news-body ol li {
		padding-left: 28px;
		margin-bottom: 14px;
		font-size: 14px;
	}
	.news-body ol li::before {
		top: 0;
		font-size: 15px;
	}
}
.news-body ul {
	margin: 30px 0;
	padding: 0;
	list-style: none;
}
.news-body ul li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 18px;
	line-height: 1.9;
}
.news-body ul li:last-child {
	margin-bottom: 0;
}
.news-body ul li::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background: var(--color-orange);
}
@media screen and (max-width: 640px) {
	.news-body ul {
		margin: 20px 0;
	}
	.news-body ul li {
		padding-left: 20px;
		margin-bottom: 14px;
		font-size: 14px;
	}
	.news-body ul li::before {
		top: 11px;
		width: 5px;
		height: 5px;
	}
}




/*------------------------------ 前後の記事・一覧に戻る ------------------------------*/
.news-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 100px;
	padding-top: 50px;
	border-top: 1px solid #ddd2cf;
}
.news-nav > a {
	color: var(--color-brown);
	transition: 0.3s ease;
}
.news-nav .prev,
.news-nav .next {
	flex: 1;
	max-width: 260px;
}
.news-nav .prev span,
.news-nav .next span {
	display: block;
	font-family: "Rosarivo", cursive;
	font-size: 12px;
	color: var(--color-orange);
	margin-bottom: 8px;
}
.news-nav .next {
	text-align: right;
}
.news-nav .prev p,
.news-nav .next p {
	font-size: 13px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.news-nav .prev:hover,
.news-nav .next:hover {
	opacity: 0.7;
}
.news-nav .to-list {
	flex-shrink: 0;
	background: var(--color-brown);
	color: #FFF;
	font-size: 13px;
	padding: 14px 50px;
	border-radius: 30px;
	white-space: nowrap;
}
.news-nav .to-list:hover {
	opacity: 0.85;
}
@media screen and (max-width: 640px) {
	.news-nav {
		flex-wrap: wrap;
		gap: 25px;
		margin-top: 60px;
		padding-top: 30px;
	}
	.news-nav .prev,
	.news-nav .next {
		max-width: 100%;
		flex: 1 1 45%;
	}
	.news-nav .to-list {
		order: 3;
		width: 80%;
		margin: auto;
		text-align: center;
		padding: 14px 0;
	}
}







