

@charset "UTF-8";

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #0d0d0d; /* 漆黒 */
    color: #f0f0f0;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Colors */
:root {
    --gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f2d06b 50%, #d4af37 100%);
    --dark-bg: #1a1a1a;
    --accent: #aa8625;
}

/* Typography */
.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gold);
}
.section-title span {
    display: block;
    font-size: 1rem;
    color: #888;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

/* =========================================
   Header Layout
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #333;
    height: 70px; /* 高さを固定して安定させる */
}

.header-inner {
    display: flex;
    justify-content: space-between; /* 要素を左右両端に配置 */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* スマホ用に余白を少し調整 */
    height: 100%;
    width: 100%; /* 横幅を確実に100%に */
}

/* ロゴ周り */
.logo-container {
display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 2000;
    /* 右側の余白を埋めないようにする */
    margin-right: auto; 
}
.logo { font-size: 1.5rem; color: #fff; font-family: 'Noto Serif JP', serif; }
.logo-sub { font-size: 0.65rem; color: #aaa; border-left: 1px solid #555; padding-left: 12px; }

/* PC用ナビ（768px以上で表示） */
.pc-nav ul { display: flex; gap: 1.5rem; list-style: none; }
.pc-nav a { font-size: 0.9rem; color: #fff; transition: 0.3s; }
.pc-nav a:hover { color: var(--gold); }

/* =========================================
   New Hamburger Button (Mobile)
   ========================================= */
.hamburger-btn {
    display: none; /* PCでは非表示 */
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid var(--gold);
    padding: 8px 15px;
    border-radius: 4px;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    transition: 0.3s;
    margin-left: auto;  /* ★ここが重要：強制的に右寄せにする設定 */
}

.btn-text {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.bar-container {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bar-container span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

/* ボタンがアクティブ（開いている）時の動き */
.hamburger-btn.active {
    background: var(--gold); /* 背景をゴールドに */
}
.hamburger-btn.active .btn-text {
    color: #000; /* 文字を黒に */
}
.hamburger-btn.active .bar-container span {
    background: #000; /* 線を黒に */
}
/* ×印のアニメーション */
.hamburger-btn.active .bar-container span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger-btn.active .bar-container span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================
   Mobile Full Screen Menu
   ========================================= */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0d0d0d; /* 真っ黒背景 */
    z-index: 1500;
    opacity: 0; /* 最初は隠す */
    visibility: hidden; /* 操作不能にする */
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* アクティブになったら表示 */
.sp-nav.active {
    opacity: 1;
    visibility: visible;
}

.sp-nav-inner ul {
    list-style: none;
    text-align: center;
}

.sp-nav-inner li {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
}

/* メニューが開いた時に下からフワッと出てくる */
.sp-nav.active li {
    opacity: 1;
    transform: translateY(0);
}
/* 遅延させて順番に出す */
.sp-nav.active li:nth-child(1) { transition-delay: 0.1s; }
.sp-nav.active li:nth-child(2) { transition-delay: 0.2s; }
.sp-nav.active li:nth-child(3) { transition-delay: 0.3s; }
.sp-nav.active li:nth-child(4) { transition-delay: 0.4s; }
.sp-nav.active li:nth-child(5) { transition-delay: 0.5s; }
.sp-nav.active li:nth-child(6) { transition-delay: 0.6s; }

.sp-nav a {
    font-size: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    color: #fff;
    display: block;
}
.sp-nav .en {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    font-family: sans-serif;
    margin-top: 5px;
    letter-spacing: 2px;
}


/* =========================================
   Media Queries (スマホ用調整)
   ========================================= */
@media (max-width: 768px) {
    /* PC用メニューは非表示 */
    .pc-nav { display: none; } 


    /* スマホ用ボタンを表示 */
    .hamburger-btn { display: flex; }

    /* ヘッダーの余白調整 */
    .header-inner {
        padding: 0 1rem;
    }

    /* ロゴのサイズ調整 */
    .logo {
        font-size: 1.2rem; /* 少し小さくして圧迫感を減らす */
    }

    /* ★ここが修正点：サブタイトルを表示させる */
    .logo-sub {
        display: block;        /* 表示する */
        font-size: 0.5rem;     /* スマホ用に文字を小さく */
        line-height: 1.1;      /* 行間を詰める */
        padding-left: 8px;     /* 線との距離を調整 */
        white-space: nowrap;   /* 改行させない（または <br> のみで改行） */
    }
}
@media (min-width: 964px) {
    /* SP用メニューは非表示 */
    .sp-navi { display: none; }
}

/* =========================================
   スマホメニュー内の「お問い合わせ」を目立たせる
   ========================================= */

/* スマホメニュー内のお問い合わせボタン専用スタイル */
.sp-nav .btn-gold {
    background: var(--gold-gradient); /* ゴールドのグラデーション */
    color: #000 !important;           /* 文字は黒で視認性アップ */
    padding: 1rem 2rem;               /* 大きめの余白 */
    border-radius: 50px;              /* 丸みを帯びさせる */
    margin-top: 1rem;                 /* 上のメニューと少し離す */
    display: inline-block;            /* ボタンの形にする */
    width: 80%;                       /* 横幅を広めに（スマホで押しやすく） */
    max-width: 300px;
    font-weight: 800;                 /* 極太フォント */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.6); /* 金色の光る影 */
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif; /* 読みやすいゴシック体 */
    position: relative;
    overflow: hidden;
}

/* 光るアニメーション（キラッとさせる） */
.sp-nav .btn-gold::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: shine 3s infinite; /* 3秒ごとにキラッと光る */
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* お問い合わせボタンだけ英語表記（CONTACT）を消す、または色を変える */
/* 今回はボタンの中にテキストとして含めたいので、既存の英語表記は非表示にする */
.sp-nav .btn-gold .en {
    display: none;
}




























/* =========================================
   Hero Section (背景動画 修正版)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000; /* 動画読み込み前の背景 */
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* ベース */
    overflow: hidden;
}

.hero-video {
    /* 絶対配置で中央に固定し、画面を覆い尽くす */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* 縦横比を維持したまま隙間なく埋める設定 */
    width: 100vw;
    height: 100vh;
    object-fit: cover; 
    
    /* 少し暗くしたい場合はここで透明度を下げる手もあるが、今回はoverlayで調整 */
    z-index: 1;
}

/* 動画の上に被せる半透明の黒グラデーション */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* 動画の上 */
    
    /* グラデーション：上と下が濃い黒、真ん中は少し透ける */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3; /* 一番手前 */
    padding: 0 1rem;
    max-width: 800px;
    padding-top: 60px;
}


.hero-sub { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 1rem; }
.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 背景動画がある場合は、文字が見やすいように少しドロップシャドウを入れても良い */
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.hero-text { margin-bottom: 3rem; color: #eee; }

/* 2行目の「風俗系ホームページは」のバランス調整 */
.sub-line {
    font-size: 0.7em; /* 前後の行より少し小さくしてメリハリをつける */
    display: inline-block;
    margin: 0.2rem 0;
}

/* 「AI」を目立たせる鮮明な赤系グラデーション＋明朝体 */
.ai-text {
    font-family: 'Shippori Mincho B1', serif; /* 新しい明朝体フォント */
    font-weight: 800;       /* 極太にしてインパクトを出す */
    font-size: 2.5em;       /* サイズ調整 */
    line-height: 1;         /* 行間をタイトに */
    display: inline-block;
    margin: 0 0.1rem;       /* 前後の余白調整 */
    
    /* 文字自体を赤〜オレンジのグラデーションにする設定 */
    /* 深い赤 → 鮮やかな朱色 → 明るいオレンジ のグラデーション */
    background: linear-gradient(45deg, #c21500 0%, #ff5722 50%, #ffc500 100%);
    -webkit-background-clip: text; /* 背景を文字の形に切り抜く */
    -webkit-text-fill-color: transparent; /* 文字色を透明にして背景を見せる */

    /* にじみの原因となっていた強い影(text-shadow)を削除して鮮明にする */
    text-shadow: none;
    
    /* 傾きなどの変形もリセット */
    transform: none;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .ai-text {
        font-size: 2.2em; /* スマホでのバランス調整 */
    }
}






/* Buttons */
.btn-gold {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.8rem 2.5rem;
    display: inline-block;
}
.btn-line {
    background: #06c755;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Layout */
.section { padding: 5rem 1rem; }
.container { max-width: 1000px; margin: 0 auto; }






/* =========================================
   Concept Section (Rich Version)
   ========================================= */
.section-desc {
    text-align: center;
    color: #ccc;
    margin-bottom: 4rem;
    font-size: 1rem;
    line-height: 1.8;
}

.concept-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 最後の1個が余っても真ん中に来るように */
    gap: 2rem;
}

.concept-item {
    /* PCでは2列になるような幅設定 (gap分を引いて計算) */
    width: calc(50% - 1rem); 
    
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid #333;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* ホバー時に枠線が光り、少し浮き上がる */
.concept-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 背景にうっすら光を入れる演出 */
.concept-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.4s;
}
.concept-item:hover::before { opacity: 1; }

.concept-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: #000;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #444;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.concept-body {
    width: 100%;
}

.concept-item h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Noto Serif JP', serif;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.concept-lead {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.concept-text {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: justify; /* 両端揃えで文章を美しく */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .concept-grid {
        grid-template-columns: 1fr; /* スマホでは1列 */
    }

    .concept-lead {
        font-size: 0.95rem;
    }
.concept-item {
        width: 100%; /* スマホでは1列 */
        padding: 2rem;
    }	
}



/* =========================================
 Work
   ========================================= */
/* Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.work-item { text-align: center; }
.work-img {
    height: 200px;
    background: #222;
    margin-bottom: 1rem;
    border: 1px solid #333;
overflow: hidden;s
}
.work-item p {   font-size: 0.8rem;
    color: #888;
}
.work-img img {
max-width: 100%;
height: autos;	
}	


.center-btn { text-align: center; }

/* Price */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}
.price-card {
    background: var(--dark-bg);
    padding: 2rem;
    border: 1px solid #333;
    text-align: center;
    position: relative;
}
.price-card.recommended {
    border: 2px solid var(--gold);
    transform: scale(1.05);
    background: #222;
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    padding: 0.3rem 1rem;
    font-weight: bold;
    font-size: 0.8rem;
}
.price-amount {
    font-size: 2rem;
    font-family: 'Noto Serif JP', serif;
    color: var(--gold);
    margin: 1.5rem 0;
}
.price-amount span { font-size: 1rem; }
.price-card ul { text-align: left; margin-bottom: 1.5rem; border-top: 1px solid #444; padding-top: 1rem; }
.price-card li { margin-bottom: 0.5rem; color: #ccc; }
.price-card li::before { content: "✔"; color: var(--gold); margin-right: 0.5rem; }

/* Contact */
.contact { text-align: center; background: #111; }
.contact-desc { margin-bottom: 2rem; }
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--gold); font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.submit-btn { width: 100%; cursor: pointer; border: none; }

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: #000;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .nav { display: none; /* 簡易的。実際はハンバーガーメニュー推奨 */ }
    .header-inner { justify-content: center; }
    .price-card.recommended { transform: scale(1); margin: 1rem 0; }
}

/* --- Table Styles (Price Section) --- */
.table-scroll {
    overflow-x: auto; /* スマホで横スクロール可能に */
    margin-bottom: 1rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* スマホではスクロールさせる */
    margin: 0 auto;
}

.price-table th, .price-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid #333;
    background: #1a1a1a;
    vertical-align: middle;
}

/* ヘッダーデザイン */
.price-table th {
    background: #111;
    color: #fff;
    position: relative;
}

.th-head {
    width: 20%;
    background: #000 !important;
    font-weight: bold;
}

.th-plan {
    width: 26%;
}

.plan-name {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.plan-sub {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.2rem;
    font-weight: normal;
}

/* おすすめプランの強調 */
.th-plan.recommended {
    border-top: 3px solid var(--gold);
    background: #222;
}

.th-plan.recommended .plan-name {
    color: var(--gold);
}

.badge {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: bold;
	    margin-top: 12px;
}

/* データセル */
.td-label {
    text-align: left;
    font-weight: bold;
    background: #111;
    color: #ccc;
}

.td-price {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.circle { color: var(--gold); font-size: 1.5rem; }
.cross { color: #666; font-size: 1.5rem; }
.note { font-size: 0.8rem; color: #888; display: block; margin-top: 0.2rem; }

/* テーブル内のボタン */
.btn-table {
    display: block;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    background: #000;
}

.btn-gold-bg {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    font-weight: bold;
}

.price-note {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}


/* --- Flow Section --- */
.flow {
    background: #111;
}

.flow-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* 真ん中の線 */
.flow-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px; /* 数字の中心を通る線 */
    width: 2px;
    height: 100%;
    background: var(--gold-gradient);
    z-index: 0;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.flow-item:last-child { margin-bottom: 0; }

.flow-num {
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.flow-content {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    width: 100%;
}

.flow-content h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flow-content p {
    color: #ccc;
    font-size: 0.95rem;
}

.highlight {
    color: #ff6b6b; /* 注意書きなどは赤系または明るい色 */
    font-size: 0.85rem;
    font-weight: bold;
}

/* --- FAQ Section --- */
.faq {
    background: #0d0d0d;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 1rem;
    border-radius: 4px;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: #555;
}

.faq-item[open] {
    border-color: var(--gold);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    list-style: none; /* デフォルトの三角を消す */
    color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question .icon {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.3s;
}

.faq-item[open] .faq-question .icon {
    transform: rotate(45deg); /* 開いた時に+を×にする */
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px solid #333;
    padding-top: 1rem;
}


/* Mobile Responsive adjustment for Table */
@media (max-width: 768px) {
    .price-table th, .price-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    .td-price {
        font-size: 1.1rem;
    }
}



















/* =========================================
   Works List Page Styles
   ========================================= */

/* 下層ページのヘッダー（メインビジュアルの代わり） */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom, #000 0%, #1a1a1a 100%);
    text-align: center;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.page-title span {
    display: block;
    font-size: 1rem;
    color: #888;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 0.5rem;
    font-weight: normal;
}



/* フィルターボタン全体のレイアウト */
.filter-buttons {
    display: flex;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* スマホで折り返す */
    gap: 12px; /* ボタン同士の間隔 */
    margin-bottom: 40px; /* 下の一覧との隙間 */
    padding: 20px 0;
}

/* ボタン単体のデザイン */
.filter-buttons button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent; /* 背景透明 */
    border: 1px solid #333; /* 枠線 */
    border-radius: 50px; /* 丸みをつける（カプセル型） */
    padding: 10px 24px; /* ボタンの大きさ */
    font-size: 14px;
    font-weight: 600;
    color: #333; /* 文字色 */
    cursor: pointer;
    transition: all 0.3s ease; /* ふわっと変化させる */
    letter-spacing: 0.05em;
}

/* マウスを乗せた時（ホバー）＆ 選択されている時（アクティブ） */
.filter-buttons button:hover,
.filter-buttons button.active {
    background-color: #333; /* 背景を黒く */
    color: #fff; /* 文字を白く */
    transform: translateY(-2px); /* 少し浮き上がる演出 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* 影をつける */
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .filter-buttons button {
        padding: 8px 16px;
        font-size: 12px;
    }
}





/* 実績グリッドレイアウト */
.works-grid-container {
    display: grid;
    /* PCでは3列表示 */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 実績カード */
.work-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    /* 表示アニメーション用 */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.work-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.work-link {
    display: block;
    height: 100%;
}

.work-thumb {
    position: relative;
    width: 100%;
    height: 200px; /* サムネイルの高さ固定 */
    overflow: hidden;
    background: #000;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をトリミングして枠に収める */
    transition: 0.5s;
}

.work-card:hover .work-thumb img {
    transform: scale(1.1); /* ホバーで少し拡大 */
    opacity: 0.8;
}

.work-info {
    padding: 1.2rem;
}

.work-name {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif JP', serif;
}

.work-tags {
    font-size: 0.8rem;
    color: #888;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .page-title { font-size: 2rem; }
    .works-grid-container {
        /* スマホでは2列表示（狭すぎる場合は1列になる） */
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .work-thumb { height: 120px; }
    .work-info { padding: 1rem; }
    .work-name { font-size: 0.9rem; }
    .work-tags { font-size: 0.7rem; }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}





/* =========================================
   Functions Section
   ========================================= */
.functions {
    background: #111; /* 背景を少し変えて区切りを明確に */
    border-top: 1px solid #222;
}

.func-grid {
    display: grid;
    /* PC: 3列, スマホ: 1列 の自動調整グリッド */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.func-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    transition: 0.3s;
}

.func-item:hover {
    background: #222;
    border-color: #555;
}

/* 重要な機能（キャスト・求人）をゴールド枠で強調 */
.func-item.highlight {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(145deg, #222, #1a1a1a);
}

.func-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.8rem;
}

.func-icon {
    font-size: 1.5rem;
}

.func-item h4 {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}

.func-item.highlight h4 {
    color: var(--gold);
}

.func-item p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .func-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
    }
    .func-item {
        padding: 1.2rem;
    }
}






/* =========================================
   Function & Page List Styles
   ========================================= */
/* =========================================
   Function Page - Icons & Highlight
   ========================================= */

/* アイコンのスタイル */
.p-icon {
    font-size: 1.4rem;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* 12の基本ページを強調するスタイル */
.page-card.highlight {
    border: 1px solid var(--gold); /* ゴールドの枠線 */
    background: linear-gradient(145deg, #1a1a1a, #111); /* 立体感のある背景 */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); /* ほのかな光彩 */
    position: relative;
    overflow: hidden;
}

/* 枠線が光る演出（オプション） */
.page-card.highlight::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.page-card.highlight h4 {
    color: var(--gold);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}
/* 管理機能リストのデザイン */
.manage-list-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.manage-list {
    display: grid;
    /* PCでは2列表示 */
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
    list-style: none;
    padding: 0;
}

.manage-list li {
    font-size: 1.1rem;
    color: #fff;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

/* ゴールドのチェックマーク */
.manage-list li::before {
    content: "✔";
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ページ一覧グリッド */
.bg-dark {
    background: #0d0d0d; /* 背景を濃くして区切りをつける */
}

.pages-grid {
    display: grid;
    /* PCでは3列、タブレット2列、スマホ1列 */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.page-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 1.5rem;
    border-radius: 8px;
    transition: 0.3s;
}

.page-card:hover {
    border-color: #555;
    background: #222;
    transform: translateY(-3px);
}

/* 重要なページ（在籍・スケジュール・求人）を強調 */
.page-card.highlight {
    border-left: 4px solid var(--gold);
    background: linear-gradient(145deg, #222, #1a1a1a);
}

.page-card h4 {
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    font-family: 'Noto Serif JP', serif;
}

.page-card p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .manage-list-box {
        padding: 1.5rem;
    }
    .manage-list {
        grid-template-columns: 1fr; /* スマホでは1列 */
        gap: 1rem;
    }
    .manage-list li {
        font-size: 1rem;
    }
}


























/* =========================================
   Function Page - Accordion Styles
   ========================================= */

.func-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.accordion-item {
    border-bottom: 1px solid #333;
}
.accordion-item:last-child {
    border-bottom: none;
}

/* ヘッダーボタン */
.accordion-header {
    width: 100%;
    text-align: left;
    background: #1a1a1a;
    color: #fff;
    padding: 1.5rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #252525;
    color: var(--gold);
}

.accordion-header.active {
    background: #222;
    color: var(--gold);
    border-bottom: 1px solid #333;
}

/* アイコン */
.acc-icon {
    font-size: 1.4rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

/* 矢印 */
.acc-arrow {
    font-size: 0.8rem;
    color: #666;
    transition: 0.3s;
}
.accordion-header.active .acc-arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

/* キャスト機能を強調 */
.accordion-item.highlight-acc .accordion-header {
    background: linear-gradient(90deg, rgba(212,175,55,0.1), transparent);
    border-left: 4px solid var(--gold);
}

/* 中身（コンテンツ） */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #0d0d0d;
}

.acc-inner {
    padding: 2rem;
}

/* 説明リスト (DL, DT, DD) */
.acc-inner dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.acc-inner dt {
    color: var(--gold);
    font-weight: bold;
    border-left: 2px solid var(--gold);
    padding-left: 10px;
    font-size: 0.95rem;
    align-self: start; /* 上揃え */
}

.acc-inner dd {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1.5rem;
}
.acc-inner dd:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }
    .acc-inner {
        padding: 1rem;
    }
    .acc-inner dl {
        grid-template-columns: 1fr; /* スマホでは1列 */
        gap: 0.5rem;
    }
    .acc-inner dt {
        margin-top: 1rem;
        border-bottom: none;
    }
    .acc-inner dd {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}


