/* =============================================
   recruit2.css — 採用ページ専用CSS (plan2)
   page-recruit.php に直書き前提
   フルワイド対応・.wrapper制約なし
   ============================================= */

/* ---------- スクロールアニメーション ---------- */
.r2-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.r2-anim.r2-anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ベース ---------- */
.r2 {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #2d2d2d;
    letter-spacing: 0.04em;
    overflow-x: clip;
}
.r2 *,
.r2 *::before,
.r2 *::after {
    box-sizing: border-box;
}
.r2 p { margin: 0 0 1em; }
.r2 a { color: inherit; }
/* wrapper の max-width / margin を上書き */
.r2 > .wrapper,
#page.r2 > .wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ---------- ユーティリティ ---------- */
.r2-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
}
.r2-section {
    padding: 100px 0;
}
.r2-section:nth-child(even) {
    background: #f7f8fa;
}
.r2-label {
    font-family: 'Overpass', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 4px;
}
.r2-heading {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.4;
    color: #1a1a1a;
}


/* ===================================================
   HERO
   =================================================== */
.r2-hero {
    text-align: center;
    min-height: 80vh;
    margin-top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* 背景 Ken Burns スライダー */
.r2-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.r2-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 42, 0.55);
    z-index: 1;
}

/* --- Style 2: Horizontal Flow — 右→左フロー+クロスディゾルブ --- */
.r2-kb-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: transform, opacity;
    animation: r2-flow 20s infinite linear;
}
.r2-kb-slide:nth-child(1) { animation-delay:  0s; }
.r2-kb-slide:nth-child(2) { animation-delay:  4s; }
.r2-kb-slide:nth-child(3) { animation-delay:  8s; }
.r2-kb-slide:nth-child(4) { animation-delay: 12s; }
.r2-kb-slide:nth-child(5) { animation-delay: 16s; }

.r2-kb-slide:nth-child(odd)  { animation-name: r2-flow-a; }
.r2-kb-slide:nth-child(even) { animation-name: r2-flow-b; }

@keyframes r2-flow-a {
    0%      { opacity: 0;   transform: scale(1.25) translateX(4%); }
    4%      { opacity: 1;   transform: scale(1.25) translateX(3%); }
    20%     { opacity: 1;   transform: scale(1.25) translateX(-3%); }
    24%     { opacity: 0;   transform: scale(1.25) translateX(-4%); }
    100%    { opacity: 0;   transform: scale(1.25) translateX(4%); }
}

@keyframes r2-flow-b {
    0%      { opacity: 0;   transform: scale(1.25) translateX(3%); }
    4%      { opacity: 1;   transform: scale(1.25) translateX(2%); }
    20%     { opacity: 1;   transform: scale(1.25) translateX(-2%); }
    24%     { opacity: 0;   transform: scale(1.25) translateX(-3%); }
    100%    { opacity: 0;   transform: scale(1.25) translateX(3%); }
}
.r2-hero .r2-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    padding: 100px 40px;
}
.r2-hero-lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    letter-spacing: 0.12em;
    font-family: 'Overpass', sans-serif;
}
.r2-hero h2 {
    font-size: 4.2rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 36px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.r2-hero h2 em {
    font-style: normal;
    background: none;
    padding: 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.4);
}
.r2-hero-sub {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    line-height: 2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.r2-hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}
.r2-hero-tag {
    display: inline-block;
    font-size: 1.35rem;
    padding: 10px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 動画バナー */
.r2-video-row {
    display: flex;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto 12px;
}
.r2-video-row a {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}
.r2-video-row a:hover {
    transform: scale(1.03);
}
.r2-video-row img {
    width: 100%;
    display: block;
}
.r2-video-caption {
    text-align: center;
    font-size: 1.3rem;
    color: #aaa;
    margin-top: 4px;
}


/* ===================================================
   美術館/ホール ギャラリー
   =================================================== */
.r2-gallery {
    background: #70777b;
    padding: 80px 0;
}
.r2-gallery .r2-heading {
    margin-bottom: 16px;
}
.r2-gallery-lead {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 48px;
}
.r2-gallery-block {
    margin-bottom: 40px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.r2-gallery-block:last-child {
    margin-bottom: 0;
}
.r2-gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
}
.r2-gallery-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.r2-gallery-slider img.active {
    opacity: 1;
}
.r2-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.r2-gallery-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
}
.r2-gallery-dots span.active {
    background: #fff;
}
.r2-gallery-caption {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 1.4rem;
    margin-top: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
.r2-gallery-caption strong {
    color: #fff;
    font-size: 1.6rem;
}


/* ===================================================
   3ポジション — フルワイド
   =================================================== */
.r2-positions {
    /* 親の max-width を完全に無視 */
}
.r2-job {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.r2-job:nth-child(even) {
    direction: rtl;
}
.r2-job:nth-child(even) > * {
    direction: ltr;
}

/* ビジュアル面 */
.r2-job-visual {
    position: relative;
    overflow: hidden;
}
/* 写真背景 + ダークカラーオーバーレイ（落ち着いたトーン） */
.r2-job-visual.color-navy,
.r2-job-visual.color-green,
.r2-job-visual.color-purple {
    background-size: cover;
    background-position: center;
    position: relative;
}
.r2-job-visual.color-navy::before,
.r2-job-visual.color-green::before,
.r2-job-visual.color-purple::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}
.r2-job-visual.color-navy {
    background-image: url('../images/recruit/position_digital.jpg');
}
.r2-job-visual.color-navy::before {
    background: rgba(44, 62, 107, 0.82);
}
.r2-job-visual.color-green {
    background-image: url('../images/recruit/position_graphic.jpg');
}
.r2-job-visual.color-green::before {
    background: rgba(27, 107, 90, 0.82);
}
.r2-job-visual.color-purple {
    background-image: url('../images/recruit/position_web.jpg');
}
.r2-job-visual.color-purple::before {
    background: rgba(91, 58, 107, 0.82);
}

.r2-job-visual-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Overpass', sans-serif;
    font-weight: 200;
    font-size: 8rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.08);
    user-select: none;
}
.r2-job-visual-inner {
    position: relative;
    z-index: 1;
    max-width: 490px;
    margin-left: auto;
    padding: 80px 48px 80px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.r2-job:nth-child(even) .r2-job-visual-inner {
    margin-left: 0;
    margin-right: auto;
    padding: 80px 40px 80px 48px;
}
.r2-job-num {
    font-family: 'Overpass', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    letter-spacing: 0.25em;
    opacity: 0.5;
    margin-bottom: 16px;
}
.r2-job-title,
.r2-job-visual-inner h3 {
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #fff;
}
.r2-job-catch {
    font-size: 1.4rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* 詳細面 */
.r2-job {
    background: #fff;
}
.r2-job:nth-child(even) {
    background: #f7f8fa;
}
.r2-job-detail {
    max-width: 490px;
    margin-right: auto;
    padding: 80px 40px 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.r2-job:nth-child(even) .r2-job-detail {
    margin-right: 0;
    margin-left: auto;
    padding: 80px 48px 80px 40px;
}
.r2-job-detail h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #888;
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.r2-job-detail ul {
    padding: 0;
    margin: 0 0 24px;
}
.r2-job-detail li {
    list-style: none;
    font-size: 1.5rem;
    line-height: 2.2;
    padding-left: 1.6em;
    position: relative;
}
.r2-job-detail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
/* 色分け */
#position-digital .r2-job-detail li::before { background: #7BC8F7; }
#position-graphic .r2-job-detail li::before { background: #2ecc71; }
#position-web     .r2-job-detail li::before { background: #9b59b6; }

.r2-job-skills {
    font-size: 1.35rem;
    color: #999;
    border-top: 1px solid #e8e8e8;
    padding-top: 20px;
    line-height: 1.8;
}
.r2-job-skills strong {
    color: #666;
}


/* ===================================================
   AI活用 — フルワイド ダーク
   =================================================== */
.r2-ai {
    background: #12122a;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.r2-ai-preview-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.r2-ai-bg-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.r2-ai-bg-item.active {
    opacity: 0.3;
}
.r2-ai-bg-item img,
.r2-ai-bg-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.r2-ai-bg-item img {
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: transform, opacity;
}
.r2-ai-bg-item img.active {
    opacity: 1;
}
.r2-ai-bg-item img.drift-0 { animation: manga-d0 6s cubic-bezier(.25,.1,.25,1) both; }
.r2-ai-bg-item img.drift-1 { animation: manga-d1 6s cubic-bezier(.25,.1,.25,1) both; }
.r2-ai-bg-item img.drift-2 { animation: manga-d2 6s cubic-bezier(.25,.1,.25,1) both; }
.r2-ai-bg-item img.drift-3 { animation: manga-d3 6s cubic-bezier(.25,.1,.25,1) both; }
.r2-ai-bg-item img.drift-4 { animation: manga-d4 6s cubic-bezier(.25,.1,.25,1) both; }

/* ズームイン + 右下へドリフト */
@keyframes manga-d0 {
    0%   { transform: scale(1.05) translate(1%, 0.5%); }
    100% { transform: scale(1.3)  translate(-2%, -1.5%); }
}
/* ズームアウト + 左上へドリフト */
@keyframes manga-d1 {
    0%   { transform: scale(1.3)  translate(-1%, -1%); }
    100% { transform: scale(1.08) translate(2%, 1%); }
}
/* ズームイン + 左へドリフト */
@keyframes manga-d2 {
    0%   { transform: scale(1.08) translate(-1.5%, 0.5%); }
    100% { transform: scale(1.28) translate(1.5%, -1%); }
}
/* ズームアウト + 右上へドリフト */
@keyframes manga-d3 {
    0%   { transform: scale(1.28) translate(1%, -0.5%); }
    100% { transform: scale(1.05) translate(-1.5%, 1.5%); }
}
/* ズームイン + 下へドリフト */
@keyframes manga-d4 {
    0%   { transform: scale(1.06) translate(0.5%, 1%); }
    100% { transform: scale(1.25) translate(-1%, -2%); }
}
.r2-ai-scroll-spacer {
    display: none;
}
.r2-ai .r2-inner {
    max-width: 980px;
    position: relative;
    z-index: 1;
}
.r2-ai .r2-label { color: #7BC8F7; }
.r2-ai .r2-heading { color: #fff; font-size: 2.8rem; }
.r2-ai-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.r2-ai-text {
    font-size: 1.5rem;
    line-height: 2.1;
    color: rgba(255,255,255,0.75);
}
.r2-ai-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
}
.r2-ai-tool {
    padding: 8px 20px;
    border: 1px solid rgba(123,200,247,0.4);
    border-radius: 100px;
    font-size: 1.3rem;
    color: #a8d8f8;
    background: rgba(123,200,247,0.06);
    white-space: nowrap;
    transition: background 0.2s;
}
.r2-ai-tool:hover {
    background: rgba(123,200,247,0.15);
}
.r2-ai-examples {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px;
}
.r2-ai-examples h4 {
    font-size: 1.3rem;
    color: #7BC8F7;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.r2-ai-example-item {
    margin-bottom: 24px;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
}
.r2-ai-example-item.highlight {
    background: rgba(123,200,247,0.1);
    border-left-color: #7BC8F7;
}
.r2-ai-example-item:last-child {
    margin-bottom: 0;
}
.r2-ai-example-item a {
    color: #a8d8f8;
    text-decoration: underline;
    font-size: 1.4rem;
    line-height: 1.6;
}
.r2-ai-example-item a:hover {
    color: #cce8fb;
}
.r2-ai-example-item p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    margin: 4px 0 0;
}


/* ===================================================
   待遇
   =================================================== */
.r2-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    align-items: stretch;
}
.r2-benefit-card {
    text-align: center;
    padding: 36px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.r2-benefit-card .num {
    font-family: 'Overpass', sans-serif;
    font-size: 3.6rem;
    font-weight: 600;
    color: #7BC8F7;
    line-height: 1.1;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.r2-benefit-card .num.mid {
    font-size: 2.2rem;
}
.r2-benefit-card .unit {
    font-size: 1.5rem;
    color: #7BC8F7;
}
.r2-benefit-card .label {
    font-size: 1.3rem;
    color: #888;
    margin-top: auto;
}
.r2-benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.r2-benefits-list span {
    font-size: 1.3rem;
    padding: 8px 20px;
    background: #fff;
    border-radius: 100px;
    color: #555;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}


/* ===================================================
   勤務条件
   =================================================== */
.r2-conditions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.r2-cond-item h4 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1a1a1a;
    padding-bottom: 8px;
    border-bottom: 2px solid #7BC8F7;
    display: inline-block;
}
.r2-cond-item p {
    font-size: 1.4rem;
    line-height: 2;
    color: #555;
}


/* ===================================================
   CTA
   =================================================== */
.r2-cta {
    background: linear-gradient(135deg, #58aada 0%, #68bbe6 50%, #78c5ef 100%);
    color: #fff;
    text-align: center;
    padding: 100px 24px;
}
.r2-cta h3 {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 16px;
}
.r2-cta > p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.8;
}
.r2-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.r2-cta-btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 100px;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
}
.r2-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 1 !important;
}
.r2-cta-btn.primary {
    background: #fff;
    color: #7BC8F7;
}
.r2-cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
}
.r2-cta-info {
    font-size: 1.3rem;
    opacity: 0.65;
}

/* --- エントリーフォーム --- */
.r2-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}
.r2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.r2-form-group {
    margin-bottom: 20px;
}
.r2-form-group label {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.r2-required {
    font-size: 1.1rem;
    font-weight: normal;
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}
.r2-form-group input,
.r2-form-group select,
.r2-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}
.r2-form-group input::placeholder,
.r2-form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}
.r2-form-group input:focus,
.r2-form-group select:focus,
.r2-form-group textarea:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.18);
}
.r2-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.r2-form-group select option {
    color: #333;
    background: #fff;
}
.r2-form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.r2-form-note {
    font-size: 1.25rem;
    opacity: 0.7;
    margin-bottom: 28px;
    text-align: center;
}
/* --- ファイルアップロード --- */
.r2-file-upload {
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}
.r2-file-upload.dragover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
}
.r2-file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 100px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.r2-file-label:hover {
    background: rgba(255,255,255,0.25);
}
.r2-file-label svg {
    flex-shrink: 0;
}
.r2-file-info {
    font-size: 1.2rem;
    opacity: 0.5;
    margin-top: 12px;
}
.r2-file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.r2-file-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    border-radius: 100px;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
}
.r2-file-item button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.4rem;
    padding: 0 4px;
    line-height: 1;
}
.r2-file-item button:hover {
    color: #fff;
}

.r2-form .r2-cta-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
}


/* --- フォーム送信中 --- */
.r2-form-submitting {
    opacity: 0.5;
    pointer-events: none;
}
.r2-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.6;
}

/* --- 送信完了メッセージ --- */
.r2-form-success {
    text-align: center;
    padding: 60px 20px;
}
.r2-form-success-icon {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #7BC8F7;
    margin: 0 auto 24px;
}
.r2-form-success h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}
.r2-form-success p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.7);
}


/* ===================================================
   応募詳細
   =================================================== */
.r2-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.r2-entry-block {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.r2-entry-block h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.r2-entry-block p {
    font-size: 1.4rem;
    line-height: 2;
}
.r2-entry-block a {
    color: #7BC8F7;
    text-decoration: underline;
}


/* ===================================================
   モバイル
   =================================================== */
@media (max-width: 768px) {
    .r2-inner { padding: 0 20px; }
    .r2-hero { padding: 60px 16px 48px; margin-top: 60px; min-height: auto; }
    .r2-hero .r2-inner { padding: 40px 16px; }
    .r2-hero h2 { font-size: 2.2rem; margin-bottom: 20px; }
    .r2 .r2-hero-sub { font-size: 1.25rem; margin-bottom: 4em; line-height: 1.8; }
    .r2-hero-sub br { display: none; }
    .r2-hero-tags { margin-bottom: 8em; gap: 8px; }
    .r2-hero-tag { font-size: 1.15rem; padding: 7px 16px; }
    .r2-hero-lead { font-size: 1.1rem; margin-bottom: 16px; }

    .r2-section { padding: 64px 0; }
    .r2-heading { font-size: 2rem; margin-bottom: 28px; }

    .r2-video-row {
        flex-direction: column;
        padding: 0 16px;
    }

    .r2-job {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .r2-job:nth-child(even) {
        direction: ltr;
    }
    .r2-job-visual { min-height: 280px; }
    .r2-job-visual-inner {
        max-width: none;
        margin: 0;
        padding: 36px 24px;
    }
    .r2-job:nth-child(even) .r2-job-visual-inner {
        margin: 0;
        padding: 36px 24px;
    }
    .r2-job-visual-bg { font-size: 4rem; }
    .r2-job-title,
    .r2-job-visual-inner h3 { font-size: 2rem; }
    .r2-job-detail {
        max-width: none;
        margin: 0;
        padding: 36px 24px;
    }
    .r2-job:nth-child(even) .r2-job-detail {
        margin: 0;
        padding: 36px 24px;
    }

    .r2-ai {
        padding: 0;
        overflow: visible; /* sticky に必要 */
    }
    .r2-ai .r2-heading { font-size: 2.2rem; }
    .r2-ai-body { display: block; } /* gridからblockに（sticky対応） */
    .r2-ai-text { margin-bottom: 24px; }
    .r2-ai-tools { margin-bottom: 32px; }

    /* 背景を sticky 化 */
    .r2-ai-preview-bg {
        position: sticky;
        top: 0;
        height: 100vh;
        background: #12122a;
    }
    .r2-ai .r2-inner {
        margin-top: -100vh;
        padding: 28vh 20px 0;
    }
    /* 事例リストを sticky 化（画面中央に固定） */
    .r2-ai-examples {
        position: sticky;
        top: calc(50vh - 245px);
        margin-bottom: 80px;
    }
    /* スクロール余白 */
    .r2-ai-scroll-spacer {
        display: block;
        height: 150vh;
        pointer-events: none;
    }

    .r2-benefits-grid { grid-template-columns: repeat(2, 1fr); }

    .r2-conditions { grid-template-columns: 1fr; gap: 24px; }

    .r2-cta { padding: 72px 20px; }
    .r2-cta h3 { font-size: 2rem; }

    .r2-form-row { grid-template-columns: 1fr; }

    .r2-entry-grid { grid-template-columns: 1fr; gap: 16px; }
}
