/* ===================================
   会社概要ページ専用スタイル
   =================================== */

/* ===== MV ===== */
.ab-mv {
    position: relative;
    height: 369px;
    overflow: hidden;
}

.ab-mv-bg {
    position: absolute;
    top: -42px;
    left: 0;
    width: 100%;
    height: 573px;
}

.ab-mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-mv-title-box {
    position: absolute;
    left: 0;
    bottom: 100px;
    background: rgba(49, 49, 49, 0.6);
    padding: 10px 40px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
}

.ab-mv-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.1em;
    line-height: 1.6;
    white-space: nowrap;
}

.ab-mv-subtitle {
    position: absolute;
    left: 40px;
    top: 289px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-shadow:
        0 0 10px white,
        0 0 10px white,
        0 0 5px white,
        0 0 1.5px white;
    white-space: nowrap;
}

/* ===== 代表挨拶 ===== */
.ab-greeting {
    background: var(--color-bg-gray);
    padding: 40px 20px;
}

.ab-greeting-inner {
    max-width: 390px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ab-greeting-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.ab-ceo-photo {
    width: 126px;
    height: 189px;
    flex-shrink: 0;
    overflow: hidden;
}

.ab-ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-ceo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.ab-ceo-text p {
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 1.8;
    color: var(--color-text-dark);
}

.ab-ceo-name {
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 1.8;
    color: var(--color-text-dark);
}

/* ===== 社員紹介 ===== */
.ab-member {
    position: relative;
    overflow: hidden;
    padding: 40px;
}

.ab-member-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    min-height: 661px;
    z-index: 0;
}

.ab-member-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-member-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(153.6deg, rgba(62, 51, 40, 0.85) 3%, rgba(62, 30, 0, 0.85) 95%);
}

.ab-member-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 370px;
    margin: 0 auto;
}

.ab-member-header {
    text-shadow:
        0 0 25px black,
        0 0 25px black;
}

.ab-member-en {
    color: var(--color-white) !important;
}

.ab-member-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 1.8px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.ab-member-divider {
    height: 1px;
    width: 24px;
    background: var(--color-white);
    margin-bottom: 8px;
}

.ab-member-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 1.4px;
    line-height: 1.8;
    text-shadow:
        0 0 25px black,
        0 0 25px black;
}

.ab-member-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 31px;
}

.ab-member-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
	align-items: center;
}

.ab-member-photo {
    width: 100%;
    height: 164px;
    overflow: hidden;
    mask-image: url('../images/mask-member.svg');
    mask-size: 156px 164px;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('../images/mask-member.svg');
    -webkit-mask-size: 156px 164px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.ab-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.ab-member-info {
    text-shadow:
        0 0 25px black,
        0 0 25px black;
}

.ab-member-role {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 1.2px;
    line-height: 1.8;
	text-align: center;
}

.ab-member-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 1.8px;
    line-height: 1.5;
	text-align: center;
}

/* ===== 会社情報テーブル ===== */
.ab-company {
    background: var(--color-white);
    padding: 40px 20px;
}

.ab-company-inner {
    max-width: 390px;
    margin: 0 auto;
}

.ab-company-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ab-company-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ab-company-row dt {
    border: 1px solid var(--color-brown);
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-brown);
    letter-spacing: 1.6px;
    line-height: 1.5;
    white-space: nowrap;
    min-width: 148px;
    text-align: center;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-company-row dd {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-dark);
    letter-spacing: 1.4px;
    line-height: 1.8;
}

/* ===== PC レスポンシブ ===== */
@media (min-width: 431px) {
    .ab-mv-bg {
        top: 0;
        height: 100%;
    }

    .ab-mv {
        height: 50vw;
        max-height: 600px;
    }

    .ab-mv-title-box {
        bottom: auto;
        top: 55%;
    }

    .ab-mv-subtitle {
        top: auto;
        bottom: 15%;
    }

    .ab-greeting-inner {
        max-width: 700px;
    }

    .ab-member-content {
        max-width: 700px;
    }

    .ab-member-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-company-inner {
        max-width: 700px;
    }
	.ab-member-photo {
    width: 156px;
    height: 164px;
	}
}
