﻿@charset "utf-8";

/* -----------------------------------------------------------
	post_box
----------------------------------------------------------- */

.post_box {
	display: flex;
	flex-flow: row nowrap;
	margin: 0px 0px 30px;
	padding: 0 0 30px;
	gap: 30px;
	border-bottom: 1px dotted var(--color-black-02);
}
@media screen and (max-width: 767px) {
	.post_box {
		width: 100%;
		gap: 10px;
	}
}

/* post_image 画像エフェクト */
.post_image {
	position: relative;
	display: block;
	aspect-ratio: 28/25;
	width: 130px;
	margin-bottom: 0px;
	border: 1px solid var(--color-gray-01);
	transition: all .3s ease-in-out;
	overflow: hidden;
}

.post_image::after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	box-shadow: inset 0 0 var(--color-main-02), inset 0 0 var(--color-main-02), inset 0 0 var(--color-main-02), inset 0 0 var(--color-main-02);
	transition: all .3s ease-in-out;
}

.post_image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 50%;
    transform: translateY(-50%);
}
.post_box a:hover .post_image::after {
	box-shadow: inset 3px 0 var(--color-main-02), inset 0 3px var(--color-main-02), inset -3px 0 var(--color-main-02), inset 0 -3px var(--color-main-02);
}

@media screen and (max-width: 767px) {
	.post_image {
		width: 110px;
	}
	.post_image img {
		height: 100%;
	}
}

.post_txt {
	flex: 1;
}

.post_category_box {
	margin: 0px 0 5px;
}

.post-categories {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
}
.post-categories li a {
	display: inline-block;
	font-size: 80%;
	color: var(--color-white);
	padding: 2px 7px;
	background: var(--color-main-02);
	border-radius: 3px;
}
.post-categories li a:hover {
	color: var(--color-white);
	background: var(--color-main-01);
	text-decoration: none;
}

.post_ttl {
	margin: 0px 0 0px;
}
.post_ttl a {
	font-size: 1.1rem;
	color: var(--color-black-01);
}
.post_ttl a:hover {
	color: var(--color-link-text);
	text-decoration: underline;
}
.post_excerpt {
	font-size: 0.9rem;
}

@media screen and (max-width: 767px) {
	.post_ttl a {
		font-size: 1.0rem;
	}
	.post_excerpt {
		display: none;
	}
}

/*blog_single*/

.blog_single {
	margin: 0px 0px 70px;
}

.blog_single > h2 {
	font-size: 1.6rem;
	margin: 50px 0px 50px;
}

.blog_single p {
	margin: 0px 0px 20px;
}


/* -----------------------------------------------------------
	page_navi
----------------------------------------------------------- */

.page_navi {
	margin: 0px 0 0;
	padding: 30px 0 30px;
	border-top: 1px dotted var(--color-black-03);
}
.page_navi p {
	margin: 0px 0 10px;
}
.page_navi a {
	color: var(--color-link-text);
}
.page_navi a:hover {
	color: var(--color-link-hover);
	text-decoration: underline;
}
@media screen and (max-width: 767px) {
	.page_navi p {
		margin: 0px 0 20px;
	}
}

/* -----------------------------------------------------------
	meta_box
----------------------------------------------------------- */

.meta_box {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
	margin: 0 0 30px;
}

@media screen and (max-width: 767px) {
	.meta_box {
		flex-flow: column;
	}
}

.tag_btn {
	margin: 0 15px 0 0;
}

.tag_btn:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f02b';
	font-size: 0.9em;
	color: var(--color-gray-07);
	padding-right: 5px;
	font-weight: 900;
}

/* -----------------------------------------------------------
	blog_sidebar
----------------------------------------------------------- */

.blog_sidebar_ttl {
	position: relative;
	color: var(--color-white);
	font-size: 1.0rem;
	font-weight: 500;
	margin: 0 0 20px;
	padding: 7px 0 7px 25px;
	background: var(--color-main-01);
}

.blog_sidebar_ttl::after {
	position: absolute;
	top: 0.5em;
	left: 0.7em;
	content: '';
	width: 2px;
	height: -webkit-calc(100% - 1em);
	height: calc(100% - 1em);
	background-color: var(--color-white);
}

.widget_container {
    margin: 0px 0 50px;
}

.widget_container p {
    margin: 0px 0 20px;
}

.widget_container li {
    position: relative;
    border-bottom: 1px solid var(--color-gray-02);
}

.widget_container li a {
	display: block;
	color: var(--color-black-02);
	padding: 15px 10px;
}

.widget_container li a::after {
	font-family: 'Font Awesome 5 Free';
	content: "\f054";
	position: absolute;
	top: 50%;
	right: 10px;
	font-weight: 900;
	font-size: 0.7rem;
	margin-top: -10px; 
}

.widget_container li a:hover {
	color: var(--color-link-hover);
	transition: all 0s ease;
}

/* -----------------------------------------------------------
	アーカイブのアコーディオン
----------------------------------------------------------- */

.year_accordion p {
	padding: 15px 10px;
	cursor: pointer;
}

ul.year_accordion ul {
	border-bottom: 0px solid var(--color-gray-02);
}

ul.year_accordion ul.year_none { /* アコーディオン非表示 */
	display: none;
}

ul.year_accordion li p span { /* アイコン背景 */
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	vertical-align: -3px;
	border-radius: 3px;
	background: var(--color-white);
	transition: all 0.9s ease;
	cursor: pointer;
}

/*＋アイコン*/
ul.year_accordion li p span::before,
ul.year_accordion li p span::after {
	position: absolute;
	content:'';
	width: 16px;
	height: 2px;
	background-color: var(--color-black-02);
	transition: all .2s ease;
}

ul.year_accordion li p span::before { /* アイコン横棒 */
	top: 50%;
	left: 3px;
	transform: rotate(0deg);
}
ul.year_accordion li p span::after { /* アイコン縦棒（閉じてるとき） */
	top: 50%;
	left: 3px;
	transform: rotate(90deg);
}

ul.year_accordion li p span.year_open::after { /* アイコン縦棒なし（開いてるとき） */
	transform: rotate(180deg);
}


/* -----------------------------------------------------------
	デザインコード
----------------------------------------------------------- */

.box_red {
    position: relative;
    margin: 2rem 0;
    padding: 0 1rem 1.5rem;
    border: solid 2px var(--color-red-02);
    border-radius: 5px;
	background: var(--color-yellow-03);
}
.box_red .box_ttl {
    position: absolute;
    display: inline-block;
    top: -11px;
    left: 10px;
    padding: 0 5px;
    line-height: 1;
    font-size: 1.2rem;
    background: var(--color-white);
    color: var(--color-red-02);
    font-weight: bold;
}

.box_orange {
    position: relative;
    margin: 2rem 0;
    padding: 0 1rem 1.5rem;
    border: solid 2px var(--color-orange-01);
    border-radius: 5px;
	background: var(--color-yellow-03);
}
.box_orange .box_ttl {
    position: absolute;
    display: inline-block;
    top: -11px;
    left: 10px;
    padding: 0 5px;
    line-height: 1;
    font-size: 1.2rem;
    background: var(--color-white);
    color: var(--color-orange-01);
    font-weight: bold;
}

.box_blue {
    position: relative;
    margin: 2rem 0;
    padding: 0 1rem 1.5rem;
    border: solid 2px var(--color-blue-01);
    border-radius: 5px;
	background: var(--color-yellow-03);
}
.box_blue .box_ttl {
    position: absolute;
    display: inline-block;
    top: -11px;
    left: 10px;
    padding: 0 5px;
    line-height: 1;
    font-size: 1.2rem;
    background: var(--color-white);
    color: var(--color-blue-01);
    font-weight: bold;
}

/* リスト */

.page_list_num {
	margin: 20px 10px;
	counter-reset: page_num;/*カウンターのリセット*/
}
.page_list_num li {
	padding-left: 1.2rem;
	text-indent: -1.2rem;
}
.page_list_num li:before {
	counter-increment: page_num;
	content: counter(page_num)". ";
}

.list_bl_circle {
	margin: 20px 10px;
}
.list_bl_circle li {
	margin-bottom: 5px;
	padding-left: 1.2rem;
	text-indent: -1.2rem;
}

.list_bl_circle li::before {
	font-family: 'Font Awesome 7 Free';
	content: "\f111";
	font-size: 0.9rem;
	font-weight: 900;
	margin-top: 5px;
	padding: 0 7px 0 0;
}

.list_wh_circle {
	margin: 20px 10px;
}
.list_wh_circle li {
	margin-bottom: 5px;
	padding-left: 1.2rem;
	text-indent: -1.2rem;
}

.list_wh_circle li::before {
	font-family: 'Font Awesome 7 Free';
	content: "\f10c";
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 5px;
	padding: 0 7px 0 0;
}

.list_square {
	margin: 20px 10px;
}
.list_square li {
	margin-bottom: 5px;
	padding-left: 1.2rem;
	text-indent: -1.2rem;
}

.list_square li::before {
	font-family: 'Font Awesome 7 Free';
	content: "\f0c8";
	font-size: 0.9rem;
	font-weight: 900;
	margin-top: 5px;
	padding: 0 7px 0 0;
}



/* -----------------------------------------------------------
	pagination
----------------------------------------------------------- */

.pagination {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 50px 0 0;
}
.pagination a, .pagination span {
	display: block;
	color: var(--color-black-03);
	margin: 20px 15px 0px 0;
	padding: 5px 15px;
	background-color: var(--color-white);
	border: 1px solid var(--color-gray-07);
	border-radius: 3px;
}
.pagination span {
	color: var(--color-white);
	background-color: var(--color-btn-01);
}
.pagination a:hover {
	color: var(--color-white);
	background-color: var(--color-btn-02);
}
.pagination a.prev::before{
	font-family: 'Font Awesome 5 Free';
	content: "\f053";
	font-size: 0.9rem;
	padding-right: 10px;
	font-weight: 900;
}
.pagination a.next::after{
	font-family: 'Font Awesome 5 Free';
	content: "\f054";
	font-size: 0.9rem;
	padding-left: 10px;
	font-weight: 900;
}

@media screen and (max-width: 767px) {
	.pagination a, .pagination span {
		margin: 20px 15px 0 0px;
	}
}

/* -----------------------------------------------------------
	search
----------------------------------------------------------- */

.search_layout {
	margin: 30px 0 0;
	letter-spacing: -10px;
}

.search_text {
	width: calc(100% - 50px);
	height: 40px;
	line-height: 40px;
	letter-spacing: 1.5px;
	padding-left: 10px;
	font-size: 1em;
	border: 1px solid var(--color-black-03);
	border-right: none;
	border-radius: 3px 0 0 3px;
	vertical-align : top;
}

.search_button {
	width: 45px;
	height: 40px;
	line-height: 40px;
	background: var(--color-black-03) url("../img/common/search_icon.png") center center no-repeat;
	border: none;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	vertical-align : top;
}

.search_button:hover,
.search_button:focus {
	background: var(--color-black-02) url("../img/common/search_icon.png") center center no-repeat;
}

