/* ===== カスタムページ ===== */
.custom-page, .custom-page * { box-sizing: border-box; }
.custom-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    width: 100%;
}

.custom-page-subtitle {
    text-align: center;
    color: #5B9BD5;
    font-size: 15px;
    letter-spacing: 2px;
    margin: 6px 0 40px;
}

.custom-section {
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(91, 155, 213, 0.18);
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 6px 24px rgba(91, 155, 213, 0.08);
    backdrop-filter: blur(2px);
}

.custom-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(91, 155, 213, 0.2);
}

.custom-section-head .cs-en {
    font-family: 'Times New Roman', 'Georgia', serif;
    font-size: 26px;
    letter-spacing: 3px;
    color: #5B9BD5;
    text-transform: uppercase;
    line-height: 1.2;
}

.custom-section-head .cs-ja {
    font-size: 14px;
    color: #6b7c8c;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* 本文（WYSIWYG出力） */
.custom-section-body {
    color: #46545f;
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}

.custom-section-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 14px auto;
    border-radius: 8px;
}

.custom-section-body p { margin: 0 0 1em; }
.custom-section-body a { color: #3a7bd5; text-decoration: underline; }
.custom-section-body h1,
.custom-section-body h2,
.custom-section-body h3,
.custom-section-body h4 { color: #3f5568; margin: 1.2em 0 0.5em; line-height: 1.4; }
.custom-section-body ul,
.custom-section-body ol { margin: 0 0 1em; padding-left: 1.5em; }
.custom-section-body li { margin-bottom: 0.4em; }
.custom-section-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}
.custom-section-body table td,
.custom-section-body table th {
    border: 1px solid rgba(91, 155, 213, 0.3);
    padding: 8px 10px;
}
.custom-section-body blockquote {
    border-left: 3px solid #9cc3e8;
    margin: 1em 0;
    padding: 0.4em 1em;
    color: #5c6b78;
    background: rgba(156, 195, 232, 0.08);
}
.custom-section-body iframe,
.custom-section-body video {
    max-width: 100%;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .custom-page { padding: 24px 14px 60px; }
    .custom-section { padding: 22px 16px; margin-bottom: 34px; }
    .custom-section-head .cs-en { font-size: 21px; }
    .custom-section-body { font-size: 14px; line-height: 1.85; }
}
