@charset "utf-8";
/* CSS Document */

.___________________SP-WP____________________{}

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

/*変数セット：WP（pc/wp.css の :root はPCでしか読み込まれないので、SPで使う値はここに置く）*/
:root {
 --column-gap: 0px;      /* mainと#subの間隔（SPは縦積み。間は main 側の下の余白だけで取る） */
 --scroll-height: 240px; /* .scroll の高さ（仮の値。サイトごとに調整） */
}

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

/* SPは #sub を main の下に縦に並べる。#sub には .inner がないので、ここで左右の余白を付ける */
#sub {
 margin: var(--margin-auto);
 padding-top: var(--column-gap);
}

/* 詳細ページの 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: 15px;
 padding-bottom: 15px;
 border-bottom: 1px solid var(--color-gray-04);
 display: block;
}

/* SPは dt（カテゴリ・日付）の下に dd（タイトル） */
.article-list.txb .box dl dt {
 font-size: 12px;
 line-height: 22px;
 font-weight: 400;
 margin-bottom: 5px;
 display: flex;
 align-items: flex-start;
}

.article-list.txb .box dl dt .category-ttl {
 font-size: 11px;
 line-height: 20px;
 font-weight: 400;
 text-align: center;
 width: 90px;
 padding-left: 8px;
 padding-right: 8px;
 margin-right: 10px;
 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: 13px;
 line-height: 22px;
 font-weight: 400;
}

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

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

._{}

/* SPは列数のクラス（.one-line / .two-line / .three-line）に関係なく1列 */
.article-list.tmb .box-summary {
 display: grid;
 row-gap: 40px;
}

._{}

/* 写真 → カテゴリ・日付 → タイトル → 本文 の順に縦に並べる */
.article-list.tmb .box a {
 text-decoration: none;
 display: block;
}

.article-list.tmb .box .top-col .article-thumbnail {
 padding-top: 56.25%;
 margin-bottom: 15px;
 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;
}

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

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

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

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

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

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

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

#article-post .article-date {
 font-size: 12px;
 line-height: 20px;
 font-weight: 400;
 letter-spacing: 1px;
 text-align: right;
 margin-top: 10px;
 margin-bottom: 10px;
}

/* カテゴリ：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: 12px;
 line-height: 22px;
 font-weight: 400;
 padding-left: 15px;
 padding-right: 15px;
 border: 1px solid var(--color-gray-03);
 display: block;
}

#article-post .article-body {
 font-size: 13px;
 line-height: 24px;
 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 figure img, #article-post .article-body .item img {
 max-width: 100%;
 height: auto;
 vertical-align: top;
 margin-top: 5px;
 margin-bottom: 5px;
}

#article-post .article-body figure figcaption {
 font-size: 11px;
 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 {
 font-size: 12px;
 line-height: 20px;
 color: var(--color-white);
 background-color: var(--site-color-01);
 padding-top: 6px;
 padding-bottom: 6px;
 padding-left: 12px;
 padding-right: 12px;
 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 span.current {
 color: var(--site-color-01);
 background-color: var(--color-gray-05);
}

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

/* .inner の外にあるので、左右の余白をここで付ける（矢印が画面の端にはみ出さないように） */
.post-links {
 margin: var(--margin-auto);
 padding-bottom: 30px;
}

.post-links ul {
 display: flex;
 justify-content: space-between;
 column-gap: 20px;
}

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

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

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

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

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

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

#sub .common-list ul li a {
 font-size: 13px;
 line-height: 20px;
 font-weight: 400;
 padding-top: 10px;
 padding-bottom: 10px;
 text-align: left;
 text-decoration: none;
 border-bottom: 1px solid var(--color-gray-04);
 display: block;
}

._{}

#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: 8px;
}

#sub #tag-list ul li a {
 font-size: 12px;
 line-height: 20px;
 font-weight: 400;
 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 #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);
}

/* iOSでフォーカス時に拡大されないよう16px以上にする */
.search-box input[type="text"] {
 font-size: 16px;
 width: calc(100% - 30px);
 height: 2.0em;
 border: none;
}

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

.search-box input[type="submit"] {
 cursor: pointer;
 position: absolute;
 width: 20px;
 height: 21px;
 right: 14px;
 top: 50%;
 transform: translateY(-50%);
 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 {
 display: none;
}
