/* General Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #1a237e;
    /* Dark blue, inspired by logo */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

header .logo {
    height: 80px;
    /* Adjust as needed */
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    flex-grow: 1;
}

header h1 span {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.8;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #bbdefb;
    /* Lighter blue on hover */
}

/* Hero Section */
#hero {
    background: url('logo.png') no-repeat center center,
        #fff;
    /* ロゴの背景色を白に設定 */
    background-size: 50% auto, cover;
    /* ロゴは50%の幅、白背景はcover */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    /* オーバーレイを配置するために必要 */
    overflow: hidden;
    /* ロゴがはみ出さないように */
}

#hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #eee;
}

.button {
    display: inline-block;
    background-color: #ff5722;
    /* Orange accent */
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

/* Main Content Sections */
main section {
    background-color: #fff;
    margin: 30px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

main section h3 {
    font-size: 2.2em;
    color: #1a237e;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

main section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff5722;
    margin: 10px auto 0;
}

/* Schedule Section */
.schedule-day {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.schedule-day:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-day h4 {
    font-size: 1.6em;
    color: #3f51b5;
    /* Medium blue */
    margin-bottom: 15px;
}

.schedule-day h5 {
    font-size: 1.3em;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.schedule-day ul,
.schedule-day ol {
    list-style-position: inside;
    padding-left: 0;
}

.schedule-day ul li,
.schedule-day ol li {
    margin-bottom: 8px;
}

.note {
    font-size: 0.9em;
    color: #777;
    text-align: center;
    margin-top: 20px;
}

/* Categories Section */
#categories h4 {
    font-size: 1.5em;
    color: #3f51b5;
    margin-top: 30px;
    margin-bottom: 15px;
}

#categories h5 {
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

#categories ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.concept-logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 20px auto 30px auto;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #e8eaf6;
    /* Light blue-grey */
    color: #1a237e;
    font-weight: 700;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* 暗いオーバーレイ */
    z-index: 1;
    /* コンテンツの下に配置 */
}

#hero>* {
    position: relative;
    z-index: 2;
    /* コンテンツをオーバーレイの上に配置 */
}

/* Footer */
footer {
    background-color: #1a237e;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design */
/* Responsive Design */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row; /* Revert to row for alignment */
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: #1a237e;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    header nav.active {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    header nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }

    #hero h2 {
        font-size: 2em;
    }

    main section {
        padding: 20px;
        margin: 20px auto;
    }

    main section h3 {
        font-size: 1.8em;
    }

    .schedule-day h4 {
        font-size: 1.4em;
    }

    table th, table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    #hero h2 {
        font-size: 1.5em;
    }

    .button {
        padding: 10px 20px;
        font-size: 1em;
    }

    main section h3 {
        font-size: 1.5em;
    }
}