@charset "UTF-8";
/* ============================================================
   blog.css：ブログ記事（single.php）・記事一覧（archive.php）専用
   amiche.co.jp のブログ（single-blog.php・archive-blog.php）の CSS から、
   コンテンツ部分で使用しているルールのみを抜き出して移植（2026-10-21）
   - 元ファイル：scss/common.css・css/top.css・css/style2020.css・css/single.css
   - 画像パス：../img/〜 → ../images/blog/〜（JPG は WebP 化）
   - フォント：source-han-sans-japanese（Adobe Fonts）→ Noto Sans JP
   - home.css の後に読み込む（home.css の要素リセットの上に重ねる）
   - サイトの header と混ざらないよう、header 要素へのルールは .single-wrap 配下に限定
   - amiche の body クラス .singular（twentytwenty）は novio にないため .single に置き換え
============================================================ */

/* ==== amiche css/top.css のリセット（コンテンツ部分の基準文字サイズ・色）==== */
:where(.cntWrk_main, #bread, .single-wrap) :where(div, span, h1, h2, h3, h4, h5, h6, p, a, li, dt, dd, th, td, strong, em, small, time) {
  font-size: 1.6rem;
  color: #555;
}
:where(.single-wrap) ul,
:where(.single-wrap) ol,
:where(.single-wrap) ul li {
  margin: 0;
}

/* ==== amiche scss/common.css より ==== */
.row {
  margin: 0 auto;
  padding: 5vw 2rem;
  width: 100%;
  max-width: 1080px;
  box-sizing: border-box;
}
@media screen and (min-width: 1280px) {
  .row {
    width: 90%;
    max-width: 1280px;
  }
}

/* ==== amiche css/top.css より ==== */
/* ページ上部（カテゴリー名の帯） */
.new2019 main {
  width: 100%;
}
.new2019 main .wrap {
  width: 100%;
  height: 30rem;
  padding: 0 2vw;
  padding-top: 16.5rem;
  position: relative;
}
.new2019 main .wrap h2,
.new2019 main .wrap .txtDark {
  font-size: 2rem;
  letter-spacing: 0.2rem;
  margin-right: -0.2rem;
  text-indent: 0.4rem;
  text-align: center;
}
.new2019 .cntWrk_main {
  background-image: url(../images/home/target_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
/* 記事内の header 要素（.entry-header 等）：home.css の header（position: fixed）を打ち消す */
.new2019 .single-wrap header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: transparent;
  position: static;
  z-index: auto;
}
.new2019 .single-wrap header::after {
  display: none;
}
.single-wrap {
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .new2019 main {
    height: 14rem;
  }
  .new2019 main .wrap {
    height: 14rem;
    padding-top: 6.0rem;
  }
  .new2019 .row {
    padding: 3rem 2rem;
  }
}

/* ==== amiche css/style2020.css より ==== */
/* 記事一覧（カード） */
.blog-date {
  text-align: left;
  margin-bottom: 1rem;
  color: #999;
}
@media screen and (max-width: 920px) {
  .blog-date {
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 491px) and (max-width: 767px) {
  .blog-date {
    font-size: 1rem;
  }
}
@media screen and (max-width: 490px) {
  .blog-date {
    font-size: inherit;
  }
}
#index-column .category-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
#index-column .category-inner {
  width: 22%;
  margin: 0 1% 60px;
}
#index-column .category-inner p.flex-ttl {
  margin: 0;
  line-height: 1.4;
  text-align: left;
  font-weight: bold;
  color: #555;
  font-size: 1em;
  padding: 0.5rem 0 0 0.5rem;
  margin-bottom: 5px;
}
.category-inner .blog-date {
  text-align: right;
  margin-bottom: 0;
}
#index-column .category-inner a {
  z-index: 0;
  text-align: left;
  overflow: hidden;
  display: block;
  padding: 0 1rem;
}
.category-inner a:hover img {
  opacity: 0.8;
}
#index-column .flex-thumb {
  margin-bottom: 10px;
}
#index-column .flex-thumb a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
#index-column .flex-thumb img {
  line-height: 0;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
  margin-bottom: 0;
  border: 1px solid #b0c4de;
}
.flex-thumb img {
  object-fit: cover;
  object-position: bottom;
}
.container-archive {
  max-width: 1280px;
  margin: auto;
}
.blog ul.tag-label {
  margin: 0 0.5rem 1rem;
}
.archive #index-column .flex-thumb,
.archive #index-column .flex-thumb a {
  margin-bottom: 0;
  padding-bottom: 0;
}
.archive .blog #index-column .category-inner {
  height: 100%;
}
.archive .blog ul.tag-label {
  margin: 0 -5px 5px 1rem;
}
.archive .blog .category-inner .blog-date {
  padding: 5px 1rem;
}
.archive .blog ul.tag-label li a {
  margin: 3px 2px;
}
.archive .blog #index-column .category-inner p.flex-ttl {
  margin-bottom: 10px;
}
.archive .blog #index-column .category-inner ul.tag-label a {
  padding: 0 6px;
}
.archive #index-column .category-inner {
  padding: 8px;
  height: auto;
  width: 23%;
}
@media screen and (max-width: 1024px) {
  .archive #index-column .category-inner {
    width: 31%;
  }
}
@media screen and (max-width: 767px) {
  .archive #index-column .category-inner {
    width: 48%;
  }
}
@media screen and (max-width: 540px) {
  .archive #index-column .category-inner {
    width: 100%;
  }
}

/* タグ */
ul.tag-label {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0 -5px;
  flex-wrap: wrap;
}
ul.tag-label li a {
  background: #6495ed;
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 16px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 2em;
  margin: 5px 2px;
  font-size: 1.2rem;
}

/* 記事 */
.post-inner .entry-content,
.section-inner,
.post-meta-wrapper,
.post-inner .entry-content p {
  text-align: left;
}
.entry-content {
  line-height: 1.8;
  margin-bottom: 10px;
}
.single-wrap .entry-content img {
  margin: 1em 0;
}
@media screen and (max-width: 767px) {
  .new2019 .row {
    padding: 3rem 1rem 8rem;
  }
  .entry-content img {
    margin: 10px 0;
  }
  #index-column .category-inner {
    width: 100%;
    height: 100%;
  }
  .single-wrap {
    padding: 60px 2rem;
  }
}

/* ==== amiche css/single.css より ==== */
.flex-thumb {
  overflow: hidden;
}
.archive p.flex-ttl {
  font-size: 1.8rem;
  margin: 10px 0;
}

/* パンくずリスト */
.breadcrumb-area {
  text-align: left;
  font-size: 1rem;
  color: #999;
}
#bread .row {
  padding: 15px;
}
.breadcrumb-area * {
  font-size: 1rem;
  color: #999;
}
.breadcrumb-area span {
  font-size: 1rem;
  color: #666;
}

/* 記事の枠 */
.single-wrap {
  padding: 60px 0 100px;
  max-width: 864px;
  width: 90%;
  margin: auto;
}
.single .single-wrap,
.archive .single-wrap {
  max-width: 100%;
  width: 100%;
  margin: auto;
  background: #f8f8f8;
}
.single-inner {
  max-width: 800px;
  width: 100%;
  margin: auto;
  padding: 40px 80px 80px;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #eee;
}
.single-inner.single-inner--blog {
  max-width: 998px;
  padding: 60px 80px 80px;
  border: 0;
}
.single-wrap .section-inner {
  width: 100%;
}
.single .single-wrap a {
  color: #6495ed;
}

/* 記事のタイトル・日付 */
.single header.entry-header {
  background: none;
  padding: 3rem 0;
}
.single header.archive-header {
  padding: 0;
  background: none;
}
.single-wrap .archive-header {
  margin: 0;
  padding: 0;
}
.single-wrap h1 {
  font-size: 3rem;
  letter-spacing: 0;
}
.single h1.entry-title {
  margin: 0;
  text-align: left;
  border-bottom: 2px dotted #999;
  padding: 0 0 10px 0;
  font-size: 2.8rem;
  line-height: 1.4;
}
.single .single-wrap--blog h1.entry-title {
  border-bottom: 1px solid #C2C0BA;
  font-size: 2.8rem;
  font-weight: 500;
  color: #555555;
}
.single .post-meta-wrapper {
  margin: 1rem 0 0;
  max-width: 100%;
}
.single .post-meta-single-top .post-meta {
  justify-content: flex-end;
}
.post-meta li.post-date {
  text-align: right;
  margin: 1rem 0 0 3rem;
}
.post-meta li.post-date span {
  font-size: 1.6rem;
}

/* 記事の本文 */
.single .post-inner {
  padding-top: 0;
  text-align: left;
}
.single .section-inner,
.post-meta-single-bottom {
  text-align: left;
}
.post-inner {
  padding-top: 0;
}
.single-wrap .entry-content *,
.single-wrap .entry-content p {
  font-size: 1.6rem;
}
.single-wrap .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 100%;
  width: 100%;
}
.single-wrap .entry-content img {
  max-width: 100%;
  height: auto;
}
.single .entry-content p {
  line-height: 2;
  margin-bottom: 2em;
}
.single .entry-content a {
  text-decoration: underline;
}
.single .entry-content h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid #3ba5e6;
  margin-bottom: 15px;
  margin-top: 30px;
  padding-bottom: 10px;
}
.single .entry-content h3 {
  font-size: 2.2rem;
  border-left: 4px solid #3ba5e6;
  margin-bottom: 15px;
  margin-top: 30px;
  padding-left: 10px;
  text-align: left;
}
.single .entry-content h2 *,
.single .entry-content h3 * {
  font-size: inherit;
}
.single .single-wrap--blog .entry-content h2 {
  border-bottom: 0;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background-color: #30ADB2;
  padding: 0.8rem 2.0rem;
  text-align: left;
}
.single .single-wrap--blog .entry-content h2 span {
  color: #fff;
}
.single .single-wrap--blog .entry-content h3 {
  position: relative;
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.4;
  color: #235288;
  border-bottom: 2px solid #235288;
  padding-bottom: 1.0rem;
  border-left: 0;
  padding-left: 1.2rem;
}
.single .single-wrap--blog .entry-content h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 80%;
  background-color: #F19535;
}
.single .entry-content ul,
.single .entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 2em;
}
.single .entry-content ul,
.single .entry-content ul li {
  list-style: disc;
}
.single .entry-content ol,
.single .entry-content ol li {
  list-style: decimal;
}
.single .entry-content li {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
  text-align: left;
}
.single .wp-block-table {
  margin-bottom: 15px;
  overflow-x: inherit;
}
.single .wp-block-table table {
  border-collapse: collapse;
}
.single .wp-block-table th,
.single .wp-block-table td {
  padding: 10px 5px;
  border: 1px solid #333;
}
.single .wp-block-table th {
  border-bottom-width: 2px;
}

/* 前のページ・一覧へ戻る・次のページ */
.single ul.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 100px 0 0;
  width: 100%;
  height: 60px;
  border: 1px solid #ccc;
  border-right: none;
}
ul.page-nav li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 33.333%;
  border-right: 1px solid #ccc;
  font-size: 13px;
  position: relative;
}
ul.page-nav li a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  line-height: 1.3;
}
ul.page-nav li a:hover {
  background: #ddd;
  opacity: 1;
  color: #333;
}
ul.page-nav li.prev:before {
  content: "";
  position: absolute;
  background: url(../images/blog/arrow-lb.svg) no-repeat 0 center;
  background-size: 8px 14px;
  width: 8px;
  height: 14px;
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
}
ul.page-nav li.next:after {
  content: "";
  position: absolute;
  background: url(../images/blog/arrow-rb.svg) no-repeat 0 center;
  background-size: 8px 14px;
  width: 8px;
  height: 14px;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* ページ送り（amiche は WP-PageNavi。novio は paginate_links() のため .page-numbers に同じ見た目を当てる） */
.pagenavi-wrap {
  max-width: 1180px;
  width: 90%;
  margin: 40px auto 0;
  text-align: center;
}
.pagenavi-wrap * {
  color: #6495ed;
}
.pagenavi-wrap .page-numbers {
  display: inline-block;
  padding: 3px 5px;
  margin: 2px;
  border: 1px solid #bfbfbf;
  text-decoration: none;
}
.pagenavi-wrap .page-numbers.current {
  font-weight: bold;
}
.pagenavi-wrap .page-numbers.dots {
  border: 0;
}

@media screen and (max-width: 767px) {
  .single-inner {
    padding: 15px;
  }
  .single-inner.single-inner--blog {
    padding: 4.8rem 1.5rem 6.5rem;
  }
  ul.page-nav li a {
    padding: 0 20px;
    text-align: center;
  }
  .single-wrap .entry-content *,
  .single-wrap .entry-content p {
    font-size: 1.4rem;
  }
  .single ul.page-nav {
    margin-top: 40px;
  }
  .single h1.entry-title {
    font-size: 1.8rem;
  }
  .single header.entry-header {
    padding: 0;
  }
  .post-meta li.post-date {
    margin: 0;
  }
  .archive h1 {
    font-size: 1.8rem;
  }
  .second .wrap {
    margin-bottom: 0;
  }
  .single .entry-content h2,
  .single .entry-content h3 {
    font-size: 1.8rem;
  }
  .single .single-wrap--blog h1.entry-title {
    font-size: 2.4rem;
  }
  .single .single-wrap--blog .entry-content h2 {
    font-size: 2.0rem;
  }
  .single .single-wrap--blog .entry-content h3 {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 490px) {
  .single-inner.single-inner--blog {
    padding: 4.0rem 1.5rem 6.0rem;
  }
}
