@charset "utf-8";

/* 機電情系女子のロールモデル研究：一覧・共通パーツ */
.for_lady_category {
    display: inline-block;
    padding: 3px 16px;
    border-radius: 8px;
    background: #fa4195;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}

.for_lady_tag_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.for_lady_tag_list li {
    padding: 7px 25px;
    background: #FDE5F0;
    border-radius: 30px;
    color: #ed559b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.for_lady_link_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px 48px;
    border-radius: 40px;
    color: #fff;
    background: linear-gradient(180deg, #0c537f, #273167);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.for_lady_link_btn span {
    position: absolute;
    right: 24px;
    font-weight: 600;
}

.for_lady_link_btn:hover {
    color: #fff;
    background: rgb(64, 64, 64);
    background: linear-gradient(180deg, rgba(64, 64, 64, 1) 0%, rgba(0, 0, 0, 1) 100%);
    opacity: 1;
}

.for_lady_section_title {
    display: flex;
    align-items: center;
    gap: 70px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.for_lady_section_title:before, .for_lady_section_title:after {
    content: "";
    flex: 1;
    border-top: 2px dotted #d8b4cb;
}

.for_lady_other {
    padding: 80px 0;
    background: #e9eef1;
}

.for_lady_other h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.for_lady_card_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.for_lady_card_placeholder {
    aspect-ratio: 1.25;
    background: linear-gradient(#888 0 60%, #fff 60%);
}

.for_lady_backbtn {
    display: inline-block;
    margin-top: 32px;
    font-size: 16px;
}

a:focus-visible {
    outline: 2px solid #ed559b;
    outline-offset: 4px;
}

@media screen and (max-width:767px) {
    .for_lady_category {
        padding: 2px 12px;
        font-size: 15px;
    }

    .for_lady_tag_list {
        gap: 8px;
    }

    .for_lady_tag_list li {
        padding: 6px 12px;
        font-size: 13px;
    }

    .for_lady_section_title {
        gap: 12px;
        font-size: 22px;
    }

    .for_lady_section_title span {
        max-width: 75%;
    }

    .for_lady_other {
        padding: 48px 20px;
    }

    .for_lady_other h2 {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .for_lady_card_list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .for_lady_backbtn {
        font-size: 14px;
        line-height: 1.8;
    }

    .for_lady_link_btn {
        font-size: 16px;
        padding: 16px 40px;
    }

}

/* ロールモデル一覧：TOP・関連記事等で共用 */
.for_lady_card {
    min-width: 0;
}

.for_lady_card_link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d4d7da;
    border-radius: 16px;
    background: #fff;
    color: #171717;
}

.for_lady_card_link:hover {
    color: #171717;
    opacity: .8;
}

.for_lady_card_visual {
    position: relative;
}

.for_lady_card_photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.63;
    object-fit: cover;
}

.for_lady_card_visual .for_lady_category {
    position: absolute;
    top: 15px;
    left: 18px;
}

.for_lady_card_body {
    position: relative;
    padding: 36px 18px 20px;
}

.for_lady_card_logo {
    position: absolute;
    top: -54px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 72px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.for_lady_card_logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.for_lady_card_body h3 {
    font-family: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 3.2em;
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
}

.for_lady_card_name {
    margin: 0 0 20px;
    color: #555;
    font-size: 15px;
}

.for_lady_card_tags {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.for_lady_card_tags .for_lady_tag_list {
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.for_lady_card_tags .for_lady_tag_list li {
    flex-shrink: 0;
    padding: 6px 16px;
    font-size: 12px;
    white-space: nowrap;
}

.for_lady_card_tags [hidden] {
    display: none;
}

.for_lady_card_more {
    flex-shrink: 0;
    font-size: 16px;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media screen and (max-width:767px) {
    .for_lady_card_body {
        padding: 34px 16px 20px;
    }
    .for_lady_card_body h3 {
        font-size: 20px;
        display: block;
    }
    .for_lady_card_tags .for_lady_tag_list li {
        padding: 6px 12px;
        font-size: 11px;
    }

    .for_lady_card_name{
        font-size: 14px;
    }
}
