@charset "UTF-8";

.common .section-title {
  font-size: 1.9rem;
  margin-bottom: 50px;
}

.common .text {
  margin-bottom: 50px;
}

.common {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 50px;
}

.common .name {
  margin-bottom: 30px;
}
.visit a {
  border-bottom: 1px solid #3e3b35;
  color: #3e3b35;
}
/* aboutページ */
.about .name span {
  display: block;
}

.about .name .ja {
  font-size: 1rem;
}

.about .name .en {
  font-size: 1.5rem;
}

.about .text {
  border-bottom: 1px solid #000;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

.about .text p {
  margin-bottom: 20px;
}

.about .btn {
  text-align: end;
}

.btn a {
  display: inline-block;
  padding: 0.75em 2em;
  background-color: #4f4c45;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn a:hover {
  background-color: #3e3b35;
  transform: translateY(-2px);
}

/* worksページ */
.common .main-img {
  margin-bottom: 50px;
}

.common .mobile-img {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
  border-bottom: 1px solid #000;
  margin-bottom: 50px;
}

.common .mobile-img .item {
  width: 32%;
}

/* コンタクトページ */
form dt {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
}

form dd {
  margin-bottom: 35px;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

form textarea {
  height: 150px;
  resize: vertical;
}

form .btn {
  text-align: center;
  margin-left: 70px;
}

form .btn input[type="submit"] {
  background-color: #4f4c45;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

form .btn input[type="submit"]:hover {
  background-color: #3e3b35;
}

@media (max-width:760px) {
  .common {
    padding: 20px;
  }

  .common .mobile-img {
    flex-direction: column;
  }

  .common .mobile-img .item {
    width: 100%;
    margin-bottom: 20px;
  }
}