@charset "UTF-8";

/* =========================================
   Intro Section
   ========================================= */
.company-intro {
    padding: 60px 0;
    text-align: center;
}

.company-intro__text {
    max-width: 900px;
    margin: 0 auto;
    font-weight: 700; /* デザイン画像に合わせて少し太字 */
    line-height: 2;
    font-size: 1rem;
}

/* =========================================
   Greeting Section (ご挨拶)
   ========================================= */
.greeting {
    background-color: var(--white);
}

.greeting__box {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.greeting__content {
    flex: 1;
}

.greeting__heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
    color: var(--text-color);
    font-weight: 700;
}

.greeting__body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 0.95rem;
}

.greeting__body strong {
    color: var(--primary-color);
}

.greeting__signature {
    margin-top: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: right; /* 署名は右寄せ */
}

.greeting__image {
    width: 300px;
    flex-shrink: 0;
    margin-top: 100px;
}

.greeting__image img {
    width: 100%;
    height: auto;
    border-radius: 20px 0 20px 0; /* 特徴的な角丸 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.section-divider {
    border: none;
    border-top: 2px solid var(--primary-color);
    margin: 40px 0;
    opacity: 0.8;
}

/* =========================================
   Profile Section (会社概要表)
   ========================================= */
.profile {
    padding-top: 0; /* 上部の区切り線とのバランス調整 */
}

.profile-list {
    max-width: 800px;
    margin: 0 auto 60px;
    border-top: 1px solid #eee;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.profile-row dt {
    width: 150px; /* ラベル幅 */
    font-weight: 700;
    color: var(--text-color);
    flex-shrink: 0;
    padding-left: 20px;
}

.profile-row dd {
    flex: 1;
    color: var(--text-color);
    line-height: 1.6;
}

/* =========================================
   Map Section
   ========================================= */
.company-map {
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.company-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    /* Greeting */
    .greeting__box {
        flex-direction: column-reverse; /* スマホでは写真を上に */
        gap: 30px;
    }

    .greeting__image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .greeting__heading {
        font-size: 1.5rem;
    }

    /* Profile List */
    .profile-row {
        flex-direction: column;
        padding: 15px 0;
    }
    .profile-row dt {
        width: 100%;
        margin-bottom: 5px;
        padding-left: 0;
        color: var(--primary-color);
    }
    .profile-row dd {
        padding-left: 0;
    }
}