@charset "utf-8";

/* CSS Document */
* {
  margin: 0;
  padding: 0;
}

ul,
ol,
li {
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
div {
  margin: 0;
  padding: 0;
}

header,
footer,
div,
dt,
dd,
p,
h2,
h3,
h4 {
  box-sizing: border-box;
}

img {
  width: auto;
  height: auto;
}

html {
  font-family: Noto Sans JP;
  color: #252525;
  font-size: 16px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

button {
  font-family: Noto Sans JP !important;
}

.system-logo {
  display: none !important;
}

#hs-eu-cookie-confirmation {
  width: 100vw !important;
  max-width: 100% !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  inset: auto 50% 0 !important;
}

#hs-eu-cookie-settings-button {
  display: none !important;
}

#hs-eu-cookie-confirmation #hs-eu-confirmation-button-group,
#hs-eu-cookie-confirmation #hs-eu-opt-in-buttons {
  flex-flow: row-reverse !important;
}

#hs-eu-confirmation-button {
  font-weight: 700;
}

#hs-eu-decline-button {
  font-weight: 700;
}

#hs-eu-policy-wording a,
#hs-eu-policy-wording a span {
  text-decoration: underline !important;
}

#hs-eu-policy-wording a span:hover {
  opacity: 0.7 !important;
}

@media screen and (min-width: 960.1px) {
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner {
    align-items: flex-end !important;
    flex-direction: row !important;
  }
}

@media screen and (max-width: 960px) {
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner {
    display: grid !important;
  }

  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-buttons-area {
    justify-content: center !important;
  }
}

@media screen and (max-width: 1200px) {
  html {
    scroll-padding-top: 72px;
  }
}

@media screen and (max-width: 960px) {
  .--pc {
    display: none !important;
  }
}

@media screen and (min-width: 960.1px) {
  .--sp {
    display: none !important;
  }
}

.title-h1 {
  margin: clamp(36px, 4.5vw, 64px) 0 clamp(48px, 6vw, 96px);
  font-size: clamp(36px, 3.2vw, 72px);
  line-height: calc(1em + 5px);
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 100;
}

.header {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 2160px;
  height: 70px;
  margin: auto;
  font-size: 16px;
  padding: 0 30px;
  background-color: #fff;
  box-sizing: border-box;
  border-bottom: 1px solid #bbb;
  transition: all 0.8s;
  letter-spacing: 0 !important;
}

@media screen and (min-width: 960.1px) and (max-width: 1120px) {
  .header {
    padding: 0 5px;
  }
}

.header__logo--wrapper {
  width: 380px;
}

.header__logo {
  display: inline-block;
  width: auto;
  height: clamp(21px, 2vw, 34px);
}

.header__logo img {
  width: auto;
  height: 100%;
}

.header__navi {
  display: flex;
  height: 100%;
}

.header__navi li {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  box-sizing: border-box;
  height: 100%;
  padding: 0 32px 0 24px;
  letter-spacing: 0;
  cursor: pointer;
}

.header__navi li:has(a) {
  padding: 0;
}

.header__navi li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 28px;
}

.header__navi li:hover {
  background-color: #F5F5F5;
}

.header__navi li.active::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background-color: #3A7AC2;
}

.header__navi li span {
  position: relative;
}

.header__navi li span::before {
  position: absolute;
  content: "";
  right: -16px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid #3A7AC2;
  border-bottom: 2px solid #3A7AC2;
  transform: rotate(-45deg);
  transition: all .6s;
}

.header__navi li.active span::before {
  transform: rotate(-225deg);
  top: 9px;
}

@media screen and (max-width: 1200px) {
  .header__logo--wrapper {
    width: 300px;
  }
}


@media screen and (max-width: 960px) {
  .header__logo--wrapper {
    width: 100px;
  }
}

@media screen and (min-width: 1320px) {
  .header__navi li {
    font-size: 16px;
  }
}

@media screen and (max-width: 1320px) {
  .header__navi li {
    padding: 0 24px 0 16px;
  }

  .header__navi li a {
    padding: 0 20px;
  }
}

.header__contact--wrapper {
  display: flex;
  justify-content: space-between;
  width: 380px;
}

.header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  font-size: 14px;
  color: #fff;
  background-color: #0766f4;
  border-radius: 5px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.25));
  transition: all .3s;
}

.header__contact:hover {
  background-color: #006cca;
}

@media screen and (max-width: 1080px) {
  .header__contact--wrapper {
    width: 300px;
  }

  .header__contact {
    width: 140px;
  }
}

.header__toggle {
  display: none;
}

@media screen and (max-width: 960px) {
  .header {
    height: 54px;
    padding: 0 20px;
  }

  .header__navi {
    display: none;
  }

  .header__contact {
    display: none;
  }

  .header__toggle {
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 23;
    display: block;
    width: 24px;
    height: 16px;
  }

  .header__toggle span {
    position: absolute;
    left: 0;
    height: 1px;
    background-color: #3a7ac2;
  }

  .header__toggle span:nth-child(1) {
    top: 0;
    width: 24px;
    transform-origin: left top;
    transition: all 0.6s;
  }

  .header__toggle span:nth-child(2) {
    top: 7.5px;
    width: 24px;
    transform-origin: left center;
    transition: all 0.6s;
  }

  .header__toggle span:nth-child(3) {
    top: 15px;
    width: 16px;
  }

  .header__toggle.active span:nth-child(1) {
    left: 4px;
    transform: rotate(45deg);
  }

  .header__toggle.active span:nth-child(2) {
    left: 4px;
    top: 16px;
    transform: rotate(-45deg);
  }

  .header__toggle.active span:nth-child(3) {
    display: none;
  }
}

.hamburger {
  display: none;
  position: fixed;
  z-index: 22;
  left: 0;
  top: -100dvh;
  width: 100%;
  height: 100dvh;
  padding: 15px;
  background-color: #f5f5f5;
  transition: all 0.8s;
  overflow-y: scroll;
  letter-spacing: 0 !important;
}

.hamburger.active {
  top: 0;
}

.hamburger__logo img {
  width: auto;
  height: clamp(21px, 2vw, 34px);
}

.hamburger__menu {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hamburger__menu--block {
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
}

.hamburger__menu--block--title {
  font-weight: 700;
  font-size: 16px;
}

.hamburger__menu--block--link {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 16px !important;
}

.hamburger__menu--block--link::before {
  position: absolute;
  content: '';
  right: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #3a7ac2;
  border-bottom: 2px solid #3a7ac2;
  transform: rotate(-45deg);
}

.hamburger__menu--block--title.toggleLink {
  position: relative;
}

.hamburger__menu--block--title.toggleLink::before {
  position: absolute;
  content: '';
  right: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  transition: all 0.8s;
}

.hamburger__menu--block--title.toggleLink.active::before {
  top: 10px;
  transform: rotate(-135deg);
}

.hamburger__menu--block--links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-left: 0;
}

.hamburger__menu--block--links li {
  width: calc(33.3333% - 6.666px);
}

.hamburger__menu--block--links li.offset {
  margin-left: calc(33.3333% + 3.333px);
}

.hamburger__menu--block--links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border: 1px solid #3a7ac2;
  color: #3a7ac2;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
}

@media screen and (min-width: 960.1px) {
  .hamburger {
    display: none !important;
  }
}

@media screen and (max-width: 960px) {
  .hamburger {
    display: block;
  }
}

.x-footer {
  position: relative;
  padding: 40px 60px 30px;
  background-color: #3A7AC2;
}

.x-footer__main {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}


.x-footer__main--links {
  display: grid;
  width: 200px;
  gap: 26px;
}

.x-footer__main--links li a {
  font-size: 17px;
  line-height: 1;
  color: #FFF;
  transition: opacity .3s;
}

.x-footer__main--links li a:hover {
  opacity: 0.7;
}

.x-footer__main--subLinks {
  display: grid;
  width: 200px;
  gap: 32.5px;
  padding-top: 4px;
}

.x-footer__main--subLinks li {
  line-height: 1;
}

.x-footer__main--subLinks li a {
  font-size: 13px;
  line-height: 1;
  color: #FFF;
  text-decoration: underline;
  transition: opacity .3s;
}

.x-footer__main--subLinks li a:hover {
  opacity: 0.7;
}

.x-footer__logo {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: auto;
  height: 32px;
}

@media screen and (max-width: 960px) {
  .x-footer {
    padding: 48px 20px 20px;
    background-color: #3A7AC2;
  }

  .x-footer__main {
    max-width: 400px;
    margin: 0 auto 30px;
  }

  .x-footer__main--links {
    width: 50%;
  }

  .x-footer__main--subLinks {
    width: 50%;
  }

  .x-footer__logo {
    position: relative;
    right: 0;
    bottom: 0;
    display: block;
    margin: 50px auto 30px;
  }
}

.x-footer__copyright {
  font-size: 12px;
  color: #FFF;
  text-align: center;
}

.lower-title {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 30px);

  &.mb-30 {
    margin-bottom: 30px;
  }
}

.lower-title span {
  position: relative;
  z-index: 1;
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1;
}

.lower-title span.text-white {
  color: #fff;
}

.lower-title span::before {
  position: absolute;
  content: '';
  z-index: -1;
  left: -10px;
  bottom: 4px;
  width: calc(100% + 20px);
  height: 8px;
  background: linear-gradient(to right, #005bc2, #a1d3eb 50%, #d5af25 100%);
  opacity: 0.5;
}

.grecaptcha-badge {
  visibility: hidden;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: baseline;
  width: calc(100% - 60px);
  max-width: 2100px;
  margin: 84px auto 0;
  font-size: 12px;
}

.breadcrumb.under-fv {
  margin: 12px auto clamp(60px, 5vw, 100px);
}

.breadcrumb li:not(:last-child) {
  position: relative;
  color: #BBB;
  line-height: 1;
}

.breadcrumb li:not(:last-child)::after {
  position: absolute;
  content: "＞";
  right: -26px;
  top: 0;
}

.breadcrumb li a {
  display: inline-block;
  color: #888;
  text-decoration: underline;
}

.breadcrumb li:first-child a {
  position: relative;
  color: #888;
  line-height: 1;
}

.breadcrumb li a:hover {
  color: #BBB;
}

.breadcrumb li:first-child a {
  padding-left: 20px;
}

.breadcrumb li:first-child a::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 14px;
  height: 12px;
  background-image: url(https://www.rise-cg.co.jp/hubfs/home.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

@media screen and (max-width: 960px) {
  .breadcrumb {
    width: calc(100% - 30px);
    margin: 66px auto 0;
  }
}

@media screen and (max-width: 750px) {
  .breadcrumb {
    gap: 8px 30px;
    font-size: 10px;
  }

  .breadcrumb li:not(:last-child)::after {
    right: -20px;
  }

  .breadcrumb li:first-child a {
    padding-left: 16px;
  }

  .breadcrumb li:first-child a::before {
    width: 12px;
    height: 10px;
  }
}

.top-button {
  max-width: 2160px;
  margin: 100px auto 20px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: right;
}

.top-button.mt-short {
  margin-top: 40px !important;
}

.top-button a {
  position: relative;
  display: inline-block;
  padding-right: 20px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #3a7ac2;
}

@media screen and (max-width: 960px) {
  .top-button {
    text-align: center;
  }

  .top-button a {
    padding-right: 0;
  }
}
