@charset "UTF-8";

:root {
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --accent-blue: #006DA8;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   グローバルヘッダー & ナビゲーション
========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    width: 92%;
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 45px;
    width: auto;
    display: block;
    image-rendering: high-quality;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--accent-blue);
}

.nav-cta {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    background: var(--accent-blue);
    color: #fff !important;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #005584;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 168, 0.25);
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10.5px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ==========================================
   共通セクションレイアウト
========================================== */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2; 
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

#concept { background-color: #ffffff; }
#solutions { background-color: var(--surface-color); }
#message { background-color: #ffffff; }
#company { background-color: var(--surface-color); }
#faq { background-color: #ffffff; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 0.1em;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-blue);
    margin: 1rem auto 0;
}

/* 1. ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    z-index: 2;
    padding-top: 80px;
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenburns 60s infinite linear;
    will-change: transform, opacity;
}

.slide:nth-child(1)  { background-image: url('../img/_1AM7910.jpg'); animation-delay: 0s; }
.slide:nth-child(2)  { background-image: url('../img/_1AM7830.jpg'); animation-delay: 6s; }
.slide:nth-child(3)  { background-image: url('../img/_1AM7868.jpg'); animation-delay: 12s; }
.slide:nth-child(4)  { background-image: url('../img/_1AM7889.jpg'); animation-delay: 18s; }
.slide:nth-child(5)  { background-image: url('../img/_1AM7824.jpg'); animation-delay: 24s; }
.slide:nth-child(6)  { background-image: url('../img/_1AM7828.jpg'); animation-delay: 30s; }
.slide:nth-child(7)  { background-image: url('../img/_1AM7857.jpg'); animation-delay: 36s; }
.slide:nth-child(8)  { background-image: url('../img/_1AM7906.jpg'); animation-delay: 42s; }
.slide:nth-child(9)  { background-image: url('../img/_1AM7926.jpg'); animation-delay: 48s; }
.slide:nth-child(10) { background-image: url('../img/_1AM7931.jpg'); animation-delay: 54s; }

@keyframes kenburns {
    0%   { opacity: 0; transform: scale(1); }
    2%   { opacity: 1; }
    10%  { opacity: 1; }
    12%  { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    color: var(--text-main);
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111; 
}
.hero-content h1 span.highlight { 
    color: var(--accent-blue); 
}
.hero-content p {
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    color: #333; 
    font-weight: 500;
    line-height: 1.8;
}

.sp-br { display: none; }
.pc-br { display: inline; }

.text-keep {
    display: inline-block;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--accent-blue);
    color: #fff;
    border: 2px solid var(--accent-blue);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn:hover {
    background: #fff;
    color: var(--accent-blue);
    box-shadow: 0 5px 25px rgba(0, 109, 168, 0.2);
}

/* 2. コンセプト */
.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.concept-text {
    font-size: 1.1rem;
    line-height: 1.8;
}
.concept-text strong { 
    color: var(--accent-blue); 
    font-size: 1.8rem; 
    display: block; 
    margin-bottom: 1.5rem; 
    line-height: 1.5;
}
.concept-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.concept-video {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    background: #000;
    display: flex;
    aspect-ratio: 16 / 9;
}
.concept-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. ソリューション＆導入事例 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--surface-color);
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-text-content {
    padding: 2rem;
}

.card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.card h3::before {
    content: '■';
    color: var(--accent-blue);
    margin-right: 10px;
    font-size: 0.8rem;
}
.card .tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* 4. 独立パララックス・ロゴエリア（共通） */
.parallax-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--surface-color);
    padding: 0; 
}
.parallax-bg {
    position: absolute;
    top: -20%; 
    left: 0; 
    width: 100%; 
    height: 140%; 
    background-size: cover;
    background-position: center;
    z-index: 1;
}
/* 背景画像の出し分け用クラス */
.parallax-bg-1 {
    background-image: url('../img/_1AM7906.jpg'); 
}
.parallax-bg-2 {
    background-image: url('../img/_1AM7889.jpg'); 
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7); 
    z-index: 2;
}
.parallax-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.parallax-logo {
    display: block;
    margin: 0 auto;
    width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    image-rendering: high-quality;
}

/* 5. CEOメッセージ */
.message-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.message-photo img {
    width: 100%;
    display: block;
    border-radius: 4px;
    image-rendering: high-quality;
}
.message-text h3 {
    color: #111;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.message-text h3 span {
    color: var(--accent-blue);
}
.message-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-muted);
}
.message-text .signature {
    text-align: right;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 0;
}
.message-text .signature strong {
    font-size: 1.4rem;
    margin-left: 15px;
    color: var(--accent-blue);
}

/* 6. 企業概要＆アクセス */
.company-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
.company-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.company-info table {
    width: 100%;
    border-collapse: collapse;
}
.company-info th, .company-info td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    line-height: 1.6;
    font-size: 0.95rem;
}
.company-info th {
    color: var(--accent-blue);
    width: 25%;
    font-weight: bold;
    vertical-align: top;
}

.address-link {
    display: inline-block;
    margin: 5px 0;
    color: var(--accent-blue);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.address-link:hover {
    border-bottom-color: var(--accent-blue);
}
.address-link::after {
    content: ' ↗';
    font-size: 0.8em;
}

.office-photo {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
.office-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* マップモーダル */
.map-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.map-modal.active {
    display: flex;
    opacity: 1;
}
.map-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 70vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 10px;
}
.map-modal.active .map-modal-content {
    transform: translateY(0);
}
.map-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}
.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* 7. FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: #fff;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
}
summary {
    padding: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-main);
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    color: var(--accent-blue);
    font-size: 1.5rem;
}
details[open] summary::after { content: '-'; }
details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 8. CTAセクション */
.cta-section {
    position: relative;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--accent-blue);
    z-index: 2;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #fff; }
.cta-content p { margin-bottom: 2rem; color: rgba(255,255,255,0.9); }
.cta-btn {
    display: inline-block;
    padding: 1rem 4rem;
    background: #fff;
    color: var(--accent-blue);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.cta-btn:hover {
    transform: translateY(-3px);
}

/* 右下追従バナー */
.floating-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}
.floating-banner a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: #fff;
    font-weight: bold;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 109, 168, 0.4);
    transition: all 0.3s ease;
}
.floating-banner a:hover {
    transform: scale(1.05) translateY(-3px);
}

/* フッター */
footer {
    text-align: center;
    padding: 3rem 1rem 7rem; 
    background: #f1f1f1;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.privacy-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.privacy-link:hover {
    text-decoration: underline;
}

/* プライバシーポリシーモーダル */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.privacy-modal.active {
    display: flex;
    opacity: 1;
}
.privacy-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 40px 30px;
    overflow-y: auto;
    text-align: left;
    color: var(--text-main);
}
.privacy-modal.active .privacy-modal-content {
    transform: translateY(0);
}
.privacy-modal-content h3 {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 10px;
}
.privacy-modal-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #111;
    border-left: 4px solid var(--accent-blue);
    padding-left: 10px;
}
.privacy-modal-content p, .privacy-modal-content ul {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.privacy-modal-content ul {
    padding-left: 1.5rem;
}
.close-privacy {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.close-privacy:hover {
    color: var(--accent-blue);
}

/* ==========================================
   レスポンシブ (タブレット・スマホ)
========================================== */
@media (max-width: 1024px) {
    .company-grid { grid-template-columns: 1fr; gap: 2rem; }
    .office-photo { min-height: 300px; }
}

@media (max-width: 900px) {
    .concept-content { grid-template-columns: 1fr; gap: 3rem; }
    .concept-text { text-align: center; }
    .message-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    
    .hamburger {
        display: block;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 30px;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.8rem;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-top: 1rem;
    }
    
    .nav-list a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .nav-cta {
        text-align: center;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 768px) {
    .site-header { height: 70px; }
    .header-logo img { height: 38px; }
    .hero { padding-top: 70px; }

    .pc-br { display: none; }
    .sp-br { display: inline; }
    
    .hero-content { padding: 0 1rem; }
    .hero-content h1 { font-size: 1.65rem; line-height: 1.6; }
    .hero-content p { font-size: 0.95rem; line-height: 1.8; }
    
    .concept-text p { text-align: center; padding: 0; }

    .floating-banner { bottom: 20px; right: 20px; }
    .floating-banner a { padding: 12px 24px; font-size: 1rem; }
    
    .map-modal-content { height: 50vh; }
    
    /* パララックスセクションのスマホサイズ調整 */
    .parallax-section { height: 40vh; min-height: 250px; }
    .parallax-logo { width: 180px; }
    
    .privacy-modal-content { padding: 30px 20px; }
    footer { padding: 2rem 1rem 6rem; }
}