*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section{
    padding: 80px 10%; 
}

.btn{
    display: inline-block;
    padding: 10px 40px;
    background-color: #408edc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}    

.btn:hover{
    opacity: 0.7;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 30px;
    padding: 20px 5%;
}

nav{
    display: flex;
    font-size: 25px;
    gap: 30px;
}

.intro{
    background-image: url(img/main.jpg);
    background-size: cover;
    background-position: center;
    height: 780px;
    color: #fff;
    font-style: italic;
    padding-top: 230px;
    padding-left: 60px;
}

.intro h2{
    margin: 20px 0;
}

.concept2{
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1.5fr;
    margin-top: 100px;
}

.about h2{
    margin-bottom: 60px;
}

.catch{
    font-size: 24px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
}

.about p{
    max-width: 360px;
    font-size: 20px;

}

.about img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main{
    margin-top: 150px;
    padding: 30px;
    background-image: url(img/haikei1.jpg);
    object-fit: cover;
}

.menu{
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.menu li{
    list-style: none;
    width: calc(33.333% - 30px);
    margin: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.menu li img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  margin-top: 200px;
}

.big {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.right-top {
  grid-column: 2 / 4;
}

.right-bottom1 {
  grid-column: 2 / 3;
}

.right-bottom2 {
  grid-column: 3 / 4;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-info {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 20px;
  border-top: 1px solid #ddd;
}

.portfolio-info h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.portfolio-info p {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
}

footer{
    background-image: url(img/haikei1.jpg);
    object-fit: cover;
    text-align: center;
    padding: 30px;
    margin-top: 200px;
}

@media(max-width: 768px) {
    .container{
        padding: 0 15px;
    }

    .concept2{
        display: block;
    }

    .concept2 p{
        margin-bottom: 20px
    }

    .about{
        width: 100%;
    }

    .menu{
        flex-direction: column;
    }

    .menu li{
        width: 100%;
        align-items: center;
    }

    .gallery{
        display: block;
    }
}