html{
    font-size: 100%;
}

body{
    color: #24292e;
    font-family: "Sawarabi Gothic"; 
}

a{
    text-decoration: none;
}

p{
    font-size: 1.3rem;
}

img{
    max-width: 100%;
}

li{
    list-style: none;
    font-size: 1.2rem;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto 130px auto;
    font-size: 0.9rem;
    padding: 0 4%;
}

.site-title {
    line-height: 1px;
    font-weight: 600;
    font-size: ; 2.4rem
    padding: ;
}

.site-title a {
    color: #24292e;
}


.sec-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 65px;
}


/* header */
#header {
    max-width: 960px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 4%;
}

#header ul {
    display: flex;
    padding: 10px;
    align-items: center;
}

#header ul li {
    font-size: 0.9rem;
    margin-left: 30px;
}

#header ul li a {
    color: #24292e;
    transition: all 0.3s;

}

#header ul li a:hover {
    opacity: 0.5;
}

#header li img.icon{
    width: 30px;
}

/* main */
#main {
    margin-bottom: 80px;
}

#main img{
    width: 100%;
    max-width: 1920px;
    height: 400px;
    object-fit: cover;
}

/* about */
#about h2 {
    font-family: "Barriecito", system-ui;
    font-size: 3rem;
}
#about ul {
    margin-bottom: 30px;
    line-height: 50px;
}
#about ul li:first-child {
    margin-bottom: 30px;
}

#about ul li {
    margin-bottom: 3px;
}

/* works */
#works h2 {
    font-family: "Barriecito", system-ui;
    font-size: 3rem;
}
#works ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 70px;
}

#works p {
    font-weight: bold;
    font-size: 0.9rem;
}

#works dd {
    font-size: 0.8rem;
    padding: 5px;
}


hr {
    border-top: 2px solid #07eee6;
  }

#works ul li {
    width: 31%;
    margin-bottom: 23px;
}

#works ul li img {
  cursor: pointer;
  transition: all 0.3s;
}

#works ul li img:hover {
    transform: scale(1.2,1.2);
    opacity: 0.7;
  }

  /* news */
#news dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #c8c8c8;
    margin-bottom: 20px;
}

#news dt {
    width: 20%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

#news dd {
    width: 80%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

/* groupe */
#groupe dt {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    
}


/* contact */
#contact p {
    text-align: center;
    margin-bottom: 20px;
}

#contact dl {
    display: flex;
    flex-wrap: wrap;
}

#contact dt {
    width: 15%;
    margin-bottom: 10px;
}

#contact dd {
    width: 85%;
    margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea {
    width: 1000%;
    border: 1px solid #c8c8c8;
    padding: 10px;
}
#contact dd textarea {
    height: 10rem;
}

#contact .button {
    text-align: center;
}

#contact .button input {
    border: 1px solid  #242424;
    background-color: #242424 ;
    width: 200px;
    padding: 15px;
    color: #fff;
}

#footer {
    background-color: #617a78;
    padding: 60px 60px;
    width: 100%;
    position: relative;
    inset-inline: 50%;
    width: 100vw;
    margin-inline: -50vw;
  }

  .footer-container {
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* スマホ対応 */
  }
  .footer-logo img {
    height: 120px; /* ロゴの高さを調整してください */
    /* 実際のロゴ画像に置き換えてください */
  }
  .footer-contact {
    text-align: right;
    line-height: 1.6;
  }
  .footer-contact p {
    margin: 4px 0;
    font-size: 1rem;
  }


/* sp */
@media screen and (max-width: 600px){
    .site-title{
        margin-top: 20px;
    }

    /* header */
    #header {
        flex-direction: column;
        height: auto;
        line-height: 40px;
        margin-top: 20px;
    }
    
    #header li {
        font-size: 0.8rem;
        margin-left: 20px;
    }

    #header li img.icon {
        width: 20px;
        margin-top: 15px;
    }

    /* works */
    #works ul {
        flex-direction: column;
    }

    #works ul li {
        width: 100%;
    }

    /* news */
    #news dl {
        flex-direction: column;
    }

    #news dt {
        width: 100%;
        border-bottom: none;
        padding: 0;
    }
    
    #news dd {
        width: 100%;
        padding: 0;
    }
    @media (max-width: 768px) {
        .footer-container {
          flex-direction: column;
          text-align: center;
        }
        .footer-contact {
          text-align: center;
          margin-top: 20px;
          font-size: 1rem;
        }
}