/* 文字サイズ */
@media screen and (max-width: 1110px) {
	body {
		font-size: 16px !important;
	}
	
	body .text_small_sp {
		font-size: 12px;
	}
}
@media screen and (min-width: 1111px) {
	body {
		font-size: 18px !important;
	}
}

/* インラインスタイルに変更クラス */
.inlineStyle {
	display: inline;
}

/* 見出しの文字サイズ変更 */
.headline1 {
	height: auto !important;
	padding: 0.8em 0 0.6em 20px !important;
	font-size: 130% !important;
	line-height: 1 !important;
}

/* リストスタイル削除 */
.page #page-wrapper .top_list {
	list-style-type: none;
}
/* リストのスタイル変更 */
@media screen and (min-width: 1111px) {
	.top_list li {
		height: auto !important;
		line-height: 2 !important;
		padding-top: 0.8em;
		padding-bottom: 0.8em;
	}
}
.top_list li a {
	text-decoration: underline !important;
}

/* グローバルメニューのフォントサイズ大きく変更 */
@media screen and (min-width: 1111px) {
	#global_menu li a {
		font-size: 18px !important;
	}
	#wrapper-light #global_menu ul ul li a {
		font-size: 16px !important;
	}
}

/* テーブルのスタイル調整 */
.wp-block-table table th,.wp-block-table table td {
	padding: 0.4em;
}

/* ぱんくず背景 */
#bread_crumb_wrapper {
	background: linear-gradient(#fff, 90%, #f3f3f3) !important;
	border-bottom: 1px solid #ccc;
}
/* ぱんくずテキストカラー */
#bread_crumb li.home a:before {
	color: #000;
}
#bread_crumb li.home a:hover:before {
	color: #999;
}
#bread_crumb li {
	color: #000 !important;
}
#bread_crumb li a {
	color: inherit !important;
}
#bread_crumb li a:hover {
	color: #999;
}
#bread_crumb li:after {
	color: #000 !important;
}

/* pcヘッダーナビのカラー変更 */
@media screen and (min-width: 1111px) {
	#wrapper-light #header-wrapper {
		background-image: none !important;
	}
	#wrapper-light #global_menu ul {
		background-image: none !important;
	}
	#wrapper-light #global_menu_home a span:first-child {
		background-image: none !important;
	}
	#wrapper-light #global_menu_home a {
		background-image: none !important;
	}
	#wrapper-light #global_menu li a {
		background-image: none !important;
		color: #fff !important;
	}
	#wrapper-light #global_menu li a span:first-child {
		background-image: none !important;
		border-left: 2px solid #aaa;
	}
}

/* 見出しの余白調整 */
.post .news_headline1, .page .news_headline1 {
	margin-top: 0 !important;
}

/* メインとサイドバーの幅調整 */
@media screen and (min-width: 1111px) {
	.layout2 #mainColumn {
		width: 800px !important;
	}
	.layout2 #sideColumn {
		width: 260px !important;
	}
}

/* サイドバーのリストのスタイル変更 */
.side_widget li {
	background-image: none !important;
	padding: 5px 0 !important;
}

/* フッターのスタイル編集 */
.footer_headline {
	margin-top: 0 !important;
	color: #333 !important;
}

/* フッターの横並びが切り替わるタイミングでスタイル変更 */
@media screen and (max-width: 1110px) and (min-width: 680px) {
	#footer_widget {
		display: flex;
		justify-content: space-between;
	}
	#footer_widget .widget_custom_html {
		flex: 0 1 20%;
	}
	#footer.hide_mobile {
		display: block !important;
	}
	#footer-wrapper {
		background-image: url(/wp-content/themes/nextage_tcd021/images/footer_bg.jpg) !important;
		background-repeat: repeat-x !important;
		background-position: top left !important;
		margin-top: 40px;
	}
	#footer_description {
		display: block !important;
		height: 45px;
	}
	#footer_description p {
		display: inline !important;
		margin: 0 15px 0 20px;
		line-height: 45px;
		font-size: 14px;
		font-weight: bold;
	}
	#footer_description h2 {
		display: inline !important;
		margin: 0;
		line-height: 45px;
		font-size: 20px;
		font-weight: bold;
	}
	#footer_widget_wrap {
		padding: 24px 20px 0 !important;
		/* background: none !important; */
	}
}


/* ヘッダー左側の調整（タイトル） */
#logo-image {
	position: relative;
	height: 100%;
}
#logo-image a {
	display: flex;
	align-items: center;
	height: 100%;
	text-decoration: none;
}
#logo-image * {
	margin: 0;
}
#logo-image a:hover img {
	opacity: 1;
}
@media screen and (max-width: 1110px) {
	#header-left {
		height: 60px;
		padding-left: 8px;
	}
	#logo-image a {
		column-gap: 10px;
	}
	#logo-image-img img {
		height: 40px;
		width: auto !important;
	}
	#logo-image-text h1 {
		font-size: 24px;
		line-height: 1;
	}
	#logo-image-text p {
		font-size: 10px;
		line-height: 1;
	}
}
@media screen and (min-width: 1111px) {
	#logo-image a {
		column-gap: 20px;
	}
	#logo-image-img img {
		height: 64px;
	}
	#logo-image-text h1 {
		font-size: 38px;
		font-weight: 500;
		line-height: 1;
	}
	#logo-image-text p {
		font-size: 12px;
		line-height: 1;
	}
}

/* ヘッダー右側のバナーサイズ調整 */
#header_banner img {
	height: 60px;
	object-fit: cover;
}

/* スライダーとタイトル調整 */
#slider-wrapper {
	position: relative;
}
#slider-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: #00000022;
}
#slider-wrapper .slider_title {
	position: absolute;
	top: 56%;
	left: 50%;
	z-index: 3;
	transform: translateX(-50%) translateY(-50%);
	width: 90%;
	margin: 0;
	line-height: 1.2;
	color: #fff;
	text-align: center;
}
#slider-wrapper .slider_title span {
	display: block;
	margin-top: 0.8em;
}
@media screen and (max-width: 1110px) {
	/* ラッパー */
	#slider-wrapper {
		margin-bottom: 50px !important;
	}
	#slider-wrapper .slider_title {
		font-size: 46px;
		text-shadow: 0 0 6px #000;
	}
	#slider-wrapper .slider_title span {
		font-size: 18px;
	}
	#slider-wrapper .slider_title .slider_subTitle {
		margin-top: 0;
		font-size: 22px;
	}
}
@media screen and (min-width: 1111px) {
	/* ラッパー */
	#slider-wrapper {
		margin-bottom: 50px !important;
	}
	#slider-wrapper .slider_title {
		font-size: 80px;
		text-shadow: 0 0 8px #000;
	}
	#slider-wrapper .slider_title span {
		font-size: 24px;
	}
	#slider-wrapper .slider_title .slider_subTitle {
		margin-top: 0;
		font-size: 32px;
	}
	/* スライダーの画像サイズ調整 */
	#slider-wrapper img {
		width: 100%;
		height: 353px;
		object-fit: cover;
	}
}


/* swexテンプレート用 */
/* ファーストビューの画像とタイトル調整 */
.page-template-page-swex-php .swex_fv {
	position: relative;
	width: 100%;
}
.page-template-page-swex-php .swex_fv::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: #00000022;
}
.page-template-page-swex-php .swex_fv_title {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 3;
	transform: translateY(-50%);
	width: 94%;
	margin: 0;
	font-size: 46px;
	color: #fff;
	text-align: center;
	text-shadow: 0 0 8px #000;
}
.page-template-page-swex-php .post_image img {
	width: 100%;
	object-fit: cover;
}
@media screen and (min-width: 1111px) {
	.page-template-page-swex-php .swex_fv {
		height: 353px;
	}	
	.page-template-page-swex-php .swex_fv_title {
		font-size: 64px;
	}
	.page-template-page-swex-php .post_image img {
		height: 353px;
	}	
}
@media screen and (max-width: 1110px) {
	.page-template-page-swex-php .swex_fv {
		aspect-ratio: 1 / 0.666;
	}	
	.page-template-page-swex-php .post_image {
		width: 100% !important;
		margin: 0 !important;
	}
	.page-template-page-swex-php .post_image img {
		aspect-ratio: 1 / 0.666;
	}	
}

/* ファストビューとコンテンツの間 */
.page-template-page-swex-php #contents {
	margin-top: 50px;
}