@charset "UTF-8";
.d-none {
  display: none !important;
}

.visible {
  visibility: hidden !important;
}

.visible * {
  visibility: hidden !important;
}

.d-block {
  display: block !important;
}

@media screen and (max-width: 930px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 931px) {
  .sp {
    opacity: 0 !important;
    display: none !important;
  }
}

canvas {
  width: 100%;
  height: 100%;
  object-fit: inherit;
}

body {
  font-family: "ZenMaruGothic", sans-serif;
  color: #63573c;
  background: #473823;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
  height: 100vh;
  max-height: 100%;
  overflow: hidden;
  background-image: url(../img/body.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

@media screen and (max-width: 930px) {
  body {
    font-size: 11px;
    overflow: hidden;
  }
}

body > canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 0;
  opacity: 0.4;
  width: 40vw;
}

header {
  position: absolute;
  top: 0;
  width: 100vw;
  background-color: #fff;
  z-index: 1000;
}

header > div {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 930px) {
  header > div {
    width: 90vw;
  }
}

header > div > a {
  width: 20%;
}

@media screen and (max-width: 930px) {
  header > div > a {
    width: 40%;
  }
}

header > div > a > canvas {
  max-height: 41.6px;
}

@media screen and (max-width: 930px) {
  header > div > a > canvas {
    max-height: 50px;
    height: 100%;
  }
}

header > div .nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

@media screen and (max-width: 930px) {
  header > div .nav-toggle {
    display: flex;
  }
}

header > div .nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 2px 0;
  background: #4B3D2A;
  border-radius: 2px;
  transition: 0.3s;
}

header > div .nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

header > div .nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

header > div .nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

header > div > nav.nav-menu {
  width: 80%;
  transition: max-height 0.3s, opacity 0.3s;
}

@media screen and (max-width: 930px) {
  header > div > nav.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  header > div > nav.nav-menu.open {
    max-height: 400px;
    opacity: 1;
  }
}

header > div > nav.nav-menu ul {
  display: flex;
  justify-content: right;
  align-items: center;
  height: 100%;
  margin: 0;
}

@media screen and (max-width: 930px) {
  header > div > nav.nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 0;
  }
}

header > div > nav.nav-menu ul li {
  list-style: none;
  margin: 0 10px;
  gap: 1.2em;
}

@media screen and (max-width: 930px) {
  header > div > nav.nav-menu ul li {
    margin: 0.5em 0;
    text-align: center;
    width: 100%;
  }
}

header > div > nav.nav-menu ul li a {
  text-decoration: none;
  color: #63573c;
  font-weight: bold;
  padding: 0.4em 1em;
  display: block;
  position: relative;
}

header > div > nav.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4B3D2A;
  transition: width 0.3s ease;
}

header > div > nav.nav-menu ul li a:hover {
  color: #4B3D2A;
}

header > div > nav.nav-menu ul li a:hover::after {
  width: 100%;
}

header > div > nav.nav-menu ul li:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
}

header > div > nav.nav-menu ul li:last-child a {
  position: relative;
  display: inline-block;
  padding: 0.4em 1.2em;
  font-size: 0.8em;
  color: #fff;
  border: 1px solid #4B3D2A;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
  background-color: #4B3D2A;
  text-decoration: none;
}

@media screen and (max-width: 930px) {
  header > div > nav.nav-menu ul li:last-child a {
    font-size: 1.1em;
  }
}

header > div > nav.nav-menu ul li:last-child a:hover {
  color: #4B3D2A;
}

header > div > nav.nav-menu ul li:last-child a:hover::before {
  height: 100%;
}

header > div > nav.nav-menu ul li:last-child a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #fff;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header > div > nav.nav-menu ul li:last-child a::after {
  display: none;
}

main {
  overflow: hidden;
  height: 100vh;
  max-height: 100%;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

main section:nth-child(1) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(1).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(2) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(2).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(3) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(3).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(4) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(4).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(5) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(5).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(6) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(6).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(7) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(7).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(8) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(8).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(9) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(9).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main section:nth-child(10) {
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

main section:nth-child(10).active {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

main ::-webkit-scrollbar {
  display: none;
}

main summary {
  list-style: none;
}

main summary::marker {
  content: none;
}

main h3 {
  margin: 0;
}

section {
  height: 100vh;
  max-height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  scroll-snap-align: start;
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 930px) {
  section {
    padding: 0;
  }
}

section > div {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

section h1 {
  font-size: 4em;
}

section h2 {
  width: 100%;
  max-width: 1200px;
  font-size: 3em;
  text-align: left;
  color: #ffffff;
  margin: 0;
}

@media screen and (max-width: 930px) {
  section h2 {
    padding-top: 60px;
  }
}

section > h2 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 930px) {
  section > h2 {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    text-align: center;
  }
}

section h3 {
  font-size: 1.2em;
  line-height: 1.2;
}

section a {
  font-size: 1.1em;
  color: #4B3D2A;
  text-decoration: none;
}

section a:hover {
  text-decoration: underline;
}

section:nth-child(1) {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  max-width: 1200px;
  margin: 4em auto;
}

@media screen and (max-width: 930px) {
  section:nth-child(1) {
    margin: 0 auto;
    max-width: 100%;
  }
}

section:nth-child(1) > div {
  width: 100%;
  height: 100%;
  background-color: #fff6ea;
}

section:nth-child(1) > div#top_messages {
  height: calc(90% - 49.6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.2em;
  /* contact_button ボタン風 & ホバーアニメーション */
}

@media screen and (max-width: 930px) {
  section:nth-child(1) > div#top_messages {
    height: 100%;
  }
}

section:nth-child(1) > div#top_messages > * {
  width: fit-content;
}

section:nth-child(1) > div#top_messages #top_logo {
  max-height: 80%;
}

section:nth-child(1) > div#top_messages #logoimgs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section:nth-child(1) > div#top_messages #logoimgs h1 {
  line-height: 1;
  margin: 0;
}

@media screen and (max-width: 930px) {
  section:nth-child(1) > div#top_messages #logoimgs h1 {
    line-height: 1;
    text-align: center;
  }
}

section:nth-child(1) > div#top_messages p {
  margin: 0;
}

section:nth-child(1) > div#top_messages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section:nth-child(1) > div#top_messages .contact_button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0;
}

@media screen and (max-width: 930px) {
  section:nth-child(1) > div#top_messages .contact_button {
    margin: 0;
  }
}

section:nth-child(1) > div#top_messages .contact_button a {
  position: relative;
  display: inline-block;
  padding: 0.8em 2.5em;
  font-size: 1.1em;
  color: #fff;
  border: 1px solid #4B3D2A;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
  color: #4B3D2A;
  text-decoration: none;
}

section:nth-child(1) > div#top_messages .contact_button a:hover {
  color: #fff;
}

section:nth-child(1) > div#top_messages .contact_button a:hover::before {
  height: 100%;
}

section:nth-child(1) > div#top_messages .contact_button a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #4B3D2A;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  max-width: 1200px;
  margin: 4em auto;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) {
    margin: 0 auto;
    height: 100vh;
    max-height: 100%;
    max-width: 100%;
    display: block;
  }
}

section:nth-child(2) > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: calc(90% - 49.6px);
  background-color: #fff6ea;
  width: 100%;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div {
    height: 100%;
    justify-content: start;
    flex-direction: column-reverse;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
  }
}

section:nth-child(2) > div > #about_logo {
  min-width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.2em;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_logo {
    height: fit-content;
    width: 70%;
  }
}

section:nth-child(2) > div > #about_logo > * {
  width: fit-content;
}

section:nth-child(2) > div > #about_logo > div:last-child {
  padding: 2em 1.2em 0;
  position: relative;
  width: 100%;
}

section:nth-child(2) > div > #about_logo > div:last-child img {
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  position: absolute;
}

section:nth-child(2) > div > #about_logo > div:last-child img.active {
  opacity: 1 !important;
  transition: opacity 0.8s ease-in;
}

section:nth-child(2) > div > #about_logo > div:last-child img:not(.active) {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

section:nth-child(2) > div > #about_logo p {
  margin: 0;
}

section:nth-child(2) > div > #about_logo h1 {
  line-height: 0.6;
  margin: 0;
}

section:nth-child(2) > div > #about_message {
  overflow: hidden;
  padding-right: 0.2em;
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message {
    height: fit-content;
    justify-content: start;
  }
}

section:nth-child(2) > div > #about_message > * {
  flex: 1;
}

section:nth-child(2) > div > #about_message.closed {
  width: 0;
}

section:nth-child(2) > div > #about_message.open {
  width: 100%;
}

section:nth-child(2) > div > #about_message h2 {
  padding: 0;
  margin: 0;
  background: none;
  color: #4B3D2A;
  font-size: 2em;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message h2 {
    padding-top: 60px;
    text-align: center;
    font-size: 3em;
  }
}

section:nth-child(2) > div > #about_message ul {
  margin: 1.4em 1.4em 0 1.4em;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul {
    margin: 0;
  }
}

section:nth-child(2) > div > #about_message ul li {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
  position: relative;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li {
    border-bottom: 1.6px solid #4B3D2A;
  }
  section:nth-child(2) > div > #about_message ul li:nth-child(1) {
    background-image: url(../img/section2-1.png);
  }
  section:nth-child(2) > div > #about_message ul li:nth-child(2) {
    background-image: url(../img/section2-2.jpg);
  }
  section:nth-child(2) > div > #about_message ul li:nth-child(3) {
    background-image: url(../img/section2-3.jpg);
  }
  section:nth-child(2) > div > #about_message ul li:nth-child(4) {
    background-image: url(../img/section2-4.png);
  }
}

section:nth-child(2) > div > #about_message ul li h3 {
  text-align: left;
  width: 100%;
  margin: 0;
  opacity: 0.5;
  line-height: 2;
  display: block;
  position: relative;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li h3 {
    line-height: 3;
    width: 100%;
    opacity: 1;
    padding-left: 1em;
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom: #c5c4c3 solid 1px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  }
}

section:nth-child(2) > div > #about_message ul li h3::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: calc(100vw / 120);
  height: calc(100vw / 120);
  border-top: 0;
  border-left: 0;
  border-bottom: 4px solid #4B3D2A;
  border-right: 4px solid #4B3D2A;
  line-height: 2;
  color: #4B3D2A;
  position: absolute;
  right: 0.6em;
  top: 0.6em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li h3::before {
    width: calc(100vw / 40);
    height: calc(100vw / 40);
    border-bottom: 2px solid #4B3D2A;
    border-right: 2px solid #4B3D2A;
    right: 1.6em;
    top: 0.8em;
  }
}

section:nth-child(2) > div > #about_message ul li h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4B3D2A;
  transition: width 0.3s ease;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li h3::after {
    display: none;
  }
}

section:nth-child(2) > div > #about_message ul li h3:hover {
  color: #4B3D2A;
  opacity: 1;
  cursor: pointer;
}

section:nth-child(2) > div > #about_message ul li h3:hover::after {
  width: 100%;
}

section:nth-child(2) > div > #about_message ul li h3.active {
  opacity: 1;
}

section:nth-child(2) > div > #about_message ul li h3.active::before {
  top: 1em;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  transition: transform 0.3s ease-in-out;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li h3.active::before {
    top: 1.25em;
  }
}

section:nth-child(2) > div > #about_message ul li h3.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4B3D2A;
  transition: width 0.3s ease;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li h3.active {
    background-color: rgba(255, 255, 255, 0.9);
  }
}

section:nth-child(2) > div > #about_message ul li p {
  width: 100%;
  max-height: 0;
  transition: max-height 0.8s ease-out, opacity 0.8s ease-out;
  overflow: hidden;
  opacity: 0;
  margin: 0;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li p {
    background-color: rgba(255, 255, 255, 0.9);
    width: calc(100% - 1.2em);
    padding: 0 0.6em;
  }
}

section:nth-child(2) > div > #about_message ul li p.active {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.8s ease-in, opacity 0.8s ease-in;
  margin: 0.8em 0 1.8em 0;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message ul li p.active {
    margin: 0;
    padding: 1em 0.6em;
    line-height: 1.7;
  }
}

section:nth-child(2) > div > #about_message ul li p:not(.active) {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s ease-out, opacity 0.8s ease-out;
}

section:nth-child(2) > div > #about_message .detail {
  height: 30%;
  margin-right: 2em;
}

@media screen and (max-width: 930px) {
  section:nth-child(2) > div > #about_message .detail {
    height: auto;
    margin-top: 0.8em;
    margin-right: 0;
  }
}

section:nth-child(3) {
  background-color: #fff6ea;
  max-width: 100%;
  margin: 0;
}

section:nth-child(3) h2 {
  color: #473823;
  background: transparent;
}

section:nth-child(3) > div {
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.2em;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 930px) {
  section:nth-child(3) > div {
    justify-content: start;
  }
}

section:nth-child(3) ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

section:nth-child(3) ul li {
  flex: 0 0 calc(20% - 40px);
  margin: 0 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 930px) {
  section:nth-child(3) ul li {
    flex: 0 0 calc(33% - 40px);
  }
}

section:nth-child(3) ul li > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(5px 6px 0.9px rgba(0, 0, 0, 0.3)) drop-shadow(0 8px 6px rgba(0, 0, 0, 0.1));
}

section:nth-child(3) a {
  position: relative;
  display: inline-block;
  padding: 0.8em 2.5em;
  font-size: 1.1em;
  color: #fff;
  border: 1px solid #4B3D2A;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
  background-color: #4B3D2A;
  text-decoration: none;
}

section:nth-child(3) a:hover {
  color: #4B3D2A;
}

section:nth-child(3) a:hover::before {
  height: 100%;
}

section:nth-child(3) a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #fff;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section:nth-child(3) a::after {
  display: none;
}

section:nth-child(4) {
  display: flex;
}

@media screen and (max-width: 930px) {
  section:nth-child(4) {
    display: block;
  }
}

section:nth-child(4) > div {
  width: 100%;
}

@media screen and (max-width: 930px) {
  section:nth-child(4) > div {
    justify-content: start;
    width: calc(100% - 20vw);
    margin: 0 auto;
  }
}

section:nth-child(4) > div > div {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 60vh;
}

@media screen and (max-width: 930px) {
  section:nth-child(4) > div > div {
    max-height: calc(100% - 50vh);
  }
}

section:nth-child(4) > div > div iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

section:nth-child(4) ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

section:nth-child(4) p {
  padding: 1.6em 0 0 0.8em;
  line-height: 1.5;
  font-size: 1.2em;
  color: #fff;
}

@media screen and (max-width: 930px) {
  section:nth-child(4) p {
    padding: 0;
    margin-top: 0;
  }
}

section:nth-child(5) > div {
  height: 100%;
}

section:nth-child(5) > div ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 4em;
  max-width: 1200px;
  width: 100%;
  height: 60vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 930px) {
  section:nth-child(5) > div ul {
    width: calc(100% - 2.4em);
  }
}

section:nth-child(5) > div ul li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

section:nth-child(5) > div ul li img {
  border-radius: 25%;
  width: 100%;
  max-width: 10em;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 10px 10px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

section:nth-child(6) {
  background-color: #fff6ea;
  max-width: 100%;
  margin: 0;
}

section:nth-child(6) > div {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 930px) {
  section:nth-child(6) > div {
    justify-content: start;
  }
}

section:nth-child(6) h2 {
  color: #473823;
  background: transparent;
}

section:nth-child(6) table {
  width: 100%;
  text-align: left;
  margin: 0 19px;
}

section:nth-child(6) table tr > th {
  width: 20%;
  max-width: 210px;
  padding: 0 10px;
  white-space: nowrap;
  vertical-align: top;
}

section:nth-child(7) > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2.2em;
}

@media screen and (max-width: 930px) {
  section:nth-child(7) > div {
    justify-content: start;
  }
}

section:nth-child(7) > div button {
  position: relative;
  display: inline-block;
  padding: 0.8em 2.5em;
  font-size: 1.1em;
  color: #4B3D2A;
  border: 1px solid #4B3D2A;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
  background-color: #fff;
  text-decoration: none;
}

section:nth-child(7) > div button:hover {
  color: #fff;
}

section:nth-child(7) > div button:hover::before {
  height: 100%;
}

section:nth-child(7) > div button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #4B3D2A;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section:nth-child(7) > div button::after {
  display: none;
}

section:nth-child(7) > div > div {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 5%;
  width: 100%;
  min-height: 175px;
}

@media screen and (max-width: 930px) {
  section:nth-child(7) > div > div {
    justify-content: start;
    flex-direction: column;
    gap: 2.2em;
  }
}

section:nth-child(7) > div > div ul {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  list-style: none;
  padding: 0;
  width: 50%;
}

@media screen and (max-width: 930px) {
  section:nth-child(7) > div > div ul {
    width: 90vw;
  }
}

section:nth-child(7) > div > div ul li {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

section:nth-child(7) > div > div ul li label {
  display: flex;
  flex-direction: column;
  font-size: 1.1em;
  color: #fff;
  width: 100%;
}

section:nth-child(7) > div > div ul li label input {
  font-size: 1em;
}

section:nth-child(7) > div > div ul:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  list-style: none;
  padding: 0;
}

section:nth-child(7) > div > div ul:last-child li {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

section:nth-child(7) > div > div ul:last-child label {
  display: flex;
  flex-direction: column;
  font-size: 1.1em;
  color: #fff;
  width: 100%;
}

section:nth-child(7) > div > div ul:last-child label textarea {
  font-size: 1em;
  height: 100%;
  min-height: 160px;
}

.corner-arrows {
  position: fixed;
  right: 24px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  gap: 2em;
}

.arrow-up,
.arrow-down {
  cursor: pointer;
  pointer-events: auto;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  margin: 0;
}

.arrow-up {
  border-bottom: 24px solid #473823;
}

.arrow-down {
  border-top: 24px solid #473823;
  margin-top: -6px;
}

footer {
  background: #473823;
  color: white;
  text-align: center;
  font-size: 0.9em;
  height: 100%;
  max-height: 41.6px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: env(safe-area-inset-top, 20px);
  padding-bottom: env(safe-area-inset-bottom, 20px);
  width: 100%;
  z-index: 1000;
}

footer small {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
