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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 1rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ddd;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./imges/24081602.jpg') no-repeat center center/cover ;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    height: 720px;
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}


.hero .container {
    position: relative;
}
.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.content .container {
    position: relative;
}

.content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content p {
    margin-bottom: 1rem;
}

.content-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact {
    padding: 4rem 0;
    background: #f4f4f4;
    text-align: center;
}

.contact .container {
    position: relative;
}

.contact h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact form label {
    font-size: 1rem;
    font-weight: bold;
}


.contact form input,
.contact form textarea {
    
   
padding: 0.5rem;
    
   
border: 1px solid #ccc;  
border-radius: 5px;
}

.contact form button {

padding: 0.75rem;
background: #333;
color: #fff;  
border: none;
    border-radius: 5px;
cursor: pointer;  
transition: background 0.3s;
}

.contact form button:hover {
    background: #555;
}


footer {
background: #333;  
color: #fff;
text-align: center;
padding: 1rem 0;
    margin-top: 1rem;
}

.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    
   
background-color: #fff; 
margin: 15% auto;   
padding: 20px; 
border: 1px solid #888;
width: 80%;
max-width: 500px;
text-align: center;
position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    
color: black;
text-decoration: none;
    cursor: pointer;
}



/* レスポンシブデザイン */
@media (max-width: 768px) {
    
   
header .container {
        
   
flex-direction: column;
    }

    
    }

header nav ul {
    flex-direction: column;
text-align: center;
    }


    head
header nav ul li {
        margin: 0.5rem 0;
    }

    
  
.hero h1 {
    font-size: 2rem;
    }

 
.hero p {   
font-size: 1rem;
    }

    

.contact h2 {
    font-size: 1.5rem;
    }
