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

html { scroll-behavior: smooth; background: #fff; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    color: #251814;
    background: #fff;
}

img { display: block; max-width: 100%; }

.object-common {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header Spacer（動画ページ独自のFVタイトル帯に合わせて実ヘッダー高さ分だけ確保） */
.header-spacer {
    height: 60px;
    background: #fff;
}
@media (min-width: 768px) {
    .header-spacer { height: 68px; }
}

/* ============================================================
   Movie セクション（https://ic-lab.net/creative/ #movie の完全移植）
   creative.css（fcvanillaテーマ）の該当ルールを、サイト側の
   html{font-size:625% / 13.333vw}（1rem=100px相当）の仕組みに依存せず
   px・vwへ換算して移植。ブレークポイントは元サイトに合わせ768px。
   ============================================================ */
.md { }
.sm { }
@media print, (min-width: 768px) {
    .sm { display: none !important; }
}
@media only screen and (max-width: 767.98px) {
    .md { display: none !important; }
}

.section-creative-movie .wrapper {
    margin-right: auto;
    margin-left: auto;
}
@media print, (min-width: 768px) {
    .section-creative-movie .wrapper { width: 800px; }
    .section-creative-movie { padding-top: 100px; margin-bottom: 102px; }
}
@media only screen and (max-width: 767.98px) {
    .section-creative-movie .wrapper { padding-right: 6.933vw; padding-left: 6.933vw; }
    .section-creative-movie { position: relative; padding-top: 40px; }
}

/* ---- block-top（FV：Movie / 動画制作） ---- */
.block-top .section-title { text-align: center; }
.block-top .section-title span { display: block; }
.block-top .section-title .title-english {
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 500;
    line-height: 1;
}
.block-top .section-title .title-japan { letter-spacing: .1em; }
@media print, (min-width: 768px) {
    .block-top {
        min-height: 70vw;
        background: url(img/creative/movie_img_01.jpg) top 0 center/cover no-repeat;
    }
    .block-top .section-title .title-english { margin-bottom: -2px; font-size: 35px; }
    .block-top .section-title .title-japan { font-size: 13px; }
}
@media (min-width: 767.98px) and (max-width: 1080px) {
    .block-top {
        min-height: 690px;
        background: url(img/creative/movie_img_01.jpg) top -52px center/cover no-repeat;
    }
}
@media only screen and (max-width: 767.98px) {
    .block-top {
        min-height: 92vw; /* 6.9rem */
        background: url(img/creative/sp/movie_img_01.jpg) top -2.8vw center/cover no-repeat;
    }
    .block-top .section-title .title-english { margin-bottom: -2px; font-size: 6.533vw; }
    .block-top .section-title .title-japan { font-size: 2.8vw; }
}

/* ---- 共通見出し（アイ・シー・ラボの動画制作の強み／動画制作の流れ／費用） ---- */
.title-common-tertiary { font-weight: 600; text-align: center; }
.title-common-tertiary .text-english {
    display: inline-block;
    position: relative;
    color: #231815;
    font-family: 'M PLUS 1', sans-serif;
    line-height: 1.2;
}
.title-common-tertiary .text-english::after,
.title-common-tertiary .text-english::before {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background: #231815;
}
.title-common-tertiary .text-english::after { left: 0; }
.title-common-tertiary .text-english::before { right: 0; }
.title-common-tertiary .text-japanese { display: block; }
@media print, (min-width: 768px) {
    .title-common-tertiary .text-english { margin-bottom: 1px; padding: 0 87px; font-size: 32px; }
    .title-common-tertiary .text-english::after,
    .title-common-tertiary .text-english::before { width: 60px; margin-top: 1px; }
    .title-common-tertiary .text-japanese { font-size: 10px; }
}
@media only screen and (max-width: 767.98px) {
    .title-common-tertiary .text-english { margin-bottom: .4vw; padding: 0 14.933vw; font-size: 6.533vw; }
    .title-common-tertiary .text-english::after,
    .title-common-tertiary .text-english::before { width: 11.867vw; margin-top: 1px; }
    .title-common-tertiary .text-japanese { font-size: 2.8vw; }
}

/* ---- block-production（強み3カラム） ---- */
.block-production .production-list { list-style-type: none; }
.block-production .production-item { text-align: center; }
.block-production .production-title {
    text-align: left;
    font-weight: 600;
    letter-spacing: .05em;
    font-feature-settings: "palt";
}
.block-production .production-text {
    margin-bottom: 0;
    color: #251814;
    text-align: justify;
    font-feature-settings: "palt";
}
@media print, (min-width: 768px) {
    .block-production { padding-top: 50px; }
    .block-production .title-common-tertiary { margin-bottom: 53px; }
    .block-production .text-english { font-size: 25px; }
    .block-production .production-list { display: flex; flex-wrap: wrap; padding-left: 23px; }
    .block-production .production-item { width: 190px; margin: 0 30px 50px; }
    .block-production .production-image { width: 190px; height: 190px; margin-bottom: 39px; }
    .block-production .production-title { margin-bottom: 12px; font-size: 18px; }
    .block-production .production-text { font-size: 16px; letter-spacing: .1em; line-height: 1.6923076923; }
}
@media only screen and (max-width: 767.98px) {
    .block-production { padding-top: 6.667vw; }
    .block-production .title-common-tertiary { margin-bottom: 10.933vw; }
    .block-production .text-english { font-size: 4.667vw; line-height: 1.3714285714; }
    .block-production .production-list { padding-left: 2vw; }
    .block-production .production-content { display: flex; }
    .block-production .production-item { margin-bottom: 7.867vw; }
    .block-production .production-image { flex-shrink: 0; width: 38vw; height: 38.133vw; margin-right: 5.733vw; }
    .block-production .production-content-right { flex: 1; min-width: 0; margin: -.4vw -.533vw 0; }
    .block-production .production-title { margin: 0px 0px 10px 0px; font-size: calc(3.333vw + 1px); }
    .block-production .production-text { padding-right: 2.4vw; padding-left: .667vw; font-size: 12px; letter-spacing: .05em; line-height: 1.58; text-align: left; }
}

/* ---- block-flow（制作の流れ 7ステップ） ---- */
.flow-list { position: relative; padding: 0; list-style-type: none; }
.flow-list::before { content: ''; position: absolute; background: #7ccd5e; }
.flow-item { border: 1px solid #808080; }
.flow-item:first-child .flow-item-number { z-index: 1; }
.flow-item:first-child .flow-item-number::before { content: unset; }
.flow-item-number { position: relative; border-radius: 50%; }
.flow-item-number::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #7ccd5e;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.flow-item-number img { width: 100%; height: auto; }
.flow-item-image { position: relative; }
.flow-item-image img { width: 100%; height: auto; }
.flow-item-title { margin-bottom: 0; color: #7ccd5e; font-weight: 600; font-feature-settings: "palt"; }
.flow-item-text { margin-bottom: 0; letter-spacing: .025em; font-feature-settings: "palt"; }
@media print, (min-width: 768px) {
    .block-flow { margin-bottom: 116px; padding-top: 42px; }
    .block-flow .title-common-tertiary { margin-bottom: 55px; }
    .flow-list { width: 698px; margin: 0 auto; }
    .flow-list::before { top: 65px; bottom: 50px; left: 55px; width: 11px; }
    .flow-item { display: flex; align-items: center; margin-bottom: 7px; padding: 16px 15px 15px 40px; border-radius: 10px; }
    .flow-item-number { width: 39px; height: 39px; margin-right: 17px; }
    .flow-item-number::before { top: -15px; width: 30px; height: 15px; }
    .flow-item-image { top: 1px; width: 70px; margin-right: 28px; left: 10px; }
    .flow-item-title { width: 156px; padding: 9px 1px 2px; font-size: 16px; line-height: 1.6875; }
    .flow-item-text { flex: 1; margin-top: -6px; font-size: 16px; line-height: 1.8333333333; }
}
@media only screen and (max-width: 767.98px) {
    .block-flow { padding-top: 14.8vw; }
    .block-flow .title-common-tertiary { margin-bottom: 7.867vw; }
    .block-flow .text-english { font-size: 4.667vw; }
    .flow-list { width: 76.267vw; margin: 0 auto 23.2vw; }
    .flow-list::before { z-index: 1; top: 8.667vw; bottom: 22.667vw; left: 9.333vw; width: 2.267vw; }
    .flow-item {
        display: flex;
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 2.533vw;
        padding: 1.6vw 3.467vw 4.667vw 17.2vw;
        border-radius: 2vw;
    }
    .flow-item:first-child .flow-item-number { top: 4.267vw; }
    .flow-item-number {
        position: absolute;
        z-index: 1;
        top: 5.867vw; left: 6.533vw;
        width: 8vw; height: 8vw;
        margin-right: 2.267vw; margin-left: -1px;
    }
    .flow-item-number::before { top: -2.933vw; width: 6vw; height: 2.933vw; }
    .flow-item-image { width: 13.867vw; margin-right: 5.6vw; margin-left: 3.333vw; }
    .flow-item-title { font-size: 14px; line-height: 1.2083333333; }
    .flow-item-text { width: 100%; margin-top: 1.067vw; padding-left: 4.533vw; font-size: 12px; line-height: 1.6666666667; }

    /* 最後のBOXだけ、接続ラインがバッジ中心を越えてはみ出るため、
       バッジ直下の細い列だけを白でマスクして隠す（PC側には影響させない） */
    .flow-item:last-child { position: relative; }
    .flow-item:last-child::after {
        content: '';
        position: absolute;
        z-index: 2;
        top: 13.867vw; /* バッジのtop(5.867vw) + height(8vw) = バッジ下端 */
        left: 6.533vw;
        width: 8vw;
        bottom: 4.667vw; /* BOXの下パディング分は残し、外枠ボーダーには重ならないようにする */
        background: #fff;
    }
}

/* ---- block-cost（費用テーブル） ---- */
.block-cost .cost-table { margin-bottom: 14px; border: 1px solid #808080; }
.block-cost .cost-table table { margin-bottom: 0; width: 100%; border-collapse: collapse; }
.block-cost .cost-table th,
.block-cost .cost-table td { border: none; }
.block-cost .cost-table th,
.block-cost .cost-table .has-background { font-weight: 600; font-feature-settings: "palt"; }
.block-cost .cost-table th {
    border-bottom: 1px solid #fff;
    background: #7ccd5e;
    color: #fff;
    text-align: center;
}
.block-cost .cost-table td { border-bottom: 1px solid #808080; }
.block-cost .cost-table td .item-text { display: flex; align-items: center; }
.block-cost .cost-table .no-border { border: none; }
.block-cost .cost-table .has-background { background: #dcdddd; }
.block-cost .cost-table .text-small { position: relative; }
.block-cost .cost-table .cost-list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.block-cost .cost-table .cost-list > li { position: relative; }
.block-cost .cost-table .cost-list > li::before {
    content: '●';
    position: absolute;
    top: 0; left: 0;
    color: #000;
    font-size: inherit;
}
.block-cost .text-notes { font-feature-settings: "palt"; margin-bottom: 0; }
@media print, (min-width: 768px) {
    .block-cost { width: 100%; max-width: 1000px; margin: 0 auto; }
    .block-cost .title-common-tertiary { margin-bottom: 55px; }
    .block-cost .cost-table { margin-bottom: 14px; overflow-x: auto; }
    .block-cost .cost-table th,
    .block-cost .cost-table td { padding: 3px 10px 3px 16px; }
    .block-cost .cost-table th.is-large { padding: 19px 10px 21px 16px; }
    .block-cost .cost-table td.is-large { padding: 19px 28px 21px 16px; }
    .block-cost .cost-table th { width: 133px; padding-left: 5px !important; font-size: 18px; line-height: 1.1666666667; }
    .block-cost .cost-table td { padding-left: 16px; padding-right: 28px; font-size: 16px; line-height: 1.7; }
    .block-cost .cost-table td .item-text,
    .block-cost .cost-table td .item-content { display: flex; min-height: 37px; }
    .block-cost .cost-table td .item-text { align-items: center; }
    .block-cost .cost-table td .item-content { flex-direction: column; justify-content: space-around; }
    .block-cost .cost-table td.is-modify .item-content { display: flex; flex-direction: unset !important; align-items: center; justify-content: flex-start; }
    .block-cost .cost-table td.is-modify .text-small { top: -2px; left: -5px; }
    .block-cost .cost-table .has-background { width: 271px; font-size: 16px; line-height: 1.6923076923; }
    .block-cost .cost-table .text-small { top: -3px; font-size: 16px; }
    .block-cost .cost-table .cost-list > li { display: flex; align-items: baseline; margin-right: 20px; margin-bottom: 6px; padding-left: 0; }
    .block-cost .cost-table .cost-list > li::before { position: static; padding-right: 8px; }
    .block-cost .text-notes { font-size: 15px; text-align: center; }
}
@media only screen and (max-width: 767.98px) {
    .block-cost { margin: 0 10px; }
    .block-cost .title-common-tertiary { margin-bottom: 10.267vw; }
    .block-cost .cost-table { font-feature-settings: "palt"; margin-bottom: 2.133vw; }
    .block-cost .cost-table th { width: 10.5vw; padding: 5.867vw 3.6vw 6.933vw; font-size: 3.6vw; letter-spacing: .1em; line-height: 1.1666666667; }
    .block-cost .cost-table td { padding: 1.467vw 1.333vw 1.467vw 5.467vw; font-size: 12px; }
    .block-cost .cost-table td .item-text,
    .block-cost .cost-table td .item-content { display: flex; flex-direction: column; justify-content: center; min-height: 12vw; }
    .block-cost .cost-table td.is-large { padding-top: 2.533vw; }
    .block-cost .cost-table .has-background { width: 28.533vw; padding-top: .533vw !important; padding-right: .667vw; padding-left: .667vw; font-size: 12px; line-height: 1.6923076923; }
    .block-cost .cost-table .text-small { display: inline-block; margin-top: .533vw; margin-left: 2vw; font-size: 12px; line-height: 1.4; text-indent: -2vw; }
    .block-cost .cost-table .cost-list > li { margin-right: 2.267vw; margin-bottom: .933vw; padding-left: 2.4vw; }
    .block-cost .text-notes { margin-left: 14.4vw; font-size: 12px; line-height: 1.5555555556; text-indent: -2.8vw; }
}

/* =====================
   CONTACT Section
   SVG F3: viewBox 0 0 1920 1177.92
   G67(Y=104-106): CONTACT / お問い合わせ 見出し
   横線cls-5(Y=117.52): X=835-895 / X=1025-1084
   G501(Y=791-805): 「採用動画キャンペーン」キャプション（中央 X=874-1031）
   rect cls-6(stroke:#01375a sw:5.67px): x=790.6 y=829.73 w=337.28 h=203.04
   image(04.jpg): translate(791.46 831)
   ===================== */
.contact-section {
    background: #fff;
    padding-bottom: clamp(60px, 8vw, 120px);
}
.contact-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 見出し（横線＋CONTACT＋お問い合わせ）
   SVG: 横線cls-5 Y=117.52 / cls-11テキスト Y=104-106 */
.contact-heading {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(56px, 7vw, 88px) 0 clamp(16px, 2vw, 24px);
}
.contact-heading-line {
    flex: 1;
    height: 1px;
    background: #251814;
    opacity: .3;
}
.contact-heading-texts {
    text-align: center;
    flex-shrink: 0;
}
.contact-heading-en {
    font-family: 'M PLUS 1', sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: .28em;
    color: #251814;
    line-height: 1.1;
}
.contact-heading-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 400;
    letter-spacing: .18em;
    color: #555;
    margin-top: 6px;
}
@media (max-width: 480px) {
    .contact-heading { gap: 12px; }
    .contact-heading-en { font-size: 20px; letter-spacing: .15em; }
}

/* 採用動画キャンペーン キャプション
   SVG: G501(Y=791-805) 中央配置テキスト X=874-1031 */
.contact-campaign-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 500;
    color: #251814;
    letter-spacing: .1em;
    text-align: center;
    margin-top: clamp(48px, 7vw, 96px);
    margin-bottom: clamp(14px, 2vw, 22px);
}

/* 04.jpg バナー（SVG: rect cls-6 青枠 stroke:#01375a stroke-width:5.67px
   W=337.28px H=203.04px → 中央配置 x=790.6 ページ中心960付近） */
.contact-banner-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: clamp(48px, 6vw, 80px);
}
.contact-banner-box {
    /* SVG cls-6: stroke:#01375a, stroke-width:5.67px */
    border: 5px solid #01375a;
    line-height: 0;
    display: inline-block;
    transition: opacity .2s;
}
.contact-banner-box:hover {
    opacity: .8;
}
.contact-banner-img {
    /* SVG: w=337.28 h=203.04 → アスペクト比1.66 */
    width: clamp(240px, 35vw, 337px);
    height: auto;
    display: block;
}
