body {
    margin: 0;
    font-family: 'hgp創英角ゴシックub', sans-serif;
}

nav {
    background-color: #abffff;
    text-align: center;
    padding: 10px;
}

h1 {
    margin: 0;
}

h2 {
    color: #000000;
    text-align: center;
    margin-top: 20px;
    margin: 0 auto; /* Add this line for center alignment */
}

a {
    color: #3498db;
    text-decoration: none;
    display: inline-block;
    margin-right: 20px;
    text-align: center;
}

a:hover {
    text-decoration: underline;
}

.container {
    margin: 20px;
}

h3 {
    margin-top: 20px;
}

input[type="text"] {
    width: 80%;
    padding: 8px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    background: #abffff;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #40f7f4;
}

p {
    margin-bottom: 20px;
    text-align: center;
}

.drawer_hidden {
    display: none;
}

.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

.drawer_open span:before {
    bottom: 8px;
}

.drawer_open span:after {
    top: 8px;
}

#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 99;
    background: #fff;
    transition: 0.5s;
}

.nav_list {
    list-style: none;
}

#drawer_input:checked~.nav_content {
    left: 0;
}

li {
    list-style: none;
}

div {
    text-align: center !important;
}

.resizeimage img {
    width: 100vw;
}

.resizeimage {
    text-align: center;
}

.center-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
body {
    background-color: #fff; /* Default background color */
    color: #000; /* Default text color */
    transition: background-color 0.5s, color 0.5s;
}

body.dark-mode {
    background-color: #111; /* Darker background color */
    color: #fff; /* Dark mode text color */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000; /* Text color for the light mode */
    padding: 10px;
}

body.dark-mode nav {
    color: #fff; /* Text color for the dark mode */
}

nav h1 {
    color: inherit; /* Inherit the color from the parent */
}

body.dark-mode nav h1 {
    color: #000; /* Text color for the dark mode */
}

.toggle-container {
    display: flex;
    align-items: center;
}

.toggle-label {
    margin-right: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.dark-mode .toggle-slider {
    background-color: #4CAF50; /* Dark green color for dark mode */
}

.dark-mode .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.content {
    padding: 20px;
}