/*
Theme Name: 常翔印刷 制作実績
Theme URI: https://jsi.co.jp/works/
Author: 株式会社常翔印刷
Description: jsi.co.jp 静的サイトのデザインに合わせた制作実績用テーマ。共通CSS（https://jsi.co.jp/css/style.css）を読み込み、このファイルでは制作実績ページ専用のスタイル（css/style.css から移設した jisseki_* を含む）を定義しています。
Version: 1.0.0
Requires PHP: 7.4
Text Domain: josho-works
*/

/* ===== 制作実績（css/style.css から移設） ===== */
@media screen and (max-width:480px) {
/*制作実績*/
    .jisseki_header {
        position: relative;
	display: block;
	width: 100%;
	height: 130px;
	margin: 75px auto 0;
	background-image: url("https://jsi.co.jp/images/jisseki.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: 50% 25%;
        border-top: rgba(240,240,240,1.00) solid 1px;
        border-bottom: rgba(240,240,240,1.00) solid 1px;
}
.jisseki_header h2 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	height: 90px;
	margin: auto;
	padding: 0;
	font-size: 40px;
	font-family: 'Alegreya Sans', sans-serif;
	color:rgba(60,60,60,1.00);
	text-align: center;
	letter-spacing: -1px;
}
.jisseki_header h2 span {
	display: block;
	margin: -10px auto 0;
	padding: 0;
	font-size: 18px;
	letter-spacing: 3px;
}
    .jisseki_main {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .jisseki_list {
        display: block;
        width: 100%;
        margin: 20px auto;
        padding: 50px 0;
    }
    .jisseki_list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .jisseki_list ul li {
        display: block;
        width: 90%;
        margin: 0 auto 30px;
    }
    .jisseki_list ul li a {
        display: block;
        width: 100%;
        margin: 0 auto;
        transition: .4s;
    }
    .jisseki_list ul li a:hover {
        opacity: .7;
    }
    .jisseki_list ul li a div {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 auto;
    }
   .jisseki_list ul li a div span {
       position: absolute;
    z-index: 1;
    width: 28px;
    height: 13px;
    font-size: 12px;
    line-height: 0;
    left: 3%;
    top: -10px;
    background: #0f7a9f;
    padding: 15px 7px 14px;
    border-radius: 100%;
        color: #fff;
        text-align: center;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    }
    .jisseki_list ul li a div img {
        display: block;
        width: 85%;
        margin: 0 auto;
        border: rgba(220,220,220,1.00) solid 1px;
    }
    .jisseki_list ul li a div h3 {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 18px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
    .jisseki_list ul li a div p {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 16px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
/*実績詳細*/
    .jisseki_more {
        display: block;
        width: 95%;
        margin: 0 auto;
    }
    .jisseki_more_title h2 {
        display: block;
	margin: 50px auto 50px;
	text-align: center;
	font-size: 20px;
	font-family: 'Noto Serif JP', serif;
    font-weight: 100;
	color: rgba(78,78,78,1.00);
	letter-spacing: 1px;
	position: relative;
}
.jisseki_more_title h2:before {
content: '';
position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 3px;
    left: 50%;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
background: rgb(15, 122, 159);
border-radius: 2px;
    }
    .jisseki_more_box {
        display: block;
        width: 100%;
        margin: 0 auto 100px;
        overflow: hidden;
    }
    .jisseki_more_box_left {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .jisseki_more_box_left img {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .jisseki_more_box_right {
        display: block;
        width: 90%;
        margin: 20px auto;
    }
    .jisseki_more_box_right h3 {
        margin: 0;
        padding: 0;
    font-size: 18px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        color: rgba(15,122,159,1.00);
        border-bottom: rgba(15,122,159,1.00) 1px solid;
    }
    .jisseki_more_box_right p {
        width: 98%;
        margin: 3px auto 20px;
        padding: 0;
    font-size: 15px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        text-align: justify;
        line-height: 160%;
        color: rgba(80,80,80,1.00);
    }
}

@media screen and (min-width:481px) and (max-width:1079px) {
/*制作実績*/
    .jisseki_header {
        position: relative;
	display: block;
	width: 100%;
	height: 200px;
	margin: 75px auto 0;
	background-image: url("https://jsi.co.jp/images/jisseki.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: 50% 25%;
        border-top: rgba(240,240,240,1.00) solid 1px;
        border-bottom: rgba(240,240,240,1.00) solid 1px;
}
.jisseki_header h2 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	height: 90px;
	margin: auto;
	padding: 0;
	font-size: 50px;
	font-family: 'Alegreya Sans', sans-serif;
	color:rgba(60,60,60,1.00);
	text-align: center;
	letter-spacing: -1px;
}
.jisseki_header h2 span {
	display: block;
	margin: -10px auto 0;
	padding: 0;
	font-size: 20px;
	letter-spacing: 3px;
}
    .jisseki_main {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .jisseki_list {
        display: block;
        width: 100%;
        margin: 50px auto;
        padding: 50px 0;
        overflow: hidden;
    }
    .jisseki_list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .jisseki_list ul li {
        display: block;
        width: 33.3333%;
        margin: 0 auto;
        float: left;
    }
    .jisseki_list ul li a {
        display: block;
        width: 100%;
        margin: 0 auto;
        transition: .4s;
    }
    .jisseki_list ul li a:hover {
        opacity: .7;
    }
    .jisseki_list ul li a div {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 auto;
    }
  
    .jisseki_list ul li a div span {
       position: absolute;
    z-index: 1;
    width: 28px;
    height: 13px;
    font-size: 12px;
    line-height: 0;
    left: 1%;
    top: -10px;
    background: #0f7a9f;
    padding: 15px 7px 14px;
    border-radius: 100%;
        color: #fff;
        text-align: center;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    }
    .jisseki_list ul li a div img {
        display: block;
        width: 85%;
        margin: 0 auto;
        border: rgba(220,220,220,1.00) solid 1px;
    }
    .jisseki_list ul li a div h3 {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 18px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
    .jisseki_list ul li a div p {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 16px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
/*実績詳細*/
    .jisseki_more {
        display: block;
        width: 95%;
        margin: 0 auto;
    }
    .jisseki_more_title h2 {
        display: block;
	margin: 100px auto 50px;
	text-align: center;
	font-size: 30px;
	font-family: 'Noto Serif JP', serif;
    font-weight: 100;
	color: rgba(78,78,78,1.00);
	letter-spacing: 2px;
	position: relative;
}
.jisseki_more_title h2:before {
content: '';
position: absolute;
bottom: -15px;
display: inline-block;
width: 60px;
height: 4px;
left: 50%;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
background: rgb(15, 122, 159);
border-radius: 2px;
    }
    .jisseki_more_box {
        display: block;
        width: 100%;
        margin: 0 auto 100px;
        overflow: hidden;
    }
    .jisseki_more_box_left {
        display: block;
        width: 50%;
        margin: 0 auto;
        float: left;
    }
    .jisseki_more_box_left img {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    .jisseki_more_box_right {
        display: block;
        width: 50%;
        margin: 0 auto;
        float:right;
    }
    .jisseki_more_box_right h3 {
        margin: 0;
        padding: 0;
    font-size: 18px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        color: rgba(15,122,159,1.00);
        border-bottom: rgba(15,122,159,1.00) 1px solid;
    }
    .jisseki_more_box_right p {
        width: 98%;
        margin: 3px auto 15px;
        padding: 0;
    font-size: 15px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        text-align: justify;
        line-height: 160%;
        color: rgba(80,80,80,1.00);
    }
}

@media screen and (min-width:1080px) {
/*制作実績*/
    .jisseki_header {
        position: relative;
	display: block;
	width: 100%;
	height: 300px;
	margin: 0px auto 0;
	background-image: url("https://jsi.co.jp/images/jisseki.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: 50% 25%;
        border-top: rgba(240,240,240,1.00) solid 1px;
        border-bottom: rgba(240,240,240,1.00) solid 1px;
}
.jisseki_header h2 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	height: 90px;
	margin: auto;
	padding: 0;
	font-size: 50px;
	font-family: 'Alegreya Sans', sans-serif;
	color:rgba(60,60,60,1.00);
	text-align: center;
	letter-spacing: -1px;
}
.jisseki_header h2 span {
	display: block;
	margin: -10px auto 0;
	padding: 0;
	font-size: 20px;
	letter-spacing: 3px;
}
    .jisseki_main {
        display: block;
        width: 980px;
        margin: 0 auto;
    }
    .jisseki_list {
        display: block;
        width: 100%;
        margin: 50px auto;
        padding: 50px 0;
        overflow: hidden;
    }
    .jisseki_list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .jisseki_list ul li {
        display: block;
        width: 33.3333%;
        margin: 0 auto 40px;
        float: left;
    }
    .jisseki_list ul li a {
        display: block;
        width: 100%;
        margin: 0 auto;
        transition: .4s;
    }
    .jisseki_list ul li a:hover {
        opacity: .7;
    }
    .jisseki_list ul li a div {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .jisseki_list ul li a div span {
       position: absolute;
    z-index: 1;
    width: 28px;
    height: 13px;
    font-size: 12px;
    line-height: 0;
    left: 15px;
    top: -10px;
    background: #0f7a9f;
    padding: 15px 7px 14px;
    border-radius: 100%;
        color: #fff;
        text-align: center;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    }
    .jisseki_list ul li a div img {
        display: block;
        width: 85%;
        margin: 0 auto;
        border: rgba(220,220,220,1.00) solid 1px;
    }
    .jisseki_list ul li a div h3 {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 16px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
    .jisseki_list ul li a div p {
        display: block;
        width: 85%;
        margin: 0 auto;
    font-size: 16px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
    color: rgba(60,60,60,1.00);
        text-align: center;
    }
/*実績詳細*/
    .jisseki_more {
        display: block;
        width: 1080px;
        margin: 0 auto;
    }
    .jisseki_more_title h2 {
        display: block;
	margin: 100px auto 50px;
	text-align: center;
	font-size: 30px;
	font-family: 'Noto Serif JP', serif;
    font-weight: 100;
	color: rgba(78,78,78,1.00);
	letter-spacing: 2px;
	position: relative;
}
.jisseki_more_title h2:before {
content: '';
position: absolute;
bottom: -15px;
display: inline-block;
width: 60px;
height: 4px;
left: 50%;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
background: rgb(15, 122, 159);
border-radius: 2px;
    }
    .jisseki_more_box {
        display: block;
        width: 980px;
        margin: 0 auto 100px;
        overflow: hidden;
    }
    .jisseki_more_box_left {
        display: block;
        width: 50%;
        margin: 0 auto;
        float: left;
    }
    .jisseki_more_box_left img {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    .jisseki_more_box_right {
        display: block;
        width: 50%;
        margin: 0 auto;
        float:right;
    }
    .jisseki_more_box_right h3 {
        margin: 0;
        padding: 0;
    font-size: 18px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        color: rgba(15,122,159,1.00);
        border-bottom: rgba(15,122,159,1.00) 1px solid;
    }
    .jisseki_more_box_right p {
        width: 98%;
        margin: 3px auto 15px;
        padding: 0;
    font-size: 15px;
	font-family: source-han-sans-japanese,sans-serif;
font-weight: 400;
font-style: normal;
        text-align: justify;
        line-height: 160%;
        color: rgba(80,80,80,1.00);
    }
}
/* ===== 移設ここまで ===== */

/* パンくず */
.works_breadcrumb {
	max-width: 1080px;
	margin: 0 auto;
	padding: 12px 5%;
	box-sizing: border-box;
}
.works_breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-family: source-han-sans-japanese, sans-serif;
	color: rgba(120,120,120,1.00);
}
.works_breadcrumb li + li::before {
	content: '>';
	margin: 0 8px;
	color: rgba(180,180,180,1.00);
}
.works_breadcrumb a {
	color: rgba(15,122,159,1.00);
}
.works_breadcrumb a:hover {
	text-decoration: underline;
}

/* 一覧 */
.works_archive {
	margin-top: 20px;
}
.works_archive ul.is-paged li:nth-child(1) .works_category::after,
.works_related ul li:nth-child(1) .works_category::after {
	display: none;
}
.works .works_img {
	background: #f4f4f4;
}
.works .works_img img {
	height: 100%;
	object-fit: cover;
}
.works .works_img img.works_noimage {
	width: 50%;
	height: auto;
	margin: 70px auto 0;
	object-fit: contain;
	opacity: .3;
}
.works_empty {
	margin: 50px auto;
	text-align: center;
	font-family: source-han-sans-japanese, sans-serif;
	color: rgba(80,80,80,1.00);
}

/* カテゴリ絞り込み（共通CSSの .works ul を打ち消す） */
.works .works_category_nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 1080px;
	margin: 0 auto 20px;
	padding: 0 5%;
	box-sizing: border-box;
}
.works .works_category_nav ul li {
	width: auto;
	margin: 0;
	background: none;
	box-shadow: none;
}
.works .works_category_nav ul li:hover {
	opacity: 1;
}
.works .works_category_nav ul li a {
	display: inline-block;
	width: auto;
	padding: 6px 18px;
	font-size: 14px;
	font-family: source-han-sans-japanese, sans-serif;
	color: rgba(60,60,60,1.00);
	background: #fff;
	border-radius: 20px;
	transition: .3s;
}
.works .works_category_nav ul li a:hover,
.works .works_category_nav ul li a.is-current {
	color: #fff;
	background: #ffa300;
}

/* ページ送り */
.works .pagination {
	margin: 30px auto 50px;
	text-align: center;
}
.works .pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.works .pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.works .pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 6px;
	font-size: 15px;
	font-family: 'Oswald', sans-serif;
	color: rgba(60,60,60,1.00);
	background: #fff;
	box-sizing: border-box;
	transition: .3s;
}
.works .pagination a.page-numbers:hover,
.works .pagination .page-numbers.current {
	color: #fff;
	background: rgba(15,122,159,1.00);
}
.works .pagination .page-numbers.dots {
	background: none;
}

/* 固定ページ・404 */
.jisseki_more {
	max-width: 1080px;
}
.jisseki_more_box {
	margin-bottom: 60px;
}

/* 投稿詳細（記事型・縦1列） */
.works_single {
	max-width: 840px;
	margin: 0 auto;
	padding: 40px 5% 0;
}
.works_single_header {
	margin: 0 0 30px;
	text-align: center;
}
.works_single_title {
	position: relative;
	margin: 0 0 30px;
	font-size: 26px;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 700;
	line-height: 1.5;
	color: rgba(60,60,60,1.00);
	letter-spacing: 1px;
}
.works_single_title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	width: 60px;
	height: 3px;
	transform: translateX(-50%);
	background: rgba(15,122,159,1.00);
	border-radius: 2px;
}
.works_single_meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-family: source-han-sans-japanese, sans-serif;
	color: rgba(160,160,160,1.00);
}
.works_single_category {
	display: inline-block;
	padding: 3px 14px;
	font-size: 13px;
	color: #fff;
	background: #ffa300;
	border-radius: 20px;
	transition: .3s;
}
.works_single_category:hover {
	opacity: .7;
}
.works_single_eyecatch {
	margin: 0 0 40px;
}
.works_single_eyecatch img {
	display: block;
	width: 100%;
	height: auto;
	border: rgba(220,220,220,1.00) solid 1px;
	box-sizing: border-box;
}
.works_single_body {
	margin: 0 0 60px;
}

/* 本文 */
.works_content {
	font-size: 15px;
	font-family: source-han-sans-japanese, sans-serif;
	line-height: 1.8;
	color: rgba(80,80,80,1.00);
}
.works_single_body.works_content {
	font-size: 16px;
	line-height: 1.9;
}
.works_content p {
	margin: 0 0 1.5em;
	text-align: justify;
}
.works_content h2 {
	margin: 50px 0 20px;
	padding: 6px 0 6px 14px;
	font-size: 20px;
	font-weight: 700;
	color: rgba(60,60,60,1.00);
	border-left: rgba(15,122,159,1.00) 5px solid;
	background: #f4f8fa;
}
.works_content h3 {
	margin: 40px 0 15px;
	padding: 0 0 5px;
	font-size: 18px;
	font-weight: 400;
	color: rgba(15,122,159,1.00);
	border-bottom: rgba(15,122,159,1.00) 1px solid;
}
.works_content h4 {
	margin: 20px 0 5px;
	font-size: 16px;
	color: rgba(60,60,60,1.00);
}
.works_content > *:first-child {
	margin-top: 0;
}
.works_content ul,
.works_content ol {
	margin: 0 0 20px 1.5em;
}
.works_content ul {
	list-style: disc;
}
.works_content ol {
	list-style: decimal;
}
.works_content a {
	color: rgba(15,122,159,1.00);
	text-decoration: underline;
}
.works_content img {
	max-width: 100%;
	height: auto;
}
.works_content figure {
	margin: 0 0 20px;
}
.works_content figcaption {
	font-size: 13px;
	color: rgba(140,140,140,1.00);
	text-align: center;
}
.works_content table {
	width: 100%;
	margin: 0 0 20px;
}
.works_content th,
.works_content td {
	padding: 10px;
	border: rgba(222,221,221,1.00) solid 1px;
}
.works_content th {
	width: 30%;
	background: #f4f4f4;
	font-weight: 500;
}
.works_content .wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.works_notfound {
	text-align: center;
}
.works_notfound .works_list_btn {
	margin-top: 30px;
}

/* 前後の記事 */
.works_post_nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 0 auto 60px;
	padding: 20px 0;
	font-size: 14px;
	font-family: source-han-sans-japanese, sans-serif;
	border-top: rgba(222,221,221,1.00) solid 1px;
	border-bottom: rgba(222,221,221,1.00) solid 1px;
}
.works_post_nav div {
	width: 50%;
}
.works_post_nav_next {
	text-align: right;
}
.works_post_nav a {
	color: rgba(60,60,60,1.00);
}
.works_post_nav a:hover {
	color: rgba(15,122,159,1.00);
}

.works_related {
	margin-top: 0;
}

@media screen and (max-width:480px) {
	.works_archive h2 {
		font-size: 30px;
	}
	.works_archive h2 span {
		font-size: 18px;
	}
	.works_single {
		padding-top: 20px;
	}
	.works_single_title {
		font-size: 20px;
	}
	.works_single_eyecatch {
		margin-bottom: 30px;
	}
	.works_single_body.works_content {
		font-size: 15px;
	}
	.works_content h2 {
		font-size: 18px;
	}
	.works_post_nav {
		flex-direction: column;
	}
	.works_post_nav div {
		width: 100%;
	}
}
