/* ===================================
   会社概要ページ - スタイルシート
   =================================== */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.company-page {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ===================================
   ページタイトルエリア
   =================================== */
.page-title-area {
    margin-bottom: 80px;
}

.page-title-en {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.page-title-ja {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

/* ===================================
   お問合せフォームセクション
=================================== */

.p-contact{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 20px;
}

.p-contact-left {
    display: grid;
    align-content: start;
    row-gap: 35px;
}

.p-contact-right {
    padding: 45px;
    background-color: #fff;
    border: 0.5px solid var(--color-border);
    border-radius: 10px;
}

.p-contact-left-subtitle {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.8;
    margin-block: var(--half-read);
}

.p-contact-left-desc {
    font-size: 12px;
    line-height: 2.2;
    margin-block: var(--half-read);
}

.editor-styles-wrapper {
    --color-main: #6a82f6;
    --half-read: calc((1em - 1lh) / 2);
    font-size: 16px;
    color: #333;
}

/* ===================================
   レスポンシブ対応
=================================== */

@media (max-width: 767px) {
    .p-contact {
        row-gap: 25px;
    }

    .p-contact {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .p-contact-left {
        margin-top: -10px;
        row-gap: 25px;
    }

    .p-contact-left-subtitle {
        font-size: 14px;
        line-height: 2;
    }

    .p-contact-right {
        padding: 20px;
        border-radius: 5px;
    }
}