/* ─────────────────────────────────────────
   PAGE EMPLOYER ACTION PLAN — 一般事業主行動計画
   ───────────────────────────────────────── */

/* ── Title band (teal strip, same look as other subpages) ── */
.eap-title-band-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 2rem;
}
.eap-title-band {
    display: inline-block;
    background: #4DB1AF;
    color: #fff;
    font-size: 26px; font-weight: 700;
    line-height: 1;
    padding: 18px 48px 18px 28px;
    margin: 0;
}

/* ── Section: title with bottom teal border (underline) ── */
.eap-section {
    margin-bottom: 64px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.eap-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #008F8D;
    text-align: left;
    margin: 0 0 24px;
    border-bottom: 2px solid #008F8D;
    padding-bottom: 8px;
    display: block;
}
.eap-section-title::before,
.eap-section-title::after {
    display: none !important;
}

.eap-text {
    font-size: 15px;
    color: #333F50;
    line-height: 1.9;
    margin: 0 0 16px;
}
.eap-section-subtitle {
    margin-bottom: 28px;
}

/* ── Period Box (flat text layout per Figma) ── */
.eap-period-row {
    margin-bottom: 32px;
}
.eap-period-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #061C3D;
    margin-bottom: 8px;
    background: transparent;
    padding: 0 0 4px;
    border-bottom: 2px solid #B4DEDD;
}
.eap-period-value {
    display: block;
    font-size: 15px;
    color: #333F50;
    background: transparent;
    padding: 0;
}

/* ── Content Box / Headers ── */
.eap-content-title {
    font-size: 18px;
    font-weight: 700;
    color: #061C3D;
    margin: 0 0 20px;
    padding-bottom: 4px;
    border-bottom: 2px solid #B4DEDD;
}
.eap-goal-item {
    margin-bottom: 16px;
}
.eap-goal-item:last-child {
    margin-bottom: 0;
}
/* Goal heading: teal left bar (absolute ::before) + light bottom rule,
   same pattern as .qa-num-heading on the QA page */
.eap-goal-heading {
    font-size: 16px;
    font-weight: 700;
    color: #061C3D;
    line-height: 1.6;
    margin: 0 0 14px;
    padding: 0 12px 4px;
    border-bottom: 1px solid #CCCCCC;
    position: relative;
}
.eap-goal-heading::before {
    --padding: 5px;
    content: "";
    background: #008F8D;
    width: 6px;
    height: calc(80% - var(--padding));
    position: absolute;
    left: 0;
    bottom: var(--padding);
}
/* ● lead line above schedule rows (女性活躍推進法) */
.eap-goal-lead {
    font-weight: 700;
    color: #061C3D;
    margin-bottom: 4px;
}

/* ── Measures (Flat text with no background/border card) ── */
.eap-goal-measures {
    margin-top: 16px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}
.eap-measures-label {
    font-size: 15px;
    font-weight: 700;
    color: #061C3D;
    display: block;
    margin-bottom: 4px;
}
.eap-measures-body {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #333F50;
}

/* ── PDF Links (Single-column vertical list) ── */
.eap-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.eap-pdf-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.eap-pdf-mark {
    color: #333F50;
    font-size: 15px;
    flex-shrink: 0;
}
.eap-pdf-link span {
    color: #2778E2;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}
.eap-pdf-link:hover {
    color: #1a56a6;
}

/* ── FAQ Section Card ── */
.sn-faq-section {
    background: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    padding: 50px 24px;
    margin-bottom: 3rem;
}
.sn-faq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 29px;
}
.sn-faq-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.02em;
    color: #061C3D;
}
.sn-faq-viewall {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-decoration: underline;
    color: #008E8C;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.sn-faq-viewall:hover {
    color: #007C7A;
}
.sn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.sn-faq-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
/* Closed (default): white card, navy text, teal Q badge */
.sn-faq-q {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 20px 90px;
    min-height: 76px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.012em;
    color: #061C3D;
    transition: border-radius .2s, min-height .2s, background .2s, color .2s;
}
.sn-faq-q-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 100%;
    background: #008F8D;
    border-radius: 16px 0px 26px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: #ffffff;
    transition: background .2s, color .2s;
}
.sn-faq-q-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sn-faq-q-icon svg {
    display: block;
}

/* Open FAQ State overrides: teal header, white text, inverted Q badge */
.sn-faq-item.open .sn-faq-q {
    background: #008F8D;
    color: #ffffff;
    border-radius: 16px 16px 0 0;
    min-height: 80px;
}
.sn-faq-item.open .sn-faq-q-badge {
    background: #ffffff;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    color: #008F8D;
    height: 80px;
}
.sn-faq-q-icon .icon-minus { display: none; }
.sn-faq-item.open .sn-faq-q-icon .icon-plus  { display: none; }
.sn-faq-item.open .sn-faq-q-icon .icon-minus { display: block; }

/* FAQ Answer card layout */
.sn-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease;
    background: #ffffff;
    border: 1px solid #CCCCCC;
    border-top: none;
    border-radius: 0 0 16px 16px;
}
.sn-faq-item.open .sn-faq-a {
    max-height: 500px;
}
.sn-faq-a-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 31px;
    padding: 20px;
}
.sn-faq-a-badge {
    flex-shrink: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 31px;
    color: #FE7F00;
}
.sn-faq-a-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.012em;
    color: #061C3D;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .eap-pdf-list {
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .eap-title-band { font-size: 20px; padding: 14px 32px 14px 20px; }
    .eap-section-title { font-size: 18px; }
    .sn-faq-section { padding: 24px 16px; border-radius: 16px; }
    .sn-faq-title { font-size: 24px; line-height: 32px; }
    .sn-faq-q { padding-left: 76px; font-size: 14px; }
    .sn-faq-q-badge { width: 56px; font-size: 24px; }
    .sn-faq-a-inner { gap: 16px; padding: 16px; }
    .sn-faq-a-badge { font-size: 24px; }
    .sn-faq-a-text { font-size: 14px; }
}
