/* 代表挨拶ページ専用スタイル */

/* コンタクトボタンスタイル */
.persona-contact-button {
    padding: 15px 20px;
    font-size: 15px;
}

@media (max-width: 576px) {
    .persona-contact-button {
        padding: 15px 20px;
        font-size: 15px;
    }
}
.message-title-area {
    position: relative;
    padding: 120px 0 80px;
    background-color: #f5f7fa;
    overflow: hidden;
}

.message-title-area::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #3c6e71;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.message-title-container {
    position: relative;
    z-index: 2;
}

.message-section {
    padding: 100px 0;
}

.message-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.message-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.message-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.message-text {
    flex: 2;
    min-width: 300px;
}

.message-lead {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #3c6e71;
    line-height: 1.6;
    border-left: 4px solid #3c6e71;
    padding-left: 20px;
}

.message-body p {
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 16px;
}

.message-signature {
    margin-top: 50px;
    text-align: right;
}

.message-signature .position {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.message-signature .name {
    font-size: 20px;
    font-weight: 600;
}

.message-vision {
    padding: 80px 0;
    background-color: #f8f8f8;
    margin-top: 80px;
}

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

.message-vision-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3c6e71;
}

.message-vision-subtitle {
    font-size: 16px;
    color: #666;
}

/* グリーティングビジョンエリア */
.greeting-vision {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.greeting-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.greeting-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.greeting-section-title {
    position: relative;
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.greeting-section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3c6e71;
}

.greeting-section-subtitle {
    font-size: 16px;
    color: #3c6e71;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

/* ビジョンリスト */
.vision-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vision-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vision-item-num {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3c6e71;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.vision-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.vision-item-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* お問い合わせセクションにはサイト共通のスタイルを使用 */

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .greeting-section-title {
        font-size: 28px;
    }
    
    .vision-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .message-content {
        flex-direction: column;
        align-items: center;
    }

    .message-image {
        margin-bottom: 30px;
        max-width: 300px;
    }

    .message-title-area::after {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 30%, 0 80%);
        height: 40%;
    }
    
    .greeting-vision {
        padding: 80px 0;
    }
}
