 /* table */
#character {
    padding: 16px 12px;
    background-color: #f9f9f9;
}

.character_section_elem {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.character_text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.character_table {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.character_element {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.character_element:hover {
    transform: scale(1.05);
}

.character_element figure {
    margin: 0;
    padding: 0;
}

.character_element img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.character_element figcaption {
    padding: 8px 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    background-color: #fafafa;
}

/* explorer_slider */
#explorer_slider {
    padding: 20px 12px;
    text-align: center;
}

.slider_container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.card h3 {
    font-size: 1.2rem;
    margin: 0 0 6px 0;
}

.card p {
    font-size: 0.95rem;
    color: #444;
}

#prevBtn,
#nextBtn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 24px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

#prevBtn {
    left: 8px;
}

#nextBtn {
    right: 8px;
}

/* quotes */
#quotes {
    padding: 30px 10px; /* 모바일에 맞게 패딩 축소 */
    text-align: center;
}

.quotes_elem {
    max-width: 100%; /* 화면 꽉 차게 */
    margin: 0 auto;
    position: relative;
}

.quotes_elem > h2 {
    color: #004D40;
    margin-bottom: 20px; /* 마진 축소 */
    font-size: 1.4rem; /* 모바일용 글자 크기 */
}

.quote_slider {
    position: relative;
    overflow: hidden;
    height: 160px; /* 높이 축소 */
}

.quote_card {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px; /* 패딩 축소 */
    box-sizing: border-box;
    background: #E0F2F1;
    border-radius: 12px; /* 모서리 줄임 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    font-style: italic;
    color: #37474F;
    height: 160px; /* 높이 축소 */
}

.quote_card.active {
    display: flex;
}

.quote_card img {
    width: 48px; /* 이미지 축소 */
    height: 48px;
    margin-bottom: 10px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #A7FC00;
}

.quote_card p {
    font-size: 1rem; /* 글자 크기 축소 */
    margin-bottom: 10px;
}

.quote_card span {
    font-weight: bold;
    color: #33691E;
    font-size: 0.85rem; /* 글자 크기 축소 */
}

.quote_nav {
    margin-top: 15px;
}

.quote_nav button {
    background-color: #A7FC00;
    border: none;
    padding: 8px 14px; /* 버튼 패딩 축소 */
    border-radius: 50%;
    font-size: 1rem; /* 버튼 글자 축소 */
    cursor: pointer;
    color: #37474F;
    transition: background-color 0.3s ease;
    margin: 0 6px; /* 버튼 간격 축소 */
}

.quote_nav button:hover {
    background-color: #8adc00;
}