/* =========================================
   基本リセット・共通設定
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden; /* 横スクロールを禁止 */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
    --primary-cyan: #00e5ff;
    --primary-cyan-dark: #00b8cc;
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --border-color: #333;
}

/* 共通レイアウト */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.section { padding: 6rem 0; }
.section-title { font-size: 2.2rem; color: #fff; text-align: center; margin-bottom: 1rem; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--primary-cyan); margin: 1rem auto 3rem; }
.section-lead { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }

/* =========================================
   ヘッダー・ナビゲーション
   ========================================= */
.header { background-color: rgba(10, 10, 10, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }

/* ロゴ画像の調整 */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-list { display: flex; gap: 2rem; align-items: center; }
.menu-item a { font-weight: 700; transition: color 0.3s; }
.menu-item a:hover { color: var(--primary-cyan); }
.nav-cta { border: 1px solid var(--primary-cyan); color: var(--primary-cyan) !important; padding: 0.5rem 1.5rem; border-radius: 4px; transition: all 0.3s; }
.nav-cta:hover { background: var(--primary-cyan); color: #000 !important; }

/* =========================================
   トップページ（ヒーローセクション）
   ========================================= */
.hero { 
    position: relative; 
    padding: 8rem 2rem; 
    text-align: center; 
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; 
}

/* 背景画像の上に半透明の黒いフィルターを重ねて文字を読みやすくする */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.75);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-subtitle { color: var(--primary-cyan); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; line-height: 1.3; margin-bottom: 1.5rem; color: #fff; text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); font-weight: 900; }
.hero-description { font-size: 1.2rem; margin-bottom: 2.5rem; color: #ccc; }

/* =========================================
   ボタン・アクション
   ========================================= */
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 4px; font-weight: 700; font-size: 1.1rem; transition: all 0.3s; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary-cyan); color: #000; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }
.btn-primary:hover { background: var(--primary-cyan-dark); box-shadow: 0 0 25px rgba(0, 229, 255, 0.6); }
.btn-outline { border: 1px solid var(--primary-cyan); color: var(--primary-cyan); background: transparent; }
.btn-outline:hover { background: rgba(0, 229, 255, 0.1); }
.btn-large { padding: 1.2rem 3rem; font-size: 1.3rem; }
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.mt-2 { margin-top: 2rem; }

/* =========================================
   共通コンポーネント（カード・価格表）
   ========================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card { background: var(--bg-card); padding: 2.5rem 2rem; border-radius: 8px; border: 1px solid var(--border-color); transition: transform 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--primary-cyan); }
.card h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.2rem; line-height: 1.5; }
.card p { color: #aaa; font-size: 0.95rem; }

.services { background: #050505; }
.pricing-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.pricing-item { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2rem; border-radius: 8px; }
.pricing-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1rem; }
.pricing-header h3 { color: var(--primary-cyan); font-size: 1.2rem; }
.price { font-size: 1.5rem; font-weight: 700; color: #fff; }
.tax { font-size: 0.9rem; color: var(--text-muted); font-weight: normal; }
.pricing-item p { font-size: 0.95rem; color: #aaa; }
.pricing-item small { display: block; margin-top: 0.5rem; color: var(--text-muted); }

.company-info { background: linear-gradient(to bottom, var(--bg-dark), #000); border-top: 1px solid var(--border-color); }
.operated-by { color: var(--text-muted); letter-spacing: 2px; margin-bottom: 0.5rem; font-size: 0.9rem; }
.company-info h2 { font-size: 2rem; color: #fff; margin-bottom: 1.5rem; }
.company-info p { margin-bottom: 2rem; color: #aaa; }

.cta-bottom { background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,229,255,0.05)"/></svg>'); }
.cta-bottom h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.cta-bottom p { color: #aaa; margin-bottom: 1rem; }

/* =========================================
   フッター
   ========================================= */
.footer { padding: 3rem 0; background: #000; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--primary-cyan); }
.copyright { margin-top: 1rem; font-size: 0.8rem; }

/* =========================================
   下層ページ共通（ページヘッダー）
   ========================================= */
.page-header {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 900;
}
.page-subtitle {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    font-weight: 700;
}

/* =========================================
   サービス詳細ページ
   ========================================= */
.feature-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-details {
    background: #050505;
}
.service-detail-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2rem;
}
.service-detail-item h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.price-tag {
    font-size: 1rem;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-cyan);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--primary-cyan);
}
.service-detail-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #aaa;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}
.note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   企業情報ページ
   ========================================= */
.message-section {
    background: var(--bg-dark);
}
.message-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.message-content p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
}
.message-content .signature {
    text-align: right;
    margin-top: 2rem;
    color: #fff;
    font-weight: 700;
}

.company-overview {
    background: #050505;
}
.table-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table th, .info-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
.info-table th {
    width: 30%;
    color: var(--primary-cyan);
    font-weight: 700;
}
.info-table td {
    color: #ccc;
}
.info-table tr:last-child th, .info-table tr:last-child td {
    border-bottom: none;
}

/* =========================================
   お問い合わせページ（メール直書き・スパム対策）
   ========================================= */
.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-lead {
    color: #ccc;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.contact-method-card {
    background: #0a0a0a;
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-method-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-method-card .btn {
    width: 100%;
    margin-bottom: 1rem;
    word-break: break-all;
    font-size: 1.2rem;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

/* =========================================
   プライバシーポリシーページ
   ========================================= */
.privacy-section {
    background: #050505;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.privacy-content > p {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.privacy-content h2 {
    color: var(--primary-cyan);
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.privacy-info {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
    color: #ddd !important;
    line-height: 1.8;
}

.privacy-info a {
    color: var(--primary-cyan);
    text-decoration: underline;
}

.privacy-date {
    text-align: right;
    margin-top: 3rem;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

/* =========================================
   ハンバーガーメニュー（モバイル対応）
   ========================================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-cyan);
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* =========================================
   レスポンシブ対応（スマホ・タブレット）
   ========================================= */
@media (max-width: 768px) {
    /* 全体的な調整 */
    .hero h1 { font-size: 2.2rem; }
    .grid-3, .pricing-table { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .hero { padding: 5rem 1rem; }
    .hero-actions { flex-direction: column; }
    .pricing-header { flex-direction: column; gap: 0.5rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 1rem; }
    
    /* ハンバーガーメニュー表示 */
    .menu-toggle { display: block; }
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 150;
    }
    .navigation.is-open { right: 0; }
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        padding: 0 2rem;
    }
    .menu-item a {
        font-size: 1.4rem;
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-cta {
        margin-top: 1rem;
        display: inline-block;
        width: auto !important;
        padding: 1rem 3rem !important;
    }

    /* 下層ページの調整 */
    .contact-box { padding: 2rem 1rem; }
    .contact-method-card { padding: 2rem 1rem; }
    .privacy-content { padding: 1.5rem; }
    .privacy-content h2 { font-size: 1.2rem; }
}