@charset "UTF-8";
/* =========================================================
   photo-interview.css
   社員写真インタビュー（一覧→詳細）用のリッチスタイル。
   静的ページ(interview/*.html)から読み込む。reset + これ + gx-footer.css 前提。
   （既存の interview.css とは別用途・別ファイル）
   ========================================================= */

:root {
    --iv-ink: #1d1722;
    --iv-sub: #6f6770;
    --iv-paper: #fff7f4;
    --iv-line: #ece3df;
    --iv-accent: #ff5a3c;
    --iv-blue: #4f8ff7;
    --iv-grad: linear-gradient(135deg, #ff7a33 0%, #ff4f6e 55%, #ff77a0 100%);
}

.iv * { box-sizing: border-box; }
.iv {
    margin: 0;
    color: var(--iv-ink);
    background: #fff;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
.iv img { max-width: 100%; display: block; }
.iv a { color: inherit; text-decoration: none; }

/* ── 上部バー ───────────────────────────── */
.iv-head {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5%;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--iv-line);
}
.iv-head__logo img { width: 132px; height: auto; }
.iv-head__back {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--iv-sub);
    transition: color 0.2s ease;
}
.iv-head__back:hover { color: var(--iv-accent); }

/* ── 一覧ヒーロー ───────────────────────── */
.iv-hero {
    position: relative;
    padding: 84px 5% 56px;
    text-align: center;
    overflow: hidden;
    background: var(--iv-paper);
}
.iv-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.36em;
    font-weight: 700;
    color: var(--iv-accent);
    margin-bottom: 14px;
}
.iv-hero__title {
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.05;
    margin: 0;
    background: var(--iv-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.iv-hero__sub { margin: 14px 0 0; font-size: 0.95rem; color: var(--iv-sub); }

/* ── 一覧グリッド ───────────────────────── */
.iv-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 96px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}
.iv-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--iv-line);
    box-shadow: 0 10px 30px rgba(29, 23, 34, 0.05);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    overflow: hidden;
}
.iv-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: var(--c, var(--iv-accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}
.iv-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(29, 23, 34, 0.13); }
.iv-card:hover::before { transform: scaleY(1); }

.iv-card__photo {
    flex: 0 0 auto;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--c-soft, #fff0ea), 0 6px 18px rgba(29, 23, 34, 0.12);
}
.iv-card__photo img { width: 100%; height: 100%; object-fit: contain; }
.iv-card__body { min-width: 0; }
.iv-card__role {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--c, var(--iv-accent));
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.iv-card__catch {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 8px;
}
.iv-card__name { font-size: 0.86rem; color: var(--iv-sub); }
.iv-card__name b { color: var(--iv-ink); font-size: 0.96rem; margin-right: 6px; }
.iv-card__arrow {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c, var(--iv-accent));
}

/* ── 詳細ヒーロー ───────────────────────── */
.iv-detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 62vh;
    background: var(--iv-paper);
}
.iv-detail-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-soft, #ffe9e3);
    overflow: hidden;
}
.iv-detail-hero__photo {
    position: relative;
    z-index: 1;
    width: min(70%, 360px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px rgba(29, 23, 34, 0.18);
    border: 6px solid #fff;
}
.iv-detail-hero__photo img { width: 100%; height: 100%; object-fit: contain; }
.iv-detail-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 7%;
}
.iv-detail-hero__role {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    background: var(--c, var(--iv-accent));
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.iv-detail-hero__catch {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    font-weight: 900;
    line-height: 1.45;
    margin: 0 0 20px;
}
.iv-detail-hero__name { font-size: 1rem; color: var(--iv-sub); }
.iv-detail-hero__name b { display: inline-block; color: var(--iv-ink); font-size: 1.3rem; margin-right: 10px; }

/* ── 本文(Q&A) ─────────────────────────── */
.iv-body { max-width: 760px; margin: 0 auto; padding: 80px 6% 40px; }
.iv-lead { font-size: 1.05rem; line-height: 2.1; margin: 0 0 64px; }
.iv-qa { margin-bottom: 52px; }
.iv-qa__q {
    display: flex;
    gap: 14px;
    align-items: baseline;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 14px;
}
.iv-qa__q::before {
    content: "Q";
    flex: 0 0 auto;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--c, var(--iv-accent));
    font-family: Georgia, serif;
}
.iv-qa__a {
    padding-left: 30px;
    font-size: 1rem;
    line-height: 2.05;
    color: #2a2430;
}

/* 引用（プルクオート） */
.iv-quote {
    margin: 64px 0;
    padding: 36px 8%;
    text-align: center;
    background: var(--iv-paper);
    border-radius: 20px;
}
.iv-quote p {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1.7;
    margin: 0;
    background: var(--c, var(--iv-grad));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* サブ写真（裏向きアバターを装飾的に） */
.iv-subphoto {
    max-width: 760px;
    margin: 0 auto 64px;
    padding: 0 6%;
    display: flex;
    justify-content: center;
}
.iv-subphoto__inner {
    width: 200px; height: 200px;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--c-soft, #fff0ea), 0 14px 34px rgba(29, 23, 34, 0.12);
}
.iv-subphoto__inner img { width: 100%; height: 100%; object-fit: contain; }

/* ── 次の人 / 一覧へ ───────────────────── */
.iv-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 6% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.iv-nav__all {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--iv-ink);
    border: 1px solid var(--iv-line);
    padding: 12px 26px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.iv-nav__all:hover { background: var(--iv-ink); color: #fff; }
.iv-nav__next { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; font-weight: 700; color: var(--iv-accent); }
.iv-nav__nexttxt { text-align: right; }
.iv-nav__next b { display: block; font-size: 1.05rem; color: var(--iv-ink); margin-top: 2px; }
.iv-nav__avatar {
    width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
    background: #fff; box-shadow: 0 0 0 2px var(--c-soft, #ffe9e3), 0 4px 12px rgba(29, 23, 34, 0.12);
}
.iv-nav__avatar img { width: 100%; height: 100%; object-fit: contain; }

/* ── レスポンシブ ─────────────────────── */
@media (max-width: 820px) {
    .iv-list { grid-template-columns: 1fr; gap: 22px; }
    .iv-detail-hero { grid-template-columns: 1fr; min-height: 0; }
    .iv-detail-hero__media { padding: 48px 0; }
    .iv-detail-hero__text { padding: 40px 7% 56px; }
}
@media (max-width: 480px) {
    .iv-card { flex-direction: column; text-align: center; align-items: center; }
    .iv-qa__a { padding-left: 0; }
}

/* =========================================================
   詳細ページ：雑誌風エディトリアル・レイアウト（v2）
   実写（縦型/横型）を流し込む前提の写真スロット＋章立て＋Q&A配置。
   写真は .iv-photo__box の中に <img> を入れると枠いっぱいに表示される。
   ========================================================= */

/* 詳細ヒーロー */
.iv-dhero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    min-height: 74vh;
    background: var(--iv-paper);
}
.iv-dhero__text { display: flex; flex-direction: column; justify-content: center; padding: 64px 6%; }
.iv-eyebrow { font-size: 0.72rem; letter-spacing: 0.3em; font-weight: 800; color: var(--c, var(--iv-accent)); margin-bottom: 18px; }
.iv-dcatch { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; line-height: 1.42; margin: 0 0 30px; }
.iv-meta { display: flex; align-items: center; gap: 14px; }
.iv-meta__avatar {
    width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
    background: #fff; box-shadow: 0 0 0 3px var(--c-soft, #fff0ea), 0 6px 14px rgba(0, 0, 0, 0.1);
}
.iv-meta__avatar img { width: 100%; height: 100%; object-fit: contain; }
.iv-meta__txt { font-size: 0.9rem; color: var(--iv-sub); }
.iv-meta__txt b { display: block; font-size: 1.15rem; color: var(--iv-ink); }
.iv-dhero__media { display: flex; align-items: center; justify-content: center; padding: 48px 6%; }
.iv-dhero__media .iv-photo { width: 100%; max-width: 380px; }

/* セクション（本文の標準幅） */
.iv-section { max-width: 880px; margin: 0 auto; padding: 76px 6% 8px; }
.iv-section--tight { padding-top: 24px; }

/* 章立て */
.iv-chapter { display: flex; align-items: baseline; gap: 18px; margin: 0 0 30px; }
.iv-chapter__no {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.1rem; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--c, var(--iv-accent));
}
.iv-chapter__ttl { font-size: 1.32rem; font-weight: 800; line-height: 1.4; }
.iv-chapter__ttl small { display: block; font-size: 0.68rem; letter-spacing: 0.22em; color: var(--iv-sub); font-weight: 700; margin-bottom: 3px; }

/* 2カラム（テキスト＋写真） */
.iv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.iv-split--rev .iv-split__media { order: -1; }

/* 写真スロット（共通） */
.iv-photo { margin: 0; }
.iv-photo__box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--c-soft, #ffe9e3) 0%, #fbfbfc 80%);
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.iv-photo__box::after {
    content: ""; position: absolute; inset: 14px;
    border: 1.5px dashed rgba(29, 23, 34, 0.16); border-radius: 12px; pointer-events: none;
}
.iv-photo__label { position: relative; z-index: 1; font-weight: 800; letter-spacing: 0.14em; color: var(--c, var(--iv-accent)); font-size: 0.86rem; line-height: 1.9; }
.iv-photo__label small { display: block; font-size: 0.64rem; letter-spacing: 0.24em; color: var(--iv-sub); font-weight: 700; margin-top: 4px; }
.iv-photo__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.iv-photo__cap { margin-top: 10px; font-size: 0.76rem; color: var(--iv-sub); text-align: center; }

.iv-photo--portrait .iv-photo__box { aspect-ratio: 3 / 4; }
.iv-photo--landscape .iv-photo__box { aspect-ratio: 3 / 2; }

/* 本文の章間に単体で置く縦型写真（中央寄せ・控えめサイズ） */
.iv-photo--solo { max-width: 360px; margin: 40px auto 64px; padding: 0 6%; }
.iv-lead { font-size: 1.05rem; line-height: 2.15; }

/* 縦型写真をフロートさせ、本文をL字（横＋下）に回り込ませる */
.iv-photo--float { float: right; width: 300px; max-width: 44%; margin: 6px 0 20px 36px; }
.iv-photo--float.iv-photo--floatL { float: left; margin: 6px 36px 20px 0; }
.iv-clear { clear: both; }
@media (max-width: 600px) {
    .iv-photo--float,
    .iv-photo--float.iv-photo--floatL { float: none; width: 100%; max-width: 100%; margin: 24px auto; }
}

/* 横写真（本文幅に合わせる。大きくなりすぎないよう抑える） */
.iv-photo--wide { max-width: 760px; margin: 48px auto; padding: 0 6%; }
.iv-photo--wide .iv-photo__box { aspect-ratio: 16 / 9; border-radius: 18px; }

/* 締めのひとこと */
.iv-closing { max-width: 820px; margin: 0 auto; padding: 24px 6% 8px; text-align: center; }
.iv-closing .iv-dcatch { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }

@media (max-width: 820px) {
    .iv-dhero { grid-template-columns: 1fr; min-height: 0; }
    .iv-dhero__media { order: -1; padding: 40px 7% 8px; }
    .iv-split { grid-template-columns: 1fr; gap: 24px; }
    .iv-split--rev .iv-split__media { order: 0; }
}
