* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;
    color: #333;
    line-height: 1.8;
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Header */
.report-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

h1 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 32px;
    line-height: 1.4;
}

/* Section headings */
h2 {
    font-size: 20px;
    font-weight: bold;
    color: #2a6cb6;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2a6cb6;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 24px 0 8px;
}

/* Main image */
.main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 32px;
}

/* Practice data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 14px;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    width: 20%;
    font-weight: bold;
    color: #555;
    background: #f8f9fa;
    white-space: nowrap;
}

.data-table td {
    width: 30%;
}

/* Numbered list for class flow */
.flow-list {
    list-style: none;
    padding: 0;
}

.flow-list > li {
    margin-bottom: 16px;
}

.flow-list > li > strong {
    display: block;
    margin-bottom: 4px;
}

.flow-list > li > ul {
    margin-left: 20px;
    list-style: disc;
}

.flow-list > li > ul > li {
    margin-bottom: 4px;
    font-size: 15px;
}

/* Content sections */
.section-content {
    margin-bottom: 24px;
}

.section-content p {
    margin-bottom: 8px;
    font-size: 15px;
    text-indent: 1em;
}

.section-content ul {
    margin-left: 20px;
    list-style: disc;
    margin-bottom: 12px;
}

.section-content ul li {
    margin-bottom: 6px;
    font-size: 15px;
}

/* Subsection headings */
.subsection {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 8px;
    color: #333;
}

/* Related materials */
.materials-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.materials-list li {
    padding: 6px 0;
    font-size: 15px;
}

.materials-list li::before {
    content: "\1F4D5";
    margin-right: 8px;
}

.materials-list a {
    color: #2a6cb6;
    text-decoration: none;
}

.materials-list a:hover {
    text-decoration: underline;
}

/* Student works gallery */
.works-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.work-card {
    display: block;
    width: 180px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.work-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.work-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.work-card span {
    display: block;
    padding: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #2a6cb6;
    text-align: center;
    word-break: break-all;
}

/* Slideshow */
.slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 32px;
    border-radius: 8px;
    background: #f5f5f5;
}

.slideshow a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 1s ease;
    cursor: pointer;
}

.slideshow a.slide-nolink {
    cursor: default;
}

.slideshow a.active {
    transform: translateX(0);
}

.slideshow a.exit {
    transform: translateX(-100%);
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.slideshow img.portrait {
    object-fit: cover;
    object-position: top;
}

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: 6px 12px;
    pointer-events: none;
}

/* Stars rating */
.stars {
    color: #333;
    letter-spacing: 2px;
}

/* Blockquote for indented text */
.indent {
    margin-left: 1.5em;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Teacher reflection section */
.reflection h3 {
    margin-top: 20px;
}

.reflection p {
    font-size: 15px;
    margin-bottom: 8px;
    text-indent: 1em;
}
