/* ==========================================================================
   service.css — 新規サービスページ（SNS運用 /sns/・動画制作 /video/・HP制作 /hp/）の見た目
   2026-11-30（③HP改善案（11月分）の Canva「サービス_SNS運用／動画制作／HP制作」を組んだもの）
   下層用の shared.css のあとに読む。ヘッダー・フッター・最終CTA（.c-cta）は shared.css のものを使う。

   ・ヒーロー（.s-mv）… トップのファーストビュー（home.css の .c-mv）を抜き出し、名前を .s-mv に変えたもの。
     そのあとに、このページ用の差（見出しの色・絵の作り）を足している
   ・カードは「黒い縁＋右下にずらした黒い影」（.s-card）で統一
   ・タグの色：水色（.s-tag）、黒（.s-tag--ink）
   ========================================================================== */

:root {
    --s-pink: #f5305f;
    --s-teal: #0e9bb0;
    --s-ink: #1f1f1f;
    --s-cream: #faf6e8;
    --s-paper: #fbf9f0;
}

/* --- ヒーロー（トップの .c-mv の写し） --- */
.s-mv {
    position: relative;
    overflow: hidden;
    padding: clamp(112px, 11vw, 150px) 0 clamp(44px, 5vw, 72px);
    background: #fcde5a;
    color: #1f1f1f;
}

.s-mv__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 24px;
}

.s-mv__eyebrow {
    color: #0d5f54;
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 700;
    letter-spacing: .04em;
}

.s-mv__h1 {
    isolation: isolate;
    margin: 8px 0 20px;
    font-size: clamp(36px, 5.2vw, 68px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .02em;
}

.s-mv__line {
    display: block;
}

.s-mv__hot,
.s-mv__strong span {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.s-mv__hot {
    background-image: linear-gradient(90deg, #ee2f6f, #f55d38);
}

.s-mv__strong {
    position: relative;
    display: inline-block;
    padding: 0 .1em;
}

.s-mv__strong span {
    background-image: linear-gradient(90deg, #0a8a8a, #5cc46a);
}

.s-mv__role {
    margin-bottom: 10px;
    font-size: clamp(16px, 1.65vw, 21px);
    font-weight: 700;
    letter-spacing: .03em;
}

.s-mv__text {
    max-width: 33em;
    font-size: 15px;
    line-height: 1.9;
}

.s-mv__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin: 26px 0 12px;
}

.s-mv__btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 26px;
    border: 2px solid #1f1f1f;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s;
}

.s-mv__btn--main {
    background: #1f1f1f;
    color: #fff;
}

.s-mv__btn--sub {
    background: #fff;
    color: #1f1f1f;
}

.s-mv__btn--main::after,
.s-mv__arrow {
    flex: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M8.5 6H18v9.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M8.5 6H18v9.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.s-mv__btn--main::after {
    content: "";
    width: 1.25em;
    height: 1.25em;
    margin-left: .6em;
    background: #fcde5a;
}

.s-mv__note {
    font-size: 12.5px;
}

.s-mv__visual {
    position: relative;
    justify-self: end;
    width: calc(100% + 140px);
    max-width: 760px;
    margin-right: -140px;
    container-type: inline-size;
}

.s-mv__phone {
    display: block;
    width: 100%;
    height: auto;
}

.s-mv__card {
    position: absolute;
    left: 14.8%;
    right: 28.4%;
    /* 2026-11-30 絵の中のカード（支給デザインのもの）にぴったり重ねるため、縦の位置と高さも絵の幅（cqw）で決める。
       % だと絵のまわりの箱の高さが基準になり、幅によってずれて下のカードが見えていた。絵の縦横比は 933×831 で決まっている */
    top: 70.3cqw;
    display: flex;
    align-items: center;
    gap: 2cqw;
    min-height: 14cqw;
    padding: 1.4cqw 2.4cqw;
    border-radius: 6px;
    background: #fff;
    box-shadow: 1.3cqw 1.3cqw 0 rgba(150, 120, 20, .32);
    color: #1f1f1f;
    text-decoration: none;
    transition: transform .2s;
}

.s-mv__play {
    flex: none;
    position: relative;
    width: clamp(34px, 7cqw, 66px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fcde5a;
}

.s-mv__play::before {
    content: "";
    position: absolute;
    left: 39%;
    top: 30%;
    width: 30%;
    height: 40%;
    background: #1f1f1f;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.s-mv__card-body {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

.s-mv__card-body b {
    display: block;
    font-size: clamp(14px, 2.7cqw, 26px);
    white-space: nowrap;
}

.s-mv__card-body small {
    display: block;
    margin-top: .2em;
    color: var(--muted);
    font-size: clamp(10px, 1.75cqw, 16px);
}

.s-mv__arrow {
    width: clamp(18px, 3.8cqw, 36px);
    aspect-ratio: 1;
    background: #1f1f1f;
}

@media (hover: hover) {
    .s-mv__btn:hover,
    .s-mv__card:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 1280px) {
    .s-mv__visual {
        width: calc(100% + 16px);
        margin-right: -16px;
    }
}

@media (max-width: 860px) {
    .s-mv__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    
    .s-mv__visual {
        justify-self: center;
        width: 100%;
        max-width: 480px;
        margin-right: 0;
        /* 2026-11-30 絵の中のスマホは左寄り（中心が絵の幅の約42%）なので、1列のときは右へずらして真ん中に見せる */
        translate: 8% 0;
    }
}

@media (max-width: 560px) {
    .s-mv {
        padding-top: 100px;
    }
    
    /* 2026-11-30 ボタンは2つとも横幅いっぱいにそろえる */
    .s-mv__btn {
        justify-content: center;
        width: 100%;
        padding: 14px 22px;
        font-size: 15px;
    }
    
    /* 絵ごと右へ 8% ずらしている（上の .s-mv__visual）ので、カードだけ左へ戻して画面の真ん中に置く */
    .s-mv__card {
        left: -7%;
        right: 12%;
        gap: 10px;
        padding: 8px 12px;
    }
}

/* --- ヒーロー：このページ用の差 --- */
.s-mv__h1 {
    color: var(--s-pink);
}

.s-mv__lead {
    margin-bottom: 10px;
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 700;
    letter-spacing: .03em;
}

/* 動画制作・HP制作の絵（SVG）。吹き出しは HTML（文字なので、絵の幅に対する割合で置く） */
.s-mv__art {
    display: block;
    width: 100%;
    height: auto;
}

.s-mv__bubble {
    position: absolute;
    margin: 0;
    padding: .5em 1.25em;
    border: .16em solid var(--s-ink);
    border-radius: 999px;
    background: #fff;
    box-shadow: .26em .3em 0 var(--s-ink);
    font-size: clamp(12px, 2.3cqw, 20px);
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

/* --- セクション共通 --- */
.s-sec {
    padding: 104px 0;
    background: #fff;
}

.s-sec--paper {
    background: var(--s-paper);
}

.s-head {
    margin-bottom: 40px;
}

.s-head__lead {
    margin-top: 14px;
    font-size: 15px;
}

.s-card {
    border: 1.5px solid var(--s-ink);
    border-radius: 14px;
    background: #fff;
    box-shadow: 6px 6px 0 var(--s-ink);
}

.s-tag {
    display: inline-block;
    padding: 4px 18px;
    border-radius: 999px;
    background: var(--s-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .04em;
}

.s-tag--ink {
    background: var(--s-ink);
}

.s-more {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--s-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.s-more::after {
    content: "→";
}

/* --- 事例ピックアップ（左に動画、右に案件名と中身） --- */
.s-case {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 30px 34px;
}

.s-case--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}

.s-case__media {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* 縦長の動画は、黒い縁のスマホの形 */
.s-phone {
    position: relative;
    display: block;
    width: 200px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 7px solid var(--s-ink);
    border-radius: 24px;
    background: var(--s-ink);
}

.s-phone img,
.s-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 横長の動画は、黒い縁の角丸 */
.s-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 3px solid var(--s-ink);
    border-radius: 8px;
    background: var(--s-ink);
}

/* 再生の丸（ピンク） */
.s-play::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--s-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") 56% 50% / 46% no-repeat;
    translate: -50% -50%;
}

.s-case__cap {
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.6;
}

.s-case__cap > span {
    display: block;
    color: var(--accent-text);
    font-size: 12.5px;
}

.s-case__ttl {
    margin: 14px 0 22px;
    font-size: clamp(19px, 1.9vw, 24px);
    font-weight: 700;
    line-height: 1.5;
}

.s-case__boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.s-case__boxes--stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.s-case__box {
    padding: 22px 20px;
    border-radius: 12px;
    background: var(--s-cream);
}

.s-case__box h3 {
    margin-bottom: 12px;
    color: var(--s-teal);
    font-size: 18px;
    font-weight: 700;
}

.s-case__box p {
    font-size: 14.5px;
    line-height: 1.9;
}

.s-case__box .s-case__big {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 900;
    line-height: 1.35;
}

.s-case__box .s-case__big--pink {
    color: var(--s-pink);
}

.s-case__box small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12.5px;
}

/* --- 制作事例：縦長5本（SNS運用） --- */
.s-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.s-reel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-reel a {
    display: grid;
    justify-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}

.s-reel .s-phone {
    width: 100%;
    box-shadow: 6px 6px 0 rgba(31, 31, 31, .18);
}

/* --- 制作事例：横長4本（動画制作） --- */
.s-works {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-works a {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    color: inherit;
    text-decoration: none;
}

.s-works h3 {
    margin: 12px 0 10px;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 700;
    line-height: 1.45;
}

.s-works p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

/* --- 数字のカード（導入事例・数字で見る〇〇体制） --- */
.s-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-stats--one {
    grid-template-columns: minmax(0, 420px);
}

.s-stat {
    position: relative;
    padding: 28px 28px 34px;
}

.s-stat__num {
    margin: 14px 0 12px;
    color: var(--s-pink);
    /* 「50サイト以上」「10〜14日」がカード3枚並びの幅に収まる大きさまで */
    font-size: clamp(34px, 3.1vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .01em;
    white-space: nowrap;
}

.s-stat__txt {
    font-size: 15px;
    font-weight: 700;
}

.s-stat__ic {
    position: absolute;
    top: 14px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fcde5a;
}

.s-stat__ic svg {
    width: 34px;
    height: 34px;
    color: var(--s-ink);
}

/* --- 料金：白いカード2枚（左に名前と金額、右に内容）＋黄色い帯 --- */
.s-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.s-plan {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding: 28px 26px;
}

.s-plan__badge {
    position: absolute;
    top: 0;
    right: 18px;
    padding: 5px 18px;
    border-radius: 999px;
    background: var(--s-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    translate: 0 -50%;
}

.s-plan__main {
    padding-bottom: 18px;
    background: linear-gradient(#f2ecd6, #f2ecd6) left bottom / 100% 5px no-repeat;
}

.s-label {
    display: block;
    color: var(--accent-text);
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.s-plan__ttl {
    margin: 6px 0 8px;
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 700;
}

.s-plan__price {
    font-size: clamp(28px, 2.9vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.s-plan__price small {
    font-size: .62em;
}

.s-plan__sub {
    margin-top: 10px;
    color: var(--s-teal);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.55;
}

.s-plan__list {
    margin: 0;
    padding: 0 0 0 22px;
    border-left: 1px solid #e3ddcb;
    list-style: none;
    font-size: 14px;
    line-height: 2;
}

.s-plan__list li::before {
    content: "・";
}

.s-band {
    display: grid;
    grid-template-columns: minmax(0, .9fr) auto minmax(0, 1.2fr);
    gap: 24px 40px;
    align-items: center;
    margin-top: 34px;
    padding: 26px 26px;
    background: #fcde5a;
}

.s-band__ttl {
    margin: 6px 0 4px;
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 700;
}

.s-band__for {
    font-size: 13.5px;
    font-weight: 700;
}

.s-band__price {
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.s-band__price small {
    font-size: .6em;
}

.s-band__txt {
    font-size: 14.5px;
    line-height: 1.9;
}

.s-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

@media (hover: hover) {
    .s-reel a:hover .s-phone,
    .s-works a:hover .s-thumb,
    .s-case__media:hover .s-thumb,
    .s-case__media:hover .s-phone {
        translate: 0 -3px;
    }

    .s-phone,
    .s-thumb {
        transition: translate .2s;
    }
}

@media (max-width: 1000px) {
    .s-case,
    .s-case--wide {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .s-case--wide .s-case__media {
        width: 100%;
    }

    .s-plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .s-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-band {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .s-band__txt {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .s-sec {
        padding: 64px 0;
    }

    .s-head {
        margin-bottom: 28px;
    }

    .s-case {
        padding: 22px 20px;
        gap: 24px;
    }

    .s-case__boxes {
        grid-template-columns: minmax(0, 1fr);
    }

    .s-reel {
        display: flex;
        gap: 14px;
        margin-inline: -24px;
        padding: 4px 24px 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .s-reel li {
        flex: none;
        width: 42%;
        scroll-snap-align: start;
    }

    .s-reel .s-tag {
        padding: 4px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .s-works {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 動画を上、名前を下に */
    .s-works a {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .s-works h3 {
        margin: 10px 0 4px;
    }

    .s-stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .s-stats--one {
        grid-template-columns: minmax(0, 1fr);
    }

    .s-plan {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 26px 20px 22px;
    }

    .s-plan__list {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #e3ddcb;
    }

    .s-band {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 22px 20px;
    }

    .s-head--row {
        display: block;
    }

    .s-head--row .s-more {
        margin-top: 14px;
    }
}

/* --- 動画制作・HP制作のヒーローの吹き出しの位置（絵の幅に対する割合） --- */
.s-mv__bubble--va {
    left: 1%;
    top: 14%;
    rotate: -8deg;
}

.s-mv__bubble--vb {
    right: -2%;
    top: 16%;
    rotate: 7deg;
}

.s-mv__bubble--ha {
    left: 0;
    top: 17%;
    rotate: -9deg;
}

.s-mv__bubble--hb {
    right: -2%;
    top: 19%;
    rotate: 8deg;
}

@media (max-width: 560px) {
    .s-mv__bubble--vb,
    .s-mv__bubble--hb {
        right: 0;
    }
}
