/* ========================================
   リセットとベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラー */
    --primary-color: #A41E35;
    --primary-dark: #8A1A2D;
    --primary-light: #C93850;
    --secondary-color: #2C3E50;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2C3E50;
    --border-color: #E0E0E0;
    
    /* タイポグラフィ */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    
    /* スペーシング */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-jp);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.logo-link {
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1002;
}

.logo-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.language-switch .nav-link {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.language-switch .nav-link:hover {
    background: var(--primary-dark);
    color: white;
}

.language-switch .nav-link::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle:active {
    background: rgba(164, 30, 53, 0.1);
    border-radius: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #34495E 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(164, 30, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(164, 30, 53, 0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.6s;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, white, transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

/* プログラムコード背景全体 */
.hero-code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-code-background.active {
    opacity: 1;
}

.code-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.15);
    white-space: pre;
    overflow: hidden;
    filter: blur(2px);
    padding: 20px;
}

.code-layer::before {
    content: 'const optimizeWorkflow = async () => {\A  const result = await automation.execute();\A  return processData(result).then(data => transform(data));\A}\A\Aclass WorkflowManager {\A  constructor(config) { this.config = config; this.status = "active"; }\A  execute() { return this.run(); }\A  async initialize() { await this.setup(); return this.start(); }\A}\A\Afunction processData(input) {\A  if (!input || input.length === 0) return defaultValue;\A  return transform(input).map(item => ({ ...item, processed: true, status: "completed" }));\A}\A\Aasync function deploy(options) {\A  const result = await system.start(options);\A  console.log("Deployment successful:", result);\A  return { status: "success", data: result, message: "System running smoothly" };\A}\A\Aconst config = {\A  mode: "production",\A  env: process.env.NODE_ENV,\A  features: ["automation", "dx", "bpo", "workflow"],\A  timeout: 5000,\A  retry: 3,\A  maxConnections: 100,\A  performance: "optimized"\A};\A\Aexport default class System {\A  async initialize() {\A    await this.setup();\A    await this.loadModules();\A    return this.start();\A  }\A  loadModules() {\A    return Promise.all([this.loadCore(), this.loadPlugins()]);\A  }\A}\A\Aconst handleRequest = async (req, res) => {\A  const data = await parseRequest(req);\A  const validated = validateData(data);\A  const result = await processWorkflow(validated);\A  res.json({ success: true, result, timestamp: Date.now(), status: "completed" });\A  return result;\A};\A\Afunction calculateMetrics(data) {\A  const metrics = data.map(item => analyzeItem(item));\A  const aggregated = aggregateResults(metrics);\A  return { total: metrics.length, average: aggregated.avg, max: aggregated.max, status: "analyzed" };\A}\A\Aclass DataPipeline {\A  constructor(options) {\A    this.options = options;\A    this.queue = [];\A    this.processing = false;\A    this.status = "ready";\A  }\A  async process(data) {\A    this.queue.push(data);\A    if (!this.processing) await this.run();\A  }\A  async run() {\A    this.processing = true;\A    while (this.queue.length > 0) {\A      const item = this.queue.shift();\A      await this.processItem(item);\A    }\A    this.processing = false;\A    this.status = "completed";\A  }\A}\A\Aasync function syncData(source, target) {\A  const sourceData = await fetchData(source);\A  const transformed = transformData(sourceData);\A  await saveData(target, transformed);\A  return { synced: transformed.length, timestamp: Date.now(), status: "synchronized" };\A}\A\Aconst middleware = {\A  authenticate: (req, res, next) => {\A    if (req.headers.authorization) next();\A    else res.status(401).send("Please authenticate");\A  },\A  validate: (req, res, next) => {\A    if (validateRequest(req)) next();\A    else res.status(400).send("Validation needed");\A  }\A};\A\Aexport class DataTransformer {\A  static transform(input) {\A    return input.map(item => ({\A      id: item.id,\A      name: item.name,\A      processed: true,\A      timestamp: Date.now(),\A      status: "transformed"\A    }));\A  }\A}';
    display: block;
    white-space: pre-wrap;
}

/* 設備図面背景全体 */
.hero-blueprint-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-blueprint-background.active {
    opacity: 1;
}

.blueprint-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 98, 255, 0.03);
    background-image: 
        linear-gradient(rgba(164, 30, 53, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(164, 30, 53, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(164, 30, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(164, 30, 53, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    filter: blur(0.3px);
}

.blueprint-layer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(164, 30, 53, 0.1) 50px, rgba(164, 30, 53, 0.1) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(164, 30, 53, 0.1) 50px, rgba(164, 30, 53, 0.1) 51px),
        radial-gradient(circle at 30% 40%, rgba(164, 30, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(164, 30, 53, 0.12) 0%, transparent 50%);
}

.blueprint-layer::after {
    content: '空調平面図 | AHU-01 | VF-01 | ZONE-A | ZONE-B | 系統詳細図 | P-01 | HX | 給気口-1 | 給気口-2';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: monospace;
    font-size: 10px;
    color: rgba(164, 30, 53, 0.2);
    letter-spacing: 3px;
    word-spacing: 10px;
    filter: blur(0.5px);
}

/* テック風背景 */
.hero-tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* グリッド背景 */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(164, 30, 53, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(164, 30, 53, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* データフローライン */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(164, 30, 53, 0.6), transparent);
    animation: line-flow 8s linear infinite;
}

.tech-line:nth-child(1) {
    top: 20%;
    width: 300px;
    left: -300px;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 40%;
    width: 400px;
    left: -400px;
    animation-delay: 2s;
}

.tech-line:nth-child(3) {
    top: 60%;
    width: 350px;
    left: -350px;
    animation-delay: 4s;
}

.tech-line:nth-child(4) {
    top: 75%;
    width: 450px;
    left: -450px;
    animation-delay: 1s;
}

.tech-line:nth-child(5) {
    top: 85%;
    width: 380px;
    left: -380px;
    animation-delay: 3s;
}

@keyframes line-flow {
    0% {
        left: -400px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* データポイント */
.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(164, 30, 53, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(164, 30, 53, 0.8);
    animation: dot-pulse 3s ease-in-out infinite;
}

.tech-dot:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.tech-dot:nth-child(2) {
    top: 35%;
    left: 75%;
    animation-delay: 0.5s;
}

.tech-dot:nth-child(3) {
    top: 55%;
    left: 30%;
    animation-delay: 1s;
}

.tech-dot:nth-child(4) {
    top: 70%;
    left: 85%;
    animation-delay: 1.5s;
}

.tech-dot:nth-child(5) {
    top: 25%;
    left: 50%;
    animation-delay: 2s;
}

.tech-dot:nth-child(6) {
    top: 80%;
    left: 15%;
    animation-delay: 2.5s;
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* コードブロック風オーバーレイ */
.code-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Cursor風コードエディタ */
.code-editor {
    position: absolute;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    overflow: hidden;
    filter: blur(2px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: none;
}

.code-editor.show {
    opacity: 1;
}

.code-editor.hide {
    opacity: 0;
    transform: scale(0.95);
}

.code-editor-left {
    bottom: 5%;
    left: 2%;
    width: 600px;
    height: 380px;
}

.code-editor-right {
    top: 8%;
    right: 2%;
    width: 600px;
    height: 380px;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(20, 20, 20, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-tabs {
    display: flex;
    gap: 8px;
}

.editor-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.editor-tab.active {
    background: rgba(164, 30, 53, 0.2);
    color: rgba(164, 30, 53, 1);
}

.editor-tab i {
    font-size: 10px;
}

.tab-name {
    font-family: 'Courier New', monospace;
}

.editor-controls {
    display: flex;
    gap: 6px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ff5f56;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #27c93f;
}

.editor-content {
    display: flex;
    padding: 12px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    min-height: 320px;
}

.line-numbers {
    padding: 0 12px;
    text-align: right;
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.line-number {
    line-height: 1.9;
    height: 26.6px;
}

.code-content {
    flex: 1;
    padding: 0 16px;
    overflow: hidden;
}

.code-line-text {
    line-height: 1.9;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    animation: line-type-in 0.2s ease-out forwards;
    position: relative;
}

.code-line-text:last-child::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 18px;
    background: rgba(164, 30, 53, 0.8);
    margin-left: 2px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes line-type-in {
    to {
        max-width: 100%;
    }
}

@keyframes cursor-blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* 設備設計図面風 */
.blueprint-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.blueprint-diagram {
    position: absolute;
    opacity: 0;
    animation: blueprint-appear 10s ease-in-out infinite;
    filter: blur(0.3px) contrast(1.3) brightness(1.1);
    display: none;
}

/* 空調平面図 */
.hvac-plan {
    width: 280px;
    height: 200px;
}

/* 系統図 */
.system-diagram {
    width: 260px;
    height: 180px;
}

/* 換気設備図 */
.ventilation-plan {
    width: 240px;
    height: 180px;
}

/* 詳細系統図 */
.detail-diagram {
    width: 220px;
    height: 160px;
}

/* ゾーン区分図 */
.zone-plan {
    width: 200px;
    height: 160px;
}

/* 図面配置 */
.blueprint-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.blueprint-2 {
    top: 15%;
    right: 8%;
    animation-delay: 2s;
}

.blueprint-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
}

.blueprint-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
}

.blueprint-5 {
    bottom: 33%;
    left: 8%;
    animation-delay: 8s;
}

@keyframes blueprint-appear {
    0%, 100% {
        opacity: 0;
        transform: scale(0.95) rotate(-1deg);
    }
    20%, 80% {
        opacity: 0.75;
        transform: scale(1) rotate(0deg);
    }
}

/* ========================================
   ボタンスタイル
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-jp);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(164, 30, 53, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   セクションヘッダー
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-en);
}

/* ========================================
   事業内容セクション
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--text-gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   特徴セクション
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(164, 30, 53, 0.1);
    font-family: var(--font-en);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-main-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.feature-keywords {
    color: var(--primary-color);
    font-weight: 600;
}

.feature-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px 0;
}

.feature-sub-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   事業全体像セクション
   ======================================== */
.model {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.model::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(164, 30, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(164, 30, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.model .section-header {
    position: relative;
    z-index: 2;
}

.model .section-title {
    color: white;
}

.model .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.model-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.model-intro p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.9;
}

.model-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG接続線 */
.connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 循環する矢印のアニメーション */
.cycle-arrow {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: arrow-flow 3s ease-in-out infinite;
}

.cycle-arrow:nth-child(6) {
    animation-delay: 0s;
}

.cycle-arrow:nth-child(7) {
    animation-delay: 1s;
}

.cycle-arrow:nth-child(8) {
    animation-delay: 2s;
}

@keyframes arrow-flow {
    0% {
        stroke-dashoffset: 400;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -400;
        opacity: 0.3;
    }
}

/* 中央の統合設計 */
.model-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(164, 30, 53, 0.95), rgba(200, 56, 80, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(164, 30, 53, 0.5);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

.model-core-new {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(164, 30, 53, 0.2);
}

.core-subtitle {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: var(--font-en);
}

.model-core-new h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.core-divider {
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 8px;
}

.core-desc {
    font-size: 0.7rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* 3つの柱（三角形配置） */
.model-pillar-new {
    position: absolute;
    width: 240px;
    animation: pillar-appear 1s ease-out forwards;
    opacity: 0;
    z-index: 2;
}

.model-pillar-top {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.3s;
}

.model-pillar-left {
    bottom: 20px;
    left: 235px;
    animation-delay: 0.5s;
}

.model-pillar-right {
    bottom: 20px;
    right: 10px;
    animation-delay: 0.7s;
}

@keyframes pillar-appear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.pillar-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(164, 30, 53, 0.2);
    transition: var(--transition);
}

.pillar-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.pillar-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(164, 30, 53, 0.3);
}

.pillar-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.pillar-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 12px;
    font-family: var(--font-en);
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: center;
}

/* ========================================
   会社概要セクション
   ======================================== */
.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.section-dark .section-title {
    color: white;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.company-overview-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* 左側：会社情報 */
.company-info-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.company-info-section {
    position: relative;
}

.info-label {
    font-size: 0.75rem;
    font-family: var(--font-en);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.company-name-main {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    line-height: 1.3;
}

.company-name-en-new {
    font-size: 2rem;
    font-family: var(--font-en);
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

.company-address {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-postal {
    font-size: 0.95rem;
    color: white;
    font-weight: 700;
    font-family: var(--font-en);
}

.address-detail {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.domain-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.domain-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.domain-list i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

/* 右側：ミッション */
.company-mission-right {
    position: relative;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(164, 30, 53, 0.3);
    border-color: rgba(164, 30, 53, 0.5);
}

.mission-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 120px;
    color: rgba(164, 30, 53, 0.08);
    transform: rotate(15deg);
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.mission-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(164, 30, 53, 0.4);
}

.mission-header h3 {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: white;
    font-family: var(--font-en);
}

.mission-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.mission-text {
    font-size: 1.4rem;
    line-height: 1.9;
    color: white;
    font-weight: 500;
    margin-bottom: 0;
}

.mission-highlight {
    color: var(--primary-light);
    font-weight: 700;
}

.mission-description {
    margin-bottom: 30px;
}

.mission-description p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.mission-keywords {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.keyword-item {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.keyword-item:hover {
    background: rgba(164, 30, 53, 0.1);
    border-color: rgba(164, 30, 53, 0.3);
    transform: translateY(-3px);
}

.keyword-item i {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.keyword-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.keyword-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.contact-message {
    margin-bottom: 0;
}

.contact-message h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-message p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-method-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-method-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex: 1;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.contact-method-card i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-method-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-method-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--primary-color);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-jp);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(164, 30, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    border: none;
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 50px;
}

.logo-white {
    filter: brightness(0) invert(1);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ========================================
   レスポンシブ - タブレット (968px以下)
   ======================================== */
@media (max-width: 968px) {
    :root {
        --section-padding: 70px;
    }

    /* ナビゲーション */
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
        -webkit-tap-highlight-color: rgba(164, 30, 53, 0.2);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* ヒーロー */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 650px;
    }

    .scroll-indicator {
        display: none;
    }

    /* 会社概要 */
    .company-overview-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .company-name-main {
        font-size: 1.8rem;
    }

    .mission-text {
        font-size: 1.3rem;
    }

    .mission-keywords {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* お問い合わせ */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* 事業内容 */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* 特徴 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    /* 事業全体像 */
    .model-visual {
        height: 700px;
    }

    /* コードエディタ */
    .code-editor-left,
    .code-editor-right {
        width: 420px;
        height: 280px;
    }

    .editor-content {
        font-size: 11px;
        line-height: 1.7;
    }

    .control-dot {
        width: 10px;
        height: 10px;
    }

    .editor-header {
        padding: 6px 10px;
    }

    .editor-tab {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* 設備図面 */
    .hvac-plan {
        width: 200px;
        height: 143px;
    }

    .system-diagram {
        width: 186px;
        height: 129px;
    }

    .ventilation-plan {
        width: 172px;
        height: 129px;
    }

    .detail-diagram {
        width: 158px;
        height: 115px;
    }

    .zone-plan {
        width: 143px;
        height: 115px;
    }

    /* お問い合わせカード */
    .contact-method-card {
        flex-direction: row;
    }

    .contact-method-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-method-card h4,
    .contact-method-card p {
        white-space: normal;
    }
}

/* ========================================
   レスポンシブ - モバイル (640px以下)
   ======================================== */
@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* 事業全体像 - モバイル版は縦並びレイアウト */
    .model-visual {
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .connector-svg {
        display: none;
    }

    /* 中央の統合設計を非表示 */
    .model-center-circle {
        display: none;
    }

    /* 3つの柱を縦並びに */
    .model-pillars-new {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .model-pillar-new {
        position: static !important;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        opacity: 1;
        animation: none;
    }

    .model-pillar-top,
    .model-pillar-left,
    .model-pillar-right {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .pillar-box {
        padding: 25px 20px;
    }

    .pillar-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .pillar-box h4 {
        font-size: 1rem;
    }

    .pillar-desc {
        font-size: 0.8rem;
    }

    /* 会社概要 - モバイル */
    .company-name-main {
        font-size: 1.5rem;
    }

    .mission-text {
        font-size: 1.2rem;
    }

    .mission-keywords {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .keyword-item {
        padding: 18px 15px;
    }

    .mission-card {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ヒーローセクションの背景要素を控えめに */
    .tech-grid {
        background-size: 30px 30px;
        opacity: 0.8;
    }

    .tech-lines {
        display: none;
    }

    .tech-dot {
        width: 4px;
        height: 4px;
    }

    /* コードエディタ - モバイルでは左のみ表示 */
    .code-editor-left {
        width: 94%;
        height: 240px;
        left: 3%;
        bottom: 2%;
        display: none;
    }

    .code-editor-right {
        display: none !important;
    }

    .editor-content {
        font-size: 9px;
        line-height: 1.6;
        min-height: 180px;
    }

    .line-numbers {
        font-size: 8px;
        padding: 0 8px;
    }

    .line-number {
        line-height: 1.6;
        height: 14.4px;
    }

    .code-content {
        padding: 0 10px;
    }

    .editor-tab {
        font-size: 9px;
    }

    .editor-tab i {
        font-size: 8px;
    }

    .control-dot {
        width: 7px;
        height: 7px;
    }

    .editor-header {
        padding: 5px 8px;
    }

    /* 設備図面 */
    .hvac-plan {
        width: 120px;
        height: 85px;
    }

    .system-diagram {
        width: 110px;
        height: 80px;
    }

    .ventilation-plan {
        width: 100px;
        height: 75px;
    }

    .detail-diagram {
        width: 95px;
        height: 70px;
    }

    .zone-plan {
        width: 85px;
        height: 70px;
    }

    .blueprint-diagram {
        opacity: 0.25;
        filter: blur(0.4px);
    }

    .blueprint-1 {
        top: 5%;
        left: 3%;
    }

    .blueprint-2 {
        top: 10%;
        right: 3%;
    }

    .blueprint-3 {
        bottom: 35%;
        left: 5%;
    }

    .blueprint-4 {
        bottom: 25%;
        right: 3%;
    }

    .blueprint-5 {
        bottom: 50%;
        left: 3%;
    }

    /* お問い合わせ */
    .contact-message h3 {
        font-size: 1.5rem;
    }

    .contact-message p {
        font-size: 0.9rem;
    }

    .contact-method-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .contact-method-card i {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-method-text {
        flex-direction: column;
        align-items: center;
    }

    .contact-method-card h4 {
        font-size: 1rem;
    }

    .contact-method-card p {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* ========================================
   プライバシーポリシーページ
   ======================================== */
.privacy-policy {
    padding-top: 120px;
    min-height: 100vh;
    background: white;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.privacy-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-en);
    margin-bottom: 20px;
}

.privacy-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.privacy-intro p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-number {
    color: var(--primary-color);
    font-weight: 700;
}

.privacy-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-list {
    list-style: disc;
    padding-left: 25px;
    margin: 15px 0;
}

.privacy-list li {
    padding: 8px 0;
    color: var(--text-gray);
    line-height: 1.8;
}

.privacy-contact {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.privacy-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.privacy-contact p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-contact strong {
    color: var(--text-dark);
    font-weight: 600;
}

.privacy-footer {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* レスポンシブ - タブレット */
@media (max-width: 968px) {
    .privacy-policy {
        padding-top: 100px;
    }

    .privacy-title {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 0 30px;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }
}

/* レスポンシブ - モバイル */
@media (max-width: 640px) {
    .privacy-policy {
        padding-top: 90px;
    }

    .privacy-header {
        margin-bottom: 30px;
    }

    .privacy-title {
        font-size: 1.6rem;
    }

    .privacy-subtitle {
        font-size: 0.8rem;
    }

    .privacy-content {
        padding: 0 20px;
    }

    .privacy-intro {
        padding: 20px;
    }

    .privacy-section {
        margin-bottom: 30px;
    }

    .privacy-section h2 {
        font-size: 1.1rem;
    }

    .privacy-list li {
        font-size: 0.95rem;
    }

    .privacy-contact {
        padding: 20px;
    }

    .privacy-contact h3 {
        font-size: 1.1rem;
    }
}
