:root {
  --light-black: #242121;
  --white: #fcfcfc;
  --beige: #efebd6;
  --light-grey: #929191;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "constantia", "Georgia", "sans-serif";
  margin: 0;
  padding: 0;
  background-color: var(--beige);
}

img {
  width: 100%;
}

.fade_in {
  opacity: 0;
}

nav ul.link_06 a {
  transition: 0.4s;
}
nav ul.link_06 a:hover {
  color: var(--light-grey);
}

.link_06 li {
  display: inline;
}
.link_06 li a {
  text-decoration: none;
  color: var(--light-black);
  font-style: oblique;
  font-weight: 400;
  font-size: 1.3em;
  margin: 0 0 50px 75px;
}

.link_06 {
  margin-left: 810px;
  margin-top: 100px;
}

.logo_05 img {
  margin-bottom: px;
  transition: all 0.5s ease;
}

.logo_05 img:hover {
  filter: invert(70%);
}

.pic_04 img {
  width: 45%;
  margin-top: -21%;
  margin-left: 28%;
}

.c02 {
  background-image: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, #333333 50%);
  background-size: 100% 200%;
  background-position: 0% -100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.c02.active {
  -webkit-animation-name: kf_c02;
          animation-name: kf_c02;
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes kf_c02 {
  100% {
    background-position: 0% 100%;
  }
}

@keyframes kf_c02 {
  100% {
    background-position: 0% 100%;
  }
}
.c02 h1 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 50px;
}

.c02 h1.kakunin {
  font-size: 1.5em;
}

.c02 h1.form {
  font-size: 1.5em;
}

.thanks h1.title {
  text-align: center;
  padding: 30px 0;
  font-size: 1.5em;
}

div.text p {
  font-size: 1.3em;
  text-align: center;
}

p.copy {
  font-size: 13px;
  position: absolute;
  margin-left: 200px;
  margin-bottom: 50px;
}

.logo_05 img {
  width: 25%;
  margin-top: -184px;
  margin-left: 60px;
}

h2 {
  margin-top: 80px;
  margin-left: 880px;
  font-size: 24px;
  color: #333;
}

form {
  background-color: var(--beige);
  padding: 20px;
  width: 150%;
  max-width: 650px;
  margin: auto;
  border-radius: 10px;
  text-align: left;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

input,
textarea {
  width: 100%;
  padding: 20px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  height: 200px;
}

button {
  background-color: #2aa745;
  color: white;
  border: none;
  padding: 20px;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #218838;
}

.coment {
  text-align: center;
  margin-top: 0;
  font-size: 1.5em;
}

footer {
  margin-bottom: 50px;
  padding: 0 3%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 9000;
}
footer a.page_top {
  text-decoration: none;
  color: var(--light-black);
  display: block;
  position: absolute;
  top: 0px;
  right: 220px;
  font-size: 30px;
}
footer a.page_top i {
  font-size: 150%;
}
footer p.page_top_txt {
  margin: -9px;
  font-size: 16px;
  translate: -2px -2px;
}

div.smooth a.page_top {
  transition: 0.4s;
}
div.smooth a.page_top:hover {
  color: var(--light-grey);
}
div.smooth p.page_top_txt {
  transition: 0.4s;
}
div.smooth p.page_top_txt:hover {
  color: var(--light-grey);
}

p.page_top_txt {
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .link_06 {
    margin-left: 0;
    margin-top: 6px;
  }
  .logo_05 img {
    width: 35%;
    margin-top: 0;
    margin-left: 0;
  }
  .pic_04 img {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  nav {
    position: absolute;
    top: 0;
    right: 3%;
    z-index: 100;
  }
  nav ul.link_06 {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }
  nav ul.link_06 li {
    font-size: 20px;
  }
  nav ul.link_06 li a {
    margin: 0;
  }
  h2 {
    margin-top: 13%;
    margin-left: 33%;
  }
  form {
    padding: 20px 30px;
    margin: 0;
    border-radius: 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  label {
    margin-top: 0;
    margin-left: 0;
    padding-right: 0;
  }
  input,
textarea {
    width: 100%;
  }
  button {
    background-color: #54b16a;
    width: 100%;
    margin-top: 0;
  }
  .coment {
    font-size: 1.3em;
    margin: 17px 0;
  }
  footer p.page_top_txt {
    margin: -10px;
    font-size: 12px;
  }
  footer a.page_top i {
    font-size: 100%;
  }
  p.copy {
    margin-left: 4%;
    margin-top: 2%;
  }
  footer a.page_top {
    right: 4%;
  }
}