/* ========================================
   BLACK ROOM - About Page Professional Styles
   ======================================== */

/* Header Link Override - 白色統一 */
.nav-link {
    color: #cccccc !important;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.logo,
.logo-text {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Page Hero - プロフェッショナルデザイン */
.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-light) 50%, var(--black-primary) 100%);
    margin-top: 80px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(136, 136, 136, 0.1) 0%, transparent 70%);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 0;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
}

.page-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #888888 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--white-dim);
    letter-spacing: 0.2em;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.breadcrumb a {
    color: var(--white-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white-primary);
}

/* Company Overview - 会社情報テーブル */
.company-overview {
    padding: 6rem 0;
    background: var(--black-primary);
}

.company-info {
    max-width: 1000px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-fast);
}

.info-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    width: 25%;
    padding: 1.75rem 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    font-size: 0.95rem;
}

.info-table td {
    padding: 1.75rem 2.5rem;
    line-height: 1.9;
    color: var(--white-primary);
    font-size: 1rem;
}

/* Philosophy Section - 企業理念 */
.philosophy {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black-primary) 0%, var(--black-light) 100%);
}

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

.philosophy-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 136, 136, 0.08) 0%, transparent 70%);
    animation: slowRotate 30s linear infinite;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.philosophy-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
}

.philosophy-text {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 2rem;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.philosophy-description {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--white-dim);
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

/* Mission & Vision Section - 中央配置デザイン */
.mission-vision {
    padding: 6rem 0;
    background: var(--black-primary);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-block,
.vision-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.mission-block:hover,
.vision-block:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.1);
}

.block-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.block-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
}

.block-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.block-subtitle {
    font-size: 1rem;
    color: var(--white-dim);
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
}

.block-text {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--white-dim);
    margin-top: auto;
}

.vision-timeline {
    text-align: center;
    margin-top: 3.5rem;
    width: 100%;
}

.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 2rem;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(136, 136, 136, 0.5);
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.75rem;
}

.timeline-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--white-primary);
}

/* Values Section - 価値観 */
.values {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black-primary) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--accent);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    opacity: 1;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.value-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--white-dim);
}

/* CEO Message - 代表メッセージ */
.ceo-message {
    padding: 6rem 0;
    background: var(--black-primary);
    position: relative;
}

.ceo-message::before {
    content: '"';
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.02);
    font-weight: 900;
    z-index: 0;
}

.message-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.message-profile {
    text-align: center;
    position: sticky;
    top: 100px;
}

.profile-image {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Mobile Image Positioning Fix */
@media (max-width: 767px) {
    /* Page Hero - ヘッダー重なり修正 */
    .page-hero {
        margin-top: 80px; /* ヘッダーの高さ分のマージン追加 */
        min-height: 40vh;
        padding: 3rem 1rem;
    }
    
    /* MISSION/VISION 縦配置 */
    .mission-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .mission-block,
    .vision-block {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .block-header {
        padding-top: 0;
        margin-bottom: 1rem;
    }
    
    .block-number {
        font-size: 2.5rem;
    }
    
    .block-title {
        font-size: 1rem;
    }
    
    .block-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .block-text {
        font-size: 1.25rem;
        min-height: auto;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .block-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* VALUES グリッド修正 */
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .value-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .value-icon {
        margin-bottom: 1rem;
    }
    
    .value-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .value-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .value-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* CEO Message */
    .ceo-message .message-content {
        display: block !important;
        padding: 0 1rem;
    }
    
    .ceo-message .message-profile {
        position: static !important;
        display: block !important;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .ceo-message .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
        display: block;
    }
    
    .ceo-message .profile-image svg {
        width: 100%;
        height: 100%;
    }
    
    .ceo-message .profile-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .ceo-message .profile-name {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .ceo-message .profile-title {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .ceo-message .profile-subtitle {
        font-size: 0.75rem;
    }
    
    .ceo-message .message-text {
        width: 100%;
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .ceo-message .message-quote {
        font-size: 4rem;
        top: -1rem;
        left: 1rem;
    }
    
    .ceo-message .message-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ceo-message .message-body {
        font-size: 0.9375rem;
        line-height: 1.8;
    }
    
    /* History Timeline */
    .history-timeline {
        padding: 2rem 1rem;
    }
    
    .history-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .history-date {
        font-size: 1.5rem;
        text-align: center !important;
    }
    
    .history-date::after {
        display: none;
    }
    
    .history-content {
        padding: 1.5rem;
        text-align: center !important;
    }
    
    .history-title {
        font-size: 1.125rem;
    }
    
    .history-text {
        font-size: 0.875rem;
    }
    
    /* Future Vision */
    .future-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .future-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .future-year {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .future-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .future-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* Philosophy */
    .philosophy-item {
        padding: 2.5rem 2rem;
    }
    
    .philosophy-title {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .philosophy-text {
        font-size: 1.2rem !important; /* 適切なサイズ */
        margin-bottom: 1.5rem;
        white-space: nowrap !important; /* 改行防止 */
        overflow: visible !important;
        text-align: center;
        letter-spacing: normal;
        transform: none;
    }
    
    .philosophy-description {
        font-size: 0.875rem;
        line-height: 1.7;
    }
    
    /* Company Info Table */
    .info-table {
        font-size: 0.75rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .info-table th {
        width: 30%;
    }
    
    /* CTA Section - テキスト改行防止 */
    .cta-title {
        white-space: nowrap !important;
        font-size: 1.73rem !important; /* 適切なサイズ */
        overflow: visible !important;
        line-height: 1.3;
        letter-spacing: normal;
        transform: none;
    }
    
    .cta-text {
        font-size: 1.2rem !important; /* 適切なサイズ */
        white-space: normal;
        line-height: 1.5;
        letter-spacing: normal;
    }
    
    .cta-text br {
        display: none !important; /* brタグ完全無効化 */
    }
    
    /* CTAセクション全体の調整 */
    .cta {
        padding: 2rem 0.5rem !important;
    }
    
    .cta-content {
        padding: 0 0.5rem !important;
        max-width: 100% !important;
    }
    
    /* Philosophy セクションの調整 */
    .philosophy-item {
        padding: 2rem 0.5rem !important;
    }
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.profile-title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.profile-subtitle {
    font-size: 0.875rem;
    color: var(--white-dim);
    font-style: italic;
}

.message-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    padding: 3.5rem;
    position: relative;
}

.message-quote {
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    top: -3rem;
    left: 2rem;
    line-height: 1;
}

.message-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message-body {
    font-size: 1.125rem;
    line-height: 2.1;
    margin-bottom: 2rem;
    color: var(--white-primary);
    text-align: center;
}

.message-body.emphasis {
    font-weight: 600;
    color: var(--white-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-signature {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-signature p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--spacing-lg);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list {
    display: grid;
    gap: var(--spacing-sm);
}

.info-list dt {
    font-weight: 700;
    color: var(--white-primary);
    margin-top: var(--spacing-sm);
}

.info-list dd {
    color: var(--white-dim);
    margin-left: 0;
    padding-left: var(--spacing-md);
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list > li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white-dim);
}

.sub-list {
    list-style: none;
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.sub-list li {
    padding: 0.25rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: var(--spacing-sm);
}

.sub-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

/* History Section - 沿革 */
.history {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--black-primary) 0%, var(--black-light) 100%);
}

.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    transform: translateX(-50%);
}

.history-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
    position: relative;
}

.history-item:nth-child(even) .history-date {
    order: 2;
    text-align: left;
}

.history-item:nth-child(even) .history-content {
    order: 1;
    text-align: right;
}

.history-date {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    text-align: right;
    position: relative;
    letter-spacing: 0.05em;
}

.history-date::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--accent);
    border: 5px solid var(--black-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 30px rgba(136, 136, 136, 0.5);
}

.history-item:nth-child(odd) .history-date::after {
    right: -4.5rem;
}

.history-item:nth-child(even) .history-date::after {
    left: -4.5rem;
}

.history-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.history-item:hover .history-content {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.history-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white-primary);
}

.history-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--white-dim);
    text-align: center;
}

/* Future Vision - 未来への展望 */
.future-vision {
    padding: 6rem 0;
    background: var(--black-primary);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.future-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.future-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(136, 136, 136, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.future-card:hover::before {
    opacity: 1;
}

.future-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.1);
}

.future-year {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.future-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.future-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--white-dim);
}

/* ========================================
   Responsive Design - Complete 8 Breakpoints
   ======================================== */

/* ========================================
   Ultra Small: ~320px
   スマートフォン（標準）
   ======================================== */
@media (max-width: 320px) {
    /* CTA Section - 320px以下で適切なサイズ */
    .cta-title {
        font-size: 1.47rem !important;
        padding: 0 0.5rem;
        letter-spacing: normal;
        transform: none;
    }
    
    .cta-text {
        font-size: 1.07rem !important;
        padding: 0 0.5rem;
        letter-spacing: normal;
        line-height: 1.5;
    }
    
    /* Philosophy text - 320px以下で適切なサイズ */
    .philosophy-text {
        font-size: 1.1rem !important;
        padding: 0 0.5rem;
        letter-spacing: normal;
        transform: none;
    }
    
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.875rem;
    }

    .breadcrumb {
        font-size: 0.625rem;
    }

    /* 会社情報テーブル */
    .info-table th {
        font-size: 0.75rem;
        padding: 1rem;
    }

    .info-table td {
        font-size: 0.75rem;
        padding: 1rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 1.25rem;
    }

    .philosophy-description {
        font-size: 0.875rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 1rem;
    }

    .block-description {
        font-size: 0.875rem;
    }

    /* 価値観 */
    .value-title {
        font-size: 1rem;
    }

    .value-text {
        font-size: 0.75rem;
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 1.25rem;
    }

    .message-body {
        font-size: 0.875rem;
    }

    /* 沿革 */
    .history-date {
        font-size: 1.5rem;
    }

    .history-title {
        font-size: 1rem;
    }

    .history-text {
        font-size: 0.875rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 2rem;
    }

    .future-title {
        font-size: 1.125rem;
    }

    .future-text {
        font-size: 0.875rem;
    }
}

/* ========================================
   Small Mobile: 321px - 480px
   スマートフォン（大型）〜タブレット（縦）
   ======================================== */
@media (min-width: 321px) and (max-width: 480px) {
    /* CTA Section - 適切なサイズ */
    .cta-title {
        font-size: 1.6rem !important;
        white-space: nowrap !important;
    }
    
    .cta-text {
        font-size: 1.13rem !important;
    }
    
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* 会社情報テーブル */
    .info-table th {
        font-size: 0.875rem;
        padding: 1.25rem;
    }

    .info-table td {
        font-size: 0.875rem;
        padding: 1.25rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 1.5rem;
    }

    .philosophy-description {
        font-size: 0.9375rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 1.25rem;
    }

    .block-description {
        font-size: 0.9375rem;
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 1.5rem;
    }

    .message-body {
        font-size: 0.9375rem;
    }

    /* 沿革 */
    .history-date {
        font-size: 1.75rem;
    }

    .history-title {
        font-size: 1.125rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 2.25rem;
    }

    .future-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   Tablet Portrait: 481px - 767px
   タブレット（標準）
   ======================================== */
@media (min-width: 481px) and (max-width: 767px) {
    /* CTA Section - 適切なサイズ */
    .cta-title {
        font-size: 1.73rem !important;
        white-space: nowrap !important;
    }
    
    .cta-text {
        font-size: 1.2rem !important;
    }
    
    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    /* 会社情報テーブル */
    .info-table th {
        font-size: 0.9375rem;
        padding: 1.5rem;
    }

    .info-table td {
        font-size: 0.9375rem;
        padding: 1.5rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 1.75rem;
    }

    .philosophy-description {
        font-size: 1rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 1.5rem;
    }

    .block-description {
        font-size: 1rem;
    }

    /* 価値観 */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 1.75rem;
    }

    .message-body {
        font-size: 1rem;
    }

    /* 未来展望 */
    .future-grid {
        grid-template-columns: 1fr;
    }

    .future-year {
        font-size: 2.5rem;
    }
}

/* ========================================
   Tablet Landscape: 768px - 1024px
   タブレット（横）〜小型PC
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-title {
        font-size: 3.5rem;
    }

    .page-subtitle {
        font-size: 1.25rem;
    }

    /* 会社情報テーブル */
    .info-table th {
        font-size: 0.9375rem;
    }

    .info-table td {
        font-size: 1rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 2rem;
    }

    .philosophy-description {
        font-size: 1.0625rem;
    }

    /* ミッション・ビジョン */
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .block-text {
        font-size: 1.75rem;
    }

    .block-description {
        font-size: 1.0625rem;
    }

    /* 価値観 */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-title {
        font-size: 1.1875rem;
    }

    /* CEOメッセージ */
    .message-content {
        grid-template-columns: 1fr;
    }

    .message-profile {
        position: static;
        margin-bottom: 3rem;
    }

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

    .message-body {
        font-size: 1.0625rem;
    }

    /* 沿革 */
    .history-item {
        grid-template-columns: 1fr;
    }

    .history-date {
        text-align: center !important;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .history-content {
        text-align: center !important;
    }

    .history-date::after {
        display: none;
    }

    .timeline-line {
        left: 20px;
    }

    /* 未来展望 */
    .future-grid {
        grid-template-columns: 1fr;
    }

    .future-year {
        font-size: 2.75rem;
    }

    .future-title {
        font-size: 1.375rem;
    }
}

/* ========================================
   Desktop Standard: 1025px - 1279px
   PC・デスクトップ（標準）
   ======================================== */
@media (min-width: 1025px) and (max-width: 1279px) {
    .page-title {
        font-size: 4rem;
    }

    .page-subtitle {
        font-size: 1.375rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 2.25rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 2rem;
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 2.25rem;
    }

    .message-body {
        font-size: 1.0625rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 3rem;
    }
}

/* ========================================
   Desktop Wide: 1280px - 1440px
   PC・デスクトップ（ワイド）
   ======================================== */
@media (min-width: 1280px) and (max-width: 1440px) {
    .page-title {
        font-size: 4.5rem;
    }

    .page-subtitle {
        font-size: 1.5rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 2.5rem;
    }

    .philosophy-description {
        font-size: 1.125rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 2.125rem;
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 2.375rem;
    }

    .message-body {
        font-size: 1.125rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 3.25rem;
    }

    .future-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Ultra Wide: 1441px - 1919px
   ウルトラワイドモニター
   ======================================== */
@media (min-width: 1441px) and (max-width: 1919px) {
    .page-title {
        font-size: 5rem;
    }

    .page-subtitle {
        font-size: 1.625rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 2.625rem;
    }

    .philosophy-description {
        font-size: 1.1875rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 2.25rem;
    }

    .block-description {
        font-size: 1.125rem;
    }

    /* CEOメッセージ */
    .message-title {
        font-size: 2.5rem;
    }

    .message-body {
        font-size: 1.1875rem;
    }

    /* 沿革 */
    .history-date {
        font-size: 2.75rem;
    }

    .history-title {
        font-size: 1.5rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 3.75rem;
    }

    .future-title {
        font-size: 1.625rem;
    }

    .future-text {
        font-size: 1.125rem;
    }
}

/* ========================================
   4K and Above: 1920px+
   4Kモニター以上
   ======================================== */
@media (min-width: 1920px) {
    .page-title {
        font-size: 5.5rem;
    }

    .page-subtitle {
        font-size: 1.75rem;
    }

    .breadcrumb {
        font-size: 1rem;
    }

    /* 会社情報テーブル */
    .info-table th {
        font-size: 1.0625rem;
        padding: 2.25rem 2.5rem;
    }

    .info-table td {
        font-size: 1.125rem;
        padding: 2.25rem 3rem;
    }

    /* 企業理念 */
    .philosophy-text {
        font-size: 3rem;
    }

    .philosophy-description {
        font-size: 1.25rem;
    }

    /* ミッション・ビジョン */
    .block-text {
        font-size: 2.5rem;
    }

    .block-description {
        font-size: 1.1875rem;
    }

    .timeline-text {
        font-size: 1.125rem;
    }

    /* 価値観 */
    .value-title {
        font-size: 1.375rem;
    }

    .value-text {
        font-size: 1.0625rem;
    }

    /* CEOメッセージ */
    .profile-name {
        font-size: 2rem;
    }

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

    .message-body {
        font-size: 1.25rem;
        line-height: 2.2;
    }

    /* 沿革 */
    .history-date {
        font-size: 3rem;
    }

    .history-title {
        font-size: 1.625rem;
    }

    .history-text {
        font-size: 1.1875rem;
    }

    /* 未来展望 */
    .future-year {
        font-size: 4rem;
    }

    .future-title {
        font-size: 1.75rem;
    }

    .future-text {
        font-size: 1.1875rem;
    }

    /* CTAセクション */
    .cta-title {
        font-size: 3rem;
    }

    .cta-text {
        font-size: 1.25rem;
    }
}