/* profile.css */

/* === コンテンツコンテナの最大幅調整 === */
.content-container {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* プロフィールカード */
.profile-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
}

/* === タイトルエリア === */
.profile-hero {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 18%; /* 画像の比率に合わせる */
    overflow: hidden;
    background-color: transparent;
}
/* 背景画像 */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
/* テキスト */
.hero-text-new {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    color: white;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: 41px;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    z-index: 10;
}
/* スマホ用調整 */
@media (max-width: 640px) {
    .profile-hero {
        padding-bottom: 40%;
    }
    /* ★追加: スマホではタイトル文字を消す */
    .hero-text-new {
        display: none;
    }
}

/* テーブルスタイル */
.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table th, .profile-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}
.profile-table th {
    color: #4b5563;
    font-weight: 700;
    width: 30%;
    white-space: nowrap;
    background-color: #f9fafb;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
@media (max-width: 640px) {
    .profile-table th, .profile-table td {
        display: block;
        width: 100%;
    }
    .profile-table th {
        border-bottom: none;
        padding-bottom: 0.25rem;
        background-color: transparent;
        color: #6b7280;
        font-size: 0.85rem;
    }
    .profile-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
}

/* マップ */
.map-container {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
}