﻿@charset "UTF-8";

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

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

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    color: #34495e;
}

/* History Section */
.self_history {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    margin-top:8vh;
}

.mem-message {
    font-style: normal;
   /* color: #7f8c8d;*/
    color:#222;
}

/* Staff Introduction */
.mem-all {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* さらに間隔を縮小 */
}

.mem-all > div {
    flex-basis: calc(45.0% - 7px); /* 間隔をさらに狭めるために調整 */
    background-color: #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mem-all > div:hover {
    transform: translateY(-5px);
}

.intro {
    margin: 8px 0;
    text-align: center;
}

.mem-photo {
    width: 100%;
    border-radius: 50%;
    margin-top: 12px;
}

/* Background History */
.back-history {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mem-all {
        gap: 15px; /* モバイル表示時の間隔 */
    }
    .mem-all > div {
        flex-basis: 100%;
    }
}