@charset "utf-8";
/*
Template: jstork
Theme Name: stork_custom
Theme URI:http://open-cage.com/stork/

  Brand Colors
  --yellow : #fed700
  --black  : #111111
  --green  : #06c755
  --white  : #ffffff
*/

/* ============================================================
   1. ヘッダー全体
   ============================================================ */

/* #inner-header が実際のteal発生源 — 直接上書き */
#inner-header,
header.header,
header.header #inner-header,
header.header .wrap.cf {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
}

header.header {
    border-bottom: 4px solid #fed700 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ヘッダー上部の隙間ゼロ */
#container,
#container > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* #container の overflow:hidden を解除 → アイキャッチ全幅表示を許可 */
#container {
    overflow: visible !important;
}

/* .site_description（サイト説明文）が出ていれば非表示 */
.site_description {
    display: none !important;
}

#inner-header.wrap.cf {
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 56px;
    gap: 8px;
}

/* ロゴ */
#logo .h1.text a,
#logo h1.text a,
#logo .h1 a,
#logo h1 a {
    color: #fed700 !important;
    font-weight: 900 !important;
    font-size: 1.3em !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
#logo {
    flex: 1 !important;
}

/* ヘッダー内 LINE査定ボタン（JS挿入、CSS側でスタイル定義） */
.header-line-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #06c755 !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 0.78em !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.4) !important;
    transition: opacity 0.2s !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
}
.header-line-cta:hover {
    opacity: 0.85 !important;
    color: #fff !important;
}
.header-line-cta::before {
    content: "LINE";
    font-size: 0.75em;
    background: #fff;
    color: #06c755;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 900;
    line-height: 1;
}

/* 検索ボタン非表示 */
.search_btn {
    display: none !important;
}

/* ============================================================
   2. パンくずリスト
   ============================================================ */

#breadcrumb,
nav.breadcrumb,
.breadcrumb {
    background: #f5f5f5 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 0.78em;
    padding: 6px 0 !important;
}
#breadcrumb a,
#breadcrumb span,
.breadcrumb a,
.breadcrumb span {
    color: #888 !important;
}
#breadcrumb a:hover,
.breadcrumb a:hover {
    color: #fed700 !important;
    text-decoration: none !important;
}

/* ============================================================
   3. LP 誘導バー（JS挿入、CSS側でスタイル定義）
   ============================================================ */

#lp-guide-bar {
    background: #fed700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e6c200;
    position: sticky;
    top: 0;
    z-index: 999;
}
#lp-guide-bar .lp-guide-text {
    font-size: 0.85em;
    font-weight: bold;
    color: #111;
    white-space: nowrap;
}
#lp-guide-bar .lp-guide-btn {
    display: inline-block;
    background: #111;
    color: #fed700 !important;
    font-weight: 900;
    font-size: 0.82em;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
}
#lp-guide-bar .lp-guide-btn:hover {
    opacity: 0.8;
}
#lp-guide-bar .lp-line-btn {
    display: inline-block;
    background: #06c755;
    color: #fff !important;
    font-weight: 900;
    font-size: 0.82em;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
}
#lp-guide-bar .lp-line-btn:hover {
    opacity: 0.85;
}

/* ============================================================
   4. 記事ヘッダー（カテゴリ・タイトル・メタ）
   ============================================================ */

.cat-name {
    background: #fed700 !important;
    color: #111 !important;
    font-weight: 900 !important;
    padding: 3px 10px !important;
    border-radius: 3px !important;
    font-size: 0.78em !important;
}

h1.entry-title.single-title {
    font-size: 1.45em !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    border-left: 5px solid #fed700 !important;
    padding-left: 14px !important;
    margin: 14px 0 20px !important;
    color: #111 !important;
}

.byline.entry-meta {
    color: #999 !important;
    font-size: 0.82em !important;
}

/* ============================================================
   5. SNSシェアボタン — 非表示
   ============================================================ */

.share.short,
.sharewrap,
.sns-shortbox,
div.share {
    display: none !important;
}

/* ============================================================
   6. アイキャッチ（figure.eyecatch）：画面幅いっぱい＋オーバーレイ
   ============================================================ */

/* JStorkのeyecatch（アイキャッチ未設定時の残骸）を非表示 */
figure.eyecatch:not(:has(img)) {
    display: none !important;
}

/* アイキャッチを画面幅いっぱいに展開 */
figure.eyecatch {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 2.4em !important;
    overflow: hidden;
    max-height: 500px;
    border-radius: 0 !important;
}
figure.eyecatch img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}
/* グラデーションオーバーレイ（上：薄暗 / 下：濃暗） */
figure.eyecatch::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg,
            rgba(0,0,0,0.45) 0%,
            transparent 40%,
            transparent 55%,
            rgba(0,0,0,0.75) 100%
        );
    pointer-events: none;
    z-index: 1;
}
/* 黄色「買取実績」バッジ */
figure.eyecatch::before {
    content: '★ 買取実績';
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fed700;
    color: #111;
    font-weight: 900;
    font-size: 0.82em;
    padding: 6px 18px;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.06em;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
/* figcaption を画像内に溶け込ませる */
figure.eyecatch figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.8em;
    padding: 10px 20px;
    background: transparent;
    text-align: left;
    z-index: 2;
    margin: 0;
}

/* ============================================================
   7. 記事本文（entry-content）
   ============================================================ */

/* H2：LPイエロー */
.entry-content h2,
.entry-content h2 a {
    background: #fed700 !important;
    color: #111 !important;
    padding: 11px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 900 !important;
    font-size: 1.1em !important;
    display: block !important;
    margin-bottom: 0.5em !important;
}

/* H3 */
.entry-content h3 {
    border-left: 5px solid #fed700 !important;
    padding-left: 12px !important;
    font-weight: bold !important;
    background: none !important;
    color: #222 !important;
}

/* テーブル */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 0.94em;
}
.entry-content table th,
.entry-content table td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
    line-height: 1.55;
}
.entry-content table th {
    background: #f5f5f5;
    font-weight: bold;
    width: 36%;
    white-space: nowrap;
}
.entry-content table thead th {
    background: #222;
    color: #fff;
    width: auto;
}
.entry-content table tr:nth-child(even) td {
    background: #fafafa;
}

/* FAQ (DL/DT/DD) */
.entry-content dl {
    margin: 1.5em 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}
.entry-content dt {
    background: #fffde6;
    border-left: 5px solid #fed700;
    padding: 10px 14px;
    font-size: 0.95em;
    font-weight: bold;
    color: #222;
    margin: 0;
}
.entry-content dd {
    padding: 10px 14px 12px 18px;
    margin: 0;
    font-size: 0.93em;
    color: #444;
    border-bottom: 1px solid #eee;
    line-height: 1.8;
    background: #fff;
}
.entry-content dd:last-child {
    border-bottom: none;
}

/* ── 記事内インライン画像 ── */
.entry-content figure {
    margin: 1.8em 0;
    text-align: center;
}
.entry-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
}
.entry-content figure figcaption {
    font-size: 0.82em;
    color: #999;
    margin-top: 6px;
}

/* リスト */
.entry-content ul li { margin-bottom: 0.4em; }
.entry-content ol li { margin-bottom: 0.6em; line-height: 1.7; }

/* ============================================================
   8. 非表示要素
   ============================================================ */

#comments, .comments-area, .comment-respond { display: none !important; }
#related, .related-entries, #recommend, .yarpp-related { display: none !important; }

/* ============================================================
   9. フローティングLINEバナー
   ============================================================ */

.floating-banner {
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.25s;
}
.floating-banner:hover { opacity: 0.88; transform: scale(1.03); }

@media screen and (min-width: 768px) {
    .floating-banner {
        right: 20px; bottom: 20px;
        width: 280px; padding: 1.4em;
        border-radius: 12px;
        background: linear-gradient(135deg, #00b900 0%, #00e676 100%);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    }
    .floating-banner img { width: 100%; height: auto; display: block; }
}
@media screen and (max-width: 767px) {
    .floating-banner {
        left: 0; bottom: 0; width: 100%;
        text-align: center; padding: 10px 0;
        background: linear-gradient(135deg, #00b900 0%, #00AA00 100%);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
    .floating-banner img { width: 65%; height: auto; margin-left: 20px; }
}

/* ============================================================
   10. レイアウト調整
   ============================================================ */

.page-full.wide .entry-content {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 767px) {
    #container { padding-bottom: 70px; }
    #lp-guide-bar .lp-guide-text { display: none; }
}
