/*
 * /about — LLMO対策ページ「ミツプロが選ばれる理由」専用スタイル
 * Figma仕様（SP: 390px / PC: 1440px・コンテナ1024px）に準拠
 * カラー: 紺 #1a326e / 濃紺 #1a3261 / オレンジ #ff4600 / アクセント #f50 / 桃 #ffdab9
 */

.p-about {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    /* 既存サイトのヘッダー(.p-header-wrap)が position:fixed のため、
       コンテンツ全体を下げて Hero がヘッダー下に隠れないようにする */
    margin-top: 80px;
}

.p-about .breadcrumb-wrap {
    max-width: 1024px;
    margin: 0 auto;
    padding: 16px;
}

/* ============================================
   Hero
   ============================================ */
.p-about-hero {
    background-color: #ffdab9;
    padding: 40px 16px;
}

.p-about-hero__inner {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.p-about-hero__title {
    color: #1a326e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.p-about-hero__lead {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.p-about-hero__cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p-about-hero__card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px;
    text-align: center;
}

.p-about-hero__card-title {
    color: #ff5500;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.p-about-hero__card-body {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* ============================================
   コンテンツ共通
   ============================================ */
.p-about-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

.p-about-section {
    padding: 40px 0;
}

.p-about-section + .p-about-section {
    border-top: 1px solid #eee;
}

.p-about-section__head {
    margin-bottom: 16px;
}

.p-about-section__eyebrow {
    color: #ff4600;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.p-about-section__title {
    color: #1a326e;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Mission
   ============================================ */
.p-about-mission__statement {
    color: #1a326e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin: 16px 0 24px;
}

.p-about-mission__body p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 16px;
}

/* ============================================
   3つの約束
   ============================================ */
.p-about-promises__lead,
.p-about-promises__closing {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 24px;
}

.p-about-promises__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.p-about-promise {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 16px;
}

.p-about-promise__title {
    color: #1a3261;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
}

.p-about-promise__num {
    margin-right: 8px;
}

.p-about-promise__body {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.p-about-criteria {
    background: #fafafa;
    border-radius: 8px;
    padding: 20px 16px;
    margin-top: 16px;
}

.p-about-criteria__title {
    color: #1a326e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 4px 0 12px;
}

.p-about-criteria__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-about-criteria__item {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 12px;
}

.p-about-criteria__item-title {
    color: #1a3261;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
}

.p-about-criteria__item-body {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Comparison（比較表）
   ============================================ */
.p-about-comparison__lead {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.p-about-comparison__table-wrap {
    overflow-x: auto;
    border: 1px solid #1a3261;
    border-radius: 4px;
}

.p-about-comparison__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 560px;
}

.p-about-comparison__table thead th {
    background-color: #1a3261;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 16px 12px;
    line-height: 1.5;
}

.p-about-comparison__table tbody th,
.p-about-comparison__table tbody td {
    border-top: 1px solid #eaeaea;
    padding: 12px;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.7;
}

.p-about-comparison__table tbody th {
    color: #1a326e;
    font-weight: 700;
    text-align: center;
    width: 20%;
    font-size: 14px;
}

.p-about-comparison__table tbody td {
    color: #333;
}

.p-about-comparison__table tbody td strong {
    display: block;
    color: #1a3261;
    font-size: 16px;
    margin-bottom: 4px;
}

.p-about-comparison__sub {
    display: block;
    color: #6b707a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.p-about-comparison__table tbody td:last-child {
    color: #6b707a;
}

/* ============================================
   CTA カジュアル面談
   ============================================ */
.p-about-cta {
    background-color: #1a3261;
    color: #fff;
    padding: 36px 16px;
    text-align: center;
}

.p-about-cta__title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px;
}

.p-about-cta__body {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 8px;
    text-align: left;
}

.p-about-cta__button {
    display: block;
    background: #ff5500;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-about-cta__button:hover,
.p-about-cta__button:focus {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================================
   FAQ プレビュー
   ============================================ */
.p-about-faq-preview__lead {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.p-about-faq-preview__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-about-faq-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px;
}

.p-about-faq-card__q {
    color: #1a3261;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
}

.p-about-faq-card__a {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.p-about-faq-preview__more {
    display: block;
    background: #fff;
    color: #1a3261;
    border: 1px solid #1a3261;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 54px;
    margin-top: 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.p-about-faq-preview__more:hover,
.p-about-faq-preview__more:focus {
    background: #1a3261;
    color: #fff;
}

/* ============================================
   会社概要
   ============================================ */
.p-about-company {
    background: #fafafa;
    border-radius: 4px;
    padding: 24px 16px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.p-about-company__lead {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.p-about-company__list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 2;
}

.p-about-company__list a {
    color: #1a3261;
    text-decoration: underline;
}

/* ============================================
   PC レイアウト（Figma node 12150:23221 / 12154:80 準拠 / w-1024px センタリング）
   ============================================ */
@media (min-width: 768px) {
    /* PCの.p-header-wrap が position:fixed・高さ約149pxのため、ページ全体を下げる */
    .p-about {
        margin-top: 150px;
    }
    /* Hero — Figma 12154:80 */
    .p-about-hero {
        padding: 64px 72px 56px;
    }
    .p-about-hero__inner {
        gap: 20px;
        max-width: 1024px;
        text-align: center;
    }
    .p-about-hero__title {
        font-size: 44px;
        line-height: 58px;
    }
    /* PC版は1行レイアウトのためSP用の改行を抑止 */
    .p-about-hero__title br,
    .p-about-mission__statement br,
    .p-about-cta__title br {
        display: none;
    }
    .p-about-hero__lead {
        text-align: center;
        font-size: 18px;
        line-height: 1.5;
    }
    .p-about-hero__cards {
        flex-direction: row;
        gap: 18px;
        justify-content: center;
        align-items: stretch;
    }
    .p-about-hero__card {
        flex: 0 0 auto;
        width: 329px;
        min-height: 144px;
    }

    /* コンテンツ領域：PCはコンテナ1024px・左右paddingなし */
    .p-about .breadcrumb-wrap {
        padding: 16px 0;
    }
    .p-about-content {
        padding: 0;
    }
    .p-about-section {
        padding: 28px 0;
    }
    .p-about-section + .p-about-section {
        border-top: none;
        padding-top: 28px;
    }

    /* セクションタイトル共通：PCではEYEBROWとTITLEを横並び（Mission/Promises/Comparison） */
    .p-about-mission .p-about-section__head,
    .p-about-promises .p-about-section__head,
    .p-about-comparison .p-about-section__head {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .p-about-mission .p-about-section__eyebrow,
    .p-about-promises .p-about-section__eyebrow,
    .p-about-comparison .p-about-section__eyebrow {
        margin: 0;
        flex-shrink: 0;
        white-space: nowrap;
        line-height: 18px;
    }
    .p-about-section__title {
        font-size: 32px;
        line-height: 44px;
    }

    /* Mission — Figma 12154:95 */
    .p-about-mission {
        gap: 22px;
    }
    .p-about-mission__statement {
        font-size: 48px;
        line-height: 1.5;
        letter-spacing: 0.07em;
        margin: 0;
    }
    .p-about-mission__body p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* 3つの約束 — Figma 12154:101 */
    .p-about-promises__lead {
        font-size: 16px;
        line-height: 1.5;
    }
    .p-about-promises__closing {
        font-size: 16px;
        line-height: 1.5;
    }
    .p-about-promises__list {
        gap: 20px;
    }
    .p-about-promise {
        padding: 18px;
    }
    .p-about-promise__title {
        font-size: 24px;
    }
    .p-about-promise__body {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Screening criteria — PCで3カード横並び */
    .p-about-criteria {
        padding: 20px;
        margin-top: 12px;
    }
    .p-about-criteria__title {
        font-size: 20px;
    }
    .p-about-criteria__list {
        flex-direction: row;
        gap: 16px;
    }
    .p-about-criteria__item {
        flex: 1 1 0;
        padding: 18px;
    }

    /* Comparison — Figma 12154:131 */
    .p-about-comparison {
        gap: 22px;
    }
    .p-about-comparison__lead {
        font-size: 15px;
        line-height: 28px;
    }
    .p-about-comparison__table {
        min-width: 0;
    }
    .p-about-comparison__table thead th {
        font-size: 14px;
        padding: 0;
        height: 54px;
        line-height: 54px;
        vertical-align: middle;
    }
    .p-about-comparison__table thead th:first-child {
        width: 190px;
    }
    .p-about-comparison__table tbody th {
        width: 190px;
        font-size: 14px;
        line-height: 24px;
        padding: 12px;
    }
    .p-about-comparison__table tbody td {
        font-size: 14px;
        line-height: 25px;
        padding: 12px;
    }
    .p-about-comparison__table tbody td strong,
    .p-about-comparison__sub {
        font-size: 18px;
        line-height: 25px;
    }

    /* CTA — Figma 12154:161（PCはコンテナ1024pxに収める） */
    .p-about-cta {
        padding: 42px 44px;
        gap: 18px;
        max-width: 1024px;
        margin: 28px auto;
    }
    .p-about-cta__title {
        font-size: 30px;
        line-height: 42px;
        margin: 0;
    }
    .p-about-cta__body {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
        max-width: 820px;
        margin: 0 auto;
    }
    .p-about-cta__button {
        display: block;
        width: 420px;
        max-width: 100%;
        padding: 0 16px;
        line-height: 54px;
        margin: 16px auto 0;
    }

    /* FAQ preview — Figma 12154:166（Section title は縦並び維持） */
    .p-about-faq-preview {
        align-items: stretch;
    }
    .p-about-faq-preview__lead {
        font-size: 15px;
        line-height: 28px;
    }
    .p-about-faq-card {
        padding: 18px;
    }
    .p-about-faq-card__q {
        font-size: 20px;
        line-height: 28px;
    }
    .p-about-faq-card__a {
        font-size: 14px;
        line-height: 24px;
    }
    .p-about-faq-preview__more {
        display: inline-block;
        max-width: none;
        width: auto;
        padding: 0 32px;
        margin: 16px auto 0;
        line-height: 54px;
    }

    /* Company — Figma 12154:183（Section title は縦並び維持） */
    .p-about-company {
        padding: 34px;
        gap: 18px;
        margin-top: 32px;
        margin-bottom: 56px;
    }
    .p-about-company__lead {
        font-size: 15px;
        line-height: 28px;
    }
    .p-about-company__list {
        font-size: 15px;
        line-height: 30px;
    }
}
