@charset "utf-8";
/* CSS Document */
.___________________PC-WP____________________{}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____WP-variables_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

/*変数セット：WP（variables.cssとは別に、WPで使う値だけここに置く）*/
:root {
 --sub-width: 300px;     /* サイドバーの幅 */
 --column-gap: 60px;     /* mainとサイドバーの間隔（仮の値。サイトごとに調整） */
 --scroll-height: 300px; /* .scroll の高さ（仮の値。サイトごとに調整） */
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____2-column_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

/* #sub があるページだけ2カラムにする（bodyのクラスに頼らない） */
#contents-inner:has(> #sub) {
 width: var(--main-width);
 margin: var(--margin-auto);
 display: grid;
 grid-template-columns: minmax(0, 1fr) var(--sub-width);
 column-gap: var(--column-gap);
 align-items: start;
}

/* 2カラムのときは、main内のセクションの幅をカラムに合わせる */
#contents-inner:has(> #sub) main .inner {
 width: auto;
 margin-left: 0;
 margin-right: 0;
}

/* サイドバーの上端を、main のセクションの見出しにそろえる */
#contents-inner:has(> #sub) #sub {
 padding-top: var(--section-padding);
}

/* 詳細ページの article は section ではないので、上の余白をここで付ける */
#main-inner > #article-post {
 padding-top: var(--section-padding);
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____article-list_txb_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

/* .scroll はトップページだけ。中を縦スクロールさせる */
.article-list.txb .scroll {
 height: var(--scroll-height);
 overflow-y: auto;
}

._{}

.article-list.txb .box a {
 padding-top: 20px;
 padding-bottom: 20px;
 border-bottom: 1px solid var(--color-gray-04);
 display: block;
}

.article-list.txb .box dl {
 display: grid;
 grid-template-columns: 26% minmax(0, 1fr);
 column-gap: 4%;
}

.article-list.txb .box dl dt {
 font-size: 14px;
 line-height: 24px;
 font-weight: 400;
 display: flex;
 align-items: flex-start;
}

.article-list.txb .box dl dt .category-ttl {
 font-size: 12px;
 line-height: 24px;
 font-weight: 400;
 text-align: center;
 width: 100px;
 padding-left: 10px;
 padding-right: 10px;
 margin-right: 15px;
 border: 1px solid var(--color-gray-03);
 flex-shrink: 0;
 /*三点リーダー*/
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
}

.article-list.txb .box dl dt .article-date {}

.article-list.txb .box dl dd .article-txt {
 font-size: 14px;
 line-height: 24px;
 font-weight: 400;
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____article-list_tmb_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

.article-list.tmb {
 margin-bottom: 60px;
}

._{}

/* 列数：.box-summary に grid をかける */
.article-list.tmb.one-line .box-summary {
 display: grid;
 row-gap: 60px;
}

.article-list.tmb.two-line .box-summary {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 column-gap: 4%;
 row-gap: 60px;
}

.article-list.tmb.three-line .box-summary {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 column-gap: 5%;
 row-gap: 60px;
}

._{}

/* 1列：写真とテキストを横並び */
.article-list.tmb.one-line .box a {
 display: grid;
 grid-template-columns: 40% minmax(0, 1fr);
 column-gap: 5%;
 align-items: start;
}

/* 2列・3列：写真の下にテキスト */
.article-list.tmb.two-line .box .top-col .article-thumbnail,
.article-list.tmb.three-line .box .top-col .article-thumbnail {
 margin-bottom: 20px;
}

._{}

.article-list.tmb .box a {
 text-decoration: none;
 display: block;
}

.article-list.tmb .box .top-col .article-thumbnail {
 padding-top: 56.25%;
 position: relative;
 overflow: hidden;
}

.article-list.tmb .box .top-col .article-thumbnail img {
 width: 100%;
 height: 100%;
 vertical-align: top;
 object-fit: cover;
 position: absolute;
 top: 0;
 left: 0;
 transition: var(--transition);
}

.article-list.tmb .box a:hover .top-col .article-thumbnail img {
 transform: scale(1.1);
}

.article-list.tmb .box .bottom-col .category-ttl {
 font-size: 12px;
 line-height: 22px;
 padding-left: 15px;
 padding-right: 15px;
 margin-right: 15px;
 border: 1px solid var(--color-gray-03);
 display: inline-block;
}

.article-list.tmb .box .bottom-col .article-date {
 font-size: 13px;
 font-weight: 500;
 display: inline-block;
}

.article-list.tmb .box .bottom-col .article-ttl {
 font-size: 15px;
 line-height: 24px;
 font-weight: 500;
 padding-bottom: 12px;
 margin-top: 15px;
 margin-bottom: 15px;
 border-bottom: 1px solid var(--color-gray-02);
}

.article-list.tmb .box .bottom-col .article-excerpt {
 font-size: 12px;
 line-height: 22px;
 font-weight: 400;
 overflow: hidden;
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____article-post_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

#article-post {
 padding-bottom: 40px;
}

/* 詳細ページの投稿タイトルは下線型 */
#article-post .article-ttl {
 font-size: 22px;
 line-height: 26px;
 font-weight: 500;
 padding-bottom: 12px;
 border-bottom: 1px solid var(--color-gray-02);
}

#article-post .article-date {
 font-size: 13px;
 line-height: 22px;
 font-weight: 400;
 letter-spacing: 1.5px;
 text-align: right;
 margin-top: 15px;
 margin-bottom: 15px;
}

/* カテゴリ：1つずつ枠で囲み、横に並べる（複数対応） */
#article-post .category-ttl {
 display: flex;
 flex-wrap: wrap;
 column-gap: 5px;
 row-gap: 5px;
 margin-bottom: 15px;
}

#article-post .category-ttl a {
 font-size: 13px;
 line-height: 24px;
 font-weight: 400;
 padding-left: 20px;
 padding-right: 20px;
 border: 1px solid var(--color-gray-03);
 display: block;
}

#article-post .article-body {
 font-size: 14px;
 line-height: 26px;
 font-weight: 400;
}

#article-post .article-body p {
 margin-top: 15px;
 margin-bottom: 15px;
}

/* reset.css で strong も font: inherit にしているので、本文の太字はここで戻す */
#article-post .article-body strong {
 font-weight: 700;
}

#article-post .article-body a {
 text-decoration: underline;
}

#article-post .article-body a:hover {
 text-decoration: none;
}

#article-post .article-body figure img, #article-post .article-body .item img {
 max-width: 100%;
 height: auto;
 vertical-align: top;
 margin-bottom: 5px;
 margin-top: 5px;
}

#article-post .article-body figure figcaption {
 font-size: 12px;
 line-height: 18px;
 font-weight: 400;
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____wp-pagenavi_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

.wp-pagenavi {
 display: flex;
 flex-wrap: wrap;
 column-gap: 4px;
 row-gap: 4px;
 margin-top: 20px;
 margin-bottom: 20px;
}

.wp-pagenavi a, .wp-pagenavi span {
 color: var(--color-white);
 background-color: var(--site-color-01);
 padding-top: 8px;
 padding-bottom: 8px;
 padding-left: 15px;
 padding-right: 15px;
 white-space: nowrap;
 text-align: center;
 text-decoration: none;
 display: inline-block;
}

.wp-pagenavi .pages {
 color: var(--site-color-01);
 background-color: var(--color-gray-05);
}

.wp-pagenavi a:hover {
 color: var(--site-color-01);
 background-color: var(--color-white);
}

.wp-pagenavi span.current {
 color: var(--site-color-01);
 background-color: var(--color-gray-05);
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____post-links_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

.post-links {
 padding-bottom: 30px;
}

.post-links ul {
 display: flex;
 justify-content: space-between;
}

.post-links li a {
 font-size: 14px;
 line-height: 24px;
 font-weight: 400;
}

.post-links li.previous a::before {
 content: "←";
 margin-right: 10px;
}

/* 「次の記事へ」だけのときも右に寄せる */
.post-links li.next {
 margin-left: auto;
}

.post-links li.next a::after {
 content: "→";
 margin-left: 5px;
}

.post-links li a:hover {}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____sub_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

#sub .ttl {
 font-size: 16px;
 font-weight: 700;
 padding-bottom: 12px;
 padding-right: 15px;
 border-bottom: 1px solid var(--color-gray-02);
}

#sub .common-list ul li a {
 padding-top: 15px;
 padding-bottom: 15px;
 text-align: left;
 text-decoration: none;
 border-bottom: 1px solid var(--color-gray-04);
 display: block;
}

#sub .common-list ul li a:hover {}

._{}

#sub #category-list {
 margin-bottom: 40px;
}

._{}

#sub #archive-list {
 margin-bottom: 40px;
}

._{}

#sub #tag-list {
 margin-bottom: 40px;
}

#sub #tag-list .ttl {
 margin-bottom: 15px;
}

#sub #tag-list ul {
 display: flex;
 flex-wrap: wrap;
 column-gap: 4px;
 row-gap: 10px;
}

#sub #tag-list ul li a {
 color: var(--color-gray-01);
 padding-top: 4px;
 padding-bottom: 4px;
 padding-left: 10px;
 padding-right: 10px;
 border: 1px solid var(--color-gray-02);
 border-radius: 2px;
 display: block;
}

#sub #tag-list ul li a:hover {}

._{}

#sub #keyword-search .ttl {
 margin-bottom: 15px;
}

.search-box {
 position: relative;
 border: 1px solid var(--color-gray-02);
 padding-top: 10px;
 padding-right: 10px;
 padding-left: 10px;
 padding-bottom: 10px;
 width: 100%;
 overflow: hidden;
 background-color: var(--color-white);
}

.search-box input[type="text"] {
 border: none;
 height: 2.0em;
}

.search-box input[type="text"]:focus {
 outline: 0;
}

.search-box input[type="submit"] {
 cursor: pointer;
 position: absolute;
 width: 20px;
 height: 21px;
 right: 14px;
 top: 14px;
 outline: none;
 background-image: url("/image/dummy/icon_loupe.png"); /*仮パス：WPテーマ組み込み時に要差し替え*/
 background-repeat: no-repeat;
 border: none;
 background-color: var(--color-white);
}

.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}
._____development-display_____{}
.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX{}

#development-display {
 width: 50%;
 position: fixed;
 bottom: 5%;
 left: 50%;
 transform: translate(-50%, -50%);
 padding-top: 5px;
 padding-right: 5px;
 padding-bottom: 5px;
 padding-left: 5px;
 background-color: var(--color-gray-04);
 z-index: 9999;
 opacity: 0.8;
}

#development-display table {
 width: 100%;
}

#development-display table tr {
 background: var(--color-white);
}

#development-display table th, #development-display table td {
 text-align: left;
 padding-top: 3px;
 padding-right: 3px;
 padding-bottom: 3px;
 padding-left: 3px;
 border-bottom: 1px dotted var(--color-gray-02);
 border-top-style: none;
 border-right-style: none;
 border-left-style: none;
 font-size: 10px;
 line-height: 16px;
 font-weight: 400;
 vertical-align: middle;
}

#development-display table th {
 background-color: var(--site-color-01);
 color: var(--color-white);
}

#development-display .txt {
 font-size: 12px;
 line-height: 18px;
 font-weight: 400;
 background-color: var(--color-white);
 padding-top: 5px;
 padding-right: 5px;
 padding-bottom: 5px;
 padding-left: 5px;
}
