/* ==========================================================================
   LOG-STOCK 柔らか雑誌風アップデート版CSS（ヘッダー幅1080px最適化）
   ========================================================================== */

/* 1. 必ず1行目に配置：丸みのある見出しフォント「Zen Maru Gothic」読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700&display=swap');

/* Amazon公式欧文フォント「Amazon Ember」の読み込み */
@font-face {
    font-family: 'Amazon Ember';
    src: url('https://m.media-amazon.com/images/S/sash/pDxWAF1pBB0dzGB.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Amazon Ember';
    src: url('https://m.media-amazon.com/images/S/sash/KFPk-9IF4FqAqY-.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Amazon Ember", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
    --font-soft: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    --color-ink-soft: #33322e;   /* 真っ黒を避けた優しいチャコール */
    --color-bg-warm: #fcfbf8;    /* ほんのり温かみのある生成りホワイト */
    --color-forest-soft: #2e5447;/* 少しだけ柔らかくしたフォレストグリーン */
}

/* 2. PCヘッダー＆パンくずリストの横幅を1080pxに引き締めて中央寄せ */
.l-header__inner,
.p-breadcrumb__list {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.l-header {
    background-color: rgba(252, 251, 248, 0.96) !important;
    border-bottom: 1px solid #eae7df !important;
    box-shadow: none !important;
}

/* 3. サイト全体のトーン：真っ白×真っ黒の硬さを抜いて温かく */
body {
    background-color: var(--color-bg-warm) !important;
    color: var(--color-ink-soft) !important;
    font-family: var(--font-body) !important;
    -webkit-font-smoothing: antialiased;
}

.post_content,
.post_content p,
.post_content table,
.post_content li {
    font-family: var(--font-body) !important;
    color: var(--color-ink-soft);
    line-height: 1.88;
    letter-spacing: 0.02em;
}

.post_content > p {
    margin-bottom: 1.65em;
}

/* 4. タイトル・見出し（H1〜H3）・サイト名・ボタンに柔らかい丸ゴシックを適用 */
.c-postTitle__ttl,
.p-articleHead__title,
.p-postList__title,
.c-headLogo__txt,
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.p-mainVisual__slideTitle {
    font-family: var(--font-soft) !important;
    color: var(--color-ink-soft);
    letter-spacing: 0.03em;
}

/* H2：角の取れた優しい章見出し */
.post_content h2 {
    background: transparent !important;
    border: none !important;
    border-left: 4px solid var(--color-forest-soft) !important;
    border-bottom: 1px solid #e7e4dc !important;
    padding: 0.45em 0 0.55em 0.85em !important;
    margin: 2.8em 0 1.25em !important;
    color: #242320 !important;
    font-weight: 700 !important;
    line-height: 1.5;
}
.post_content h2::before,
.post_content h2::after {
    content: none !important;
    display: none !important;
}

/* H3：余白と細い罫線のみの柔らかい小見出し */
.post_content h3 {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px dashed #dfdcd3 !important;
    padding: 0.25em 0 0.45em 0 !important;
    margin: 2.1em 0 0.9em !important;
    color: #242320 !important;
    font-weight: 700 !important;
    line-height: 1.55;
}
.post_content h3::before,
.post_content h3::after {
    content: none !important;
    display: none !important;
}

/* 太字 */
.post_content strong {
    background: none !important;
    color: #242320;
    font-weight: 700;
}

/* 箇条書き */
.post_content ul:not(.p-toc__list) {
    list-style: disc !important;
    padding-left: 1.4em !important;
    margin: 1.2em 0 1.6em !important;
}
.post_content ul:not(.p-toc__list) li {
    list-style-type: disc !important;
    padding-left: 0.2em !important;
    margin-bottom: 0.55em;
}
.post_content ul:not(.p-toc__list) li::before {
    content: none !important;
    display: none !important;
}

/* 5. 目次・ボックス・ボタンの角丸を柔らかく（4px → 10px） */
.p-toc {
    background-color: #f6f4ee !important;
    border: 1px solid #e7e4dc !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 22px 26px !important;
    margin: 2.2em auto !important;
}

.p-toc__ttl {
    font-family: var(--font-soft) !important;
    color: var(--color-forest-soft) !important;
    border-bottom: 1px solid #dcd9cf !important;
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
    font-size: 0.96em !important;
    font-weight: 700 !important;
}

.p-toc__list a {
    color: #403f3b !important;
    border-bottom: 1px solid #ebe8e0 !important;
    padding: 8px 6px !important;
}
.p-toc__list a:hover {
    color: var(--color-forest-soft) !important;
    background-color: transparent !important;
}

/* 記事内のカード・ボタンにも優しい丸みを反映 */
.post_content a[style*="border-radius:4px"] {
    border-radius: 8px !important;
}
.post_content div[style*="border-radius:4px"],
.post_content div[style*="border-radius:6px"] {
    border-radius: 10px !important;
}

/* お問い合わせ送信ボタン */
.wpcf7-form input[type="submit"] {
    background-color: var(--color-forest-soft) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 38px !important;
    font-family: var(--font-soft) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.wpcf7-form input[type="submit"]:hover {
    opacity: 0.88;
}

/* 著者名（改行防止） */
.p-authorBox__name {
    font-size: 0.9em;
    white-space: nowrap;
}

/* ==========================================================================
   脱AIデザイン調整：余白の最適化 ＆ 上線・左線の完全撤廃
   ========================================================================== */

/* 1. タイトル下〜PRバーの間の不自然な大余白をピタッと詰める */
.p-articleHead {
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
}
.post_content {
    margin-top: 10px !important;
}

/* 2. 全ボックスの「AIっぽい上線・左線」を撤廃し、ふんわり影のカードへ統一 */
.post_content div[style*="border-top:3px"],
.post_content div[style*="border-top: 3px"],
.post_content div[style*="border-left:4px"],
.post_content div[style*="border-left: 4px"] {
    border: 1px solid #ece9e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(45, 42, 36, 0.045) !important;
}

/* 3. H2見出しの左縦線も撤廃し、雑誌の章見出しのようにシンプルに */
.post_content h2 {
    border-left: none !important;
    padding-left: 0 !important;
    padding-bottom: 0.55em !important;
    border-bottom: 1.5px solid #dfdCD2 !important;
}

/* TOPメインビジュアルのタイトル文字を白に戻す */
.p-mainVisual__slideTitle {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28) !important;
}

/* TOPメインビジュアルのサブメッセージも柔らかい丸ゴシックに統一 */
.p-mainVisual__slideText {
    font-family: var(--font-soft) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28) !important;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   LOG-STOCK 柔らか雑誌風アップデート版CSS（ヘッダー幅1080px最適化）
   ========================================================================== */

/* 1. 必ず1行目に配置：丸みのある見出しフォント「Zen Maru Gothic」読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700&display=swap');

/* Amazon公式欧文フォント「Amazon Ember」の読み込み */
@font-face {
    font-family: 'Amazon Ember';
    src: url('https://m.media-amazon.com/images/S/sash/pDxWAF1pBB0dzGB.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Amazon Ember';
    src: url('https://m.media-amazon.com/images/S/sash/KFPk-9IF4FqAqY-.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Amazon Ember", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
    --font-soft: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    --color-ink-soft: #33322e;   /* 真っ黒を避けた優しいチャコール */
    --color-bg-warm: #fcfbf8;    /* ほんのり温かみのある生成りホワイト */
    --color-forest-soft: #2e5447;/* 少しだけ柔らかくしたフォレストグリーン */
}

/* 2. PCヘッダー＆パンくずリストの横幅を1080pxに引き締めて中央寄せ */
.l-header__inner,
.p-breadcrumb__list {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.l-header {
    background-color: rgba(252, 251, 248, 0.96) !important;
    border-bottom: 1px solid #eae7df !important;
    box-shadow: none !important;
}

/* 3. サイト全体のトーン：真っ白×真っ黒の硬さを抜いて温かく */
body {
    background-color: var(--color-bg-warm) !important;
    color: var(--color-ink-soft) !important;
    font-family: var(--font-body) !important;
    -webkit-font-smoothing: antialiased;
}

.post_content,
.post_content p,
.post_content table,
.post_content li {
    font-family: var(--font-body) !important;
    color: var(--color-ink-soft);
    line-height: 1.88;
    letter-spacing: 0.02em;
}

.post_content > p {
    margin-bottom: 1.65em;
}

/* 4. タイトル・見出し（H1〜H3）・サイト名・ボタンに柔らかい丸ゴシックを適用 */
.c-postTitle__ttl,
.p-articleHead__title,
.p-postList__title,
.c-headLogo__txt,
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.p-mainVisual__slideTitle {
    font-family: var(--font-soft) !important;
    color: var(--color-ink-soft);
    letter-spacing: 0.03em;
}

/* H2：角の取れた優しい章見出し */
.post_content h2 {
    background: transparent !important;
    border: none !important;
    border-left: 4px solid var(--color-forest-soft) !important;
    border-bottom: 1px solid #e7e4dc !important;
    padding: 0.45em 0 0.55em 0.85em !important;
    margin: 2.8em 0 1.25em !important;
    color: #242320 !important;
    font-weight: 700 !important;
    line-height: 1.5;
}
.post_content h2::before,
.post_content h2::after {
    content: none !important;
    display: none !important;
}

/* H3：余白と細い罫線のみの柔らかい小見出し */
.post_content h3 {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px dashed #dfdcd3 !important;
    padding: 0.25em 0 0.45em 0 !important;
    margin: 2.1em 0 0.9em !important;
    color: #242320 !important;
    font-weight: 700 !important;
    line-height: 1.55;
}
.post_content h3::before,
.post_content h3::after {
    content: none !important;
    display: none !important;
}

/* 太字 */
.post_content strong {
    background: none !important;
    color: #242320;
    font-weight: 700;
}

/* 箇条書き */
.post_content ul:not(.p-toc__list) {
    list-style: disc !important;
    padding-left: 1.4em !important;
    margin: 1.2em 0 1.6em !important;
}
.post_content ul:not(.p-toc__list) li {
    list-style-type: disc !important;
    padding-left: 0.2em !important;
    margin-bottom: 0.55em;
}
.post_content ul:not(.p-toc__list) li::before {
    content: none !important;
    display: none !important;
}

/* 5. 目次・ボックス・ボタンの角丸を柔らかく（4px → 10px） */
.p-toc {
    background-color: #f6f4ee !important;
    border: 1px solid #e7e4dc !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 22px 26px !important;
    margin: 2.2em auto !important;
}

.p-toc__ttl {
    font-family: var(--font-soft) !important;
    color: var(--color-forest-soft) !important;
    border-bottom: 1px solid #dcd9cf !important;
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
    font-size: 0.96em !important;
    font-weight: 700 !important;
}

.p-toc__list a {
    color: #403f3b !important;
    border-bottom: 1px solid #ebe8e0 !important;
    padding: 8px 6px !important;
}
.p-toc__list a:hover {
    color: var(--color-forest-soft) !important;
    background-color: transparent !important;
}

/* 記事内のカード・ボタンにも優しい丸みを反映 */
.post_content a[style*="border-radius:4px"] {
    border-radius: 8px !important;
}
.post_content div[style*="border-radius:4px"],
.post_content div[style*="border-radius:6px"] {
    border-radius: 10px !important;
}

/* お問い合わせ送信ボタン */
.wpcf7-form input[type="submit"] {
    background-color: var(--color-forest-soft) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 38px !important;
    font-family: var(--font-soft) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.wpcf7-form input[type="submit"]:hover {
    opacity: 0.88;
}

/* 著者名（改行防止） */
.p-authorBox__name {
    font-size: 0.9em;
    white-space: nowrap;
}

/* ==========================================================================
   脱AIデザイン調整：余白の最適化 ＆ 上線・左線の完全撤廃
   ========================================================================== */

/* 1. タイトル下〜PRバーの間の不自然な大余白をピタッと詰める */
.p-articleHead {
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
}
.post_content {
    margin-top: 10px !important;
}

/* 2. 全ボックスの「AIっぽい上線・左線」を撤廃し、ふんわり影のカードへ統一 */
.post_content div[style*="border-top:3px"],
.post_content div[style*="border-top: 3px"],
.post_content div[style*="border-left:4px"],
.post_content div[style*="border-left: 4px"] {
    border: 1px solid #ece9e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(45, 42, 36, 0.045) !important;
}

/* 3. H2見出しの左縦線も撤廃し、雑誌の章見出しのようにシンプルに */
.post_content h2 {
    border-left: none !important;
    padding-left: 0 !important;
    padding-bottom: 0.55em !important;
    border-bottom: 1.5px solid #dfdCD2 !important;
}

/* TOPメインビジュアルのタイトル文字を白に戻す */
.p-mainVisual__slideTitle {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28) !important;
}

/* TOPメインビジュアルのサブメッセージも柔らかい丸ゴシックに統一 */
.p-mainVisual__slideText {
    font-family: var(--font-soft) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28) !important;
    letter-spacing: 0.03em;
}


/* 記事ページ：パンくず下のタイトル上余白をスッキリ調整 */
.p-breadcrumb {
  margin-bottom: 0 !important;
}
#content.l-content:has(.l-article) {
  padding-top: 20px !important;
  margin-top: 0 !important;
}
#main_content.l-article,
#main_content.l-article .l-mainContent__inner,
.p-articleHead,
.c-postTitle__ttl {
  padding-top: 0 !important;
  margin-top: 0 !important;
}