:root {
  --color-glow: #474747;
}

main {
  margin: 0;
  padding: 0;
}

.section_inner {
  width: 880px;
  margin: 0 auto;
  padding: 80px 0;
}

/* ファーストビュー */
#firstviewSection {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: #a3918e;
}

.firstview_background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.firstview_black_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.33);
  z-index: 2;
}

.firstview_message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* left: 32px;
    transform: translateY(-50%); */
  width: max-content;
  z-index: 3;
}

.firstview_message span {
  text-align: center;
  letter-spacing: 0.2rem;
  color: rgb(216, 216, 216);
  paint-order: stroke;
  -webkit-text-stroke: 1px var(--color-primary);
  /* animation: glow-text 1.5s infinite alternate; */
}

@keyframes glow-text {
  0% {
    text-shadow: 0 0 5px var(--color-glow), 0 0 10px var(--color-glow), 0 0 20px var(--color-glow),
      0 0 40px var(--color-glow);
  }

  100% {
    text-shadow: 0 0 10px var(--color-glow), 0 0 20px var(--color-glow), 0 0 40px var(--color-glow),
      0 0 80px var(--color-glow);
  }
}

.primary_text {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.primary_text span {
  font-variation-settings: "wght" 600;
  font-size: var(--font-size-xxl);
}

.secondary_text {
  display: flex;
  flex-direction: column;
}

.secondary_text span {
  font-size: var(--font-size-m);
}

/* メッセージセクション */
#messageSection {
  min-height: 100vh;
  background-color: #d9afd9;
  background-image: linear-gradient(30deg, #d9afd9 0%, #97d9e1 100%);
}

.message_title {
  display: flex;
  flex-direction: row;
}

.message_title img {
  --size-icon: 80px;
  min-width: var(--size-icon);
  max-width: var(--size-icon);
  min-height: var(--size-icon);
  max-height: var(--size-icon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.message_title_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: 2rem;
}

.message_title h2 {
  display: block;
  font-size: var(--font-size-l);
}

.message_title_inner span {
  color: var(--color-primary);
  font-size: var(--font-size-s);
}

/* 会社概要 */
#aboutSection {
  margin: 0 auto;
  background-color: var(--color-primary);
}

.about_inner {
  width: 880px;
  margin: 0 auto;
}

#aboutSection h2 {
  margin-bottom: 2rem;
  text-align: center;
  color: #fff;
}

.about_table {
  display: flex;
  flex-direction: column;
  width: 640px;
  max-width: 100%;
  min-height: 200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.about_table_inner {
  width: 100%;
  margin: auto;
}

.about_table_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.about_table_item {
  display: grid;
  grid-template-columns: 200px 1fr;
  width: max-content;
  margin: 0 auto 1rem;
  border-bottom: 1px dashed var(--color-gray-subtle);
}

.about_table_item span {
  display: block;
  margin: auto 0;
  font-size: var(--font-size-s);
  text-align: center;
}

.about_table_item span:first-child {
  min-width: 200px;
  /* text-align: left; */
  font-variation-settings: "wght" 600;
}

.about_table_item span:last-child {
  min-width: 200px;
  /* text-align: right; */
}

/* 問い合わせ */
#contactSection {
  min-height: 100vh;
  background-color: #fbab7e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#contactSection h2 {
  display: block;
  color: #fff;
  text-align: center;
}

.contact_form {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact_form form {
  position: relative;
  width: 540px;
  max-width: 94%;
  margin: 40px auto;
  padding: 40px;
  background-color: #fff;
  box-shadow: 8px 8px 8px 8px #ffffff84;
  border-radius: 8px;
  z-index: 2;
}

.contact_form form #submitBtn {
  border-radius: 4px;
}

#checkAddress {
  font-size: var(--font-size-l);
  font-variation-settings: "wght" 600;
}

.privacy_policy_link {
  display: flex;
  flex-direction: row;
  margin-top: 8px;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .section_inner {
    width: 96%;
    margin: 0 auto;
  }

  #firstviewSection {
    min-height: 60vh;
    overflow: hidden;
  }

  .firstview_background img {
    width: auto;
    height: 60vh;
  }

  .firstview_message {
    top: 40%;
  }

  .firstview_message .primary_text span {
    font-size: var(--font-size-l);
    -webkit-text-stroke: unset;
  }

  .firstview_message .secondary_text span {
    font-size: var(--font-size-xs);
    -webkit-text-stroke: unset;
  }

  .message_title img {
    --size-icon: 48px;
    margin: auto 0;
  }

  .message_title_inner {
    margin-left: 0.5rem;
  }

  /* 会社概要 */
  #aboutSection {
    padding-top: 60px;
  }

  #aboutSection h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--color-gray-dark);
  }

  .about_table {
    position: relative;
    background-color: unset;
  }

  .about_table_inner {
    position: relative;
    z-index: 2;
  }

  .about_table_item {
    display: flex;
    flex-direction: column;
  }

  .about_table_item span {
    display: inline-block;
    white-space: nowrap;
  }

  .about_table_item br {
    display: inline !important;
  }

  #mobileCircleElement {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    margin: auto;
    background-color: #fff;
    border-radius: 50%;
    z-index: 0;
  }

  /* 問い合わせ */
  .contact_form form {
    padding: 40px 12px;
    box-shadow: unset;
  }
}
