/*
Theme Name: SYN Ownd Child
Template: syn-ownd
Theme URI: https://syn.design/
Author: 株式会社ウェブライダー
Author URI: https://web-rider.jp/
Description: SYN Ownd の子テーマ
Version: 1.0.0
Text Domain: syn-ownd-child
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";

/* ──────────────────────────────
# editor_front.cssのver0.3で反映するやつ
────────────────────────────── */
.post-content :where(h2, h3, h4, h5, h6){
	margin-top: 3em;
}

/* ──────────────────────────────
# 既存スタイルの上書き
────────────────────────────── */
/* メインコンテンツエリア調整 */
body.home{
	background: #f4f4f4;
}

.home .main{
	padding: 0;
}
.home main{
	padding: 0;
}

/* home ヘッダー非表示 */
.home .hdr { display: none; }

.hdr { border-bottom: 1px solid #f4f4f4; }

/* ヘッダーパンくず非表示 */
.breadcrumb.is-head { display: none; }

/* ヘッダー */
.hdr__logo{
	display: flex;
	flex-direction: column;
	gap: 4px 10px;
}
@media screen and (min-width: 786px) {
	.hdr__logo{
		flex-direction: row;
		align-items: center;
	}
}

/* PC ヘッダーメニュー非表示 */
.hdr__nav { display: none; }

/* フッター調整 */
body:not(.page,.single,.archive) .ftr{
	margin-top: 0;
}
.ftr{
	background: color-mix(in srgb,var(--color-text) 7%,var(--color-background));
}
.ftr__logo{
	display: block;
	width: fit-content;
	margin: clamp(45px,7.6335877863vw,60px) auto 0;
}

/* トップに戻る、追従目次のサイズ変更 */
@media screen and (min-width: 640px) {
	.return-top,
	.tocmodal-btn{
		width: 80px;
		height: 80px;
	}
	.return-top a:after,
	.tocmodal-btn a:after{
		font-size: .8em;
	}
	.tocmodal-btn {
		bottom: 120px;
	}
}

/* ──────────────────────────────
# トップページ
────────────────────────────── */
/* top-lead */
.top-lead{
	background: #fafafa;
}
.top-lead__inner{
	padding: 4em 0;
}

/* top-newpost */
.top-newpost__inner{
	padding: 4em 0;
}

/* top-column */
.top-column{
	background: #e0e9ec;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}
.top-column__inner{
	padding: 4em 0;
}
.top-column__ttl{
	text-align: center;
	margin: 0 auto 1em;
}
.top-column__note{
	font-size: calc(18 / 16 * 1em);
	text-align: center;
	margin: 0 auto 1em;
}

/* ──────────────────────────────
# ヘッダー
────────────────────────────── */
.hdr__logo-copy{
	font-size: calc(10 / 16 * 1em);
	@media screen and (min-width: 786px) {
		font-size: calc(12 / 16 * 1em);
	}
}

/* ──────────────────────────────
# フッター
────────────────────────────── */
.ftr-aboutus{
	background: url('assets/images/aboutus_bg_sp.jpg') no-repeat center / cover;
	@media screen and (min-width: 786px) {
		background-image: url('assets/images/aboutus_bg.jpg');
	}
}
.ftr-aboutus__inner{
	padding: 4em 0;
	color: #fff;
}
.ftr-aboutus__txt{
	line-height: 2;
}
.ftr-aboutus__btn{
	display: flex;
	align-items: center;
	position: relative;
	font-size: calc(17 / 16 * 1em);
	letter-spacing: .06em;
	background: #fff;
	color: #333;
	border-radius: 100vh;
	padding: .7em 2.5em;
	text-decoration: none;
	width: fit-content;
	margin: 2em auto 0;
}
.ftr-aboutus__btn::after{
	content: "\e90c";
	font-size: 0.6em;
	font-family: "custom-icon";
	position: absolute;
	right: 1.5em;
	line-height: normal;
	transition: transform .2s ease;
}
@media (hover: hover) {
	.ftr-aboutus__btn:hover::after{
		transform: translateX(.2em);
	}
}

/* ──────────────────────────────
# 汎用：gift-guide
────────────────────────────── */
.gift-guide{
	background: #E1EBEE;
}
.gift-guide__inner{
	padding: 2.5em 0 4em;
}
.gift-guide__ttl{
	text-align: center;
	margin: 0 auto 1em;
}
.gift-guide__txt{
	font-size: calc(18 / 16 * 1em);
	text-align: center;
	margin-bottom: 2.5em;
	line-height: 2;
}
.gift-guide__bnr{
	display: block;
	margin: 0 auto;
	width: fit-content;
}

/* ──────────────────────────────
# 投稿画面（エディターフロント）
────────────────────────────── */
html :where(.post-content){
	.btn{
		font-size: calc(17 / 16 * 1em);
		display: inline-block;
	}
	.box_style07{
		margin-inline: calc(50% - 50vw);
		width: 100vw;
		left: auto;
		right: auto;
	}
	.box_style_blue, .box_style_green, .box_style_orange, .box_style_red, .box_style_pink, .box_style_yellow, .box_style_gray {
		font-size: calc(18 / 16 * 1em);
		margin-bottom: 30px;
		padding: 6px;
		background-size: 4px 4px;
		background-repeat: repeat;
	}
	.box_style_blue .box_style_title, .box_style_green .box_style_title, .box_style_orange .box_style_title, .box_style_red .box_style_title, .box_style_pink .box_style_title, .box_style_yellow .box_style_title, .box_style_gray .box_style_title{
		color: #fff;
		line-height: 1.4;
	}
	.box_style_title span{
		position: relative;
		display: inline-block;
	}
	.box_style_red{
		background-image: linear-gradient(-45deg, #fff 25%, #d94b59 25%, #d94b59 50%, #fff 50%, #fff 75%, #d94b59 75%, #d94b59);
	}
	.box_style_yellow{
		background-image: linear-gradient(-45deg, #fff 25%, #f2cb0c 25%, #f2cb0c 50%, #fff 50%, #fff 75%, #f2cb0c 75%, #f2cb0c);
	}

	.box_style_red .list_style02 li::before, .box_style_red .box_style_title span{
		background-color: #d94b59;
	}

	.box_style_red .box_inner{
		background-color: #fff8f9;
	}
	.box_style_yellow .box_inner{
		background-color: #fffdf3;
	}

	.box_style_blue .box_inner {
		background-color: #f8fdff;
	}
	.box_style_green .box_inner{
		background-color: #f9fff3;
	}
	.toc-area {
		position: relative;
		margin: 60px auto;
		border: 3px solid #f0f0f0;
	}
	.toc_title{
		color: #4ba2bc;
		padding: 10px;
		background-color: #f0f0f0;
		font-weight: bold;
		line-height: 1.5;
		text-align: center;
	}
	tbody th{
		background: #f7f7f7;
	}
	table th,
	table td{
		line-height: 1.5;
		vertical-align: middle;
	}
	.cast-box{
		padding: 6px;
		background-image: linear-gradient(-45deg, #fff 25%, #05a5ab 25%, #05a5ab 50%, #fff 50%, #fff 75%, #05a5ab 75%, #05a5ab);
		background-size: 4px 4px;
		background-repeat: repeat;
	}
	.cast-box .box_inner{
		background-color: #fff;
	}
	.cast-box .member_title{
		font-size: calc(20 / 16 * 1em);
	}
	.cast-box .cast_name, .cast-box_sub .cast_name{
		font-size: calc(20 / 16 * 1em);
		color: #4ba2bc;
		text-align: center;
		margin-bottom: .5em;
	}
	.cast-box .cast{
		margin-top: 0;
		margin-bottom: 30px;
	}
	.cast-box .cast_headshot, .cast-box_sub .cast_headshot{
		display: block;
		width: 100px;
		height: auto;
		margin: auto;
		margin-bottom: 10px;
	}
	.cast-box .cast_headshot img, .cast-box_sub .cast_headshot img{
		border-radius: 50%;
	}
	.cast-box p.cast_dsc{
		font-size: .85em;
	}
	@media (min-width: 480px){
		.cast-box .cast{
			padding-left: 115px;
			position: relative;
			min-height: 100px;
		}
		.cast-box .cast_name, .cast-box_sub .cast_name{
			text-align: left;
		}
		.cast-box .cast_headshot, .cast-box_sub .cast_headshot{
			position: absolute;
			top: 0;
			left: 0;
		}
	}
	.profile-box-author{
		margin: 0 0 .6em;
		color: #4ba2bc;
		text-align: center;
	}
	.profile-box-thumb{
		display: block;
		max-width: 120px;
		height: auto;
		margin: 0 auto 15px;
		float: none;
	}
	.profile-box-thumb img{
		border-radius: 50%;
	}
	.profile-box .profile-box-desc ul{
		padding-left: 0;
	}
	@media (min-width: 480px){
		.profile-box-thumb{
			float: left;
			margin-right: 30px;
		}
		.profile-box-author{
			text-align: left;
		}
	}

	.ranking-list_item,
	.rank_thumb_bg{
		display: flex;
		justify-content: center;
		gap: 15px 20px;
	 }
	 .rank_thumb{
		width: 40%;
		text-align: center;
		margin: 0;
	 }
	 .rank_desc_bg{
		width: 60%;
	 }
	 .rank_desc p{
		line-height: 1.8;
	 }
	.ranking-list .rank_title{
		font-size: calc(23 / 16 * 1em);
		margin-top: 0;
		line-height: 1.5;
	}
	.ranking-list .rank_title span{
		line-height: 1.5;
		display: inline-block;
	}
	.item-data_outer{
		flex-grow: 1;
	}
	.item-data {
		padding-left: 10px;
		padding-right: 10px;
		border-top: 1px solid #f0f0f0;
		border-bottom: 1px solid #f0f0f0;
	}
	.item-data dl {
		font-size: calc(18 / 16 * 1em);
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: baseline;
	}
	@media (max-width: 639.98px){
		.ranking-list_item,
		.rank_thumb_bg{
			flex-direction: column;
			align-items: center;
		}
		.ranking-list .item-data_outer{
			width: 100%;
		}
		.rank_thumb,
		.rank_desc_bg{
			width: 100%;
			max-width: inherit;
		}
	}

	.item-box03_col_wrap{
		display: flex;
		gap: 10px 30px;
	}
	.item-box03_thumb{
		width: 30%;
		flex-shrink: 0;
		text-align: center;
	}
	@media (max-width: 639.98px){
		.item-box03_col_wrap{
			flex-direction: column;
			align-items: center;
		}
		.item-box03_thumb{
			width: 100%;
		}
	}

	.profile-box-desc ul{
		padding-left: 0;
	}
}