/*
Theme Name: arsblog
Theme URI:
Template: lightning
Description:ARSブログコーディングのローカル作成用テーマ
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Tags:
Version: 0.6.1
*/


/* header */
header {
	border-top: 2px solid #e50012;
	padding: 25px 20px 0;
	min-width: 1253px;
	height: 122px;
}

header .logo {
	float: left;
	margin-bottom: 0;
}

header .copy {
	float: left;
	margin: 15px 0 0 30px;
	font-weight: bold;
	font-size: 75%;
	/* 12px */
	line-height: 1.3;
}

header .gmenu {
	float: right;
}
header .gmenu .clearfix {
	margin: 0;
	padding: 0;
}

header .gmenu ul li {
	float: left;
}
.clone {
	opacity: 0;
	transition: 0.3s;
}
header .gmenu a:hover .clone {
	opacity: 1;
}

header .gmenu_sp {
	display: none;
}

header .btn_sp_menu {
	display: none;
}

@media screen and (max-width: 740px) {
	header {
		background-color: #ffffff;
		border-top: none;
		padding: 0;
		min-width: 100%;
		height: 50px;
		z-index: 10;
	}
	header #pagetop {
		height: 50px;
	}
	header .logo {
		margin: 8px 0 0 10px;
		width: 105px;
	}
	header .logo img {
		width: 100%;
	}
	header .copy {
		margin: 13px 0 0 10px;
		font-weight: normal;
		font-size: 8px;
	}
	header .gmenu {
		display: none;
	}
	header .btn_sp_menu {
		float: right;
		display: block;
		margin: 0;
	}
	header .btn_sp_menu a {
		display: block;
		background-color: #e50012;
		padding: 15px 12px 0;
		height: 50px;
	}
	header .btn_sp_menu img {
		width: 25px;
	}
	header .btn_sp_menu img+img {
		display: none;
	}
	header .gmenu_sp {
		display: none;
		position: fixed;
		left: 0;
		top: 96px;
		background-color: rgba(0, 0, 0, 0.5);
		width: 100%;
		height: 100%;
		text-align: center;
		z-index: 10;
	}
	header .gmenu_sp ul {
		background-color: #ffffff;
		margin: 0;
		padding: 0;
	}
	header .gmenu_sp a {
		display: block;
		border-top: 1px solid #e4e4e4;
		padding: 12px;
	}
	header .gmenu_sp img {
		width: 98px;
	}
}

/* blog link */

section.blog,
section.link {
	border-top: 1px solid #e4e4e4;
	padding: 40px 0;
}

section.blog .clearfix,
section.link .clearfix {
	width: 1200px;
	margin: 0 auto;
}

section.blog a,
section.link a {
	float: left;
	margin: 10px 0 0;
	width: 385px;
	color: #333333;
	text-decoration: none;
}

section.blog a+a,
section.link a+a {
	margin: 10px 0 0 22px;
}

section.blog a img,
section.link a img {
	margin: 0 0 10px;
	width: 100%;
}

section.blog a span,
section.link a span {
	display: block;
	font-weight: bold;
}
section.blog a:hover,
section.link a:hover {
	opacity: 0.7;
}

@media screen and (max-width: 740px) {
	section.blog,
	section.link {
		padding: 20px 0;
	}
	section.blog .clearfix,
	section.link .clearfix {
		width: calc(100% - 30px);
		margin: 0 0 0 30px;
		transform: translateX(-15px);
	}
	section.blog a,
	section.link a {
		float: none;
		display: block;
		margin: 0 0 15px;
		width: auto;
	}
	section.blog a+a,
	section.link a+a {
		margin: 0 0 15px;
	}
	section.blog a img,
	section.link a img {
		margin: 0 0 3px;
	}
	section.blog a span,
	section.link a span {
		font-size: 12px;
	}
}


/* footer */

footer {
	margin: 15px 0 0;
}


/* footer body */

footer .body {
	background-color: #f3f3f3;
	padding: 40px 0 0;
}

footer .body .inner {
	margin: 0 auto;
	width: 1200px;
}

footer .body .logo {
	float: left;
	margin: 5px 10px 10px;
	line-height: 0;
}

footer .body .pagetop {
	position: fixed;
	right: 20px;
	bottom: -45px;
	margin-bottom: 0;
}

footer .body .pagetop span {
	display: none;
}

footer .body .sns {
	float: left;
	display: table;
	width: 275px;
}

footer .body .sns div.twitter {
	display: table-cell;
	padding: 0 7px 0 0;
	width: 30px;
	vertical-align: top;
}

footer .body .sns div.facebook {
	padding: 5px 0 0;
	vertical-align: top;
}

footer .body .sns img {
	width: 100%;
}

footer .body ul.menu {
	display: table;
	float: right;
	border-left: 1px solid #c9c9ca;
	font-size: 87%;
	/* 14px */
	line-height: 1.3;
	padding-left: 0;
	margin: 0;
}

footer .body ul.menu a {
	background: url(img/mark01.png) no-repeat 0 5px;
	padding: 0 0 0 15px;
	color: #333333;
	text-decoration: none;
}

footer .body ul.menu a:hover {
	text-decoration: underline;
}

footer .body ul.menu li {
	display: table-cell;
	border-right: 1px solid #c9c9ca;
	padding: 0 15px 20px;
	width: 231px;
}

footer .body ul.menu li:first-child {
	display: none;
}

footer .body ul.menu li ul {
	margin: 7px 0 0;
	padding: 0;
}

footer .body ul.menu li ul li {
	display: block;
	border: none;
	margin: 0 0 3px;
	padding: 0 0 0 17px;
	width: auto;
}

footer .body ul.menu li ul li:first-child {
	display: block;
}

footer .body ul.menu li ul li a {
	padding: 0 0 0 12px;
}

@media screen and (max-width: 740px) {
	footer .body {
		background-color: transparent;
		padding: 0;
	}
	footer .body .inner {
		width: auto;
	}
	footer .body .logo {
		display: none;
	}
	footer .body .pagetop {
		position: relative;
		right: 0;
		bottom: 0 !important;
		font-size: 12px;
	}
	footer .body .pagetop a {
		display: block;
		background-color: #b2b2b2;
		margin: 0 0 13px;
		padding: 15px;
		color: #ffffff;
		text-decoration: none;
		text-align: center;
	}
	footer .body .pagetop img {
		display: none;
	}
	footer .body .pagetop span {
		display: inline-block;
		background: url(img/mark02.png) no-repeat right center;-webkit-background-size: 14px 9px;
		-moz-background-size: 14px 9px;
		background-size: 14px 9px;
		padding: 0 30px 0 0;
	}
	footer .body .sns {
		float: none;
		display: block;
		margin: 0 auto;
		width: 295px;
	}
	footer .body .sns div.twitter {
		display: inline-block;
		padding: 0 10px 0 0;
		width: 50px;
	}
	footer .body .sns div.facebook {
		display: inline-block;
		padding: 3px 0 0;
	}
	footer .body ul.menu {
		display: block;
		float: none;
		border-left: none;
		font-size: 12px;
	}
	footer .body ul.menu a {
		display: block;
		background: none;
		background-color: #ebebeb;
		padding: 12px 20px;
	}
	footer .body ul.menu li,
	footer .body ul.menu li:first-child {
		display: block;
		border-right: none;
		margin: 0 0 2px;
		padding: 0;
		width: 100%;
	}
	footer .body ul.menu li ul {
		display: none;
	}
}

/* foot */

footer .foot {
	padding: 20px 0 80px;
}

footer .foot .inner {
	margin: 0 auto;
	width: 1200px;
}

footer .foot ul.menu {
	float: left;
	color: #df0119;
	font-size: 75%;
	/* 12px */
	margin: 0;
	padding-left: 0;
}

footer .foot ul.menu a {
	color: #df0119;
	text-decoration: none;
}

footer .foot ul.menu a:hover {
	text-decoration: underline;
}

footer .foot ul.menu li {
	display: inline-block;
}

footer .foot ul.menu li+li {
	border-left: 1px solid #df0119;
	margin: 0 0 0 5px;
	padding: 0 0 0 5px;
}

footer .foot .copyright {
	float: right;
	font-size: 75%;
	/* 12px */
}

@media screen and (max-width: 740px) {
	footer .foot .inner {
		width: auto;
		text-align: center;
	}
	footer .foot ul.menu {
		float: none;
		margin: 0 0 20px;
		font-size: 12px;
	}
	footer .foot ul.menu li+li {
		margin: 0 0 0 15px;
		padding: 0 0 0 15px;
	}
	footer .foot .copyright {
		float: none;
		font-size: 10px;
	}
}

/* フォント */
body, html {
	font-family: "メイリオ", sans-serif;
}
/* デフォルトページトップボタン非表示 */
#page_top {
	display: none;
}
/* パンくずリスト非表示 */
#breadcrumb {
	display: none;
}
/* デフォルトハンバーガーメニュー非表示 */
#vk-mobile-nav-menu-btn {
	display: none;
}
/* 「前の記事」「次の記事」非表示 */
.next-prev {
	display: none;
}
/* カテゴリーなしテキスト非表示 */
.cat-item-none {
	display: none;
}
/* リンクホバーアニメーション */
a {
	transition: 0.3s;
}

/* ページヘッダー */
.page-header-title {
	display: flex;
	width: 100%;
	height: 150px;
	flex-direction: column;
	padding: 50px 84px;
	position: relative;
}
.page-header-title .h1 {
	width: 1200px;
	margin: 0 auto;
	font-size: 44px;
	position: relative;
	z-index: 1;
}
.page-header-title .small-h1 {
	width: 1200px;
	margin: 0 auto;
	font-size: 14px;
	line-height: 20px;
	z-index: 1;
}
.page-header-title .h1 > img {
	transform: translateY(-10px);
}

.page-header-title .bg {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	object-fit: cover;
}
.page-header-title .sp {
	display: none;
}

@media screen and (max-width: 740px) {
	.page-header-title {
		padding: 15px 0 15px 15px;
		height: 82px;
	}
	.page-header-title .h1 {
		width: 100%;
		font-size: 22px;
	}
	.page-header-title .small-h1 {
		margin-top: -7px;
		font-weight: normal;
	}
	.page-header-title .bg {
		height: 82px;
		object-position: left;
	}

	.page-header-title .pc {
		display: none;
	}
	.page-header-title .sp {
		display: block;
	}
}

/* 絞り込みタイトル */
.archive-header {
	padding: 0;
	border-top: none;
	height: auto;
	margin-left: -15px;
}
.archive-header-title {
	font-size: 24px;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 16px;
	border: none;
}
.current > a {
	background-color: #FAFAFA;
}
.archive-item li a[aria-current="page"] {
	background-color: #FAFAFA;
}
@media screen and (max-width: 740px) {
	.archive-header-title {
		margin-left: 15px;
	}
}


/* 記事一覧 */
.entry-item {
	border-bottom: 1px solid #c9c9c9;
	padding: 16px 0;
	position: relative;
}
.entry-meta-wrapper {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}
.post-list-title {
	border-bottom: none;
	line-height: 24px;
	margin-bottom: 0;
	padding-bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.post-list-title span {
	width: 100%;
	font-size: 16px;
	color: #333;
	padding-right: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.entry-item:hover {
	opacity: 0.7;
}
.post-list-title a:hover {
	opacity: 0,7;
	color: #333;
}
.post-list-title::after {
	display: none;
}

@media screen and (max-width: 740px) {
	.vk_posts {
		margin-right: 15px;
	}
	.entry-item {
		width: calc(100% - 30px);
		margin: 0 15px;
	}
	.post-list-title a {
		font-size: 14px;
		padding-right: 12px;
	}
	.post-list-title img {
		width: 7px;
		height: 13px;
	}
}

/* 記事タイトル */
.entry-header {
	border-top: none;
	padding: 0;
	height: initial;
}
.entry-title {
	font-size: 32px;
	max-width: 1110px;
}

@media screen and (max-width: 740px) {
	.entry-title {
		font-size: 28px;
	}
}

/* メタ情報表示 */
.meta-wrapper {
	display: flex;
}
.published {
	font-size: 16px;
	color: #777777;
	font-weight: bold;
	margin-top: 2px;
	display: inline-block;
}
.category-item {
	font-size: 14px;
	color: #fff;
	background-color: #777777;
	border-radius: 30px;
	padding: 4px 18px;
}
.category-item:hover {
	color: #fff;
	opacity: 0,7;
}

@media screen and (max-width: 740px) {
	.published {
		font-size: 12px;
		margin-top: 2px;
	}
	.category-item {
		font-size: 10px;
		padding: 2px 14px;
	}
}

/* カテゴリー「お知らせ」 */
.category-item.news {
	background-color: #E60012;
}

/* カテゴリー「イベント」 */
.category-item.event {
	background-color: #1880C4;
}

/* カテゴリー「その他」 */
.category-item.other {
	background-color: #09BAAD;
}

/* 記事詳細 */
a:hover {
	color: #e60012;
}
.wp-block-heading {
	font-size: 24px;
}
.wp-block-file {
	display: flex;
	align-items: center;
}

.wp-block-file a {
	font-size: 16px;
	display: list-item;
	list-style-type: disc;
	margin-left: 1.2em;
	margin-bottom: 24px;
}
.wp-block-file a:hover {
	color: #6C757D;
	text-decoration: underline;
}
.wp-block-file::after {
	content: "";
	display: inline-block;
	min-width: 26px;
	height: 26px;
	margin-left: 12px;
	margin-bottom: 24px;
	background-image: url(img/icon-pdf.png);
	background-size: cover;
	background-position: center left;
	background-repeat: no-repeat;
}

.wp-block-group {
	align-items: flex-start;
	gap: 12px;
}
.wp-block-group .wp-block-vk-blocks-icon {
	margin-top: 4px;
}
.wp-block-group:has(.wp-block-file) + h2 {
	margin-top: 32px;
}
.vk_borderBox_body .wp-block-group {
	gap: 10px;
	margin-bottom: 12px;
}
.vk_borderBox_body .wp-block-group:last-of-type {
	margin-bottom: o;
}
.vk_borderBox_body a {
	display: flex;
	align-items: center;
	color: #666666;
	text-decoration: underline;
}
.vk_borderBox_body a:hover {
	color: #E60012;
	text-decoration: none;
}
.vk_borderBox a::before {
	content: "";
	display: block;
	min-width: 26px;
	height: 20px;
	margin-right: 16px;
	background-image: url(img/arrow-right-red.png);
	background-size: cover;
	background-position: center left;
	background-repeat: no-repeat;
}
.vk_borderBox_body i {
	display: inline-block;
	text-align: left;
	margin-right: 0;
}
figcaption a:hover{
	color: #666;
	opacity: 0.7;
}

@media screen and (max-width: 740px) {
	figure {
		text-align: center;
	}
	figure img {
		max-width: 840px;
	}
	.wp-block-image.alignleft {
		margin: 0 auto;
		float: none;
	}
	.vk_borderBox a::before {
		margin-right: 10px;
		margin-left: -10px;
	}
	.vk_borderBox_body .wp-block-group {
		gap: 0;
		margin-bottom: 12px;
	}
	.wp-block-columns {
		gap: 0;
	}
}

body.single-post .main-section {
	width: 100%;
}
body.single-post .sub-section {
	display: none;
}

/* お知らせ一覧に戻る */
.back-btn-wrapper {
	width: 100%;
}
.back-btn-wrapper::before {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: #C9C9C9;
	margin: 40px 0;
}

.back-btn {
	display: block;
	width: 168px;
	height: 40px;
	margin: 0 auto;
	background-color: #E60012;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 18px 8px 38px;
	text-align: center;
	position: relative;
}
.back-btn::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-image: url(img/back-btn-arrow.png);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
}
.back-btn:hover {
	color: #fff;
	opacity: 0.7;
}

/* 404ページ */
.section1{
	width: 1200px;
}

.notfound_title{
	margin: 0 0 10px;
	font-size: 125%;
	font-weight: bold;
	color: #E50012;
	line-height: 1.3;
}

.notfound_text{
	font-size: 87%;
	line-height: 2;
	margin-bottom: 46px;
}
.error ~ .site-body {
	padding-top: 112px;
	padding-bottom: 0;
	height: 50vh;
}
.error ~ .site-body .container {
	max-width: 1200px;
	padding: 0;
}
.error ~ .site-body .sub-section {
	display: none;
}
.error ~ footer .pagetop {
	display: none;
}
.nav1{
	width: 1200px;
	padding: 50px 0 146px 0;
	text-align: center;
}
.nav1 .aover {
	background-color: #d52b2b;
	display: inline-block;
	width: 400px;
	padding: 22px 0;
	color: #fff;
	font-size: 16px;
	line-height: 16px;
	height: 60px;
	background-image: url(img/mark01_w_sp.png);
	-webkit-background-size: 4px 7px;
	-moz-background-size: 4px 7px;
	background-size: 4px 7px;
	background-repeat: no-repeat;
	background-position: 93% center;
}

@media screen and (max-width: 740px) {
	.section1{
		margin: 46px 10px 34px;
		width: auto;
	}
	.notfound_title{
		margin: 15px 0;
		font-size: 14px;
	}
	.notfound_text{
		margin: 0 0 10px;
		font-size: 12px;
		line-height: 1.6;
	}
	.error ~ .site-body {
		padding-top: 0;
	}
	.nav1{
		padding: 50px 10px 64px 10px;
		width: 100%;
	}
	.nav1 .aover {
		width: 100%;
		height: 40px;
		font-size: 14px;
		line-height: 0px;
	}
}