/* ==============================================
   代表挨拶（20周年記念）ページ専用CSS
   message.css
   ============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

/* パンくずリスト */
.breadcrumb {
    padding: 120px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページヘッダー */
.page-header {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom: 3px solid #000;
}

.anniversary-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.page-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
}

/* メインコンテンツ */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* メッセージヒーロー（キャッチコピー） */
.message-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 2px solid #000;
}

.message-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.8;
    color: #000;
}

.message-title .title-sub {
    font-size: 1.5rem;
    display: block;
    margin-top: 10px;
}

/* CEO セクション */
.ceo-section {
    margin-bottom: 80px;
}

.ceo-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* CEO写真エリア */
.ceo-photo {
    position: sticky;
    top: 120px;
}

.ceo-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 2px solid #000;
    margin-bottom: 20px;
    background: #f5f5f5;
}

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

.ceo-company {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.ceo-position {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}

.ceo-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.ceo-name-en {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

/* メッセージ本文 */
.ceo-message {
    padding-top: 10px;
}

.message-block {
    margin-bottom: 40px;
}

.message-block p {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

.message-block p:last-child {
    margin-bottom: 0;
}

.message-block strong {
    color: #000;
    font-weight: 600;
}

.block-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.title-icon {
    color: #000;
    margin-right: 5px;
}

/* 締めくくり */
.message-closing {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #000;
}

.closing-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

.signature {
    text-align: right;
}

.signature-company {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.signature-position {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
}

.signature-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

/* タイムラインセクション */
.timeline-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #ddd;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 5px solid #000;
    color: #000;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #000;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #000;
    border-radius: 50%;
}

.timeline-item:last-child::before {
    background: #fff;
    border: 3px solid #000;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* CTAセクション */
.cta-section {
    background: #000;
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background: #000;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* SP専用改行 */
.sp-only {
    display: none;
}

/* ==============================================
   レスポンシブ
   ============================================== */

@media (max-width: 900px) {
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-photo {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .message-title .title-sub {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 100px 20px 15px;
    }

    .page-header {
        padding: 40px 20px;
    }

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

    .content-wrapper {
        padding: 50px 20px;
    }

    .message-hero {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

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

    .message-title .title-sub {
        font-size: 1.1rem;
    }

    .sp-only {
        display: inline;
    }

    .ceo-photo {
        max-width: 250px;
    }

    .ceo-name {
        font-size: 1.2rem;
    }

    .message-block {
        margin-bottom: 30px;
    }

    .message-block p {
        font-size: 0.95rem;
        line-height: 1.9;
        margin-bottom: 15px;
    }

    .block-title {
        font-size: 1.15rem;
    }

    .signature-name {
        font-size: 1.3rem;
    }

    .timeline-section {
        margin-top: 60px;
        padding-top: 40px;
    }

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

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -29px;
        width: 12px;
        height: 12px;
    }

    .timeline-year {
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 60px 20px;
    }

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

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

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

@media (max-width: 480px) {
    .message-title {
        font-size: 1.15rem;
    }

    .message-title .title-sub {
        font-size: 1rem;
    }

    .ceo-photo {
        max-width: 200px;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }
}
