@charset "UTF-8";


body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
}


header {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ff9900;
}


.slider-area {
    position: relative;
    height: 100vh; 
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

#slider {
    width: 100%;
    height: 100%;
}

#slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; 
}

#slider img.active {
    display: block; 
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    z-index: 10;
}

.slider-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}


.content-area {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-area h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.description {
    margin-top: 30px;
    font-size: 18px;
    text-align: left;
}


.form-area {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 100px;
}

.btn-area button {
    padding: 10px 40px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#check-btn {
    background-color: #333;
    color: #fff;
}

#check-btn:hover {
    background-color: #555;
}

#send-btn {
    background-color: #e63946; 
    color: #fff;
}

#send-btn:hover {
    background-color: #d62828;
}

.error-text {
    color: red;
    font-weight: bold;
    height: 24px; 
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}


#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none; 
    z-index: 99;
    opacity: 0.8;
}

#back-to-top:hover {
    opacity: 1;
    background-color: #ff9900;
}