/* ========================================
   固定ページ共通スタイル（page.php）
   水色×白のシンプルデザイン
   ======================================== */

.page-default {
    min-height: 100vh;
    background: linear-gradient(to bottom, #e3f2fd 0%, #ffffff 100%);
    padding: 0;
}

/* ページヘッダー */
.page-header {
    background: white;
    padding: 80px 20px 60px;
    text-align: center;
    border-bottom: 1px solid #e1f5fe;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

/* タイトル */
.page-title {
    font-size: 2.2rem;
    color: #01579b;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* アイキャッチ画像 */
.page-thumbnail {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ページ本文 */
.page-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;
}

/* ページネーション */
.page-links {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e1f5fe;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: #e1f5fe;
    color: #0277bd;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #4fc3f7;
    color: white;
}

/* 戻るボタン */
.back-to-home {
    background: linear-gradient(to bottom, #ffffff 0%, #e3f2fd 100%);
    padding: 40px 20px 60px;
    text-align: center;
}

.btn-home {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #0288d1;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #4fc3f7;
}

.btn-home:hover {
    background: #4fc3f7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px 40px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-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;
    }
}