@charset "UTF-8";
/*
Theme Name: XeoryExtension
Theme URI: https://xeory.jp/extension
Description: Xeory拡張テーマ (note/Notion風 モダン化 & 完全レスポンシブ対応版)
Author: バズ部
Author URI: https://lucy.ne.jp/bazubu/
Version: 0.6.4
Text Domain: xeory_extension
Tested up to: 6.8
Requires PHP: 7.0
Tags:blog,one-column,two-columns,right-sidebar,theme-options
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Copyright: Copyright (c) バズ部

*/
/* =========================================================
* 全体レイアウト・幅の柔軟化 (Responsive Base)
========================================================= */
.wrap {
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  margin: 0 auto;
}
.wrap:before {
  display: inline-table;
  content: "";
}
.wrap:after {
  content: "";
  display: block;
  clear: both;
}

#main {
  width: 100%;
  float: left;
}

.main-inner {
  margin-right: 358px;
}

#side {
  width: 310px;
  float: left;
  margin-left: -310px;
}

.left-content #main {
  width: 100%;
  float: left;
}
.left-content .main-inner {
  margin-right: 358px;
  margin-left: 0;
}
.left-content #side {
  width: 310px;
  float: left;
  margin-left: -310px;
}

.right-content #main {
  width: 100%;
  float: left;
}
.right-content .main-inner {
  margin-left: 358px;
  margin-right: 0;
}
.right-content #side {
  width: 310px;
  float: left;
  margin-left: -100%;
}

.one-column #content .wrap {
  max-width: 1000px;
  width: 100%;
}
.one-column #content .wrap #main {
  width: 100%;
  float: none;
}
.one-column #content .wrap #main .main-inner {
  width: 100%;
  margin: 0;
}
.one-column #content .wrap #side {
  display: none;
}

/* はみ出し防止の基本設定 */
img, iframe, video, object {
  max-width: 100%;
  height: auto;
}

/* table
-------------------------------------------------- */
table {
  width: 100% !important;
  border-collapse: collapse;
}

table td,
table th {
  word-break: break-all;
  text-align: left;
}

/* ----------------------------------------
* フォント設定 & 基本設定 (Notion風)
---------------------------------------- */
body {
  background: #ffffff;
  color: #37352f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 横揺れ防止 */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: #37352f;
  transition: opacity 0.2s ease;
}
a:hover {
  text-decoration: none;
  opacity: 0.6;
}

/* form
---------------------------------------- */
form input[type="submit"],
form button {
  background: #37352f;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
form input[type="submit"]:hover,
form button:hover {
  cursor: pointer;
  background: #504d45;
}

/* ----------------------------------------
* header
---------------------------------------- */
#header {
  background-color: #ffffff;
  padding: 0;
  overflow: visible;
  border-bottom: 1px solid #f0f0f0;
}
#header #logo {
  float: left;
  font-size: 24px;
  font-weight: 800;
  padding: 0;
  height: 92px;
  line-height: 92px;
  letter-spacing: -0.02em;
}
#header #logo img {
  max-height: 76px;
  vertical-align: middle;
}
#header a {
  color: #37352f;
}

/* ----------------------------------------
* breadcrumb
---------------------------------------- */
.breadcrumb-area {
  background: #ffffff;
}
.breadcrumb-area .wrap {
  padding: 16px 24px;
}

.breadcrumb {
  margin: 0;
  font-size: 13px;
  padding: 0;
  line-height: 22px;
  display: flex;
  flex-wrap: wrap;
  color: #9e9c97;
}
.breadcrumb li {
  margin-left: 16px;
}
.breadcrumb li:first-child {
  margin-left: 0;
}
.breadcrumb li a {
  text-decoration: none;
  color: #9e9c97;
}
.breadcrumb li a:hover {
  color: #37352f;
}

/* ----------------------------------------
* gloval nav & primary nav
---------------------------------------- */
#gnav {
  background: #ffffff;
  margin: 0 0 0 auto;
  float: right;
  text-align: right;
}
#gnav .sub-menu {
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#gnav ul li {
  display: inline-block;
  position: relative;
}
#gnav ul li a {
  display: block;
  padding: 32px 14px;
  line-height: 28px;
  color: #504d45;
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
#gnav ul li a:hover {
  color: #37352f;
  background: #ffffff;
  opacity: 0.6;
}
#gnav ul li a:hover .sub-menu {
  display: block;
}
#gnav ul li .sub-menu {
  font-size: 14px;
  text-align: left;
  display: none;
  position: absolute;
  width: 200px;
  background: #ffffff;
  border: 1px #f0f0f0 solid;
}
#gnav ul li .sub-menu li {
  float: none;
  margin-left: 0;
  display: block;
}
#gnav ul li .sub-menu li a {
  color: #504d45;
  background: #ffffff;
  padding: 12px 16px;
  font-size: 13px;
}
#gnav ul li .sub-menu li a:hover {
  background: #f7f6f3;
  color: #37352f;
  opacity: 1;
}
#gnav ul li .sub-menu .sub-menu {
  left: 100%;
  top: -1px;
}

#header-right {
  height: 92px;
  float: right;
}

#header-fnav-area,
#header-gnav-area {
  float: right;
}

#header-fnav-area {
  width: 150px;
  position: relative;
}
#header-fnav-area #header-fnav-btn a {
  display: block;
  padding: 22px 12px;
  font-size: 28px;
  height: 92px;
  text-align: center;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #37352f;
}
#header-fnav-area #header-fnav-btn a:hover {
  text-decoration: none;
}
#header-fnav-area #header-fnav {
  z-index: 10;
  font-size: 14px;
  text-align: left;
  display: none;
  position: absolute;
  right: 0;
  width: 200px;
  background: #ffffff;
  border: 1px #f0f0f0 solid;
}
#header-fnav-area #header-fnav li {
  float: none;
  margin-left: 0;
  border-bottom: 1px #f0f0f0 solid;
  display: block;
}
#header-fnav-area #header-fnav li a {
  color: #504d45;
  background: #ffffff;
  padding: 10px 16px;
  display: block;
  font-size: 13px;
}
#header-fnav-area #header-fnav li a:hover {
  background: #f7f6f3;
  color: #37352f;
  text-decoration: none;
}

/* ----------------------------------------
* content
---------------------------------------- */
#content {
  padding: 52px 0;
}
#content .wrap {
  overflow: visible;
}
#content .wp-caption {
  max-width: 100%;
  border: none;
  text-align: center;
  padding: 0;
  margin-bottom: 24px;
}
#content .wp-caption-text {
  padding: 8px 16px;
  margin-bottom: 0;
  text-align: center;
  color: #9e9c97;
  font-size: 13px;
}

/* ----------------------------------------
* main
---------------------------------------- */
.cat-content,
article.post,
article.page {
  margin-bottom: 80px;
  background: #ffffff;
  border: none;
}

.post-header {
  padding: 20px 0 40px;
  position: relative;
  border-bottom: none;
}
.post-header .cat-name {
  margin-bottom: 16px;
}
.post-header .cat-name span {
  border: none;
  background: #f1f1ef;
  color: #37352f;
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}

.post-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 800;
  margin-bottom: 24px;
  color: #37352f;
  letter-spacing: -0.02em;
}
body.page .post-title {
  margin-bottom: 0;
}

.cat-content .post-header,
article.page .post-header {
  padding: 20px 0 30px;
  margin-bottom: 20px;
  background: #ffffff;
}

.post-meta-area {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #9e9c97;
  font-size: 14px;
  flex-wrap: wrap; /* スマホではみ出さないよう折り返す */
}
.post-meta-area ul {
  margin: 0;
}
.post-meta-area .post-meta .date {
  padding: 0 24px 0 0;
}
.post-meta-area .post-meta-comment {
  margin-left: 0;
  display: flex;
  padding: 0;
}
.post-meta-area .post-meta-comment li {
  padding: 0 24px;
  border-left: 1px solid #f0f0f0;
}
.post-thumbnail {
  margin-bottom: 40px;
}
.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-content {
  padding: 0;
  font-size: 16px;
}
.post-content hr {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  margin: 40px 0;
  clear: both;
}
.post-content p,
.post-content ul,
.post-content ol,
.post-content dl,
.post-content blockquote,
.post-content pre,
.post-content table {
  margin-bottom: 1.8em;
}
.post-content ul {
  list-style: disc;
}
.post-content ol {
  list-style: decimal;
}
.post-content ul,
.post-content ol {
  margin-left: 24px;
}
.post-content dl dt {
  font-weight: bold;
}
.post-content dl dd {
  margin-left: 24px;
}
.post-content pre {
  padding: 24px;
  overflow-x: auto; /* はみ出し防止 */
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  background: #f7f6f3;
  border-radius: 6px;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.post-content h2 {
  margin: 64px 0 24px;
  padding: 0;
  font-size: 26px;
  clear: both;
  font-weight: 800;
  border-bottom: none;
  background: transparent;
  color: #37352f;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.post-content h3 {
  font-size: 22px;
  margin: 48px 0 16px;
  padding: 0;
  clear: both;
  font-weight: 700;
  border-bottom: none;
  color: #37352f;
}
.post-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding: 0;
  border-left: none;
  clear: both;
  color: #37352f;
}
.post-content h5,
.post-content h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 16px;
  clear: both;
  color: #37352f;
}
.post-content blockquote {
  clear: both;
  margin: 32px 0;
  padding: 8px 24px;
  position: relative;
  border-left: 3px solid #37352f;
  background: transparent;
  color: #787774;
  font-style: italic;
}
.post-content blockquote:before {
  display: none;
}
.post-content blockquote cite {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 12px;
  color: #9e9c97;
  font-style: normal;
}
.post-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2em;
  display: block; /* テーブルのはみ出し防止 */
  overflow-x: auto;
  white-space: nowrap;
}
.post-content table th,
.post-content table td {
  padding: 12px 16px;
  border: 1px solid #f0f0f0;
}
.post-content table thead th,
.post-content table tbody th {
  background: #f7f6f3;
  color: #37352f;
  font-weight: 600;
}
.post-content table.table-line table,
.post-content table.table-line th,
.post-content table.table-line td {
  border-color: #f0f0f0;
}
.post-content img {
  border-radius: 6px;
}
.post-content img.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 24px;
}
.post-content img.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 24px;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-cta {
  background: #f7f6f3;
  color: #37352f;
  border-radius: 8px;
  margin-top: 60px;
  overflow: hidden;
}
.post-cta .post-cta-inner {
  padding: 40px;
}
.post-cta .cta-post-title {
  padding: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.post-cta .post-cta-img {
  float: right;
  width: 230px;
  max-width: 100%;
  margin: 0 0 20px 20px;
}
.post-cta .post-cta-cont {
  overflow: hidden;
}
.post-cta .post-cta-btn a {
  background: #37352f;
  color: #fff;
  border-radius: 6px;
  display: block;
  padding: 16px 20px;
  text-align: center;
  text-decoration: none;
  width: 60%;
  margin: 32px auto 0;
  font-weight: 600;
}
.post-cta .post-cta-btn a:hover {
  background: #504d45;
}
.post-cta .btn {
  width: 100%;
  display: block;
  border-radius: 6px;
  text-align: center;
  color: #fff;
  padding: 14px 0;
  font-weight: 600;
  -webkit-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  background: #37352f;
}
.post-cta .btn:hover {
  text-decoration: none;
  background: #504d45;
}

.post-footer {
  padding: 40px 0;
  border-top: 1px solid #f0f0f0;
  clear: both;
}
.post-footer ul {
  overflow: hidden;
}

.post-author {
  margin-bottom: 40px;
  padding: 40px;
  border: none;
  background: #f7f6f3;
  border-radius: 8px;
}
.post-author .post-author-img {
  float: left;
}
.post-author .post-author-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
}
.post-author .post-author-meta {
  color: #37352f;
  margin-left: 110px;
}
.post-author .post-author-meta h2 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
}
.post-author .post-author-meta p {
  margin: 0;
  font-size: 14px;
  color: #787774;
}

.post-header-meta {
  overflow: hidden;
  margin-bottom: 26px;
}

/* ----------------------------------------
* コメント・フォーム関連
---------------------------------------- */
.comment-list > .comment {
  margin-bottom: 40px;
  border-bottom: 1px #f0f0f0 solid;
}
.comment-list > .comment > .comment-body {
  padding: 0 0 20px;
}
.comment-list .children {
  margin-left: 45px;
}
.comment-list .children .comment-body {
  padding: 24px;
  margin-bottom: 20px;
  background: #f7f6f3;
  border-radius: 6px;
}
.comments-title {
  font-size: 20px;
  font-weight: 700;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid #f0f0f0;
}

input[type="text"], input[type="email"], input[type="url"], textarea {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 12px;
  font-family: inherit;
  font-size: 16px;
  background: #fafafa;
  max-width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border-color: #9e9c97;
  background: #fff;
}
.form-submit #submit {
  width: 240px;
  max-width: 100%;
  margin-top: 2em;
  line-height: 24px;
  border: none;
  border-radius: 6px;
  background: #37352f;
  color: #fff;
}
.form-submit #submit:hover {
  background: #504d45;
}

/* =========================================================
* トップページ / フロントループ (ズレ解消 ＆ Grid化)
========================================================= */
.front-loop, .front-main-cont {
  margin-bottom: 100px;
}
.front-loop h2, .front-cont-header {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 32px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  color: #37352f;
  letter-spacing: -0.02em;
}
.front-cont-header .cont-ruby {
  font-size: 13px;
  color: #9e9c97;
  margin: 4px 0 0;
}
.front-cont-header .tri-border { display: none; } /* 装飾削除 */

/* --- 記事一覧 Grid対応 --- */
.front-loop-cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
}

/* 元テーマのfloatやwidth指定を完全上書きしてズレを防ぐ */
.popular_post_box, .recent_post_box, .post-loop-wrap article {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.popular_post_box .wrap-a, .recent_post_box .wrap-a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.popular_post_box .post-thumbnail, .recent_post_box .post-thumbnail {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f6f3;
}
.popular_post_box .post-thumbnail img, .recent_post_box .post-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.popular_post_box:hover .post-thumbnail img, .recent_post_box:hover .post-thumbnail img {
  transform: scale(1.05);
}
.popular_post_box .p_category, .recent_post_box .p_category {
  font-size: 12px;
  font-weight: 600;
  color: #9e9c97;
  margin: 0 0 8px 0;
}

/* 記事タイトル（高さが違っても下の要素をピシッと揃える） */
.popular_post_box h3, .recent_post_box h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 auto !important; 
  color: #37352f;
}
.popular_post_box .p_rank, .recent_post_box .p_date {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9e9c97;
}

/* =========================================================
* クローズアップ・サービス等の横並び (ズレ解消 ＆ Flexbox化)
========================================================= */
.c_box {
  margin-bottom: 64px;
  clear: both;
}
.c_box_inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 左右反転をFlexboxで処理 */
.c_box_right .c_box_inner {
  flex-direction: row-reverse;
}

/* 元テーマのfloatとwidthを解除 */
.c_box .c_img_box, .c_box .c_text {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.c_box .c_img_box {
  flex: 1;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  background-color: #f7f6f3;
}
.c_box .c_text {
  flex: 1;
}

.c_title {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}
.c_number {
  font-size: 40px;
  font-weight: 900;
  color: #f0f0f0;
  margin: 0 16px 0 0;
  line-height: 1;
}
.c_title h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #37352f;
}
.c_title .c_english {
  margin-left: 12px;
  color: #9e9c97;
  font-size: 12px;
}
.c_text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #787774;
}
.c_text p {
  color: #504d45;
  margin: 0 0 24px;
  font-size: 15px;
}
.c_text .c_btn a.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f7f6f3;
  color: #37352f;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.c_text .c_btn a.btn:hover {
  background: #e9e9e8;
  text-decoration: none;
}

/* --- 会社概要 --- */
#front-company .c_box_inner {
  align-items: flex-start;
}
#front-company .c_img_box {
  display: flex;
  justify-content: center;
  align-items: center;
}
#front-company dl {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 0;
  margin: 0;
  font-size: 14px;
}
#front-company dl:first-child {
  padding-top: 0;
}
#front-company dt {
  width: 30%;
  font-weight: 600;
  color: #787774;
}
#front-company dd {
  width: 70%;
  margin: 0;
  color: #37352f;
}

/* --- お問い合わせ --- */
#front-contact .c_box_inner {
  background: #f7f6f3;
  padding: 40px;
  border-radius: 12px;
  display: block;
  text-align: center;
}

/* pager */
.pagination {
  clear: both;
  padding: 40px 0;
  position: relative;
  font-size: 16px;
  line-height: 22px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* スマホではみ出さないよう折り返す */
}
.pagination a, .pagination > span {
  display: block;
  margin: 4px;
  padding: 8px 16px;
  text-decoration: none;
  width: auto;
  color: #787774;
  border: none;
  border-radius: 6px;
  background: transparent;
}
.pagination a:hover {
  background: #f7f6f3;
  color: #37352f;
}
.pagination .current {
  background: #f7f6f3;
  color: #37352f;
  font-weight: 700;
}

/* ----------------------------------------
* side (サイドバー)
---------------------------------------- */
.side-widget {
  margin-bottom: 48px;
  padding-bottom: 0;
  line-height: 1.6;
  font-size: 14px;
}
.side-widget .side-title {
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #9e9c97;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.side-widget a {
  color: #37352f;
  text-decoration: none;
  display: block;
}
.side-widget a:hover {
  opacity: 0.6;
}
.side-widget ul li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.side-widget ul li:last-child {
  border-bottom: none;
}
.side-widget .post-date {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9e9c97;
}

/* search */
.widget_search {
  overflow: hidden;
  background: #f7f6f3;
  border: none;
  border-radius: 6px;
  padding: 4px;
}
.widget_search input[type="text"] {
  background: transparent;
  border: none;
  padding: 12px;
  box-sizing: border-box;
  width: calc(100% - 40px);
}
.widget_search button {
  color: #9e9c97;
  background: transparent;
}

/* ----------------------------------------
* footer
---------------------------------------- */
#footer {
  color: #37352f;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}
#footer a {
  color: #787774;
}
#footer a:hover {
  color: #37352f;
}
#footer-brand-area {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}
.footer-01 {
  background: #ffffff;
  padding: 64px 0;
}
.footer-02 {
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  padding: 24px 0;
}
.footer-02 .footer-copy {
  color: #9e9c97;
}

/* =========================================================
* レスポンシブ (モバイル・タブレット対応)
========================================================= */

@media screen and (max-width: 991px) {
  /* メインエリア・サイドバーのfloatを解除して1カラム化 */
  #main, .main-inner, #side,
  .left-content #main, .right-content #main,
  .left-content .main-inner, .right-content .main-inner,
  .left-content #side, .right-content #side {
    float: none;
    width: 100%;
    margin: 0;
  }
  #side {
    padding-top: 40px;
  }
  
  #header-nav-btn a {
    background: transparent;
    color: #37352f;
  }
  #gnav-sp {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
  }
  #gnav-sp .wrap a {
    color: #37352f;
  }
  #gnav-sp #header-cont-content li a:hover {
    background: #f7f6f3;
  }
  .cat-content .post-header,
  article.page .post-header,
  article.post .post-header {
    padding: 32px 0 24px;
  }
  .post-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .wrap {
    padding: 0 16px; /* スマホでは余白を少し狭く */
  }
  .post-title {
    font-size: 24px;
  }
  .post-content h2 {
    font-size: 22px;
    margin: 48px 0 20px;
  }

  /* ズレ解消: スマホ時の縦並び */
  .front-loop-cont {
    grid-template-columns: 1fr;
  }
  .c_box_inner, .c_box_right .c_box_inner {
    flex-direction: column !important;
    gap: 24px;
  }
  .c_box .c_img_box {
    width: 100% !important;
    min-height: 200px;
  }
  
  #front-company dl {
    flex-direction: column;
  }
  #front-company dt {
    width: 100%;
    margin-bottom: 8px;
  }
  #front-company dd {
    width: 100%;
  }

  /* CTAやプロフィールの柔軟化 */
  .post-cta .post-cta-img {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .post-cta .post-cta-btn a {
    width: 100%;
  }

  .post-author {
    padding: 24px;
  }
  .post-author .post-author-img {
    float: none;
    margin-bottom: 16px;
  }
  .post-author .post-author-meta {
    margin-left: 0;
  }
  
  .post-meta-area {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-meta-area .post-meta .date {
    padding: 0 0 12px 0;
  }
  .post-meta-area .post-meta-comment {
    width: 100%;
    justify-content: flex-start;
  }
  .post-meta-area .post-meta-comment li {
    padding: 0 24px 0 0;
    border-left: none;
  }
  
  .comment-list .children {
    margin-left: 0; /* スマホではネストを深くしすぎない */
  }
}

/* =========================================================
* その他装飾・ユーティリティ
========================================================= */
.bzb-sns-btn { display: table-cell; }
.bzb-sns-btn li { vertical-align: top; }
.bzb-sns-btn li.bzb-facebook { width: 110px; }
.bzb-sns-btn li.bzb-twitter { width: 75px; }
.bzb-sns-btn li.bzb-pocket { width: 86px; }

.table-wrap {
  overflow-x: scroll;
  white-space: nowrap;
  margin-bottom: 48px;
}
.table-grad {
  position: relative;
  white-space: nowrap;
}
.table-grad:after {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 80%, white 100%);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}