/* ========================================
   Profile固定ページ専用スタイル
   水色×白のシンプルデザイン
   ======================================== */

/* ヘッダーを非表示 */
.page-template-page-profile .site-header {
    display: none;
}

.page-profile {
    min-height: 100vh;
    background: linear-gradient(to bottom, #e3f2fd 0%, #ffffff 100%);
    padding: 0;
}

/* プロフィールヘッダー */
.profile-header {
    background: white;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e1f5fe;
}

/* プロフィール画像 */
.profile-image-wrapper {
    margin-bottom: 30px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4fc3f7;
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
    margin: 0 auto;
    display: block;
}

.profile-image-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4fc3f7 0%, #03a9f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}

.placeholder-icon {
    font-size: 80px;
    filter: brightness(0) invert(1);
}

/* タイトル */
.profile-title-wrapper {
    position: relative;
    z-index: 1;
}

.profile-title {
    font-size: 2.2rem;
    color: #01579b;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.profile-subtitle {
    font-size: 1rem;
    color: #0288d1;
    margin: 0;
    font-weight: 400;
}

/* プロフィール本文（ビジュアルエディターのコンテンツ） */
.profile-content {
    background: white;
    padding: 60px 20px;
    min-height: 400px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

/* 段落 */
.content-wrapper p {
    font-size: 1rem;
    color: #37474f;
    margin-bottom: 1.5em;
}

/* 見出し */
.content-wrapper h2 {
    font-size: 1.6rem;
    color: #01579b;
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #4fc3f7;
    font-weight: 600;
}

.content-wrapper h3 {
    font-size: 1.3rem;
    color: #0288d1;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 600;
}

.content-wrapper h4 {
    font-size: 1.1rem;
    color: #0288d1;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

/* リスト */
.content-wrapper ul,
.content-wrapper ol {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
    color: #37474f;
}

.content-wrapper li {
    margin-bottom: 0.8em;
    line-height: 1.7;
}

.content-wrapper ul li::marker {
    color: #4fc3f7;
}

/* 画像 */
.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 1.5em 0;
}

/* Gutenbergのボタンブロック用スタイル */
.content-wrapper .wp-block-button__link {
    background: #4fc3f7;
    color: white;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
}

.content-wrapper .wp-block-button__link:hover {
    background: #03a9f4;
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
    transform: translateY(-2px);
}

/* Gutenbergのボタンを中央揃えにする場合 */
.content-wrapper .wp-block-buttons {
    justify-content: center;
    margin: 2.5em 0;
    gap: 15px;
}

/* 引用 */
.content-wrapper blockquote {
    border-left: 4px solid #4fc3f7;
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #546e7a;
    background: #f1f8fb;
    padding: 1em 1.5em;
    border-radius: 4px;
}

/* 区切り線 */
.content-wrapper hr {
    border: none;
    border-top: 1px solid #b3e5fc;
    margin: 3em 0;
}

/* テーブル */
.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    border: 1px solid #e1f5fe;
}

.content-wrapper th,
.content-wrapper td {
    padding: 12px 16px;
    border: 1px solid #e1f5fe;
    text-align: left;
}

.content-wrapper th {
    background: #e1f5fe;
    color: #01579b;
    font-weight: 600;
}

.content-wrapper tr:nth-child(even) {
    background: #f9feff;
}

/* リンク */
.content-wrapper a {
    color: #0288d1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.content-wrapper a:hover {
    border-bottom-color: #4fc3f7;
}

/* 強調 */
.content-wrapper strong {
    color: #01579b;
    font-weight: 600;
}

/* コードブロック */
.content-wrapper code {
    background: #e1f5fe;
    color: #0277bd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.content-wrapper pre {
    background: #263238;
    color: #b3e5fc;
    padding: 1.5em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 2em 0;
}

.content-wrapper pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .profile-header {
        padding: 60px 20px 40px;
    }
    
    .profile-image,
    .profile-image-placeholder {
        width: 140px;
        height: 140px;
    }
    
    .placeholder-icon {
        font-size: 60px;
    }
    
    .profile-title {
        font-size: 1.8rem;
    }
    
    .profile-subtitle {
        font-size: 0.9rem;
    }
    
    .profile-content {
        padding: 40px 15px;
    }
    
    .content-wrapper {
        padding: 0;
    }
    
    .content-wrapper h2 {
        font-size: 1.4rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .content-wrapper p {
        font-size: 0.95rem;
    }
}