@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Noto Sans CJK JP', 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 100%;
  color: #000;
  background: #fff;
  word-break: break-word;
  margin: 0;
  padding: 0;
  letter-spacing: 0.03em;
}

a {
  color: #116bc7;
  text-decoration: underline;
}

a:hover,
button:hover {
  text-decoration: none;
  color: #2f1780;
}

button {
  cursor: pointer;
}

a:focus,
button:focus {
  outline-offset: 4px;
}

* {
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* backdrop-filter: blur(4px); */
  transition: background 0.3s;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.60);
  /* background: url(../images/main.jpg) no-repeat top center; */
  /* background-size: cover; */
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

#header.scrolled .header-bg {
  opacity: 1;
}

#header_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

#scroll_logo {
  display: none;
  margin-left: 1rem;
}

#scroll_logo img {
  height: 57px;
  width: auto;
}

.scrolled #scroll_logo {
  display: block;
  height: 60px;
  margin: 1rem;
}

.scrolled #main_logo {
  display: none;
}

.scrolled #header {
  background: rgba(0, 0, 0, 0.85);
}

#header .corporate_link {
  display: inline-block;
  width: calc(100% - 20px);
  text-align: right;
  order: -1;
  margin: 10px 10px 30px;
  line-height: 1;
  transition: none;
}
#header .corporate_link.sp {
  display: none;
}

#header .corporate_link a {
  text-decoration: none;
  border: 1px solid #fff;
  font-size: 75%;
  color: #fff;
  padding: 1px 5px 2px;
  letter-spacing: -.8px;
  background: rgba(255, 255, 255, 0.2);
}

#header .corporate_link a:hover {
  background: rgba(255, 255, 255, 0);
}

@media screen and (max-width: 1180px) {
  #global_nav.open .corporate_link.sp {
    display: inline-block !important;
    width: calc(100% - 20px);
    text-align: right;
    order: initial;
    margin: 10px 10px 30px;
    line-height: 1;
    transition: none;
  }

#header .corporate_link a {
    text-decoration: none;
    border: none;
    font-size: 135%;
    color: #fff;
    padding: 1px 5px 2px;
    letter-spacing: initial;
    background: none;
  }
}

#header.is-fixed #header_inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

#header.is-fixed #scroll_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: auto;
  padding: 0 1rem;
}

#header.is-fixed #global_nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#header.is-fixed .corporate_link {
  text-align: right;
  margin-bottom: 30px;
}



#global_nav {
  order: 1;
  width: auto;
  margin-left: auto;
}

/* #header.scrolled #header_inner {
  flex-wrap: nowrap;
  align-items: center;
}

#header.scrolled .corporate_link {
  width: auto;
  order: 2;
  margin-left: 1rem;
} */

#global_nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0 1.5rem 0 0;
  padding: 0;
}

#global_nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s;
}

#global_nav a:hover {
  opacity: 0.7;
}

.menu-close {
  display: none;
}

@media screen and (max-width: 1180px) {
  #global_nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  #global_nav.open {
    display: flex;
    z-index: 1000;
  }

  #global_nav h1 {
    display: block;
    max-width: 68.5%;
    margin: 4rem 1rem 1rem auto;
  }

  #global_nav ul {
    flex-direction: column;
    gap: 2rem;
    margin: 1rem;
  }

  #global_nav ul li a {
    font-size: 150%;
    color: #fff;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 4px;
    right: 14px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
  }
}


#menu_toggle {
  display: none;
}

@media screen and (max-width: 1180px) {
  #menu_toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  #menu_toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
  }
  #menu_toggle.dark span {
    background: #1f795d;
  }
  #menu_toggle.active span {
    background: #fff;
  }

  #menu_toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #menu_toggle.active span:nth-child(2) {
    opacity: 0;
  }

  #menu_toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #global_nav ul {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
  }

  #global_nav.open ul {
    display: flex;
  }
}

#main_visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#main_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/main.png") center/cover no-repeat;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 0.2s;
  z-index: 1;
}

#main_logo {
  position: absolute;
  left: max(47%, 600px);
  bottom: 43%;
  opacity: 0;
  animation: fadeIn 3.5s ease forwards 2s;
  z-index: 2;
  max-width: 600px;
  margin-right: 1rem;
}

#main_foreground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/main_front.png") bottom center/cover no-repeat;
  opacity: 0;
  animation: fadeIn 2s ease forwards 1s;
  z-index: 3;
}

#main_foreground02 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/main_front02.png") bottom center/cover no-repeat;
  opacity: 0;
  animation: fadeInUp 2s ease forwards 1.5s;
  z-index: 4;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1180px) {
  #main_visual {
    position: relative;
    width: 100%;
    aspect-ratio: 780 / 740;
    max-height: 600px;
    height: auto;
    overflow: hidden;
  }

  #main_logo {
    left: 43.6%;
    transform: none;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

h2 {
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro", serif;
  font-size: 1.8rem;
  margin-bottom: 3.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0;
}

.pagetitle_a1 {
  font-weight: normal;
  font-size: 225%;
  color: #1f795d;
}

.pagetitle_a2 {
  font-weight: normal;
  font-size: 150%;
}

.pagetitle_a3 {
  font-weight: normal;
  font-size: 150%;
  color: #0e8f60;
}

@media screen and (max-width: 1180px) {
  .pagetitle_a1 {
    font-size: 150%;
  }

  .pagetitle_a2,
  .pagetitle_a3 {
    font-size: 125%;
  }
}

h2.pagetitle_a2::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  background-color: #fff;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  width: calc(50% - 1rem);
  background: #fff;
  text-align: center;
}

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

.card p {
  padding: 1rem;
  font-weight: bold;
}

#feature h2::after {
  background-color: #0d73b7;
}

#feature {}

#feature .message {
  font-size: 87.5%;
  line-height: 2.5;
}

#feature .boxes {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

#feature .box {
  padding: 0;
  color: #3274be;
  font-size: 112.5%;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  width: 303px;
  height: 262px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#feature .box:first-of-type {
  background: url("../images/feature_bg01.png") no-repeat center center;
}

#feature .box:nth-of-type(2) {
  background: url("../images/feature_bg02.png") no-repeat center center;
}

#feature .box:nth-of-type(3) {
  background: url("../images/feature_bg03.png") no-repeat center center;
}

#feature .box span {
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 1180px) {
  #feature .message p:last-of-type {
    text-align: left;
  }
  #feature .boxes {
    display: flex;
    gap: 0 .5rem;
  }

  #feature .box span img {
    height: 100%;
  }
}

@media screen and (max-width: 580px) {
  #feature .box {
    font-size: 75%;
  }
  #feature .box {
    aspect-ratio: 303 / 262;
    width: calc(50% - .5rem);
    height: auto;
    padding: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
  #feature .box span {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    height: 18px;
  }
}

#about {
  background-color: rgba(0, 0, 0, 0.08);
}

#about h2::after {
  background-color: #15bb76;
}

#about .grid a {
  width: calc(50% - 1rem);
  text-align: center;
  text-decoration: none;
}

#about .grid .card {
  width: 100%;
  position: relative;
  background: none !important;
}

#about .grid .card>p:first-of-type {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  margin-bottom: 1.5rem;
  padding: 0;
  color: #fff;
  font-size: 125%;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro", serif;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

#about .grid a:first-of-type .card>p:first-of-type {
  background: url("../images/about_img01.jpg") bottom center/cover no-repeat;
}

#about .grid a:nth-of-type(2) .card>p:first-of-type {
  background: url("../images/about_img02.jpg") bottom center/cover no-repeat;
}

#about .grid a:nth-of-type(3) .card>p:first-of-type {
  background: url("../images/about_img03.jpg") bottom center/cover no-repeat;
}

#about .grid a:nth-of-type(4) .card>p:first-of-type {
  background: url("../images/about_img04.jpg") bottom center/cover no-repeat;
}

#about .grid .card .overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 0;
  transition: background-color 0.3s ease;
}

#about .grid a:hover .overlay::before {
  background-color: rgba(0, 0, 0, 0.15);
}

#about .grid .card .overlay span {
  position: relative;
  z-index: 1;
}


#about .grid .card>p:first-of-type span {
  position: relative;
  z-index: 1;
}

#about .grid .card>p:last-of-type {
  font-size: 87.5%;
  color: #000;
  padding: 0;
  line-height: 1.8;
  text-align: left;
}


#recruit {
  position: relative;
}

.recruit-header {
  background: none;
}

#recruit .inner {
  text-align: left;
  line-height: 2;
  width: 1117px;
}

@media screen and (min-width: 1181px) {
  #recruit {
    background: url("../images/recruit_bg.jpg") top center/cover no-repeat;
    min-height: 370px;
  }

  .recruit-header {
    background: none;
  }
}

#recruit p {
  font-weight: 700;
}

#recruit img {
  margin-top: 2rem;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1180px) {
  #recruit {
    background: none;
  }

  #recruit .recruit-header {
    background: url("../images/recruit_bg.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
  }

  #recruit .recruit-header h2 {
    margin: 2rem 1rem;
  }

  #recruit .inner {
    width: 100%;
    padding: 0;
  }
  #recruit p {
    font-weight: 700;
    padding: 1rem;
  }
}

#job h2 {
  color: #fff;
}

#job .grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#job .grid-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

#job .grid-row .card {
  flex: 0 1 550px;
}

#job .card {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  min-height: 200px;
  text-decoration: none;
  color: inherit;
}

#job .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 0 0 20px;
  transition: transform 0.4s ease;
}

#job .card-image {
  overflow: hidden;
  position: relative;
  width: 40%;
  min-width: 275px;
  max-width: 300px;
  height: 100%;
}

#job .card:hover .card-image img {
  transform: scale(1.1);
}

#job .card-text {
  width: 60%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

#job .card-text h3 {
  font-size: 125%;
  margin: 1.5rem 20px 1rem;
}

#job .card-text p {
  font-size: 87.5%;
  line-height: 1.6;
  padding: 0 20px 20px;
}

@media screen and (max-width: 1180px) {
  #job .card-image {
    width: 40.5%;
    height: auto;
    min-width: auto;
    max-width: auto;
  }

  #job .card-text h3 {
    font-size: 125%;
    margin: 1rem 1rem 0 1rem;
  }

  #job .card-text p {
    padding: 1rem;
  }

  #job .grid>.card {
    width: auto;
    flex: 0 1 550px;
  }

  #job .grid {
    flex-direction: initial;
  }

  #job .card {
    min-height: auto;
  }
}

.job-footer-bg {
  background: url(../images/bg_footer.png) no-repeat center/cover;
  background-attachment: scroll;
  width: 100%;
}

#job,
footer {
  position: relative;
  z-index: 1;
}

#job .inner,
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

footer {
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.footer-inner {
  position: relative;
  max-width: 885px;
  margin: 0 auto;
  padding: 4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
  z-index: 1;
}
.footer-inner .logo {
  width: 462px;
  flex-shrink: 0;
}

.footer-inner .logo img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}

.footer-inner address {
  flex: 1;
  font-style: normal;
  line-height: 1.6;
  align-self: flex-end;
  font-size: 87.5%;
}
.copy {
  text-align: center;
  font-size: 68.8%;
  margin: 2rem 0;
}
@media screen and (max-width: 1180px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .footer-inner .logo {
    width: 64%;
    margin-bottom: 1rem;
  }

  .footer-inner address {
    width: 100%;
    align-self: auto;
  }
.copy {
  font-size: 62.5%;
}
}

#page-top {
  position: fixed;
  right: 60px;
  bottom: 60px;
  display: block;
  z-index: 10;
}
#page-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-top.show {
  opacity: 1;
  visibility: visible;
}

.pagetop_btn a {
  display: block;
  width: 60px;
  height: 60px;
  padding-top: 6px;
  text-align: center;
}

.pagetop_btn a:hover,
.pagetop_btn a:focus {
  opacity: 0.8;
}

.arrow {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-top: 4px solid #1f795d;
  border-right: 4px solid #1f795d;
  transform: rotate(-45deg);
  margin-top: 10px;
  transition: border-color 0.3s ease;
}

.pagetop_btn.white .arrow {
  border-color: #fff;
}

@media print,
screen and (max-width: 1180px) {
  #page-top {
    right: 10px;
    bottom: 10px;
  }

  .pagetop_btn a {
    width: 40px;
    height: 40px;
    padding-top: 5px;
  }

  .arrow {
    width: 16px;
    height: 16px;
    border-width: 3px;
    margin-top: 8px;
  }
}

@media screen and (max-width: 1180px) {

  .card,
  #about .grid a {
    width: 100%;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.sp {
  display: none;
}

.pc {
  display: block;
}

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

  .pc {
    display: none !important;
  }
}

.pc_br {
  display: block;
}
@media screen and (max-width: 1180px) {
  .pc_br {
    display: none;
  }
}

.sp_br {
  display: none;
}
@media screen and (max-width: 1180px) {
  .sp_br {
    display: block;
  }
}

.mb1r {
  margin-bottom: 1rem;
}

.mb2r {
  margin-bottom: 2rem;
}

.mb3r {
  margin-bottom: 3rem;
}

.mb4r {
  margin-bottom: 4rem;
}

.mb5r {
  margin-bottom: 5rem;
}

.mb6r {
  margin-bottom: 6rem;
}

.mb7r {
  margin-bottom: 7rem;
}

.mb8r {
  margin-bottom: 8rem;
}

.mb9r {
  margin-bottom: 9rem;
}

.mb10r {
  margin-bottom: 10rem;
}

.fz14 {
  font-size: 87.5%;
}