@charset "UTF-8";
/* =========================================================
   aday.css — 「社員の1日（A Day）」下層ページ用
   1日の流れをタイムラインで見せる。reset + これ + gx-footer.css + cta.css 前提。
   ========================================================= */

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

.ad * { box-sizing: border-box; }
.ad {
    margin: 0;
    color: var(--ad-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;
}
.ad img { max-width: 100%; display: block; }
.ad a { color: inherit; text-decoration: none; }

/* 上部バー */
.ad-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(--ad-line);
}
.ad-head__logo img { width: 132px; height: auto; }
.ad-head__back { font-size: 0.82rem; font-weight: 700; color: var(--ad-sub); transition: color 0.2s ease; }
.ad-head__back:hover { color: var(--ad-accent); }

/* ヒーロー（左テキスト／右に人物写真スロット） */
.ad-hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
    min-height: 56vh; background: var(--ad-paper);
}
.ad-hero__text { display: flex; flex-direction: column; justify-content: center; padding: 64px 6%; }
.ad-hero__eyebrow { font-size: 0.72rem; letter-spacing: 0.32em; font-weight: 800; color: var(--ad-accent); margin-bottom: 14px; }
.ad-hero__title {
    font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; letter-spacing: 0.02em; line-height: 1.1; margin: 0 0 18px;
    background: var(--ad-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ad-hero__lead { font-size: 0.98rem; line-height: 2.05; color: #3a3340; margin: 0 0 22px; }
.ad-hero__who { display: flex; align-items: center; gap: 13px; }
.ad-hero__avatar {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
    background: #fff; box-shadow: 0 0 0 3px var(--ad-soft, #ffe9e3), 0 6px 14px rgba(0, 0, 0, 0.1);
}
.ad-hero__avatar img { width: 100%; height: 100%; object-fit: contain; }
.ad-hero__who span { font-size: 0.9rem; color: var(--ad-sub); }
.ad-hero__who b { display: block; font-size: 1.1rem; color: var(--ad-ink); }
.ad-hero__media { display: flex; align-items: center; justify-content: center; padding: 48px 6%; }
.ad-hero__media .ad-photo { width: 100%; max-width: 360px; }

/* 写真スロット（実写を入れる枠） */
.ad-photo { margin: 0; }
.ad-photo__box {
    position: relative; border-radius: 18px; overflow: hidden;
    background: linear-gradient(160deg, var(--ad-soft, #ffe9e3) 0%, #fbfbfc 80%);
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.ad-photo__box::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(29, 23, 34, 0.16); border-radius: 12px; pointer-events: none; }
.ad-photo__label { position: relative; z-index: 1; font-weight: 800; letter-spacing: 0.12em; color: var(--ad-accent); font-size: 0.82rem; line-height: 1.9; }
.ad-photo__label small { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--ad-sub); font-weight: 700; margin-top: 4px; }
.ad-photo__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ad-photo__cap { margin-top: 10px; font-size: 0.76rem; color: var(--ad-sub); text-align: center; }
.ad-photo--portrait .ad-photo__box { aspect-ratio: 3 / 4; }
.ad-photo--wide { max-width: 760px; margin: 44px auto; padding: 0 6%; }
.ad-photo--wide .ad-photo__box { aspect-ratio: 16 / 9; }

/* タイムライン */
.ad-section-title { text-align: center; padding: 70px 6% 0; }
.ad-section-title span { font-size: 0.7rem; letter-spacing: 0.26em; font-weight: 800; color: var(--ad-accent); }
.ad-section-title h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; margin: 6px 0 0; }

.ad-timeline { max-width: 720px; margin: 0 auto; padding: 40px 6% 20px; }
.ad-item { display: flex; gap: 18px; }
.ad-item__time { flex: 0 0 52px; text-align: right; font-weight: 800; color: var(--ad-accent); font-size: 0.92rem; padding-top: 1px; }
.ad-item__line { flex: 0 0 16px; position: relative; }
.ad-item__line::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: -8px; width: 2px; transform: translateX(-50%); background: var(--ad-line); }
.ad-item:last-child .ad-item__line::before { display: none; }
.ad-item__dot {
    position: absolute; left: 50%; top: 4px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--ad-accent); transform: translateX(-50%); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--ad-line);
}
.ad-item__body { flex: 1; padding-bottom: 34px; }
.ad-item__body h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 6px; }
.ad-item__body p { font-size: 0.95rem; color: #4a4450; line-height: 1.95; margin: 0; }

/* 締め */
.ad-closing { max-width: 720px; margin: 0 auto; padding: 20px 6% 8px; text-align: center; }
.ad-closing p {
    font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.6; margin: 0;
    background: var(--ad-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 820px) {
    .ad-hero { grid-template-columns: 1fr; min-height: 0; }
    .ad-hero__media { order: -1; padding: 40px 7% 8px; }
    .ad-hero__text { padding: 40px 7% 56px; }
}

/* =========================================================
   追加：エンゲージメント要素（プログレス/数字/引用/支える環境/回遊/出現）
   ========================================================= */

/* 読了プログレスバー（上部） */
.ad-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: var(--ad-grad); }

/* スクロール出現 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* スクロールヒント */
.ad-hero__scroll { margin-top: 26px; font-size: 0.7rem; letter-spacing: 0.2em; font-weight: 700; color: var(--ad-sub); display: inline-flex; align-items: center; gap: 8px; }
.ad-hero__scroll::after { content: ""; width: 1px; height: 22px; background: var(--ad-accent); animation: ad-scroll 1.6s ease-in-out infinite; }
@keyframes ad-scroll { 0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* 数字で見る1日 */
.ad-stats { max-width: 920px; margin: 0 auto; padding: 60px 6% 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.ad-stat__num { font-size: clamp(1.9rem, 4.4vw, 2.7rem); font-weight: 900; line-height: 1; background: var(--ad-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ad-stat__num em { font-style: normal; font-size: 0.46em; margin-left: 3px; }
.ad-stat__label { margin-top: 10px; font-size: 0.78rem; color: var(--ad-sub); font-weight: 700; line-height: 1.6; }
@media (max-width: 640px) { .ad-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }

/* 導入ナラティブ */
.ad-intro { max-width: 720px; margin: 0 auto; padding: 56px 6% 0; }
.ad-intro p { font-size: 1.02rem; line-height: 2.15; margin: 0 0 1.4em; }
.ad-intro p:last-child { margin-bottom: 0; }

/* 引用（マーカー） */
.ad-quote { max-width: 760px; margin: 60px auto; padding: 0 8%; text-align: center; }
.ad-quote p { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.75; margin: 0; }
.ad-quote .hl { background: linear-gradient(transparent 62%, #ffd9cf 62%); }

/* タイムライン項目内のひとこと */
.ad-item__voice { margin: 12px 0 0; padding-left: 14px; border-left: 3px solid var(--ad-accent); font-weight: 700; color: #2a2430; font-size: 0.95rem; }

/* この1日を支えているもの */
.ad-support { max-width: 940px; margin: 0 auto; padding: 70px 6% 0; }
.ad-support__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ad-support__item .ic { font-size: 1.7rem; }
.ad-support__item h4 { display: inline-block; font-size: 1.05rem; font-weight: 800; margin: 12px 0 9px; padding-top: 13px; border-top: 2px solid var(--ad-accent); }
.ad-support__item p { font-size: 0.9rem; color: #4a4450; line-height: 1.95; margin: 0; }
@media (max-width: 760px) { .ad-support__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ページ途中CTA */
.ad-midcta { max-width: 720px; margin: 54px auto 0; padding: 0 6%; }
.ad-midcta__inner { background: var(--ad-paper); border: 1px solid #ffe1d8; border-radius: 20px; padding: 30px 26px; text-align: center; }
.ad-midcta__inner p { margin: 0 0 16px; font-weight: 700; font-size: 1.02rem; }
.ad-midcta__inner a { display: inline-block; padding: 13px 32px; border-radius: 999px; background: var(--ad-grad); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(255, 79, 110, 0.3); transition: transform 0.25s ease; }
.ad-midcta__inner a:hover { transform: translateY(-3px); }

/* 次に読むなら */
.ad-related { max-width: 980px; margin: 0 auto; padding: 72px 6% 16px; }
.ad-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ad-related__item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--ad-line); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.ad-related__item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(29, 23, 34, 0.1); border-color: transparent; }
.ad-related__ic { width: 48px; height: 48px; border-radius: 50%; background: #fff7f4; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.ad-related__t b { display: block; font-size: 0.95rem; }
.ad-related__t span { font-size: 0.72rem; color: var(--ad-sub); }
@media (max-width: 760px) { .ad-related__grid { grid-template-columns: 1fr; } }

/* =========================================================
   追加：一覧ページ（A Day 3名）
   ========================================================= */
.ad-list { max-width: 980px; margin: 0 auto; padding: 56px 5% 92px; display: grid; gap: 22px; }
.ad-entry {
    position: relative; display: flex; align-items: center; gap: 22px;
    padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--ad-line);
    box-shadow: 0 10px 28px rgba(29, 23, 34, 0.05); overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.ad-entry::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
    background: var(--c, #ff5a3c); transform: scaleY(0); transform-origin: top; transition: transform 0.35s ease;
}
.ad-entry:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(29, 23, 34, 0.12); }
.ad-entry:hover::before { transform: scaleY(1); }
.ad-entry__photo {
    flex: 0 0 auto; width: 108px; height: 108px; border-radius: 50%; overflow: hidden; background: #fff;
    box-shadow: 0 0 0 3px var(--c-soft, #ffe9e3), 0 6px 18px rgba(29, 23, 34, 0.12);
}
.ad-entry__photo img { width: 100%; height: 100%; object-fit: contain; }
.ad-entry__role {
    display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em;
    color: #fff; background: var(--c, #ff5a3c); padding: 4px 12px; border-radius: 999px; margin-bottom: 9px;
}
.ad-entry__catch { font-size: 1.14rem; font-weight: 800; line-height: 1.5; margin: 0 0 6px; }
.ad-entry__name { font-size: 0.86rem; color: var(--ad-sub); }
.ad-entry__name b { color: var(--ad-ink); font-size: 0.96rem; margin-right: 6px; }
.ad-entry__arrow { margin-top: 10px; font-size: 0.8rem; font-weight: 700; color: var(--c, #ff5a3c); }
@media (max-width: 560px) {
    .ad-entry { flex-direction: column; text-align: center; align-items: center; }
}
