:root {
    --primary-color: #009688;
    --primary-dark: #00796b;
    --primary-light: #b2dfdb;
    --accent-color: #fbc02d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-warm: #fdfaf4;
    --font-main: 'BIZ UDPGothic', 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-weight: 300;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.title-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-warm) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.title-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.title-section h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-section .lead {
    color: var(--text-dark);
    font-weight: 400;
    opacity: 0.8;
    position: relative;
}

/* Section Titles */
.section-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.4rem 1.5rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Announcements */
.announcement-card {
    border-left: 4px solid var(--primary-color);
    background-color: #fff;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.accordion-button {
    background-color: #fff;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 3rem;
    padding-bottom: 1rem;
}

h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.title-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-warm) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.title-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.title-section h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-section .lead {
    color: var(--text-dark);
    font-weight: 400;
    opacity: 0.8;
    position: relative;
}

/* Section Titles */
.section-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.4rem 1.5rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Announcements */
.announcement-card {
    border-left: 4px solid var(--primary-color);
    background-color: #fff;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.accordion-button {
    background-color: #fff;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.bg-white {
    background-color: var(--bg-warm) !important;
}

/* Responsive */
@media (min-width: 768px) {
    .title-section h1 {
        font-size: 3.5rem;
    }

    body {
        font-size: 1.05rem;
    }
}

/* Accordion Customization */
.accordion-button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.accordion-button-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.accordion-button-lead {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.accordion-button:not(.collapsed) .accordion-button-title {
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) .accordion-button-lead {
    color: var(--primary-dark);
    opacity: 0.8;
}