@charset "utf-8";
/*
Theme Name:hansokuoen
Theme URI:hansokuoen
Description:hansokuoen
Author:hansokuoen
Version:1.0
*/

/* --------------------------------------------- */
/* ▼ トップページ */
/* --------------------------------------------- */
#index .profile {
    background: #f5f5f5;
    border-bottom: 3px solid #c1272d;
}
#index .profile p.catch {
    font-size: 2em;
    line-height: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}


#index .scale_up {
    position: relative;
    margin-bottom: 5px;
}

#index span.category a {
    display: inline-block;
    color: #fff;
    background: #555;
    font-size: 12px;
    padding: 0px 10px;
    line-height: 20px;
}
#index a.kiji_title {
    text-decoration: underline;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px -1px;
}


/* --------------------------------------------- */
/* ▼ カスタム投稿系 */
/* --------------------------------------------- */

/*タイトル下のターム*/
ul.term.flexbox {
    margin-top: 10px;
}
ul.term.flexbox a {
    color: #fff;
    border: 1px solid #fff;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0px 10px;
}



p.kikan {
    background: #f3f3f3;
    margin-bottom: 20px;
    padding: 5px 20px;
}
#single-works .works_img img{
	margin-bottom: 30px;
	/*border: 1px solid #ccc;*/
	/*box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);*/
}
.works_img {
    text-align: center;
}

#single-works .colum_Left a img{
    border:1px solid #d8d8d8;
}


/* --------------------------------------------- */
/* ▼ 固定ページ */
/* --------------------------------------------- */

/*関連記事リスト*/

.related li{
	margin-bottom: 10px;
	position: relative;
}
a.img_hover {
	font-family: 'Anton', sans-serif;
    font-weight: normal;
	position:relative;	/* 相対位置指定 */
	overflow: hidden;
	margin-bottom: 5px;
	/*border: 1px solid #ddd;*/
}
a.img_hover .mask {
	width:100%;
	height:100%;
	position:absolute;	/* 絶対位置指定 */
	top:0;
	left:0;
	opacity:0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.5s ease;
	transition:all 0.3s ease;
}
a.img_hover:hover .mask {
	opacity:1;	/* マスクを表示する */
}
a.img_hover:hover{
	opacity:1 !important;
}
a.img_hover img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.3s;
}
a.img_hover:hover img{
    transform: scale(1.2) rotate(3deg);
    transition-duration: 0.3s;
    /* opacity: 0.5; */
}
a.img_hover .readmore {
    font-size: 100%;
    text-align: center;
    color: #fff;
    top: 40%;
    bottom: 55%;
    position: relative;
}
a.img_hover p.category {
    position: absolute;
    top: 0;
}

.text {
    margin-bottom: 20px;
}
@media screen and (max-width: 480px){
    .text {
        margin-bottom: 0px;
    }
}


p.gaiyou {
    margin-bottom: 50px;
}


.wp-block-table table th {
    background: #7f7f7f;
    color: #fff;
}
.wp-block-table table tr:nth-child(odd) td {
    background-color: #f2f2f2;
}



.page .price figure.wp-block-table{
    margin-bottom: 10px;
}
.page .price figure.wp-block-table span {
    font-size: 0.8em;
    margin-left: 10px;
}

/* --------------------------------------------- */
/* ▼ 通常投稿ページ */
/* --------------------------------------------- */

#single img{margin-bottom: 30px;}

/* --------------------------------------------- */
/* ▼ 一覧アーカイブページ */
/* --------------------------------------------- */



/* --------------------------------------------- */
/* ▼ カスタム投稿ページ */
/* --------------------------------------------- */
