/* プロフィールページ共通スタイル */
.profile-section {
    padding: 12em 0 5em;
    @media screen and (max-width: 768px) {
        padding: 9em 0;
    }
}

.profile-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.profile-card-header {
    background-color: #376439;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-card-header .btn {
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 20px;
    background-color: white;
    color: #376439;
    border: none;
}

.profile-card-body {
    padding: 20px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    background-size: cover;
    background-position: center;
    border: 3px solid #eee;
}

.general-form-cover {
    background: white;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.general-form {
    width: 100%;
    border-collapse: collapse;
}

.general-form tr {
    border-bottom: 1px solid #eee;
}

.general-form td {
    padding: 15px 10px;
    vertical-align: middle;
}

.general-form td:first-child {
    width: 30%;
    font-weight: 600;
    color: #555;
}

/* inner-tableクラスを持つテーブルに対しては、general-form のスタイルを適用しない */
.general-form .inner-table,
.general-form table.inner-table {
    width: auto;
    border-collapse: separate;
}

.general-form .inner-table tr,
.general-form table.inner-table tr {
    border-bottom: none;
}

.general-form .inner-table td,
.general-form table.inner-table td {
    padding: 5px;
    width: auto;
    font-weight: normal;
}

.general-form .inner-table td:first-child,
.general-form table.inner-table td:first-child {
    width: auto;
    font-weight: normal;
    color: inherit;
}

.general-form input[type="text"],
.general-form input[type="email"],
.general-form input[type="date"],
.general-form select,
.general-form textarea {
    width: 100%;
    /* padding: 10px; */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.general-form input[type="file"] {
    padding: 5px 0;
}

.profile-section-title {
    background-color: #f5f5f5;
    padding: 10px 15px;
    font-weight: 600;
    color: #376439;
    margin-top: 20px;
    margin-bottom: 10px;
    border-left: 4px solid #376439;
}

.profile-submit-btn {
    background-color: #376439;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    display: inline-block;
}

.profile-submit-btn:hover {
    background-color: #2a4c2c;
}

.profile-link {
    color: #376439;
    text-decoration: underline;
}

.profile-link:hover {
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .general-form td {
        display: block;
        width: 100%;
    }
    
    .general-form td:first-child {
        width: 100%;
        padding-bottom: 5px;
        font-weight: 600;
    }
    
    .general-form td:last-child {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    
    .profile-card-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* Googleカレンダー連携ボタン */
.google-calendar-section {
    margin-top: 30px;
}

.google-calendar-btn {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin-right: 15px;
}

.google-calendar-btn img {
    margin-right: 10px;
    height: 20px;
}

.calendar-status {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 14px;
}

.calendar-status.connected {
    background-color: #dff0d8;
    color: #3c763d;
}