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

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    width: auto;
    height: 100%;
    padding: 0;
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
    font-size: 1.0em;
    line-height: 1.7;
    background: linear-gradient(135deg, #e8f4fd 0%, #f7fafc 100%);
    color: #333;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#contents {
    float: right;
    width: 67%;
    padding: 1rem 2rem 2rem 1rem;
    margin: 0 0 1em;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

@media screen and (width<=959px) {
    #contents {
        width: 100%;
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 8px;
    }

    div#contents h1 {
        font-size: 1.2rem;
        padding: 1rem;
    }

    div#contents h2 {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }

    div#contents h3 {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    div#contents p {
        margin: 1rem;
        font-size: 0.9rem;
    }
}

div#contents img {
    margin-top: 0;
    margin-bottom: 0;
}

div#contents p {
    margin: 1.2rem 1.5rem;
    line-height: 1.8;
    color: #4a5568;
    font-size: 0.95rem;
}

div#contents h1 {
    padding: 1.5rem 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    background: linear-gradient(135deg, #5591af 0%, #3e6b82 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(85, 145, 175, 0.3);
    letter-spacing: 0.02em;
}

div#contents h2 {
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    background: linear-gradient(135deg, #e8f4fd 0%, #f7fafc 100%);
    border-left: 4px solid #5591af;
    border-radius: 6px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

div#contents h3 {
    padding: 0.8rem 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a5568;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 3px solid #a0aec0;
    border-radius: 4px;
    line-height: 1.4;
}

div#contents h4 {
    padding-left: 1.0em;
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    font-size: 1.0em;

    /* background-color:#e0e0e0; */

    /* background-color:#4a77ff; */

    /* color:#ffffff; */
    line-height: 1.2em;
}

ul {
    padding: 0 3em;
}

ol {
    padding: 0 3em;
}

ul.no-point {
    list-style: none;
}

ul li.star::before {
    padding-right: 5px;
    list-style-type: none;
    content: "★";
}

ul li.diamond::before {
    padding-right: 5px;
    list-style-type: none;
    content: "◆";
}

.horizontal-list {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.horizontal-list li {
    flex: 1 0 auto;
    min-width: 50%;
    font-weight: bold;
    white-space: nowrap;
    vertical-align: middle;
    list-style-type: none; /* リストマーカーを削除 */
}

ul.asterisk {
    padding-right: 0;  /* 左パディングを0に設定 */
    list-style-type: none;
}

ul.asterisk li::before {
    margin-right: 5px;  /* 右マージンを追加 */
    content: "※ ";
}

ul.asterisk li {
    padding-left: 3em;  /* パディングを追加 */
    text-indent: -5 px;  /* テキストを左にずらす */
}

.map {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.map_test {
    display: block;
    width: 100%;
    /*max-width: 500px;*/
    margin: 0 auto;
}

.bus-map {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

@media (width<=680px) {

    .horizontal-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .horizontal-list li {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
}

span.bold {
    /* 太字 */
    font-size: 100%;
    font-weight: bold;
    /* ベースから200％大きくするフォントサイズ指定 */
}

span.month,
span.day {
    display: inline-block;
    width: 1.2em;
    text-align: right;
}

.indent-2em {
    margin-left: 2em;
}

.indent-1em {
    margin-left: 1em;
}

.underline {
    text-decoration: underline;
}

.deleteline {
    text-decoration: line-through;
    text-decoration-line: line-through;
}

.figure-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.figure-container figure {
    margin: 10px;
}

#exhibition {
    display: flex;
    flex-flow: row;
}

#exhibition p img {
    align-items: center; /* 垂直方向の中央揃え */
    width: 100%;
    max-width: 200px;
    margin: 10px;
}

/* Modern utilities and animations */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(85, 145, 175, 0.15);
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5591af 0%, #3e6b82 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 15px rgba(85, 145, 175, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 145, 175, 0.4);
    color: #ffffff;
}

.text-gradient {
    background: linear-gradient(135deg, #5591af 0%, #3e6b82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Improved link styles */
a {
    color: #5591af;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3e6b82;
    text-decoration: underline;
}

/* Better form styles */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #5591af;
    box-shadow: 0 0 0 3px rgba(85, 145, 175, 0.1);
}

/* Enhanced list styles */
ul li, ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Improved spacing */
.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}


