@charset "utf-8";
h1{
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 32px;
}

header h1 a {
    color: white;          
    text-decoration: none;
}

.top {
    background-color: #c40000;
    border: none;
    border-radius: 50%;
    padding: 12px;
}

.top img {
    display: block;
}
/*index.php*/
body {
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #c40000; 
    padding: 20px;
    text-align: center;
    color: white;
    border-bottom: 4px solid #000;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: #111;
    padding: 15px 0;
    border-bottom: 3px solid #c40000;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 4px;
}

nav a:hover {
    background-color: #c40000;
}

h3 {
    margin-top: 40px;
    text-align: center;
    font-size: 26px;
    border-left: 8px solid #c40000;
    padding-left: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

p {
    display: block;
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.8;
    font-size: 18px;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 30px auto;
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

h4 {
    max-width: 900px;
    margin: 40px auto 10px auto;
    font-size: 22px;
    border-left: 6px solid #c40000;
    padding-left: 10px;
}

form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

form div {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    font-size: 16px;
    box-sizing: border-box;
}

.button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

input[type="submit"],
.check {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    color: #fff;
}

input[type="submit"] {
    background-color: #c40000;
}

.check {
    background-color: #111;
    margin-left: 10px;
}

.error{
    color: #c40000;
}

footer {
    background-color: #c40000; 
    padding: 20px;
    text-align: center;
    color: white;
    border-bottom: 4px solid #000;
}

/*sensyu.html*/
.sensyu {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #c40000;
    border-radius: 8px;
}

.sensyu h2 {
    font-size: 24px;
    color: #c40000;
    text-align: center;
}

.sensyu p {
    font-size: 16px;
    color: #222;
    text-align: center;
}

.sensyu img {
    width: 150px;
    display: block;     
    margin: 0 auto 10px auto;
}

.waza{
    display: block;
    margin: 0 auto;
}

.zack {
    width: 80% !important;
    height: auto;
}