/* Workshop Page Styles
   The Knowing Way Japan - サイトデザイン統一版
*/

.workshop-page {
    background-color: #fff;
    color: #222;
    font-family: "YuGothic", "Yu Gothic medium", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.8;
}

.workshop-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Hero Section (ACF)
   ============================================ */
.ws-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.ws-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.ws-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-title {
    font-family: "Shippori Mincho B1", serif;
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ws-subtitle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-block;
    background-color: #B9A10A;
    color: #fff;
    font-family: "Shippori Mincho B1", serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 8px 28px;
    margin: 0;
    white-space: nowrap;
}

/* ============================================
   Banner Image (ACF)
   ============================================ */
.ws-banner {
    max-width: 1000px;
    margin: 40px auto 40px;
    padding: 0 20px;
    text-align: center;
    line-height: 0;
}

.ws-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   Navigation Box (internal links + CTA)
   ============================================ */
.ws-nav-box {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 30px 40px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.ws-nav-box > a {
    display: block;
    color: #2563EB;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.6;
}

.ws-nav-box > a:hover {
    text-decoration: underline;
}

.ws-nav-cta {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 0;
}

.ws-btn-cta {
    display: inline-block;
    background-color: #F5D623;
    color: #333;
    padding: 14px 50px;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid #e0c520;
}

.ws-btn-cta:hover {
    background-color: #e8ca1a;
    color: #333;
}

/* ============================================
   Page Title
   ============================================ */
.ws-page-title {
    font-family: "Shippori Mincho B1", serif;
    font-size: 24px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    margin: 0 0 10px;
}

.ws-page-subtitle {
    font-size: 18px;
    color: #555;
    margin: 0 0 20px;
}

.ws-title-separator {
    border: none;
    border-top: 3px solid #B9A10A;
    margin: 0 0 50px;
}

/* ============================================
   Sections
   ============================================ */
.ws-section {
    margin-bottom: 60px;
}

/* Section Heading (h2) */
.ws-section-heading {
    font-family: "Shippori Mincho B1", serif;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
    color: #222;
    background-color: #FAFAFA;
    border-top: 3px solid #B9A10A;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
    margin: 0 0 25px;
}

/* Section Body - WYSIWYG出力の自動スタイル */
.ws-section-body {
    font-size: 15px;
    line-height: 2;
    color: #222;
}

.ws-section-body p {
    margin-bottom: 1.2em;
}

/* h3: セグメント見出し */
.ws-section-body h3 {
    font-family: "Shippori Mincho B1", serif;
    font-size: 20px;
    font-weight: 500;
    color: #222;
    margin: 2em 0 1em;
    padding-left: 15px;
    border-left: 6px solid #B9A10A;
}

/* h4: 小見出し */
.ws-section-body h4 {
    font-size: 17px;
    font-weight: bold;
    color: #222;
    margin: 1.5em 0 0.8em;
}

/* ul: チェックリスト風 */
.ws-section-body ul {
    list-style: none;
    padding-left: 0;
    margin: 1em 0;
}

.ws-section-body ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.6em;
    line-height: 1.8;
}

.ws-section-body ul li::before {
    content: "\25CB";
    position: absolute;
    left: 0;
    color: #B9A10A;
    font-weight: 700;
}

/* ol: 番号リスト */
.ws-section-body ol {
    padding-left: 1.5em;
    margin: 1em 0;
}

.ws-section-body ol li {
    margin-bottom: 0.6em;
    line-height: 1.8;
}

/* img */
.ws-section-body img {
    max-width: 100%;
    height: auto;
}

/* blockquote */
.ws-section-body blockquote {
    background-color: #FAFAFA;
    border-left: 6px solid #B9A10A;
    padding: 20px 25px;
    margin: 1.5em 0;
}

/* ============================================
   Schedule Table (ACF)
   ============================================ */
.ws-schedule-table-wrapper {
    margin-bottom: 30px;
}

.ws-schedule-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.ws-schedule-table th,
.ws-schedule-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    text-align: left;
}

.ws-schedule-table th {
    background: #FAFAFA;
    width: 30%;
    color: #222;
    font-weight: 600;
    border-right: 1px solid #ddd;
}

.ws-schedule-table tr:last-child th,
.ws-schedule-table tr:last-child td {
    border-bottom: none;
}

.ws-schedule-header {
    background-color: #d6e8f0;
    text-align: center;
    font-family: "Shippori Mincho B1", serif;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    padding: 20px;
    line-height: 1.8;
}

/* ============================================
   Default Notes (below schedule table)
   ============================================ */
.ws-default-notes {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.ws-default-notes h3:first-child {
    margin-top: 0;
}

/* ============================================
   Apply Button
   ============================================ */
.ws-apply-action {
    text-align: center;
    margin-top: 40px;
}

.ws-btn-apply {
    display: inline-block;
    background-color: #F5D623;
    color: #333;
    padding: 14px 50px;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid #e0c520;
}

.ws-btn-apply:hover {
    background-color: #e8ca1a;
    color: #333;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .ws-hero {
        height: 40vh;
        min-height: 300px;
    }
    .ws-title {
        font-size: 1.6rem;
    }
    .ws-subtitle {
        font-size: 0.85rem;
        padding: 6px 20px;
        bottom: 0;
    }
    .ws-page-title {
        font-size: 20px;
    }
    .ws-section-heading {
        font-size: 20px;
    }
    .ws-section-body h3 {
        font-size: 18px;
    }
    .ws-schedule-table th {
        width: 35%;
        padding: 12px 15px;
    }
    .ws-schedule-table td {
        padding: 12px 15px;
    }
    .ws-btn-apply {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .ws-nav-box {
        padding: 20px 25px;
    }
    .ws-btn-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
