@charset "utf-8";

/* ============================================================
   Company Page Stylesheet
   ページ内の section 順に合わせて整列
   ============================================================

   目次:
   0. ページヘッダー (page-header)
   1. HERO (company-hero)             ← 会社第一印象
   2. 代表挨拶 (president-message)    ← 社長メッセージ
   3. 企業情報 (corporate-data)       ← 会社概要
   4. 会社沿革 (history)              ← 沿革
   5. 取引先金融機関 (banks)          ← 銀行リスト
   6. レスポンシブ (@media)

   ============================================================ */


/* ============================================================
   0. ページヘッダー (page-header)
   ============================================================ */

.page-header{
    background: linear-gradient(to right, #edf0f4 0%, #fff 40%);
}

.header-sub{
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.header-jp {
    font-weight: 400;
}


/* ============================================================
   1. HERO (company-hero)
   ページ上部の大きなビジュアル＋メインメッセージ
   ============================================================ */

.company-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #4a4a4a;
}

.company-hero-bg {
    position: relative;
    width: 50%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5ede0;
}

.company-hero-bg img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.company-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, #4a4a4a 100%);
    pointer-events: none;
    z-index: 10;
}

.company-hero-text {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-since {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.4em;
    font-family: Arial, sans-serif;
    color: #E8D5A8;
    margin-bottom: 20px;
    border-left: 2px solid #C8A96E;
    padding-left: 12px;
}

.hero-text {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}


/* ============================================================
   2. 代表挨拶 (president-message)
   代表挨拶の1カラムレイアウト
   ============================================================ */

.president-message-section {
    padding: 100px 8%;
    background-color: #faf7f1;
    border-bottom: 1px solid #ede8df;
}

/* 代表挨拶のメインリード文 */
.section-lead {
    display: block;
    margin: -20px 0 0 0;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #C8A96E;
    line-height: 1.2;
    text-align: center;
    font-family: "Helvetica Neue", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.president-message-inner {
    max-width: 860px;
    margin: 50px auto 0;
    background: #fff;
    border: 1px solid #ede8df;
    border-top: 3px solid #C8A96E;
    border-radius: 4px;
    padding: 50px 60px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.03);
}

.president-message-text p {
    font-size: 15px;
    line-height: 2.3;
    color: #555;
    margin-bottom: 22px;
}

.president-lead {
    font-size: 17px !important;
    color: #333 !important;
    font-weight: 500;
    line-height: 2 !important;
    margin-bottom: 30px !important;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8e0d4;
}

.president-signature {
    text-align: right;
    margin-top: 40px;
    margin-bottom: 0 !important;
    padding-top: 25px;
    border-top: 1px solid #e8e0d4;
}

.president-title {
    display: block;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.president-name {
    display: block;
    font-size: 22px;
    color: #222;
    font-weight: 500;
    letter-spacing: 0.15em;
}


/* ============================================================
   3. 企業情報 (corporate-data)  ※旧 Corporate Data Section
   ============================================================ */

.corporate-data-section{
    padding: 100px 8% 150px;
    background-color: #fff;
}

.company-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sub-section-title {
    font-size: 19px;
    color: #777; 
    letter-spacing: 0.3em;
    margin-bottom: 50px;
    text-align: left;
    border-left: 3px solid #C8A96E;
    padding: 15px 0 15px 15px;
    background-color: #F7F3EC;
}

.profile-table dl {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    align-items: flex-start;
}



.profile-table dt {
    width: 250px; 
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.profile-table dd {
    flex: 1; /* 右侧内容自动占满剩余空间 */
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* --- 沿革（History）の調整 --- */
.history-section{
    padding: 100px 8%;
    background-color: #fcfcfc;
}

.history-list dl{
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.history-list dt{
    width: 150px;
    font-size: 14px;
    font-weight: 600;
    color: #B8944F;
    font-family: Arial,sans-serif;
}

.history-list dd{
    flex: 1;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* --- 取引先金融機関のレイアウト --- */
.partners-detail-section{
    padding: 100px 8% 150px;
    background-color: #fff;
}

.banks-block{
    background: #fff;
    border: 1px solid #ede8df;
    border-top: 3px solid #C8A96E;
    border-radius: 4px;
    padding: 50px 60px;
}

.banks-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.banks-list li{
    font-size: 14px;
    color: #555;
    text-align: center;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 4px;
}

@media screen and (max-width: 767px) {
    .company-hero {
        min-height: auto;
        height: auto;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
    }

    .company-hero-bg {
        width: 100%;
        height: 260px;
    }

    .company-hero-bg::after {
        display: none;
    }

    .company-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .company-hero-text {
        width: 100%;
        padding: 36px 6%;
        color: #333;
    }

    .hero-since {
        color: #B8944F;
    }

    .hero-text {
        font-size: 20px;
        color: #222;
        letter-spacing: 0.12em;
    }

    .hero-desc {
        color: #666;
        font-size: 13px;
        line-height: 1.9;
    }

    .president-message-section,
    .corporate-data-section,
    .history-section,
    .partners-detail-section {
        padding: 60px 6%;
    }

    .sub-section-title {
        font-size: 16px;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    .profile-table dl,
    .history-list dl {
        flex-direction: column;
        gap: 6px;
        padding: 18px 0;
    }

    .profile-table dt,
    .history-list dt {
        width: 100%;
    }

    .banks-block {
        padding: 30px 22px;
    }

    .banks-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .president-message-inner {
        margin-top: 35px;
        padding: 32px 22px;
    }

    .section-lead {
        font-size: 30px;
    }

    .president-signature {
        text-align: right;
    }
}
