@charset "UTF-8";

html {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-size: 18px;
}

/*共通*/
.article {
  margin: 60px 0;
  position: relative;
}

.article h2 {
position:relative;
font-size:19px;
font-weight:400;
margin:0;
padding:0;
margin-left:auto;
margin-right:auto;
padding-top:5px;
width:250px;
height:40px;
border-width:1px;
border-color:#000;
border-style:solid;
border-radius:20px;
text-align:center;
background-color:#FFF;
top:-20px;
z-index: 1;
}

.article hr {
position:relative;
margin:0;
padding:0;
margin-left:auto;
margin-right:auto;
margin-bottom:15px;
width:1000px;
border-style:none;
border-bottom-width:1px;
border-bottom-color:#000;
border-bottom-style:solid;
top:-40px;
z-index: 0;
}

/*header*/
.header {
  width: 100%;
  display: flex;
  justify-content: space-between; /* 両端に画像を配置 */
  align-items: center; /* 縦方向に中央揃え */
  background-image: url(../images/top_bg.jpg);
  padding: 10px; /* 必要に応じてパディングを調整 */
  height: 100px;
}

.logo, .home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* 親要素の高さを100%に */
}

.logo {
  margin-bottom: 40px;
}

.logo img, .home img {
  display: block;
  margin: auto; /* 画像自体を中央揃えに */
}


/*section1*/
.main {
  width: 100%;
  overflow: hidden; 
}

.main img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}


.content {
  text-align: center;
  margin: 60px 0;
  font-size: 35px;
}

/*section2*/
.row {
  display: flex;
  align-items: center; 
  justify-content: center; 
  flex-direction: column;
}

.row ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 80px;
}

.row li {
  margin: 0 15px; 
  text-align: center;
}

.row img {
  width: 100px; 
  height: 100px; 
  border-radius: 50%; 
  object-fit: cover; 
}

.row ul li h3 {
  margin: 8px 0;
}

.row h3 {
  font-size: 22px;
}


.row img:hover {
  background-color: #24a8bf;
  transition: 0.3s;
  opacity: 0.5;
}

/*giftls*/
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}


.img {
width: 150px; 
height: 150px; 
}

.img img {
  object-fit: cover;
  border-radius: 50%; 
  width: 100%;
  height: 100%;
}

.sub-title {
  font-size: 30px;
  display: flex;
}


.list {
  margin-top: 20px;
  font-size: 18px;
  text-align: left;
  line-height: 1.8em;
  background-color: #faf0e6;
  width: 420px;
  padding: 10px;
}

.foot {
  margin: 40px 0;
  font-size: 18px;
  line-height: 1.8em;
}

/*contact*/
.contact {
  margin-top: 30px;
}

.contact h3 {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn {
  margin-top: 30px;
  display: block;
  width: 220px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
  transition: opacity 0.3s;
  border: 1px solid #000;
  border-radius: 3px;
}

.btn:hover {
  color: #d2b48c;
  border: solid 1px #d2b48c;
  transition: 0.3s;
}

/*footer*/
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 50px;
  background-image:url(../images/top_bg.jpg);
  color: #000;
  height: 120px;
}

.footer h2 {
  margin: 0;
  font-size: 40px;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 600px) {
  .main img {
    height: 320px;
  }

  .header {
  height: 70px;
  }

  .logo img, .home img {
    width: 80%; /* 画像の幅を80%に縮小 */
  }
  .article hr {
    width: 100%;
  }

  .content span {
    font-size: 20px;
  }

  .row ul { 
    gap: 15px;
  }
  .row h3 {
    font-size: 16px;
  }

  .sub-title {
    font-size: 24px;
  }

  .list {
    font-size: 16px;
    width: auto;
    width: 100%;
  }

  .foot span {
    font-size: 16px;
    line-height: 0.6em;
    margin: 0 auto;
  }

  .foot span br {
    display: none;
  }

  .container { 
    flex-direction: column;
  }

  .footer {
    height: 90px;
  }

  .footer h2 {
    font-size: 30px;
  }
}
