@charset "utf-8";
/* CSS Document */

body{
  background-color: #2a2829;
  color: #f7f4ee;
    }
.logo{
  font-family: "homemade apple","sans-rerif";
  color: #67c4ca;
  font-size: 30px;
  margin-top: 15px;
  margin-left: 20px;
  list-style: none;
}
.logo a{
  font-family: "homemade apple","sans-rerif";
  color: #67c4ca;
  font-size: 30px;
  list-style: none;
  text-decoration: none;
    }

.phot{
  font-family: "homemade apple","sans-rerif";
  color: #f7f4ee;
  font-size: 24px;
  margin-left: 20px;
  list-style: none;
}

.menu{
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: 20px;
  font-family: "Cinzel","sans-rerif";
  margin-left: 0px;
  margin-bottom: 20px;
  color: #f7f4ee;
}
.menu a{
  margin-left: 20px;
  color: #f7f4ee;
  text-decoration: none;
}
main{
  width: 90%;
  margin: 0 auto;
  text-align: left;
  list-style: none;
}
  
.main{
  display: flex;
  justify-content: center;
  list-style: none;
  }
.works,.about,.contacts{
  font-family: "Cinzel","sans-rerif";
  color: #f7f4ee;
  font-size: 20px;
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 200px;
  margin-bottom: 100px;
  
}
.works a,.about a,.contacts a{
  color: #f7f4ee;
  text-decoration: none;
}

.works_1{
  justify-content: center;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  place-items: center;
  }
  

/*subpage*/
.works_sub, .about_sub,.contacts_sub{
  font-family: "Cinzel","sans-rerif";
  color: #f7f4ee;
  font-size: 20px;
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 150px;
  margin-bottom: 50px;
  }
.works_sub a,.about_sub a,.contacts_sub a{
  color: #f7f4ee;
  text-decoration: none;
  
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  }

.grid1{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  }


.item {
  width: 95%;
  min-width: 0;
  /*margin-left: 15px;
  margin-right: 15px;*/
  box-sizing: border-box;
}

.item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
/*subpage end*/

/* モーダルの背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* モーダル内の画像 */
.modal-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* 画像にカーソルを合わせた時に関数を分かりやすくする */
.item img {
  cursor: pointer;
}

/*Abount*/
#about_about{
 margin-left: 50px;
 width: 100%;
 max-width: 100%;
 align-items: center; 
 display: flex;
 justify-content: center;
 padding-right: 150px;
}


#contents{
  width: 300px;
  height: 700px;
  background-color: #f7f4ee;
  margin-left: 500px;
  margin-top: 10px;
  color: #000000;
  position: absolute;
}
.contents-about{
  font-family: "Cinzel","sans-rerif";
  color: #000000;
  font-size: 24px;
  width: 95%;  
}
.contents-about h2{
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 10px;
}
.contents-about p{
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 10px;
}

/*contact*/
#contact-form{
  background-color: #2a2829;
  color: #f7f4ee;
  font-family: "Cinzel","sans-rerif";
  font-size: 20px;
  width: 100%; 
  justify-content: center;  
  align-items: center; 
  display: flex;
}
#contact-form p{
  background-color: #2a2829;
  color: #f7f4ee;
  font-family: "Cinzel","sans-rerif";
  font-size: 20px;
  width: 100%; 
  align-items: center; 
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.form-group label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}
/*.required {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #18C5A6;
  border: 1px solid #18C5A6;
  padding: 2px 6px;
}*/

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  background: #2a2829;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #18C5A6;
}

.form-group select option {
  /*background: #000000;*/
  color: #ffffff;
} 

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}
.form-submit {
  text-align: center;
  margin-top: 40px;
}
.form-submit input[type="submit"] {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  padding: 10px 60px;
  /*cursor: pointer;*/
  /*transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;*/
  background-color: #67c4ca;
}
/*.item img:hover {
  transform: scale(1.5);
}*/

/*.item {
  cursor: pointer;
}

.item img {
  transition: opacity 0.3s;
}

.item:hover img {
  opacity: 0.8;
}*/







/*フッター*/

footer{
	background-color: #2a2829;
	height: 350px;
	display: flex;
  justify-content: center;
	font-size: 0.9rem;
  color: #f7f4ee;
  margin-top: 150px;
}

#sns_icon{
  display: flex;
  justify-content: center;
  height: 50px;
  font-size: 0.9rem;
  border-collapse: separate;
	border-spacing: 30px 5px;
	margin: 20px auto 50px auto;  
}
#sns_icon img{
  margin-right: 20px;
}
.footer table th{
 
	text-align: center;
  margin-top: 20px;
  
}
.footer table td a{
  color: #f7f4ee;
  text-decoration: none;
  }
.dummy{
  display: flex;
  justify-content: center;
   margin-top: 50px;
}
.copyright{
  display: flex;
  justify-content: center;
 }
.banner{
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  text-decoration: none;
}
/*メディアクエリー*/
@media screen and (min-width: 768px) {
  main {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
  }
  
  .main{
  display: flex;
  justify-content: center;
  
  }
  .works_1{
 
  justify-content: center;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  }
  
  
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  }

.grid1{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
 
  /*padding: 0;*/
  box-sizing: border-box;
  margin-left: 15px;
  margin-right: 15px;
  }
.dummy{
  display: flex;
  justify-content: center;
   margin-top: 50px;
}
.copyright{
  display: flex;
  justify-content: center;
 }  
  
.banner{
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  text-decoration: none;
  }
}