/* =========================================================
   SecHack365 Alumni Interview
   ========================================================= */


/* ---------------------------------------------------------
   Common
   --------------------------------------------------------- */

.sechack-interview {
    background-color: #f4f7fb;
    color: #102a43;
}

.sechack-interview img {
    max-width: 100%;
    height: auto;
}


/*
 * main.css では .container 自体に上下paddingが設定されているため、
 * インタビューページでは各エリアごとに調整する。
 */
.sechack-interview .container {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.interview-hero {
    background-color: #092b50;
    color: #ffffff;
}

.interview-hero .container {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* SECHACK365 ALUMNI INTERVIEW */

.interview-series {
    position: relative;
    display: inline-block;

    margin: 0 0 20px 40px;
    padding: 0;

    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.interview-series::before {
    content: "";

    position: absolute;
    top: 50%;
    left: -40px;

    width: 28px;
    height: 2px;

    background-color: #8dff44;

    transform: translateY(-50%);
}


/* Name */

.interview-name {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.interview-name-ja {
    display: inline-block;
}

.interview-name-en {
    display: inline-block;
    margin-left: 0.6em;
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.8;
    vertical-align: baseline;
}

/* Lead */

.interview-lead {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.8;
}


/* Tags */

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

.interview-tags span {
    display: inline-block;

    padding: 6px 12px;

    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 500;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;

    background-color: rgba(255, 255, 255, 0.06);
}


/* ---------------------------------------------------------
   Hero photo
   --------------------------------------------------------- */

.interview-photo {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;

    margin: 0 0 0 auto;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;

    background-color: rgba(255, 255, 255, 0.12);
}

.interview-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   MAIN
   ========================================================= */

.interview-main {
    background-color: #f4f7fb;
}

.interview-main .container {
    padding-top: 55px;
    padding-bottom: 55px;
}


/* =========================================================
   Interview content card
   ========================================================= */

.interview-content {
    padding: 38px;

    background-color: #ffffff;

    border: 1px solid #d7e0ea;
    border-radius: 18px;

    box-shadow: 0 5px 22px rgba(16, 42, 67, 0.04);
}


/* Main heading */

.interview-content > h2 {
    margin: 0 0 28px;
    padding: 0;

    color: #092b50;

    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;

    text-align: left;
}


/* Intro */

.interview-intro {
    margin: 0 0 30px !important;

    color: #19354e;

    font-size: 0.95rem;
    font-weight: 500;
    line-height: 2;
}


/* =========================================================
   Quote
   ========================================================= */

.interview-quote {
    margin: 30px 0 38px;
    padding: 24px 28px;

    color: #092b50;

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.8;

    border-left: 4px solid #20cddd;

    background-color: #eafafb;
}


/* =========================================================
   Question
   ========================================================= */

.interview-question {
    margin-bottom: 32px;
}

.interview-question:last-of-type {
    margin-bottom: 0;
}


/* Question title */

.interview-question h3 {
    margin: 0 0 15px;
    padding: 0;

    color: #0969e8;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}


/* Answer */

.interview-answer {
    padding: 22px 24px;

    border: 1px dashed #6b94c6;
    border-radius: 12px;

    background-color: #ffffff;
}

.interview-answer p {
    margin: 0 !important;

    color: #49657d;

    font-size: 0.9rem;
    line-height: 1.9;
}

/* speaker */
.interview-speaker {
    color: inherit;
    font: inherit;
    font-weight: 700;
}

/* インタビュー本文の強調マーカー */
.interview-marker {
    background: linear-gradient(
        transparent 55%,
        #dfff00 65%
    );
    font-weight: 500;
}

.interview-photo2 {
    margin-top: 10px;
}

/* =========================================================
   Message
   ========================================================= */

.interview-message {
    margin-top: 38px;
    padding: 28px 30px;

    color: #ffffff;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #123d78 0%,
        #236bef 100%
    );
}

.interview-message h2 {
    margin: 0 0 15px;
    padding: 0 0 12px;

    color: #ffffff;

    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0;

    text-align: left;

    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

.interview-message p {
    margin: 0 !important;

    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.9;
}


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

.profile-card {
    padding: 28px;

    background-color: #ffffff;

    border: 1px solid #d7e0ea;
    border-radius: 18px;

    box-shadow: 0 5px 22px rgba(16, 42, 67, 0.04);
}


/* Profile title */

.profile-title {
    position: relative;

    margin: 0 0 28px;
    padding: 0 0 15px;

    color: #163653;

    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;

    text-align: left;
}

.profile-title::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 42px;
    height: 3px;

    background-color: #28c9d9;
}


/* =========================================================
   Profile list
   ========================================================= */

.profile-list {
    margin: 0;
}

.profile-list dt,
.profile-extra dt {
    margin: 18px 0 5px;

    color: #668097;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.profile-list dt:first-child {
    margin-top: 0;
}

.profile-list dd,
.profile-extra dd {
    margin: 0;

    color: #163653;

    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.7;
}


/* =========================================================
   Profile summary
   ========================================================= */

.profile-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin: 25px 0;
}

.profile-summary-item {
    padding: 16px;

    border-radius: 12px;

    background-color: #eff4ff;
}

.profile-summary-item span {
    display: block;

    margin-bottom: 7px;

    color: #668097;

    font-size: 0.65rem;
    font-weight: 700;
}

.profile-summary-item strong {
    display: block;

    color: #1870e9;

    font-size: 1.05rem;
    font-weight: 700;
}


/* =========================================================
   Profile sections
   ========================================================= */

.profile-section {
    padding: 24px 0;

    border-top: 1px solid #dbe3eb;
}

.profile-section h3 {
    margin: 0 0 12px;

    color: #668097;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}


/* Tags */

.profile-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.profile-tags li {
    margin: 0;
    padding: 5px 9px;

    color: #27465f;

    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.4;

    border-radius: 999px;

    background-color: #eef2f6;
}


/* =========================================================
   Profile topic
   ========================================================= */

.profile-topic {
    padding: 18px;

    border: 1px solid #ff9f75;
    border-radius: 14px;

    background-color: #fffaf7;
}

.profile-topic-label {
    display: block;

    margin-bottom: 7px;

    color: #8b6b5c;

    font-size: 0.65rem;
    font-weight: 700;
}

.profile-topic strong {
    display: block;

    margin-bottom: 10px;

    color: #ff5b2e;

    font-size: 0.95rem;
    font-weight: 700;
}

.profile-topic p {
    margin: 0 !important;

    color: #365269;

    font-size: 0.78rem;
    line-height: 1.8;
}


/* =========================================================
   Extra profile
   ========================================================= */

.profile-extra {
    margin: 0;
    padding-top: 5px;
}


/* Note */

.profile-note {
    margin: 25px 0 0 !important;

    color: #8495a5;

    font-size: 0.62rem;
    line-height: 1.7;
}



/* =========================================================
   PC表示：Hero左右のブロックを内側へ寄せる
   ========================================================= */
@media (min-width: 992px) {

    /* 左：テキストブロックを右へ */
    .interview-hero .col-lg-8 {
        transform: translateX(50px);
    }

    /* 右：写真ブロックを左へ */
    .interview-hero .col-lg-4 {
        transform: translateX(-50px);
    }
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991.98px) {

    .interview-hero .container {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .interview-photo {
        max-width: 280px;

        margin-left: auto;
        margin-right: auto;
    }

    .interview-main .container {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    /*
     * Bootstrapのcol-lg指定により
     * 992px未満では本文とPROFILEが縦並びになる。
     */

}


/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 575.98px) {

    .sechack-interview .container {
        width: calc(100% - 30px);
    }


    /* Hero */

    .interview-hero .container {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .interview-series {
        margin-left: 32px;

        font-size: 0.65rem;
    }

    .interview-series::before {
        left: -32px;

        width: 22px;
    }

    .interview-name {
        font-size: 2rem;
    }

    .interview-name-en {
    margin-left: 0.5em;
    font-size: 0.9rem;
    }

    .interview-lead {
        margin-left: 0;
        margin-right: 0;

        font-size: 0.9rem;
        line-height: 1.8;
    }

    .interview-tags {
        gap: 6px;
    }

    .interview-tags span {
        padding: 5px 9px;

        font-size: 0.65rem;
    }

    .interview-photo {
        max-width: 230px;

        margin-top: 10px;
    }


    /* Main */

    .interview-main .container {
        padding-top: 25px;
        padding-bottom: 25px;
    }


    /* Interview */

    .interview-content {
        padding: 24px 20px;

        border-radius: 14px;
    }

    .interview-content > h2 {
        margin-bottom: 20px;

        font-size: 1.25rem;
    }

    .interview-intro {
        margin-left: 0 !important;
        margin-right: 0 !important;

        font-size: 0.88rem;
        line-height: 1.9;
    }

    .Editorial-Note {
        margin-left: 0 !important;
        margin-right: 0 !important;

        font-size: 0.88rem;
        line-height: 1.9;
    }

    /* Quote */

    .interview-quote {
        margin: 24px 0 30px;
        padding: 20px;

        font-size: 0.92rem;
    }


    /* Question */

    .interview-question {
        margin-bottom: 28px;
    }

    .interview-question h3 {
        font-size: 0.9rem;
    }

    .interview-answer {
        padding: 18px;
    }

    .interview-answer p {
        margin: 0 !important;

        font-size: 0.82rem;
        line-height: 1.9;
    }


    /* Message */

    .interview-message {
        margin-top: 30px;
        padding: 22px 20px;

        border-radius: 14px;
    }

    .interview-message h2 {
        font-size: 1.1rem;
    }

    .interview-message p {
        margin: 0 !important;

        font-size: 0.85rem;
    }


    /* Profile */

    .profile-card {
        padding: 24px 20px;

        border-radius: 14px;
    }

    .profile-title {
        font-size: 1.2rem;
    }


    /* main.cssのスマホ用p marginを打ち消す */

    .profile-card p,
    .interview-content p {
        margin-left: 0;
        margin-right: 0;
    }

}


/* =========================================================
   Very small device
   ========================================================= */

@media (max-width: 374.98px) {

    .sechack-interview .container {
        width: calc(100% - 24px);
    }

    .interview-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-summary {
        grid-template-columns: 1fr;
    }

}
