/* ==========================================================================
   K'works設備 - 企業理念ページスタイル
   ========================================================================== */

/* リセット & ベーススタイル（index.cssと共通部分） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --secondary-color: #7FC8F8;
    --accent-color: #5DADE2;
    --text-dark: #2C3E50;
    --text-gray: #6C757D;
    --text-light: #95A5A6;
    --bg-white: #FFFFFF;
    --bg-light: #F8FCFF;
    --bg-blue-light: #E8F4FD;
    --border-color: #E1E8ED;
    --font-main: 'Hiragino Sans', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    --font-en: 'Helvetica Neue', Arial, sans-serif;
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --transition-default: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

/* ヘッダー（index.cssと共通） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-default);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-default);
}

.logo img:hover {
    opacity: 0.8;
}

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

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ページヘッダー */
.page-header {
    padding-top: 120px;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #E8F4FD 0%, #D4E8FA 50%, #BFE0F7 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(125, 200, 248, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 226, 0.2) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

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

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-title-ja {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title-ja {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ミッションセクション */
.mission {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.15rem;
    line-height: 2.2;
    color: var(--text-dark);
    margin-top: 2rem;
}

/* 理念セクション */
.values {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
    position: relative;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.value-number {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-blue-light);
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.value-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-gray);
}

/* ビジョンセクション */
.vision {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.vision-content {
    max-width: 1000px;
    margin: 0 auto;
}

.vision-text {
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 500;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.vision-item {
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-blue-light) 0%, rgba(125, 200, 248, 0.1) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.vision-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-item-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-gray);
}

/* メッセージセクション */
.message {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-blue-light) 0%, var(--bg-light) 100%);
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.message-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.message-text {
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.message-signature {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    margin-top: 2rem;
}

/* CTAセクション */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition-default);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* フッター */
.footer {
    background-color: #2C3E50;
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-default);
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-phone a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: var(--transition-default);
}

.footer-phone a:hover {
    color: var(--secondary-color);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: var(--transition-default);
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }

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

    .nav-link {
        display: block;
        padding: 1.2rem 0;
        font-size: 1rem;
    }

    .page-title-ja {
        font-size: 2.2rem;
    }

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

    .values-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .message-content {
        padding: 2.5rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title-ja {
        font-size: 1.8rem;
    }

    .section-title-ja {
        font-size: 1.6rem;
    }

    .message-content {
        padding: 2rem 1.5rem;
    }

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