@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

header {
  background: #faf0e6;
}

header h1 {
  font-size: 2rem;
  text-align: center;
  padding: 1rem;
}

nav ul {
  padding-bottom: 1rem;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  font-weight: bold;
  color: #f4a460;
}
main {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
 /* flex-grow: 1;*/

  grid-template-columns: 1fr;
}

section {
  background: #FFF;
    padding: 20px;
}

.container{
  /*display: flex; */
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


footer {
  background: #faf0e6;
    color: #f4a460;
  text-align: center;
  padding: 1rem;
  width: 100%;
}
/*タブレット用*/
@media all and (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 1fr;
  }
}
/*コンピュータ用*/
@media all and (min-width: 1024px) {
    header h1 {
    font-size: 4rem;
  }
  main {
    grid-template-columns: 1fr 1fr;
  }



.home-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:90%;
  max-width:1200px;
  margin:80px auto;
}

.home-text{
  width:40%;
}


.home-text h2{
  font-size:clamp(28px,3vw,40px);
  white-space:nowrap;
}

.home-text a{
  text-decoration:none ;
  color:#333;
}

.home-text a:hover{
  color:#8B4513
}

.home-image{
  width: clamp(300px,45vw,700px);
}

.home-image img{
  width: 100%;
  height:auto;
  display:block;
  


@media screen and (max-width:768px){
  .home-box{
    flex-direction:column;
    text-align:center;
  }

  .home-text{
    width:100%;
    margin-bottom:30px;
  }

  .home-image{
    width:100%;
  }

  .home-text h2{
    font-size:32px;
}

.about-title{font-size:48px;

}
.about-soup-text h2{
  text-align:center;
}


.about-soup-text p{
  text-align:center;
}