@charset "utf-8";

/* -------------------------------------------------- */

.main {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  background-image: url(../img/main_other.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

@media screen and (min-width: 768px) {
  .main .text {
    top: 60%;
  }
}

@media screen and (min-width: 1280px) {
  .main {
    aspect-ratio: 3 / 1;
  }

  .main .text {
    font-size: 2.25rem;
  }
}

@media screen and (min-width: 1440px) {
  .main .text {
    font-size: 2.5rem;
  }
}

@media screen and (min-width: 1920px) {
  .main .text {
    font-size: 2.75rem;
  }
}

/* -------------------------------------------------- */

.section {
  width: 100%;
}

.section .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width: 100%;
  padding: 10% 0;
}

.section .inner .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width: 90%;
  max-width: 1280px;
}

.section .inner .wrap .content-wrap {
  width: 100%;
}

.section.section-flex .inner .wrap .content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.section .inner .wrap .content-wrap .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width: 100%;
}

.section .inner .wrap .content-wrap .content .text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.section img {
  width: 100%;
}

.heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.text-big {
  font-size: 1rem;
  font-weight: 700;
}

.btn {
  padding: 0.5em 2em;
  border: 2px #ffffff solid;
  border-radius: 36px;
  background-color: #000000;
  color: #ffffff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.table tr th,
.table tr td {
  display: block;
  padding: 8px;
  border-bottom: 1px #000000 solid;
  text-align: left;
  vertical-align: top;
  font-weight: inherit;
}

.table tr th {
  font-weight: 700;
}

.map {
  width: 100%;
}

.map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.contact-btn {
  margin: 0;
  padding: 0;
}

.btn-tel {
  background-color: #000000;
  color: #ffffff;
}

.btn-mail {
  background-color: #000000;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
	.section.section-flex .inner .wrap .content-wrap {
    flex-direction: row;
    align-items: flex-start;
  }

	.section.section-flex:nth-of-type(even) .inner .wrap .content-wrap {
    flex-direction: row-reverse;
  }

  .section .inner .wrap .content-wrap .content-text .text-wrap {
    align-items: flex-start;
  }

  .contact-btn {
    gap: 12px;
  }
}

@media screen and (min-width: 1280px) {
  .section.section-flex .inner .wrap .content-wrap {
    gap: 36px;
  }

  .section .inner .wrap .content-wrap .content-text .text-wrap {
    gap: 24px;
  }

  .heading {
    font-size: 1.75rem;
  }

  .table tr th,
  .table tr td {
    display: table-cell;
    padding: 16px 8px;
  }

  .table tr th {
    width: 20%;
  }

  .table tr td {
    width: 80%;
  }

  .contact-btn {
    gap: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .heading {
    font-size: 2rem;
  }

  .text-big {
    font-size: 1.125rem;
  }
}

@media screen and (min-width: 1920px) {
  .heading {
    font-size: 2.25rem;
  }

  .text-big {
    font-size: 1.25rem;
  }
}
