/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background: #f9f9f9;
}

.sp-only {
    display: none;
}


/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 120px;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo img {
    height: 30px;
    /* ここでお好みの高さに調整してください */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
        z-index: 100;
}

.logo a:hover img {
    opacity: 0.7;
}

/* スマホ対応：ロゴを少し小さく */
@media (max-width: 768px) {
    header {
        height: 60px;
    }

    .logo img {
        height: 35px;
    }
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-s {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Hero */
.hero {
    height: 100vh;
    background: #222;
    /* 実際には動画が表示される */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(80, 80, 80, 0.11);
} */

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: 4rem;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.btn-main,
.btn-sub {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    transition: 0.3s;
    border-radius: 4px;
    margin: 0 10px;

}

.btn-main {
    background: #fff;
    color: #000;
}

.btn-sub {
    border: 1px solid #fff;
    color: #fff;
}

.btn-main:hover {
    background: #000;
    color: #fff;
}

/* Works */
.section-title {
    text-align: left;
    font-size: 10rem;
    letter-spacing: 0em;
    margin-bottom: 60px;
    padding-left: 2vw;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.section-title span {
    display: inline-block;
    font-size: 1.5rem;
    color: #02b470;
    letter-spacing: 0.2em;
    margin-top: 0;
}

/* .section-title::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 5vw;
    width: 60%;
    height: 5px;
    background-color: #02b470;
} */

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 3.8rem;
        padding-left: 20px;
        flex-direction: column;
        align-items: flex-start;
        /* スマホでは端に寄りすぎないよう調整 */
    }

    .section-title::after {
        left: 20px;
    }
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.work-card {
    background: #fff;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    background: #ddd;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* Price */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.price-item {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    text-align: center;
}

.price-item.featured {
    border: 2px solid #000;
    position: relative;
    transform: scale(1.05);
}

.amount {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
}

.price-item ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.price-item li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: #000;
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tel {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin: 30px 0;
}

/* ==========================================
   Footer (Slim Style)
   ========================================== */
footer {
    background-color: #1a1a1a;
    /* 統一カラー */
    color: #ffffff;
    padding: 30px 20px;
    /* 高さを抑える */
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
    letter-spacing: 0.05em;
}

/* もしフッターにロゴやSNSアイコンがある場合の調整 */
.footer-content {
    margin-bottom: 10px;
    /* コンテンツがある場合の間隔も最小限に */
}

/* フッター内にナビゲーション等がある場合 */
footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00ff95;
    /* マウスホバーでブランドカラーに */
}

/* Mobile */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .price-item.featured {
        transform: none;
    }
}

/* --- 前回のコードに以下を追加・修正 --- */

/* Text Color Utility */
.text-white {
    color: #fff;
}

/* Agency Section Styles */
.bg-dark {
    background: #1a1a1a;
    color: #fff;
}

.agency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.agency-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.agency-content p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

.agency-services {
    display: grid;
    gap: 20px;
}

.agency-text h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.agency-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

/* 取扱媒体リストの装飾 */
/* --- AGENCYセクション：黒背景用スタイル --- */
.agency-section {
    color: #fff;
    /* 全体の文字を白に */
}

.agency-text h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #fff;
}

.agency-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #ccc;
    /* 本文は少しだけグレーにして読みやすく */
}

/* 取扱媒体リストの装飾（黒背景に合わせてリファイン） */
.media-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 12px;
    margin-top: 40px;
}

.media-list li {
    background: transparent;
    border: 1px solid #02b47063;
    /* アクセントカラーの枠線 */
    color: #02b470;
    /* 文字もアクセントカラー */
    padding: 10px 20px;
    border-radius: 50px;
    /* 角を丸めてモダンなタグ風に */
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* ホバーで色が反転する演出（マウスストーカーとの相性も抜群） */
.media-list li:hover {
    background: #02b470;
    color: #fff;
}

/* セクションタイトルがbg-dark内でも正しく白くなるように強制 */
.bg-dark .section-title {
    color: #fff;
}

/******************/
.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-left: 1px solid #fff;
    position: relative;
    /* ラインの絶対配置の基準 */
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* 左側のライン（初期状態：白） */
.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    /* ラインの太さ */
    height: 100%;
    /* 全体の高さ */
    background-color: #ffffff;
    /* 通常時は白 */
    transition: background-color 0.5s ease;
    /* ゆっくり変化させる */
}

/* ホバー時の挙動 */
.service-item:hover::before {
    background-color: #f76c1e;
    /* ホバー時にオレンジへ */
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.service-item p {
    font-size: 0.9rem;
    color: #bbb;
}

.price-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #666;
}

/* Responsive adjustment for Agency */
@media (max-width: 768px) {
    .agency-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* PCナビをデフォルトで隠さないよう整理 */
.pc-nav {
    display: block;
}

.menu-trigger,
.sp-nav,
.bottom-float-menu {
    display: none;
}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
    .pc-nav {
        display: none;
    }

    /* PC用を隠す */

    /* ハンバーガーボタンの形 */
    .menu-trigger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        z-index: 2000;
        cursor: pointer;
    }

    .menu-trigger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: #000;
        transition: 0.3s;
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
    }

    .menu-trigger span:nth-child(2) {
        top: 11px;
    }

    .menu-trigger span:nth-child(3) {
        bottom: 0;
    }

    /* 開いた時のアニメーション（JSで使用） */
    .menu-trigger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-trigger.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* スマホメニュー本体 */
    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        /* 初期位置は画面外 */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1500;
        transition: 0.5s;
        padding-top: 100px;
    }

    .sp-nav.active {
        right: 0;
    }

    /* activeクラスがついたら表示 */
    .sp-nav ul {
        list-style: none;
        text-align: center;
    }

    .sp-nav li {
        margin-bottom: 30px;
    }

    .sp-nav a {
        font-size: 1.5rem;
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }

    /* ボトム固定メニュー */
    .bottom-float-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .bottom-float-menu a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 0.85rem;
    }

    .float-item-tel {
        background: #333;
    }

    .float-item-mail {
        background: #000;
    }

    /* 下部に余白を追加（ボトムメニューに被らないように） */
    body {
        padding-bottom: 60px;
    }
}

/* ==========================================
   Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Header & Logo
   ========================================== */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 9999;
    /* 常に最前面 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* PC Nav */
.pc-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.pc-nav li {
    margin-left: 30px;
}

.pc-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-s {
    background: #000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
}

/* PCでは隠す要素 */
.menu-trigger,
.sp-nav,
.bottom-float-menu {
    display: none;
}

/* ==========================================
   Hero (既存のスタイル)
   ========================================== */
.hero {
    height: 100vh;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
} */

/* ==========================================
   Mobile Styles (768px以下)
   ========================================== */
@media (max-width: 768px) {
    header {
        height: 60px;
    }

    .logo img {
        height: 32px;
    }

    .pc-nav {
        display: none;
    }

    /* ハンバーガーボタン */
    .menu-trigger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        z-index: 10000;
    }

    .menu-trigger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: #000;
        transition: 0.3s;
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
    }

    .menu-trigger span:nth-child(2) {
        top: 11px;
    }

    .menu-trigger span:nth-child(3) {
        bottom: 0;
    }

    /* ×印アニメーション */
    .menu-trigger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-trigger.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* スマホメニュー（ヘッダーの下から出る） */
    .sp-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%;
        /* 閉じている時は右に隠す */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 2000;
        transition: 0.4s ease-in-out;
        visibility: hidden;
    }

    .sp-nav.active {
        right: 0;
        visibility: visible;
    }

    /* ここが重要：ulを縦並びのボックスにする */
    .sp-nav ul {
        display: flex;
        /* flexを適用 */
        flex-direction: column;
        /* 縦方向に並べる */
        list-style: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .sp-nav li {
        margin: 20px 0;
        /* 各項目の上下に余白を作る */
        width: 100%;
    }

    .sp-nav a {
        display: block;
        font-size: 1.8rem;
        /* 文字を大きく見やすく */
        font-weight: bold;
        color: #000;
        text-decoration: none;
        white-space: nowrap;
        /* 改行を禁止して1行に収める */
    }

    /* PCでは非表示にする改行タグを、スマホでだけ有効にする */
    .sp-only {
        display: block;
    }

    /* メイン見出しのサイズ調整 */
    .hero h2 {
        font-size: 2.2rem;
        /* 2.5remから少し小さく調整 */
        line-height: 1.4;
        /* 改行した時の行間を調整 */
        letter-spacing: 4px;
        /* 文字間隔を少し詰める */
        margin-bottom: 15px;
    }

    /* 説明文のサイズ調整 */
    .hero p {
        font-size: 1rem;
        /* 1.2remから標準サイズへ */
        line-height: 1.8;
        /* 読みやすい行間 */
        margin-bottom: 30px;
        padding: 0 10px;
        /* 画面端に文字がくっつかないよう余白 */
    }

    /* ボタンの横並び調整（幅が狭い場合はタテに並べるのもあり） */
    .hero-btns {
        display: flex;
        flex-direction: column;
        /* スマホではボタンを縦に並べる */
        gap: 15px;
        align-items: center;
    }

    .btn-main,
    .btn-sub {
        width: 80%;
        /* ボタンの横幅を揃える */
        margin: 0;
        /* 左右の余白をリセット */
        padding: 12px 0;
    }
}

/* ボトムメニュー */
.bottom-float-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9999;
}

.bottom-float-menu a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    position: relative;
    border-top: 1px solid #00ff95;
}

.float-item-tel {
    background: #333;
}

.float-item-mail {
    background: #000;
}

body {
    padding-bottom: 60px;
}

.hero h2 {
    font-size: 2.5rem;
}

/* ==========================================
   Awards Section
   ========================================== */
.awards-list {
    max-width: 800px;
    margin: 0 auto;
}

.award-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.award-item:last-child {
    border-bottom: none;
}

.award-year {
    font-weight: bold;
    width: 100px;
    color: #666;
    font-size: 0.9rem;
}

.award-name {
    flex: 1;
    font-size: 1.1rem;
    font-weight: bold;
}

/* 親要素を縦並び可能にする */
.award-name-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.award-name {
    font-size: 1.1rem;
    font-weight: bold;
}

/* 「その他受賞多数」のスタイル：小さめ・右寄せ */
.award-note {
    font-size: 0.8rem;
    color: #888;
    text-align: right;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* スマホ表示の際の微調整 */
@media (max-width: 768px) {
    .award-name-container {
        width: 100%;
    }

    .award-note {
        text-align: right;
        /* スマホでも右寄せを維持 */
        font-size: 0.75rem;
    }
}

/* スマホ用の調整：@media (max-width: 768px) の中に追加してください */
@media (max-width: 768px) {
    .award-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .award-year {
        width: auto;
    }

    .award-name {
        font-size: 1rem;
    }
}

.mov {
    /*height: 100vh;*/
    position: relative;
    width: 100%;
    height: 100vh;
}

.screen {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-size: cover;
    background-repeat: repeat;
    height: 100vh;
}

.mov_in {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    z-index: -1;
}

.mov_in video {
    position: absolute;
    top: 50%;
    left: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.mov_in img {
    position: absolute;
    top: 50%;
    left: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

/* ==========================================
   Hero Section (Background Video)
   ========================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 画面いっぱいの高さ */
    overflow: hidden;
    display: flex;
    align-items: center;
    /* 上下中央 */
    justify-content: center;
    /* 左右中央 */
}

/* 背景動画のコンテナ */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 動画を画面いっぱいに（object-fit: cover で黒帯なしに広げる） */
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 隙間なく埋める（参考サイトと同じ手法） */
}

/* 動画の上の暗幕 */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.075);
    /* 暗さを調整したい場合は 0.4 を変更 */
    z-index: 2;
}

/* コンテンツ（文字とボタン） */
.hero-content {
    position: relative;
    z-index: 3;
    /* 暗幕より上 */
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    /* 視認性をさらに確保 */
}

/* ボタン調整（背景動画に重なるため、少し浮き立たせる） */
.hero-btns {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* スマホ用レスポンシブ調整 */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-main,
    .btn-sub {
        width: 80%;
    }
}

/* --- アニメーションの定義 --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        /* 30px下から */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 動きをつけたい要素に付けるクラス */
.reveal {
    opacity: 0;
    /* 最初は消しておく */
}

/* 画面内に入った時にJSでこのクラスを付与する */
.reveal.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ヒーローセクションの文字などは最初から動かしてOK */
.hero-content h2,
.hero-content p,
.hero-btns {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content p {
    animation-delay: 0.2s;
}

/* 少し遅らせる */
.hero-btns {
    animation-delay: 0.4s;
}

/* さらに少し遅らせる */

/* --- style.css の最後に追記 --- */

/* スマホでの横揺れ防止 */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* コンテナのパディング調整 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
        /* スマホでは上下余白を少し詰める */
    }
}

/* アニメーションの初期状態による崩れ防止 */
.reveal {
    overflow: hidden;
}

/* 制作実績：2列レイアウト用の追加設定 */

.works-2col-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 常に50%ずつ */
    gap: 30px;
    /* アイテム間の隙間 */
    width: 100%;
    /* 親要素（YouTubeと同じ幅）に合わせる */
    margin: 40px auto 0;
}

.works-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* YouTubeと同じ比率に固定するとより綺麗に揃います */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;

}

.works-item2 img {
    width: 33%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* YouTubeと同じ比率に固定するとより綺麗に揃います */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;

}

.client-tag {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .works-2col-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* スマホ表示：1列に切り替え */
@media (max-width: 768px) {
    .works-grid-2col {
        grid-template-columns: 1fr;
        /* 1列 */
        gap: 30px;
    }
}

/* --- アクセントカラー #02b470 の適用 --- */

/* 1. 共通ボタン（ホバー時のみ色を変えて洗練された印象に） */
.btn-main:hover,
.btn-s:hover {
    background-color: #02b470 !important;
    border-color: #02b470 !important;
    color: #fff !important;
}

/* 2. セクションタイトルの「会社概要」などのサブタイトル */
.section-title span,
h1 span {
    color: #02b470 !important;
}

/* 3. 箇条書き（ul li）の先頭にアクセントを付ける */
.works-list li::before {
    background-color: #02b470 !important;
}

/* 4. 制作実績のタグ（client-tag）を少し色づける */
.client-tag {
    color: #02b470 !important;
    font-weight: 500;
}

/* 5. お問い合わせセクションなど、背景が暗い場所の強調文字 */
.bg-dark h2 span {
    color: #02b470 !important;
}

/* 6. ハンバーガーメニューがアクティブな時の色（スマホ用） */
.menu-trigger.active span {
    background-color: #02b470 !important;
}

/* --- マウスストーカー：確定版 --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: -100px;
    /* 初期位置を画面外に */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #02b470;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(2, 180, 112, 0.5);
    /* transform の transition は JS の scale 演出用 */
    transition: transform 0.2s ease-out, opacity 0.5s ease, background-color 0.2s ease;
}

/* スマホでは完全に無効化 */
@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}


/* --- CONTACT(CTA)背景動画 決定版 --- */
.contact-video-section {
    position: relative;
    padding: 120px 0;
    background-color: #000;
    /* 動画読み込み前の色 */
    overflow: hidden;
    text-align: center;
    color: #fff;
}

/* 動画の配置：親要素に追従させ、一番背面に送る */
.contact-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画面いっぱいに広げる */
}

/* 動画の上の暗いフィルター：z-indexを1にして動画の上に重ねる */
.contact-video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.329);
    /* 暗さを調整 */
    z-index: 1;
}

/* コンテンツ：z-indexを2にしてフィルターより上に表示 */
.contact-content {
    position: relative;
    z-index: 2;
}

/* テキスト装飾 */
.contact-content h2 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.accent-green {
    color: #02b470 !important;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-content .tel {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.contact-content .tel:hover {
    color: #02b470;
}

/* スマホ表示の最適化 */
@media (max-width: 768px) {
    .contact-video-section {
        padding: 80px 0;
    }

    .contact-content h2 {
        font-size: 1.8rem;
    }

    .contact-content .tel {
        font-size: 1.6rem;
    }
}

.align-bracket {
    /* 1行目を「 」の幅分（約0.5文字〜1文字）左に突き出させる */
    text-indent: -0.5em;
    /* 突き出した分、全体の開始位置を右に下げて相殺する */
    padding-left: 0.5em;

    line-height: 1.6;
    display: inline-block;
    /* 幅をコンテンツに合わせる場合 */
    text-align: left;
    /* 左揃えを維持 */
}

/* 中央揃えのエリアにある場合は以下も追加 */
.cta .container {
    text-align: center;
}

/* --- AGENCYセクション：統合デザイン --- */

/* 既存のグリッドと追加分の間に余白を作る */
.agency-details {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* 境目に薄い線を引く */
}

/* 追加部分の見出し */
.agency-text-box h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #fff;
}

.agency-text-box p {
    font-size: 1.05rem;
    color: #ccc;
    margin-bottom: 20px;
    max-width: 800px;
}

/* 媒体タグリスト */
.media-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 12px;
    margin-top: 30px;
}

.media-list li {
    background: transparent;
    border: 1px solid #02b470;
    color: #02b470;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.media-list li:hover {
    background: #02b470;
    color: #fff;
}

/* 既存のservice-itemの微調整（黒背景用） */
.service-item h4 {
    color: #02b470;
    /* 項目名を緑にすると統一感が出ます */
    margin-bottom: 5px;
}

.service-item p {
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .agency-text-box h3 {
        font-size: 1.5rem;
    }
}

/* --- ACCESSセクションの調整 --- */
.access-grid {
    display: grid;
    flex-wrap: wrap;
    /* PCでは左右2分割 */
    gap: 40px;
    margin-top: 40px;
}

.access-info {
    flex: 1;
    min-width: 300px;
}


.access-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.access-info p {
    font-size: 1rem;
    line-height: 1.8;
}

/* マップを角丸にして少し洗練させる */
.access-map {
    flex: 1.5; /* マップを少し広めに */
    min-width: 300px;
    width: 100%;
    height: 400px; /* 高さの指定 */
    overflow: hidden;
    border-radius: 8px;
}

.access-map iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



/* スマホ表示では縦に並べる */
@media (max-width: 768px) {
    .access-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-info h3 {
        font-size: 1.3rem;
    }
}

#laserCanvas {
    position: fixed;
    /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    /* コンテンツの背面に配置 */
    pointer-events: none;
    /* マウス操作を透過させる（ボタン等の邪魔をしない） */
    background-color: #f9f9f9;
}


/* ==========================================
   Message Section (Agency Style)
   ========================================== */
.message-section {
    background-color: #000000;
    /* 漆黒に統一 */
    color: #ffffff;
    padding: 80px 20px;
    /* 余白をタイトに調整 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.message-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.message-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 0;
    color: #ffffff;
}

/* 特定キーワードと下段ハイライトの統合 */
.text-accent,
.message-title .highlight {
    color: #00ff95;
    font-weight: 700;
}

.message-title .highlight {
    display: block;
    margin-top: 12px;
}

.message-divider {
    width: 40px;
    height: 1px;
    background-color: #00ff95;
    margin: 30px auto;
    /* 余白を調整 */
}

.message-lead {
    font-size: 1.2rem;
    line-height: 2.2;
    color: #999999;
    letter-spacing: 0.03em;
    margin: 0;
}

/* モバイル対応：画面幅に合わせてサイズを最適化 */
@media (max-width: 768px) {
    .message-section {
        padding: 100px 20px;
    }

    .message-title {
        font-size: 5.4vw !important;
    }

    .message-lead {
        font-size: 1rem;
        line-height: 1.8;
    }

    .br_pc {
        display: none;
    }
}

/* --- 前回のCSSに追加 --- */

/* 特定のキーワードを#00ff95にする */
.text-accent {
    color: #00ff95;
    font-weight: 700;

}

.message-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 0;
    color: #ffffff;
    /* 基本の文字色は白 */
}

.message-title .highlight {
    display: block;
    margin-top: 12px;
    color: #00ff95;
    /* ここも引き続きアクセントカラー */
}

/* 三角形本体のスタイル */
.side-triangle {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    /* 変化がダイナミックに見える幅 */
    height: 100%;
    background: #02b470;
    /* 最初の形 */
    clip-path: polygon(83% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    will-change: clip-path;
}

/* 親要素の調整（三角形がはみ出さないように） */
.section,
.agency-section,
.bg-light,
#works,
#agency,
#award {
    position: relative !important;
    overflow: hidden;
}

/* スマホでは三角形を小さくするか非表示にする */
@media (max-width: 768px) {
    .side-triangle {
        width: 50vw;
        height: 100vw;
        opacity: 0.1;
    }
}

/* style.css の料金セクション付近を更新 */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* カラム数を柔軟に */
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eee;
}

/* ご相談カード（0円）の強調 */
.pricing-card.accent-card {
    border: 2px solid #02b470;
    /* ブランドカラーで囲む */
    transform: scale(1.03);
    z-index: 1;
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #02b470;
    color: #fff;
    padding: 2px 15px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 1rem;
    margin-left: 4px;
}

.price-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 3em;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #02b470;
    font-weight: bold;
}

.price-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #888;
}

/* モバイル対応：強調表示のスケールを戻す */
@media (max-width: 768px) {
    .pricing-card.accent-card {
        transform: none;
        margin-bottom: 20px;
    }
}

/* style.css の料金セクション付近を更新 */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* カラム数を柔軟に */
    gap: 20px;
    margin-top: 40px;
    padding: 3%;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eee;
}

/* ご相談カード（0円）の強調 */
.pricing-card.accent-card {
    border: 2px solid #02b470;
    /* ブランドカラーで囲む */
    transform: scale(1.03);
    z-index: 1;
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #02b470;
    color: #fff;
    padding: 2px 15px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 1rem;
    margin-left: 4px;
}

.price-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 3em;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #02b470;
    font-weight: bold;
}

.price-note {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #888;
    padding: 3%;
}

/* モバイル対応：強調表示のスケールを戻す */
@media (max-width: 768px) {
    .pricing-card.accent-card {
        transform: none;
        margin-bottom: 20px;
    }
}

/* スマホ向けの微調整 */
@media (max-width: 768px) {
    .access-grid {
        flex-direction: column; /* 強制的に縦並び */
        gap: 30px;
    }

    .access-map {
        height: 300px; /* スマホではマップの高さを少し抑える */
    }

    .access-info h3 {
        font-size: 1.3rem;
    }
}