body{
  font-family: "Kaisei Tokumin", serif;
  min-height: 100vh;
  position: relative;
}

main {
    position: relative;
    color: #754834;
    background: linear-gradient(
    to bottom,        
    #FFC2BD 0%,     
    #FFBF70 40%,
    #FFC2BD 80%,
    #FFC2BD 100%
  );
  z-index: 0;
  overflow: hidden;
}

header nav {
  display: flex; 
  align-items: center;
  height: 60px;
  justify-content: flex-end;
  gap: 5vw;
  padding-right: 7vw;
  background-color: #E55C43;
}

header a {
  text-decoration: none;
  color: #ffff;
  font-size: 18px;
}

nav a:hover {
  transition: 0.3s ease;
  transform: scale(1.10);
}

.bg-ball {
  position: absolute;
  width: 80vw;
  height: 80vw;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1; 
}

.bg-ball1 {
  top: -20vw;
  left: -5vw;
  background-image: url('../img/back_pad.webp');
  transform: rotate(50deg);
}

.bg-ball2 {
  top: -13vw;
  left: 100%; 
  transform: translateX(-50vw) rotate(-80deg); 
  background-image: url('../img/back_pad.webp');
}

.bg-ball3 {
  top: 55vw;
  left: 100%; 
  background-image: url('../img/back_pad.webp');
  transform: translateX(-70vw) rotate(200deg);
}

header,
.breadcrumb,
h2,
form,
footer {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  gap: 2vw; 
  padding-top: 4vw;
  padding-bottom: 0; 
  margin-left: 6vw;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px; 
  color: #754834;
}

h2 {
  text-align: center;
  font-size: 28px;
  margin-top: 10vw;
  margin-bottom: 10vw;
}

form {
  width: 60%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 15vw;
}

form div {
  display: flex;
  align-items: center;
  gap: 20px;
}

label {
  font-family: "BIZ UDGothic", sans-serif;
  width: 180px;
  font-size: 18px;
  text-align: right;
}

input,
textarea {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: "BIZ UDGothic", sans-serif;
  box-sizing: border-box;
}

textarea {
  height: 300px;
  resize: vertical;
}

button {
  display: block;
  width: 250px;
  height: 55px;
  margin: 20px auto 0;
  background-color: #E55C43;
  border: none;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-family: "BIZ UDGothic", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #ff7f50;
  transform: scale(1.05);
}

footer {
  display: flex; 
  height: 40px;
  background-color: #E55C43;
  justify-content: center;
  align-items: center;
}

footer p {
  font-size: 10px;
  color: #ffff;
  margin: 0;
}


@media (max-width: 768px) {

  header nav {
  height: 40px;
}

header a {
  font-size: 13px;
}

.bg-ball {
  width: 80vw;
  height: 80vw;
}

.breadcrumb {
  font-size: 12px; 
}

  h2 {
    font-size: 18px;
  }

  form div {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  label {
    width: auto;
    text-align: center;
    font-size: 10px;
  }

  input,
  textarea {
    font-size: 10px;
    width: 70vw;
  }

  input {
 height: 10vw;
}

textarea {
  height: 90vw;
}

  button {
    width: 200px;
    height: 48px;
    font-size: 16px;
  }

footer {
  height: 30px;
}

footer p {
  font-size: 7px;
}
}


@media (max-width: 480px) {

    header nav {
  height: 30px;
}

header a {
  font-size: 10px;
}

.breadcrumb {
  font-size: 9px; 
}

  form {
    width: 90%;
  }

    label {
    font-size: 10px;
  }

    input,
  textarea {
    font-size: 7px;
  }

    input {
 height: 20px;
}

  textarea {
    height: 150px;
  }

  button {
    width: 180px;
    height: 45px;
    font-size: 14px;
  }

  footer {
  height: 18px;
}

footer p {
  font-size: 5px;
}
}



