@charset "utf-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --c-primary: #0066B3;
    --c-secondary: #004080;
    --c-accent: #0099D8;
    --c-bg: #F5F7FA;
    --c-bg-light: #FFFFFF;
    --c-text: #333333;
    --c-text-muted: #666666;
    --c-white: #FFFFFF;
    
    --f-main: 'Noto Sans JP', sans-serif;
    --f-en: 'Jost', sans-serif;
    
    --w-max: 1000px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--f-main);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.wrapper {
    max-width: var(--w-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 40px;
}

.header__logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__logo {
    height: 60px;
}

.header__logo--hosei {
    height: 32px;
}

.header__cross {
    color: var(--c-text-muted);
    font-size: 14px;
}

.header__btn {
    display: inline-block;
    background-color: var(--c-accent);
    color: var(--c-white);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--f-en);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 153, 216, 0.2);
}

.header__btn:hover {
    background-color: var(--c-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 55vh; 
    min-height: 400px;
    overflow: hidden;
    margin-top: 0;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Whitish blur/gradient to make text readable */
    background: linear-gradient(to top, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0) 100%);
}

.hero__tag {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 5;
}

.hero__sub {
    display: inline-block;
    color: var(--c-white);
    font-family: var(--f-en);
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 0.2em;
    /* Strong dark shadow to ensure legibility on the white background blur */
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}



.intro {
    background-color: #F0F7FF; /* Light Brand Color */
    padding: 30px 0 20px;
    text-align: center;
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
}

.hero__branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.hero__branding-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.hero__branding-logo--progdence {
    height: 80px;
}

.hero__branding-logo--hosei {
    height: 68px;
}

.hero__branding-cross {
    font-size: 24px;
    color: var(--c-text-muted);
    font-weight: 400;
}


.hero__heading {
    margin-bottom: 10px;
}



.hero__main {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--c-secondary);
}

.hero__desc {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 2;
    color: #444;
}

/* ==========================================================================
   Profiles
   ========================================================================== */
.profiles {
    display: flex;
    gap: 40px;
    margin-top: 0; 
    position: relative;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
}

.profile-card {
    display: flex;
    flex-direction: row;
    text-align: left;
    background: var(--c-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--c-primary);
}

.profile-card--left::before { background: var(--c-accent); }

.profile-card--left {
    flex-direction: row;
}

.profile-card__img-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.profile-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.profile-card__info {
    flex-grow: 1;
}

.profile-card__role {
    font-size: 14px;
    color: var(--c-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-card--left .profile-card__role {
    color: var(--c-accent);
}

.profile-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5em;
    color: var(--c-text);
}

.profile-card__name .profile-card__suffix {
    font-size: 14px;
    font-weight: 400;
    color: var(--c-text-muted);
}

.profile-card__bio {
    font-size: 11px;
    color: var(--c-text-muted);
    text-align: left;
    line-height: 1.6;
}

/* ==========================================================================
   Dialogue
   ========================================================================== */
.dialogue {
    padding: 20px 20px 120px;
}

.q-block {
    margin-bottom: 80px;
}

.q-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 102, 179, 0.1);
    color: var(--c-secondary);
}

.q-label {
    font-family: var(--f-en);
    font-size: 32px;
    color: var(--c-primary);
    font-weight: 700;
    line-height: 1;
}

.speech {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.speech__icon {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.speech__icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--c-primary);
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: scaleX(-1);
}

.speech__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-muted);
}

.speech__bubble {
    position: relative;
    background: var(--c-bg-light);
    padding: 30px;
    border-radius: 0 16px 16px 16px;
    flex-grow: 1;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
}

.speech__bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    border-top: 12px solid var(--c-bg-light);
    border-left: 12px solid transparent;
}

/* Subtle corner border for contrast */
.speech__bubble::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -14px;
    border-top: 13px solid rgba(0,0,0,0.05);
    border-left: 13px solid transparent;
    z-index: -1;
}

.speech__bubble p {
    margin-bottom: 1.5em;
}

.speech__bubble p:last-child {
    margin-bottom: 0;
}

/* Interviewer / Seikiguchi (Right align variant) */
.speech--seki {
    flex-direction: row-reverse;
}

.speech--seki .speech__icon img {
    border-color: var(--c-accent);
}

.speech--seki .speech__bubble {
    border-radius: 16px 0 16px 16px;
    background: #EAF7FE; /* Very light blue/cyan */
    border: 1px solid rgba(0, 153, 216, 0.1);
}

.speech--seki .speech__bubble::before {
    left: auto;
    right: -12px;
    border-left: none;
    border-right: 12px solid transparent;
    border-top: 12px solid #EAF7FE;
}

.speech--seki .speech__bubble::after {
    left: auto;
    right: -14px;
    border-left: none;
    border-right: 14px solid transparent;
    border-top: 14px solid rgba(0, 153, 216, 0.1);
}

.scene-img {
    margin: 80px 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    aspect-ratio: 21 / 9; /* Wide format */
}

.scene-img--last {
    margin-bottom: 10px;
}

.scene-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.scene-img:hover img {
    transform: scale(1.02);
}

.dialogue__disclaimer {
    font-size: 14px;
    color: var(--c-text-muted);
    text-align: right;
    margin-top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer p {
    font-family: var(--f-en);
    font-size: 14px;
    color: var(--c-text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .header__inner {
        padding: 0 20px;
    }
    
    .hero__branding {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .hero__branding-logo {
        height: 30px;
    }

    .hero__branding-logo--progdence {
        height: 45px;
    }

    .hero__branding-logo--hosei {
        height: 35px;
    }
    
    .hero__branding-cross {
        font-size: 18px;
    }

    .intro {
        padding-top: 10px;
    }

    .header__logo {
        height: 35px;
    }

    .header__btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        height: 35vh;
        min-height: 250px;
        margin-top: 0;
    }

    .hero__bg-img {
        object-position: center;
    }

    .hero__main {
        font-size: 26px;
    }

    .hero__desc {
        font-size: 13px;
        letter-spacing: 0.02em;
    }
    
    .hero__sub {
        font-size: 34px;
        letter-spacing: 0.05em;
    }

    .hero__tag {
        bottom: 15px;
    }
    
    .profiles {
        margin-top: 0; /* Changed from -20px to 0 for better spacing */
        flex-direction: column;
    }
    
    .profile-card {
        flex-direction: column !important;
        text-align: center;
        padding: 20px 15px; /* Reduced from 30px 20px to make frame smaller */
        gap: 15px; /* Reduced from 20px */
    }
    
    .profile-card::before {
        width: 100%;
        height: 6px;
        top: 0;
        left: 0 !important;
    }
    
    .profile-card__img-wrap {
        width: 80px; /* Reduced from 100px on desktop */
        height: 80px;
        margin: 0 auto; /* Ensure it stays centered */
    }
    
    .profile-card__name {
        justify-content: center;
        flex-direction: row;
        align-items: baseline;
        gap: 0.5em;
        font-size: 20px;
    }
    
    .q-title {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .speech {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .speech__icon {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        text-align: left;
    }
    
    .speech__icon img {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .speech__bubble {
        border-radius: 16px !important;
    }
    
    .speech__bubble::before,
    .speech__bubble::after {
        display: none;
    }
}
