body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  background-color: #1c1c1c;
  color: #e6e6e6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #262626;
  position: sticky;
  top: 0;
  z-index: 999;
}

@media (max-width: 650px) {
    .menu-item {
        display: none;
    }

    .menu-item-sp {
        display: block;
    }

    .main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main table {
        margin-left: 0;
        width: 100%;
        font-size: 0.75rem;
    }
 
    .main th,
    .main td {
        padding: 5px 6px;
    }
 
    .main table td img {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 651px) {
    .menu-item {
        display: block;
    }

    .menu-item-sp {
        display: none;
    }

    .main {
        padding-left: 100px;
        padding-right: 100px;
    }
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.title {
    font-size: 24px;
    color:#e6e6e6;
    font-weight: bold;
    text-decoration: none;
}

.title-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.menu-group {
    display: flex;
    list-style: none;
}

.menu-item {
    margin-left: 7.5px;
}

.menu-item-sp img {
    height: 35px;
    padding: 5px;
}

.menu-item a {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: bold;
}

.menu-item li {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: bold;
}

.background-image {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    transform: translate3d(0px, 0px, 0px);
}

.background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://raw.githubusercontent.com/ssmn93/depart-melody/main/picture/南武線.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    font-family: "arial", sans-serif;
    font-size: 30px;
    color: #f5f5f5;
    font-weight: bold;
    margin: 0;
}

.main h1 {
    border-left: 10px solid #3f7aa1;
    color: #3f7aa1;
    font-weight: 400;
    display: flex;
    font-size: 3rem;
    padding-bottom: 10px;
    padding-left: 30px;
}

.footer {
    padding: 2rem;
    margin-top: 40px;
    font-size: 15px;
    color: #999999;
    background: #000000;
    background-color: #262626;
    text-align: left !important;
}

.footer__navi {
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer__navi li {
    display: inline-block;
}

.footer__navi li:not(:last-child) {
    margin-right: 16px;
}

.footer__logo {
    display: flex;
    margin-bottom: 1rem;
}

.footer__logo img {
    margin-right: 10px;
}

.footer p {
    margin: 0;
}

.main table {
    margin-top: 20px;
    margin-left: 30px;
    border-collapse: collapse;
    border: 2px solid rgb(140 140 140);
    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: calc(100% - 30px);
}

.main caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
}

.main thead,
.main tfoot {
    background-color: rgb(30 40 45);
}

.main th,
.main td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

.main td:last-of-type {
    text-align: left;
}

.main tbody > tr:nth-of-type(even) {
    background-color: rbg(26 26 28);
}

.main tfoot th {
    text-align: right;
}

.main tfoot td {
    font-weight: bold;
}
 
.main table td:nth-child(1),
.main table td:nth-child(2) {
    text-align: center;
}
 
.main table td:nth-child(1) p,
.main table td:nth-child(2) p {
    margin: 0;
}
 
.main table td img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.line {
    display: flex;
    align-items: center;
    justify-content: center;
}

.line img {
    width: 40px;
    height: 40px;
}

.line p {
    padding-left: 10px;
}
