/* style.css */
body {
  font-family: "Lato", "Noto Sans JP", sans-serif;
  color: #333;
  margin: 0;
  background-color: #fff;
}

header {
  display: flex;
  justify-content: flex-end;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

header ul {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  list-style: none;
}

header a {
  text-decoration: none;
  color: #6a5acd;
  font-weight: 500;
  transition: color 0.3s;
}

header ul li a:hover {
  color: #555;
}

#hero {
  height: 90vh;
  background: url("./images/botanicalparple.png") no-repeat right bottom / cover;
  display: flex;
  justify-content: flex-start;
  padding-left: 10%;
}

#hero h1 {
  font-size: 4rem;
  color: #6a5acd;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.2); /* ←影をつける */
  margin: -20px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #4b4b4b;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  margin-right: 10px;
  padding: 10px 25px;
  border: 1px solid #6a5acd;
  border-radius: 25px;
  color: #6a5acd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #6a5acd;
  color: #fff;
}

section {
  padding: 80px 10%;
  text-align: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.work-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 10px 10px;
  transition: transform 0.3s ease;
}

.banner-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 10px 10px;
  transition: transform 0.3s ease;
}

.work-item a {
  text-decoration: none;
}

.work-item:hover {
  transform: scale(1.03);
}

.workwp1 {
  width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.workwp1:hover {
  transform: translateY(-5px);
}

.thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.work-item p, .work-item h3 {
  color: #6a5acd;
  font-weight: 300px;
  text-decoration: none;
}

.work-item h3 {
  font-size: 1rem;
}

.work-item p {
  font-size: 0.6rem;
  height: 4rem;
}

.work-info {
  padding: 16px;
  background: #fff;
}

.banner-info {
  margin: 5px auto;
  padding: 0;
}

.work-info p, .banner-info p {
  text-align: left;
}

.banner {
  width: 100%;
  cursor: pointer;  
  transition: 0.3s;
}

.banner:hover {
  opacity: 0.8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.banner-detail {
  line-height: 1rem;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #777;
}
