/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

/* ===== 投稿詳細ページ ===== */
.cds-single-wrap {
    background: #F5F5F5;
    min-height: 100vh;
}

.cds-breadcrumb {
    background: #fff;
    padding: 12px 32px;
    border-bottom: 1px solid #ECEFF1;
    font-size: 12px;
    color: #90A4AE;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cds-breadcrumb a {
    color: #3B6D11;
    text-decoration: none;
}

.cds-single-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    padding: 36px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 記事本体 */
.cds-single-article {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
}

.cds-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cds-single-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 4px;
}

.cds-single-date {
    font-size: 12px;
    color: #90A4AE;
}

.cds-single-title {
    font-size: 26px;
    font-weight: 500;
    color: #37474F;
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ECEFF1;
}

.cds-single-thumb {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.cds-single-thumb img {
    width: 100%;
    height: auto;
}

.cds-single-body {
    font-size: 15px;
    color: #37474F;
    line-height: 1.9;
}

.cds-single-body p { margin-bottom: 20px; }

.cds-single-body h2 {
    font-size: 20px;
    font-weight: 500;
    color: #37474F;
    margin: 32px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #3B6D11;
}

.cds-single-body h3 {
    font-size: 17px;
    font-weight: 500;
    color: #37474F;
    margin: 24px 0 12px;
}

.cds-single-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.cds-single-body ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 前後ナビ */
.cds-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #ECEFF1;
}

.cds-post-nav-prev a,
.cds-post-nav-next a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #F5F5F5;
    border: 1px solid #ECEFF1;
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
}

.cds-post-nav-next a {
    text-align: right;
}

.cds-post-nav-label {
    font-size: 11px;
    color: #90A4AE;
}

.cds-post-nav-title {
    font-size: 13px;
    font-weight: 500;
    color: #37474F;
    line-height: 1.4;
}

/* 一覧に戻る */
.cds-back-btn {
    text-align: center;
    margin-top: 20px;
}

.cds-back-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #3B6D11;
    color: #3B6D11;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
}

/* サイドバー */
.cds-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cds-sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.cds-sidebar-title {
    font-size: 12px;
    font-weight: 500;
    color: #3B6D11;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ECEFF1;
}

.cds-cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cds-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    background: #F5F5F5;
    text-decoration: none;
    font-size: 13px;
    color: #37474F;
}

.cds-cat-list li a:hover { background: #EAF3DE; }

.cds-cat-count {
    font-size: 11px;
    color: #90A4AE;
}

.cds-recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cds-recent-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ECEFF1;
}

.cds-recent-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cds-recent-date {
    font-size: 11px;
    color: #90A4AE;
}

.cds-recent-list li a {
    font-size: 13px;
    color: #37474F;
    text-decoration: none;
    line-height: 1.5;
}

.cds-recent-list li a:hover { color: #3B6D11; }

/* CTAバナー */
.cds-sidebar-cta {
    background: #3B6D11;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.cds-sidebar-cta-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
}

.cds-sidebar-cta-sub {
    font-size: 12px;
    color: #A5D6A7;
    margin-bottom: 14px;
    line-height: 1.6;
}

.cds-sidebar-cta a {
    display: block;
    background: #fff;
    color: #3B6D11;
    font-size: 13px;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
}

/* 記事エリアの幅を広げる */
.cds-single-inner {
    grid-template-columns: 1fr 260px !important;
    padding: 28px 40px !important;
}

/* 記事本体の余白調整 */
.cds-single-article {
    padding: 32px 36px !important;
}

/* サイドバーカードの余白 */
.cds-sidebar-card {
    padding: 18px !important;
}

/* カテゴリーリストのスタイル */
.cds-cat-list {
    list-style: none !important;
}

.cds-cat-list li a {
    font-size: 13px !important;
    padding: 8px 12px !important;
}

/* 最新記事リスト */
.cds-recent-list {
    list-style: none !important;
}

.cds-recent-list li a {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* 前後ナビの調整 */
.cds-post-nav {
    margin-top: 28px !important;
}

.cds-post-nav-prev a,
.cds-post-nav-next a {
    min-height: 60px !important;
}
/* ===== 採用応募フォーム専用デザイン ===== */

#wpcf7-f189-p51-o1 input[type="text"],
#wpcf7-f189-p51-o1 input[type="email"],
#wpcf7-f189-p51-o1 input[type="tel"],
#wpcf7-f189-p51-o1 select,
#wpcf7-f189-p51-o1 textarea {
    width: 100% !important;
    border: 1px solid #CFD8DC !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #37474F !important;
    background: #FFFFFF !important;
    margin-top: 4px !important;
}

#wpcf7-f189-p51-o1 input[type="text"]:focus,
#wpcf7-f189-p51-o1 input[type="email"]:focus,
#wpcf7-f189-p51-o1 input[type="tel"]:focus,
#wpcf7-f189-p51-o1 select:focus,
#wpcf7-f189-p51-o1 textarea:focus {
    border-color: #3B6D11 !important;
    outline: none !important;
}

#wpcf7-f189-p51-o1 textarea {
    height: 140px !important;
    resize: vertical !important;
}

#wpcf7-f189-p51-o1 .wpcf7-acceptance {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #78909C !important;
    margin: 12px 0 20px !important;
}

#wpcf7-f189-p51-o1 .wpcf7-acceptance input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: #3B6D11 !important;
}

#wpcf7-f189-p51-o1 input[type="submit"] {
    width: 100% !important;
    background: #3B6D11 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

#wpcf7-f189-p51-o1 input[type="submit"]:hover {
    background: #2d5509 !important;
}