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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    font-size: 1.1em;
    font-feature-settings: "palt";
}

header {
    background-color: #318497;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    letter-spacing: 0.15em;
}

header h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
}

header p {
    font-size: 1.2em;
}

section {
    width: 65%;
    margin: 1em auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #318497;
    letter-spacing: 0.05em;
}

section p {
    margin-bottom: 10px;
}



section p.lead {
    font-size: 1.3em;
    font-weight: normal;
    color: #000;
    margin: 1.5em auto;
}

section#about {

}

section#about img {
    width: 100%;
    margin: auto;
    display: block;

}
section#program span {
    color: #318497;

}

section#access img {
    width: 65%;
    margin: 1.5em auto;
    display: block;
    border: 1px solid #318497;

}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 0.3em 0 0.3em 0em;
    padding-left: 1.5em;
    text-indent: -1em;

}

li::before {
  position: relative;
  top: 0;
  left: -0.5em;
 
  display: inline-block;
 
  width: 0.8em;
  height: 0.8em;
 
  content: '';
 
  border-radius: 100%;
  background: #318497;
}


div.bnr {
    width: 60%;
    display: block;
    margin: 2em auto;
    text-align: center;
}

div.bnr img{
    width: 60%;
    margin: 2em auto;
    border: 1px solid #666;
    display: block;
}

footer {
    background-color: #318497;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}


header a {
	color: #fff;
}


section#program img {
    width: 100%;
    margin: 2em auto;
    display: block;

}


@media screen and (max-width: 767px) {
 
    section {
    width: 96%;
    margin: 1em auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    section#about img {
        width: 100%;
        margin: auto;
        display: block;
    }

    section#access img {
        display: none;
    }

    div.bnr {
        width: 96%;
        display: block;
        margin: 2em auto;
        text-align: center;
    }

    div.bnr img{
        width: 96%;
        margin: 1em auto;
        border: 1px solid #666;
        display: block;
    }

header {
    background-color: #318497;
    color: white;
    padding: 20px;
    text-align: left;
}

header h1 {
    font-size: 1.2em;
    margin-bottom: 10px;
    letter-spacing: 0em;
}

header h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
    letter-spacing: 0;
}

section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #318497;
}

section#program img {
    width: 100%;
    margin: 2em auto;
    display: block;

}

}




section#access {
    margin-top: 2em;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

section#access h4 {
    color: #318497;
    margin-top: 1em;
}
section#access h5    {
    color: #318497;
    margin-top: 1em;
}

section#access table {
    width: 60%; /* 表の幅を少し狭める */
    margin: 10px auto 2em; /* 表を中央揃え */
    border-collapse: collapse;
}

@media screen and (max-width: 767px) {
    section#access table {
        width: 100%; /* モバイルの場合は全幅表示 */
    }
}

section#access table, th, td {
    border: 1px solid #318497;
    padding: 8px;
    text-align: center;
}

section#access th {
    background-color: #318497;
    color: white;
}

section#access td {
    background-color: #ffffff;
}



div#bus_schedule_combined {
    margin-top: 2em;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-family: Arial, sans-serif;
}

div#bus_schedule_combined h3 {
    font-size: 1.2em;
    color: #318497;
    margin-bottom: 10px;
    text-align: center;
}

div#bus_schedule_combined table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 1em;
}

div#bus_schedule_combined th, td {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}

div#bus_schedule_combined .header {
    background-color: #FFD700; /* 黄色の背景 */
    color: #333;
    font-weight: bold;
    text-align: center;
}

div#bus_schedule_combined .label {
    background-color: #FFD700; /* 黄色の背景 */
    color: #333;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}

div#bus_schedule_combined th {
    background-color: #FFD700;
    color: #333;
    font-weight: bold;
}

div#bus_schedule_combined td {
    background-color: #FFF;
}
