/* ========================================
   完全独立型Aboutコンポーネント（comp-about-item）
   ======================================== */

.comp-about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.comp-about-overlay--gradient {
    background: radial-gradient(
        circle at center,
        rgba(20, 10, 10, 0.22) 0%,
        rgba(18, 8, 8, 0.38) 45%,
        rgba(12, 6, 6, 0.58) 100%
    );
}

.comp-about-overlay--texture {
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.03;
    z-index: 0;
}

.comp-about-item {
    --comp-about-margin-bottom: 150px;
    --comp-about-gap: 60px;
    --comp-about-figure-width: 50%;
    --comp-about-text-width: 50%;
    --comp-about-text-padding: 50px;
    --comp-about-text-bg: rgba(0,0,0,0.2);
    --comp-about-text-border-color: var(--food-color-accent);

    display: flex;
    align-items: center;
    margin-bottom: var(--comp-about-margin-bottom);
    gap: var(--comp-about-gap);
}

.comp-about-item--reverse {
    flex-direction: row-reverse;
}

.comp-about-item__figure {
    width: var(--comp-about-figure-width);
    position: relative;
}

.comp-about-item__figure picture {
    display: block;
    width: 100%;
}

.comp-about-item__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: block;
}

.comp-about-item__text {
    width: var(--comp-about-text-width);
    padding: var(--comp-about-text-padding);
    border-top: 1px solid var(--comp-about-text-border-color);
    position: relative;
    background: var(--comp-about-text-bg);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}

.comp-about-item__title {
    font-size: 1.5rem;
    color: var(--food-color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    font-weight: 300;
    width: 100%;
}

.comp-about-item__desc {
    font-size: var(--food-desc-size);
    line-height: var(--food-desc-line-height);
    color: #ddd;
    word-break: break-all;
    overflow-wrap: break-word;
    margin-top: 0.5rem;
    flex: 1;
    width: 100%;
}

.comp-about-item--type-a .comp-about-item__text {
    margin-top: 60px;
    border-right: 1px solid var(--comp-about-text-border-color);
}

.comp-about-item--type-b .comp-about-item__text {
    margin-bottom: 60px;
    border-top: none;
    border-bottom: 1px solid var(--comp-about-text-border-color);
    border-left: 1px solid var(--comp-about-text-border-color);
}

@media (max-width: 768px) {
    .comp-about-item {
        --comp-about-margin-bottom: 80px;
        --comp-about-gap: 30px;
        --comp-about-text-padding: 30px;
    }

    .comp-about-item,
    .comp-about-item--reverse {
        flex-direction: column;
    }

    .comp-about-item__figure,
    .comp-about-item__text {
        width: 100%;
    }

    .comp-about-item--type-a .comp-about-item__text,
    .comp-about-item--type-b .comp-about-item__text {
        margin-top: 0;
        margin-bottom: 0;
    }
}
