/*
Theme Name: Local innoventures SWELL Child
Theme URI: https://localinnoventures.net/
Description: 一般社団法人Local innoventures用のSWELL子テーマ。トップページ専用テンプレートを含みます。
Author: Local innoventures
Template: swell
Version: 1.2.1
Text Domain: localinnoventures-swell-child
*/

/*
 * トップページ固有のスタイルは
 * assets/css/front-page.css に分離しています。
 */

 /* =====================================================
   HEADER CTA
===================================================== */

@media screen and (min-width: 960px) {

    /* 2つのCTA共通 */
    .li-header-request > a,
    .li-header-contact > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 52px;
        padding: 0 24px !important;
        margin-left: 10px;
        font-weight: 600;
        line-height: 1.4 !important;
        transition:
            background-color .25s ease,
            color .25s ease,
            border-color .25s ease;
    }

    /* 資料請求：白地＋枠線 */
    .li-header-request > a {
        background: #FFFFFF !important;
        color: #04384c !important;
        border: 1px solid #04384c;
    }

    .li-header-request > a:hover {
        background: #04384c !important;
        color: #FFFFFF !important;
    }

    /* ご相談・お問い合わせ：メインカラー */
    .li-header-contact > a {
        background: #04384c !important;
        color: #FFFFFF !important;
        border: 1px solid #04384c;
    }

    .li-header-contact > a:hover {
        background: #fa5f51 !important;
        border-color: #fa5f51;
        color: #FFFFFF !important;
    }
}

/* =========================================================
   MEMBER PROFILE
========================================================= */

.li-member-profile {
    --main: #04384c;
    --accent: #fa5f51;
    --base: #ffffff;
    --light: #f5f8f9;
    --border: #dfe7e9;
    --text: #24383f;

    color: var(--text);
    line-height: 1.9;
}

.li-member-profile * {
    box-sizing: border-box;
}

.li-member-profile__hero {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
    padding: 48px;
    margin-bottom: 64px;
    background: var(--light);
}

.li-member-profile__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.li-member-profile__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e4ebed;
    color: #7b8d93;
    font-size: 13px;
    letter-spacing: .12em;
}

.li-member-profile__role {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.li-member-profile__name {
    margin: 0 0 6px;
    color: var(--main);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
}

.li-member-profile__kana {
    margin-bottom: 24px;
    color: #75878d;
    font-size: 13px;
    letter-spacing: .1em;
}

.li-member-profile__company {
    margin-bottom: 20px;
    font-weight: 700;
}

.li-member-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 14px;
}

.li-member-profile__section {
    max-width: 900px;
    margin: 0 auto 72px;
}

.li-member-profile__label {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.li-member-profile__section h2 {
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--main);
    font-size: clamp(24px, 3vw, 32px);
}

.li-member-profile__dream {
    padding: 36px 40px;
    border-left: 5px solid var(--accent);
    background: var(--main);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
}

.li-member-profile__history {
    padding-left: 0;
    list-style: none;
}

.li-member-profile__history li {
    position: relative;
    padding: 0 0 22px 28px;
    border-left: 1px solid #cfdadd;
}

.li-member-profile__history li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.li-member-profile__history li:last-child {
    border-left-color: transparent;
}

.li-member-profile__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 28px;
    background: var(--main);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.li-member-profile__button:hover {
    background: var(--accent);
}

@media (max-width: 767px) {
    .li-member-profile__hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .li-member-profile__photo {
        max-width: 260px;
        margin: auto;
    }

    .li-member-profile__dream {
        padding: 26px 24px;
        font-size: 18px;
    }
}
/* =========================================================
   MEMBERS CARD
========================================================= */

.li-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 40px 0 80px;
}

.li-member-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8ea;
    box-shadow: 0 8px 28px rgba(4, 56, 76, .06);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.li-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(4, 56, 76, .11);
}


/* 写真 */

.li-member-card__photo {
    overflow: hidden;
    background: #eef3f4;
}

.li-member-card__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s ease;
}

.li-member-card:hover .li-member-card__photo img {
    transform: scale(1.03);
}

.li-member-card__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    color: #94a4a9;
    font-size: 12px;
    letter-spacing: .15em;
}


/* 本文 */

.li-member-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.li-member-card__role {
    margin: 0 0 8px;
    color: #fa5f51;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.li-member-card__name {
    margin: 0;
    padding: 0;
    border: 0;
    color: #04384c;
    font-size: 25px;
    line-height: 1.35;
}

.li-member-card__kana {
    margin: 5px 0 20px;
    color: #819196;
    font-size: 12px;
}

.li-member-card__summary {
    flex: 1;
    margin: 0 0 26px;
    color: #41565d;
    font-size: 14px;
    line-height: 1.9;
}


/* リンク */

.li-member-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid #e1e8ea;
    color: #04384c !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.li-member-card__link span {
    color: #fa5f51;
    font-size: 20px;
    transition: transform .2s ease;
}

.li-member-card__link:hover span {
    transform: translateX(5px);
}


/* タブレット */

@media screen and (max-width: 959px) {

    .li-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}


/* スマートフォン */

@media screen and (max-width: 600px) {

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

    .li-member-card__body {
        padding: 24px;
    }

    .li-member-card__name {
        font-size: 23px;
    }
}
/* =========================================================
   メンバーカード：SWELLのh2装飾を解除
========================================================= */

.li-member-card h2.li-member-card__name {
    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
    background-color: transparent !important;

    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;

    box-shadow: none !important;

    color: #04384c !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-align: left !important;
}

/* SWELLの見出し用装飾も消す */
.li-member-card h2.li-member-card__name::before,
.li-member-card h2.li-member-card__name::after {
    content: none !important;
    display: none !important;
}