/* ========== INTERVIEW PAGE STYLES ========== */

/* ========== MAIN SECTION ========== */
.interview-main-section {
    background: #ffffff;
    padding: 8rem 0 6rem 0;
    margin-top: 5rem;
    min-height: 100vh;
}

.interview-page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.interview-page-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

/* ========== INTERVIEW GRID ========== */
.interview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* ========== INTERVIEW CARD ========== */
.interview-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    cursor: default;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 188, 212, 0.1);
}

.interview-card-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.interview-card-left {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #ffffff;
}

.interview-card-left--large {
    height: 300px;
    padding: 0;
}

.interview-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.interview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.2);
    border-radius: 12px 12px 0 0;
}

.interview-image--logo {
    object-fit: contain;
}

.interview-card-right {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

/* ========== CARD HEADER ========== */
.interview-card-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.interview-card-header::after {
    content: '';
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    right: -2.5rem;
    height: 5px;
    background: #00bcd4;
    border-radius: 2px;
    transform-origin: right;
    transform: scaleX(0);
}

.interview-card.animate .interview-card-header::after {
    animation: slideInFromRight 1s ease-out forwards;
}

@keyframes slideInFromRight {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.interview-company-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    opacity: 0;
    transform: translateX(-30px);
}

.interview-card.animate .interview-company-name {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.interview-company-type {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.interview-company-type--large {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: #00bcd4;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CARD BODY ========== */
.interview-card-body {
    margin-bottom: 2rem;
    flex: 1;
}

.interview-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 1.5rem 0;
}

.interview-summary--headline {
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.3;
    margin: 0 0 2rem 0;
    text-align: center;
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Arial Black', sans-serif;
    letter-spacing: 0.05em;
}

.interview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.interview-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 188, 212, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========== CARD FOOTER ========== */
.interview-card-footer {
    display: flex;
    justify-content: flex-end;
}

.interview-read-more {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.interview-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10001;
    animation: modalSlideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 2rem;
}

/* スクロールバーのカスタマイズ */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 188, 212, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 188, 212, 0.5);
}

/* Firefox用 */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 188, 212, 0.3) transparent;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

/* ========== MODAL CONTENT STYLES ========== */
.modal-company-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-color);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    text-align: center;
}

.modal-company-image-wrapper {
    width: 100%;
    max-width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 16px 16px 0 0;
}

.modal-company-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.2);
}

.modal-company-image--logo {
    object-fit: contain;
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    filter: none;
}

.modal-company-text {
    width: 100%;
    padding: 0 3rem 0 3rem;
}

.modal-section {
    padding: 0 3rem;
    margin-bottom: 3rem;
}

.modal-company-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.modal-company-type {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

.modal-section:last-child {
    margin-bottom: 3rem;
}

/* ========== BLOG STYLE SECTIONS ========== */
.modal-blog-section {
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    margin-left: 3rem;
    margin-right: 3rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.modal-blog-section:last-child {
    margin-bottom: 3rem;
}

.modal-blog-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--primary-color);
    display: block;
}

.modal-blog-content {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #000000;
}

.modal-blog-paragraph {
    margin-top: 1.8rem;
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #000000;
}

.modal-blog-paragraph.first {
    margin-top: 0;
}

.modal-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.modal-section-content {
    font-size: 1.15rem;
    line-height: 2;
    color: #374151;
    margin: 0;
}

.modal-highlight-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.modal-highlight-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.modal-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
}

.modal-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.modal-stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .interview-main-section {
        padding: 6rem 0 4rem 0;
        margin-top: 4rem;
    }

    .interview-page-title {
        font-size: 2rem;
    }

    .interview-page-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .interview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interview-card-left {
        height: 180px;
        padding: 1.5rem;
    }

    .interview-card-left--large {
        height: 250px;
        padding: 0;
    }

    .interview-image {
        object-fit: cover;
        object-position: center 30%;
    }

    .interview-image--logo {
        object-fit: contain;
        background-color: white;
        padding: 2rem;
        object-position: center;
    }

    .interview-image-wrapper {
        background-color: white;
    }

    .interview-card-right {
        padding: 2rem;
    }

    .interview-company-name {
        font-size: 1.4rem;
    }

    .interview-summary {
        font-size: 1rem;
    }

    .interview-summary--headline {
        font-size: 1.7rem;
    }

    .interview-company-type--large {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .interview-card-header::after {
        right: -2rem;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }

    .modal-body {
        padding: 0;
    }

    .modal-company-text {
        padding: 0 2rem 0 2rem;
    }

    .modal-section {
        padding: 0 2rem;
    }

    .modal-company-image-wrapper {
        max-width: 100%;
        height: 450px;
    }

    .modal-company-name {
        font-size: 1.8rem;
    }

    .modal-section-title {
        font-size: 1.4rem;
    }

    .modal-section-content {
        font-size: 1.05rem;
    }

    .modal-stats {
        grid-template-columns: 1fr;
    }

    .modal-blog-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        margin-left: 2rem;
        margin-right: 2rem;
        background-color: #f8f9fa;
        border-radius: 12px;
    }

    .modal-blog-section:last-child {
        margin-bottom: 2.5rem;
    }

    .modal-blog-title {
        font-size: 1.9rem;
        padding-bottom: 0.8rem;
        border-bottom: 4px solid var(--primary-color);
    }

    .modal-blog-content,
    .modal-blog-paragraph {
        font-size: 1.3rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .interview-main-section {
        padding: 5rem 0 3rem 0;
    }

    .interview-page-title {
        font-size: 1.8rem;
    }

    .interview-page-subtitle {
        font-size: 1rem;
    }

    .interview-card-left {
        height: 150px;
        padding: 1rem;
    }

    .interview-card-left--large {
        height: 200px;
        padding: 0;
    }

    .interview-image {
        object-fit: cover;
        object-position: center 30%;
    }

    .interview-image--logo {
        object-fit: contain;
        background-color: white;
        padding: 1.5rem;
        object-position: center;
    }

    .interview-image-wrapper {
        background-color: white;
    }

    .interview-card-right {
        padding: 1.5rem;
    }

    .interview-summary--headline {
        font-size: 1.5rem;
    }

    .interview-company-type--large {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .interview-card-header::after {
        right: -1.5rem;
    }

    .modal-body {
        padding: 0;
    }

    .modal-company-text {
        padding: 0 1.5rem 0 1.5rem;
    }

    .modal-section {
        padding: 0 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }

    .modal-stat-value {
        font-size: 2rem;
    }

    .modal-company-image-wrapper {
        max-width: 100%;
        height: 300px;
    }

    .modal-blog-section {
        padding: 1.5rem 1.2rem;
        margin-bottom: 1.5rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        background-color: #f8f9fa;
        border-radius: 10px;
    }

    .modal-blog-section:last-child {
        margin-bottom: 2rem;
    }

    .modal-blog-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
        border-bottom: 3px solid var(--primary-color);
    }

    .modal-blog-content,
    .modal-blog-paragraph {
        font-size: 1.15rem;
        line-height: 1.7;
    }
}
