@charset "utf-8";

:root {
  --color-black: #1A1311;
  --color-blue: #0146B7;
  --color-red: #B93D2D;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-montserrat: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
  font-feature-settings: "palt";
  line-height: 1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: min(8.0rem, 80px);
  /* scrollbar-width: none; */
  /* -ms-overflow-style: none; */
  font-size: calc(100vw / 114);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body, h1, h2, h3, h4, h5, h6, h7, p {
  margin: 0;
}

body {
  font-family: var(--font-sans);
  color: #fff;
  letter-spacing: .1em;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.active {
  height: 100%;
  overflow: hidden;
}

p {
  text-align: justify;
}

img {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: bottom;
}

ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  transition: opacity .8s;
  color: inherit;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.6;
  }
}

a[href^="#!"] {
  pointer-events: none;
}

span {
  display: inline-block;
}

dl, dt, dd {
  all: unset;
  display: block;
}

button {
  all: unset;
  display: block;
}

table {
  border-collapse: collapse;
}

.sp_obj {
  display: none !important;
}

@media (max-width: 799px) {

  html {
    scroll-padding-top: 5.5rem;
    font-size: calc(100vw / 37.5);
  }

  .sp_obj {
    display: block !important;
  }
  
  .pc_obj {
    display: none !important;
  }
}

/* ----- common ----- */

.bg {
}

.no_mt {
  margin-top: 0 !important;
}

.no_pt {
  padding-top: 0 !important;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: min(8rem, 80px) 20px;
}

h2.top_ttl {
  font-size: min(8rem, 80px);
  font-weight: 400;
  font-family: var(--font-montserrat);
  letter-spacing: 0em;
}

div.top_ttl_sub {
  margin-top: min(2rem, 20px);
  font-size: min(2rem, 20px);
  font-weight: 600;
}

a.common_btn {
  display: block;
  margin: min(8rem, 80px) auto 0;
  width: min(23rem, 230px);
  height: min(6rem, 60px);
  background-color: #fff;
  border: min(.3rem, 3px) solid #1E201F;
  padding-left: min(3.2rem, 32px);
  font-size: min(1.6rem, 16px);
  font-weight: 600;
  color: var(--color-black);
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 99px;
}

a.common_btn::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/_common/icon_arrow_btn.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: min(4.6rem, 46px);
  height: min(4.6rem, 46px);
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  transform: translateX(-10%);
}

@media (max-width: 799px) {
  .container {
    padding: 5rem 2rem;
  }

  h2.top_ttl {
    font-size: 4.0rem;
  }
  
  div.top_ttl_sub {
    margin-top: 1rem;
    font-size: 1.6rem;
  }

  a.common_btn {
    margin: 4rem auto 0;
    width: 18rem;
    height: 4.5rem;
    border: .2rem solid #1E201F;
    padding-left: 1.0rem;
    font-size: 1.3rem;
    letter-spacing: 0em;
  }

  a.common_btn::after {
    width: 3.0rem;
    height: 3.0rem;
    transform: translateX(-20%);
  }
}

/* ----- header ----- */

header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: 99;
  transition: all .8s;
}

header.active {
  background-color: var(--color-black);
}

header div.container {
  max-width: 100%;
  padding: min(1rem, 10px) min(2rem, 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header div.container h1 {
		margin:0;
}

header div.container nav.grand_nav {
  width: fit-content;
  display: grid;
  grid-template-columns: min(23rem, 230px) 1fr;
  align-items: center;
  gap: min(4rem, 40px);
}

header div.container nav.grand_nav ul.grand_nav_list {
  display: flex;
  align-items: center;
  gap: min(2rem, 20px);
}

header div.container nav.grand_nav ul.grand_nav_list li.grand_nav_item a {
  font-size: min(2.0rem, 20px);
  font-weight: 600;
}

@media (max-width: 799px) {
  header div.container {
    padding: 1rem;
  }
  
  header div.container nav.grand_nav {
    grid-template-columns: 12rem 1fr;
    gap: 0;
  }

  header div.container div.header_right {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  header div.container div.header_right a.common_btn {
    width: 12rem;
    height: 3.5rem;
    font-size: 1.2rem;
  }

  header div.container div.header_right a.common_btn::after {
    width: 2.5rem;
    height: 2.5rem;
    transform: translateX(-10%);
  }

  #open {
    width: 3.0rem;
    height: 3.0rem;
  }
}

/* ----- overlay ----- */

@media (max-width: 799px) {
  div.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, .85);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all .8s;
  }
  
  div.overlay.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  
  div.overlay div.overlay_container {
    width: 100%;
    height: 100vh;
    padding: 10rem 6rem 0;
    position: relative;
  }
  
  #close {
    position: absolute;
    width: 3.5rem;
    top: 0;
    right: 0;
    transform: translate(-1rem, 2rem);
  }
  
  div.overlay ul.overlay_list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  div.overlay ul.overlay_list li.overlay_item a {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
  }
}

/* ----- main ----- */

main {
  overflow: hidden;
  padding-top: min(8.0rem, 80px);
  background-color: var(--color-black);
}

@media (max-width: 799px) {
  main {
    padding-top: 5.5rem;
  }
}

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

footer {
  background: linear-gradient(to right, #0046B7, #000B95);
}

footer h1 {
  margin: 0;
}

footer h1 a {
  display: block;
  width: min(21rem, 210px);
}

footer div.footer_wrap {
  margin-top: min(4rem, 40px);
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-right: min(2rem, 20px);
  padding-bottom: min(4rem, 40px);
  border-bottom: min(.1rem, 1px) solid #fff;
}

footer div.footer_wrap div.company_area {
  display: flex;
  flex-direction: column;
  gap: min(4rem, 40px);
}

footer div.footer_wrap div.company_area div.company_name {
  font-size: min(2rem, 20px);
  font-weight: 700;
}

footer div.footer_wrap div.company_area div.company_info {
  display: flex;
  flex-direction: column;
  gap: min(1rem, 10px);
}

footer div.footer_wrap div.company_area div.company_info p.company_item, 
footer div.footer_wrap div.company_area div.company_info a.company_item {
  font-size: min(1.6rem, 16px);
}

footer div.footer_wrap div.footer_nav_area {
  display: flex;
  justify-content: end;
  align-items: start;
  gap: min(10rem, 100px);
}

footer div.footer_wrap div.footer_nav_area ul.footer_nav {
  display: flex;
  flex-direction: column;
  gap: min(2rem, 20px);
}

footer div.footer_wrap div.footer_nav_area ul.footer_nav li.footer_nav_item a {
  font-size: min(2.0rem, 20px);
  font-weight: 500;
}

footer p.copyright {
  margin-top: min(4rem, 40px);
  font-size: min(1.2rem, 12px);
  font-weight: 400;
  text-align: center;
}

@media (max-width: 799px) {
  footer h1 a {
    margin: 0 auto;
    width: 12rem;
  }
  
  footer div.footer_wrap {
    margin-top: 2rem;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 2rem;
    padding-right: 0;
    padding-bottom: 2rem;
    border-bottom: .1rem solid #fff;
  }
  
  footer div.footer_wrap div.company_area {
    width: 100%;
    gap: 2rem;
  }
  
  footer div.footer_wrap div.company_area div.company_name {
    font-size: 1.6rem;
    text-align: center;
  }
  
  footer div.footer_wrap div.company_area div.company_info {
    gap: 0.5rem;
  }
  
  footer div.footer_wrap div.company_area div.company_info p.company_item, 
  footer div.footer_wrap div.company_area div.company_info a.company_item {
    font-size: 1.3rem;
  }
  
  footer div.footer_wrap div.footer_nav_area {
    justify-content: start;
    gap: 4rem;
  }
  
  footer div.footer_wrap div.footer_nav_area ul.footer_nav {
    gap: 1rem;
  }
  
  footer div.footer_wrap div.footer_nav_area ul.footer_nav li.footer_nav_item a {
    font-size: 1.6rem;
  }
  
  footer p.copyright {
    margin-top: 2rem;
    font-size: 1.1rem;
  }
}

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

#toTop-target {
  position: absolute;
  width: 100%;
  height: min(10rem, 100px);
  top: 0;
  left: 0;
  transform: translateY(300%);
  background-color: transparent;
  pointer-events: none;
}

#toTop {
  position: fixed;
  width: min(5.2rem, 52px);
  height: min(5.2rem, 52px);
  background-color: #fff;
  border: min(0.4rem, 4px) solid #000;
  border-radius: min(.8rem, 8px);
  bottom: 0;
  right: 2%;
  opacity: 0;
  transform: translateY(-80%);
  transition: all .8s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#toTop.active {
  opacity: 1;
  transform: translateY(-50%);
}

#toTop img {
  width: 60%;
}

@media (max-width: 799px) {
  #toTop {
    width: 4rem;
    height: 4rem;
    border: .3rem solid #000;
    border-radius: .4rem;
    transform: translateY(-80%);
  }
}