@charset "utf-8";

/* ----- contact ----- */

div.contact {
  background-image: url(../img/_footer/bg_contact_pc.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

div.contact p.contact_lead {
  margin-top: min(6rem, 60px);
  font-size: min(2rem, 20px);
  font-weight: 500;
  text-align: center;
  font-family: var(--font-serif);
}

div.contact div.contact_wrap {
  margin: min(4rem, 40px) auto 0;
  width: fit-content;
  display: flex;
  gap: min(2.4rem, 24px);
}

div.contact div.contact_wrap a.common_btn {
  gap: min(0.5rem, 5px);
}

div.contact div.contact_wrap a.common_btn div.icon {
  width: min(2rem, 20px);
}

@media (max-width: 799px) {
  div.contact {
    background-image: url(../img/_footer/bg_contact_sp.jpg);
  }
  
  div.contact p.contact_lead {
    margin-top: 3rem;
    font-size: 1.4rem;
  }
  
  div.contact div.contact_wrap {
    margin: 2rem auto 0;
    width: fit-content;
    flex-direction: column;
    gap: 1rem;
  }
  
  div.contact div.contact_wrap a.common_btn {
    gap: 0.5rem;
  }
  
  div.contact div.contact_wrap a.common_btn div.icon {
    width: 1.5rem;
  }
}

/* ----- management ----- */

div.management {
  border-bottom: min(0.1rem, 1px) solid #AA8D4D;
}

div.management div.container {
  padding: min(6rem, 60px) 20px;
}

div.management h2.management_ttl {
  height: min(6rem, 60px);
  background-color: #AA8D4D;
  color: #fff;
  font-size: min(2.4rem, 24px);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
}

div.management div.management_content {
  padding: min(4rem, 40px);
  border: min(0.1rem, 1px) solid #AA8D4D;
  background-color: #fff;
}

div.management div.management_content p.management_txt {
  font-size: min(1.6rem, 16px);
  font-weight: 500;
  line-height: 2;
}

div.management div.management_content div.management_note {
  margin: min(2.4rem, 24px) 0;
  display: flex;
  flex-direction: column;
  gap: min(1rem, 10px);
}

div.management div.management_content div.management_note a.management_link {
  display: block;
  font-size: min(1.6rem, 16px);
  font-weight: 400;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: min(0.5rem, 5px);
}

div.management div.management_content div.management_note a.management_link::before {
  content: "";
  background-image: url(../img/_footer/icon_arrow_right_brown.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: min(1rem, 10px);
  height: min(.8rem, 8px);
  flex-shrink: 0;
}

@media (max-width: 799px) {
  div.management {
    border-bottom: .1rem solid #AA8D4D;
  }
  
  div.management div.container {
    padding: 3rem 2rem;
  }
  
  div.management h2.management_ttl {
    height: 5rem;
    font-size: 1.8rem;
  }
  
  div.management div.management_content {
    padding: 2rem;
    border: .1rem solid #AA8D4D;
  }
  
  div.management div.management_content p.management_txt {
    font-size: 1.4rem;
  }
  
  div.management div.management_content div.management_note {
    margin: 1.2rem 0;
    gap: 0.5rem;
  }
  
  div.management div.management_content div.management_note a.management_link {
    font-size: 1.4rem;
    gap: 0.5rem;
    line-height: 1.6;
    align-items: start;
  }
  
  div.management div.management_content div.management_note a.management_link::before {
    width: 1rem;
    height: .8rem;
    transform: translateY(100%);
  }
}

/* ----- footer ----- */

footer div.container {
  padding: min(6rem, 60px) 20px;
  display: flex;
  align-items: start;
}

footer div.footer_info h1 a {
  display: block;
  width: min(20rem, 200px);
}

footer div.footer_info p.info_txt {
  margin-top: min(2.4rem, 24px);
  font-size: min(1.6rem, 16px);
  font-weight: 400;
  line-height: 1.4;
}

footer div.footer_info p.info_txt a {
  display: block;
  margin-top: min(1.6rem, 16px);
}

footer nav.footer_nav {
  width: fit-content;
  margin-left: auto;
}

footer nav.footer_nav ul.footer_nav_list {
  width: min(60rem, 600px);
  display: flex;
  flex-wrap: wrap;
  gap: min(2.4rem, 24px);
}

footer nav.footer_nav ul.footer_nav_list li.footer_nav_item a {
  width: fit-content;
  font-size: min(1.6rem, 16px);
  text-decoration: underline;
  letter-spacing: .04em;
}

footer div.copyright {
  height: min(4rem, 40px);
  background-color: var(--color-main);
  color: #fff;
  font-size: min(1.2rem, 12px);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 799px) {
  footer div.container {
    padding: 3rem 2rem;
    flex-direction: column;
    align-items: start;
    gap: 3rem;
  }
  
  footer div.footer_info h1 a {
    width: 16rem;
  }
  
  footer div.footer_info p.info_txt {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    line-height: 1.4;
  }
  
  footer div.footer_info p.info_txt a {
    margin-top: 1rem;
  }
  
  footer nav.footer_nav {
    width: 100%;
    margin-left: 0;
  }
  
  footer nav.footer_nav ul.footer_nav_list {
    width: 100%;
    gap: 2rem;
  }
  
  footer nav.footer_nav ul.footer_nav_list li.footer_nav_item a {
    font-size: 1.4rem;
  }
  
  footer div.copyright {
    height: 3.2rem;
    margin-bottom: 6rem;
    font-size: 1rem;
    letter-spacing: 0;
  }
}

/* ----- toTop ----- */

#toTop-target {
  position: absolute;
  top: 0;
  width: 100%;
  height: min(30rem, 300px);
  transform: translateY(100%);
  pointer-events: none;
  z-index: 98;
}

.target {
  transform: translateY(80px);
  opacity: 0;
  transition: all .8s;
}

.target.appear {
  transform: none;
  opacity: 1;
}

a#toTop {
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translate(-50%, -10%);
  z-index: 99;
  width: fit-content;
  height: min(8rem, 80px);
}

a#toTop img {
  width: auto;
  height: 100%;
}

@media (max-width: 799px) {
  a#toTop {
    transform: translate(-50%, -120%);
    width: fit-content;
    height: 6rem;
  }  
}

/* ----- floating_bnr_area ----- */

div.floating_bnr_area {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  width: min(7rem, 70px);
  display: flex;
  flex-direction: column;
  gap: min(1rem, 10px);
  transform: translateY(20%);
}

div.floating_bnr_area a.floating_bnr {
	width: 100%;
	border: 1px solid var(--color-main);
}

div.floating_bnr_area a.floating_bnr div.icon_area {
  width: 100%;
  height: min(7rem, 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

div.floating_bnr_area a.floating_bnr div.icon_area img {
  width: min(4rem, 40px);
}

div.floating_bnr_area a.floating_bnr div.txt_area {
  width: 100%;
  background-color: var(--color-main);
  padding: min(1rem, 10px);
  font-size: min(1.6rem, 16px);
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-serif);
  color: #fff;
  letter-spacing: -.04em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 799px) {
  div.floating_bnr_area {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    transform: none;
  }
  
  div.floating_bnr_area a.floating_bnr {
    width: 100%;
    height: 6rem;
    background-color: var(--color-main);
    color: #fff;
    padding: 1.2rem .5rem;
    position: relative;
  }
  
  div.floating_bnr_area a.floating_bnr::before {
    content: "";
    display: block;
    position: absolute;
    width: 12.4rem;
    height: 5.4rem;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: .1rem solid #fff;
    pointer-events: none;
  }
  
  div.floating_bnr_area a.floating_bnr div.sub {
    margin: 0 auto;
    width: 10rem;
    height: 1.5rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: -.04em;
  }

  div.floating_bnr_area a.floating_bnr div.main {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
  }

  div.floating_bnr_area a.floating_bnr div.main div.sp_icon {
    width: 1rem;
    height: fit-content;
    display: block;
    background-color: none;
    flex-shrink: 0;
  }
  
  div.floating_bnr_area a.floating_bnr div.sp_txt {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-serif);
    letter-spacing: -.04em;
  }
}