html {
  font-family: "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
}

ol {
  counter-reset: item;
  padding: 0;
}

li {
  list-style: none;
}

li:before {
  counter-increment: item;
  content: counter(item)'）';
  padding-right: 0.5em;
}

.section__header {
  text-align: center;
}

.section__header h2 {
  font-size: 3rem;
  margin: 0;
}

.section__header p {
  margin-top: 0;
  color: #29621C;
}

/* @media screen and (max-width: 31.25em) */

.header {
  z-index: 10;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(1, 1, 1, 0.4);
  height: 4rem;
}

.header__contact-button {
  width: 4.5rem;
  height: 100%;
  color: white;
  background-color: #29621C;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  text-decoration: none;
}

.header__contact-button span {
  font-size: 0.6rem;
}

.main {
  width: 100%;
}

.main_area__slider_info_title h2.rem1p5 div.first_catchcopy {
	font-size:48px;
	font-family: "HGPゴシックE";
	text-shadow: 3px 4px 3px rgb(61 70 70);
}
.main_area__slider_info_title h2.rem1p5 div.second_catchcopy {
	font-size:22px;
	font-family: "HGPゴシックE";
	text-shadow: 3px 4px 3px rgb(61 70 70);
}

.hero {
  width: 100%;
  height: 100vh;
  background-image: url("img/main_05.jpg");
  background-size: cover;
  background-position: center;
  background-color: aquamarine;
}

.hero__header {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: white;
}

.hero__contact {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  bottom: 5rem;
  color: white;
}

.hero__contact--tel-icon {
  font-size: 0.8em;
}

.hero__contact--tel {
  margin: 0;
  text-align: center;
  font-size: 2.4rem;
  color: #29621C;
  text-shadow: 1px 2px 0 #ffffff;
}

.hero__contact--tel-info {
  margin: 0;
  text-align: center;
  color: #000000;
  text-shadow: 1px 2px 0 #ffffff;
}

.about {
  margin-top: 8rem;
}

.about__header {
  text-align: center;
  font-size: 2rem;
  line-height: 2em;
  margin: 0;
}

.about__content {
  margin: 0 auto;
  line-height: 2em;
  max-width: 62.5rem;
  /* TODO */
}

.about__text {
  background-image: url("img/images_1.png");
  background-repeat: no-repeat;
  background-position: right;
}

@media screen and (max-width: 31.25em) {
  .about__header {
    font-size: 1.5rem;
  }

  .about__content {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }
}

.real-estate {
  margin-top: 8rem;
}

.real-estate__header {
  text-align: center;
}

.real-estate__section {
  position: relative;
  max-width: 62.5rem;
  height: 26.25rem;
  margin: 5rem auto 0;
}

.section__image {
  position: absolute;
  margin: 0;
  width: 35rem;
  height: 26.25rem;
  top: 0rem;
}

.real-estate__section:nth-child(odd) .section__image {
  right: 0;
}

.section__image img {
  width: 100%;
  height: 100%;
}

.section__description {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 1rem;
  height: 100%;
}

.real-estate__section:nth-child(even) .section__description {
  align-items: flex-end;
}

.real-estate__section:nth-child(odd) .section__description {
  align-items: flex-start;
}

.text-box {
  width: 25rem;
  background-color: white;
}

.text-box__h2 {
  background-color: white;
}

.text-box__p {
  height: 5rem;
  background-color: white;
}

.show-more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #29621C;
  width: 25rem;
  height: 5rem;
  text-decoration: none;
  color: white;
}

@media screen and (max-width: 31.25em) {
  .real-estate__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: static;
    max-width: 62.5rem;
    height: auto;
    margin: 5rem 1.1rem 0;
  }

  .section__image {
    position: static;
    margin: 0;
    width: 100%;
    height: auto;
    top: 0rem;
  }

  .section__description {
    width: 100%;
  }

  .text-box {
    width: 100%;
  }

  .show-more-button {
    width: 100%;
  }
}

.company {
  margin: 8rem auto 0;
  max-width: 62.5rem;
}

.company a {
  color: black;
}

.company__dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 62.5rem;
}

.company__dl>dt {
  font-size: 1.1rem;
}

.company__dl>dt,
.company__dl>dd {
  border-top: 2px solid #E9E9E9;
  padding: 1rem 0;
  width: 20%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.company__dl>dt:last-of-type,
.company__dl>dd:last-of-type {
  border-bottom: 2px solid #E9E9E9;
}

.company__dl>dt {
  width: 20%;
  display: flex;
  align-items: center;
}

.company__dl>dd {
  font-size: 0.9rem;
  margin: 0;
  width: 80%;
  white-space: nowrap;
}

.company__dl>dd ol {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}

.company__google-map {
  position: relative;
  margin-top: 2rem;
  max-width: 62.5rem;
}

.company__google-map>iframe {
  width: 100% !important;
}

@media screen and (max-width: 31.25em) {
  .company__dl {
    flex-direction: column;
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }

  .company__dl>dt,
  .company__dl>dd {
    border: none;
    width: 100%;
  }

  .company__dl>dt {
    margin-top: 1rem;
    border-bottom: 2px solid #E9E9E9;
  }

  .company__dl>dt:last-of-type,
  .company__dl>dd:last-of-type {
    border: none;
  }

  .company__dl>dt:last-of-type {
    border-bottom: 2px solid #E9E9E9;
  }
}

.bottom-nav {
  margin-top: 4rem;
  display: flex;
}

.bottom-box {
  width: 25vw;
  height: 15rem;
  border: 1px solid white;
  text-align: center;
  color: white;
  font-size: 1.2rem;
  /* font-weight: bold; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-box__sale {
  background-image: url("img/images_3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: gray;
}

.bottom-box__purchase {
  background-image: url("img/images_5.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: gray;
}

.bottom-box__voluntary-sale {
  background-image: url("img/images_4.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: gray;
}

.bottom-box__inheritance {
  background-image: url("img/images_4.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: gray;
}

.contact {
  margin-top: 8rem;
}

.contact__contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__contents p {
  margin-top: 3rem;
  line-height: 2rem;
}

.contact__button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #29621C;
  margin-top: 3rem;
  width: 25rem;
  height: 5rem;
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 31.25em) {
  .bottom-nav {
    flex-direction: column;
  }

  .bottom-box {
    width: 100%;
    height: 10rem;
  }
}

.return-to-top {
  margin-top: 8rem;
  display: flex;
  max-width: 50rem;
  justify-content: flex-end;
}

#return-to-top-button {
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: white;
}

.footer {
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__bg-image {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/footer.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer__bg-image::before {
  content: '';
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer__logo {
  margin-top: 4rem;
}

.footer__sns-link {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer__sns-icon {
  color: white;
}

.footer__company {
  margin-top: 1rem;
}

.footer__company p {
  margin: 0;
}

.footer__company p span {
  padding-left: 0.5rem;
}

.footer__copyright {
  font-size: 0.9rem;
  margin-top: 4rem;
  width: 100%;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}

.copyright small {
  font-size: 0.9rem;
}

.privacy-policy a {
  color: white;
}

.fade-in {
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.fade-from-right {
  opacity: 0;
  animation-name: fade-from-right;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.fade-from-left {
  opacity: 0;
  animation-name: fade-from-left;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-from-right {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-from-left {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(20px);
  }
}

@media screen and (max-width: 31.25em) {

  .fade-from-right,
  .fade-from-left {
    animation-name: fade-in;
  }
}
