/* aboutus.css */

.company-description-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.our-vision-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.our-vision-section h2 {
    color: #8d6e63; /* 茶色に設定 */
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.our-vision-section .vision-statement {
    font-size: 1.2rem; /* 少し大きな文字 */
    font-weight: bold;
    color: #333; /* 黒に設定 */
    margin-bottom: 20px;
    text-align: center;
}

.our-vision-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333; /* 黒に設定 */
    margin-bottom: 10px;
}

.activity-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.activity-section h2 {
    color: #8d6e63;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.activity-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* 小さい画面で折り返す */
}

.activity-image-link {
    position: relative; /* テキスト配置の基準 */
    display: block; /* aタグをブロック要素にする */
    text-decoration: none; /* 下線を消す */
    color: inherit; /* 親要素の色を継承 */
    transition: transform 0.3s ease; /* ホバーアニメーション */
}

.activity-image-link:hover {
    transform: translateY(-5px); /* ホバーで上に移動 */
}

.image-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* 半透明の背景を白に */
    color: #333; /* 文字色を黒に */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1; /* 画像より手前に表示 */
}

.activity-image {
    width: 250px; /* 画像の固定幅 */
    height: 180px; /* 画像の固定高さ */
    object-fit: cover; /* 拡大縮小・切り取り */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.company-description-section h2 {
    color: #8d6e63;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center; /* 中央揃え */
}

.company-description-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.member-section {
    margin-bottom: 40px;
}

.member-section h2 {
    color: #8d6e63;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.member-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 40px 20px 20px; /* 上の余白をアイコン分増やす */
    text-align: center;
    transition: transform 0.3s ease;
    position: relative; /* アイコンの位置決めの基準 */
}

.member-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0; /* アイコンのプレースホルダー色 */
    position: absolute;
    top: -30px; /* カードの上半分に配置 */
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* はみ出た画像を隠す */
}

.member-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 顔が中央に来るように調整 */
}

.member-item:hover {
    transform: translateY(-5px);
}

.member-item h3 {
    color: #6d4c41;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.member-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive adjustments for aboutus.css */
@media (max-width: 768px) {
    .member-list {
        grid-template-columns: 1fr;
    }
}
