﻿@charset "utf-8";
.l-wrapper {
  max-width: 1920px;
  overflow: hidden;
  margin: 0 auto;
}

/*--------------------------------------------------------------------------------

  loading

--------------------------------------------------------------------------------*/
#loading {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 9999;
  display: grid;
  place-items: center;
}
#loading .loading-contents {
  width: 100%;
  height: auto;
  max-width: 400px;
  aspect-ratio: 2 / 1;
  position: relative;
}
#loading .loading-img01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
}
#loading .loading-img02 {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
}
#loading .loading-img03 {
  position: absolute;
  bottom: 0;
  left: calc(50% - 80px);
  width: 160px;
}

/*--------------------------------------------------------------------------------

  main visual

--------------------------------------------------------------------------------*/
.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 830px;
  padding: 0 48px;
  box-sizing: border-box;
  background-image: url(../img/top/mv-bgimg.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}
.mv-img {
  position: absolute;
  width: calc(50% - 12px);
  max-width: 770px;
}
.mv-img01 {
  top: 0;
  left: 0;
}
.mv-img02 {
  top: 0;
  right: 0;
  text-align: right;
}
.mv-img03 {
  bottom: 0;
  left: 0;
}
.mv-img04 {
  bottom: 0;
  right: 0;
  text-align: right;
}
@media (max-width:768px) {
  .mv-img {
    width: 75%;
  }
  .mv-img02,
  .mv-img03 {
    display: none;
  }
}

.mv-contents {
  position:absolute;
  top: 240px;
  left: calc(50% - 460px);
  width: 920px;
  text-align: center;
}
@media (max-width:960px) {
  .mv-contents {
    top: 180px;
    left: 24px;
    width: calc(100% - 48px);
  }
}
@media (max-width:640px) {
  .mv-contents {
    top: 170px;
  }
}
.mv-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background-color: #fff;
  border-radius: 12px;
  padding: 12px 48px;
  box-shadow: 0 0 5px rgba(139,139,139,0.25);
  margin-top: 48px;
}
.mv-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 48px;
}
.mv-nav-item {
  position: relative;
}
.mv-nav-item-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 4px solid #fff;
}
.mv-nav-sub-list {
  position: absolute;
  top: 100%;
  left: calc(50% - 6em);
  z-index: 2;
  display: none;
  list-style: none;
  background: #fff;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-shadow: 0 0 5px rgba(139,139,139,0.25);
  min-width: 12em;
  text-align: left;
}
.mv-nav-sub-item a {
  color: inherit;
  text-decoration: none;
}
@media (hover:hover) {
  .mv-nav-item-primary:hover {
    border-color: #f56b8e;
  }
  .mv-nav-list li:hover .mv-nav-sub-list {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .mv-nav-sub-item a:hover {
    color: var(--link-color-hover);
  }
}
@media (max-width:960px) {
  .mv-nav {
    flex-wrap: wrap;
    gap: 12px 48px;
    padding: 12px 48px 24px;
  }
  .mv-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 48px;
  }
}
@media (max-width:640px) {
  .mv-nav {
    margin-top: 30px;
  }
  .mv-nav-list {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 36px;
  }
  .mv-nav-item-primary {
    padding: 18px 0;
  }
}
@media (max-width:425px) {
  .mv-nav {
    padding: 12px 24px 24px;
  }
}


/*--------------------------------------------------------------------------------

  institutions

--------------------------------------------------------------------------------*/
#institutions {
  margin-top: 84px;
}
#institutions .institutions-contents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
#institutions .institutions-thumnail-img {
  display: block;
  margin-bottom: 40px;
}
#institutions .institutions-thumnail h2 {
  margin-bottom: 28px;
}
#institutions .institutions-thumnail address {
  margin-bottom: 28px;
  line-height: var(--line-height-2s);
}
#institutions .institutions-btn {
  display: inline-flex;
  align-items: center;
  padding: 1em 2em;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border-left: 16px solid #f69cad;
  color: #f56b8e;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}
#institutions .institutions-btn .arrow {
  position: relative;
  left: 1em;
  transition: 0.2s;
}
#institutions .institutions-btn:hover .arrow {
  left: 1.25em;
}
@media (max-width:768px) {
  #institutions .institutions-contents {
    width: 100%;
    max-width: 577px;
    grid-template-columns: auto;
    margin-left: auto;
    margin-right: auto;
  }
}


/*--------------------------------------------------------------------------------

  news

--------------------------------------------------------------------------------*/
#news {
  margin-top: 80px;
}
#news .c-archive_thumnail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}
@media (max-width:768px) {
  #news .c-archive_thumnail {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:430px) {
  #news .c-archive_thumnail {
    grid-template-columns: auto;
  }
}
#news .c-archive_thumnail_item {
  padding: 20px;
  padding-bottom: 60px;
  background-color: #fff;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  position: relative;
}
#news .c-archive_thumnail_img {
  aspect-ratio: 236 / 154;
  overflow: hidden;
}
#news .c-archive_thumnail_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
}
#news .c-archive_thumnail_item a:hover .c-archive_thumnail_img img {
  transform: scale(1.1);
}
#news .c-archive_thumnail-meta_cat {
  position: relative;
  top: -0.75em;
  left: 8px;
  display: inline-block;
  padding: 0 12px;
  font-size: var(--fs-s);
  background-color: #63c0b5;
  color: #fff;
  text-decoration: none;
}
#news .c-archive_thumnail-meta_cat:hover {
  background-color: #7ad1c7;
}

#news .c-archive_thumnail-meta_date {
  display: block;
  color: #6e6e6e;
  font-size: var(--fs-2s);
  font-weight: bold;
}
#news .c-archive_thumnail_ttl {
  margin-top: 0.5em;
  font-size: var(--fs-s);
  font-weight: normal;
  line-height: var(--line-height-2s);
}
#news .c-archive_thumnail-prompt {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  align-content: center;
  color: #ec637d;
  font-size: var(--fs-s);
  font-weight: bold;
  text-align: right;
  margin-top: 0.75em;
}
#news .c-archive_thumnail-prompt .text {
  display: inline-block;
  border-bottom: 1px solid #ec637d;
}
#news .c-archive_thumnail-prompt .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid #ec637d;
  margin-left: 0.5em;
}
#news .c-archive_thumnail-btn {
  margin-top: 48px;
  text-align: center;
}

#news .recruit-encourage {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 50px;
}
#news .recruit-encourage .text {
  width: calc(100% - 586px);
  border-left: 16px solid #f6d79c;
  background-color: #f69cad;
  padding: 36px 48px 12px;
}
#news .recruit-encourage .text p {
  margin-top: 12px;
  padding-left: 6px;
  color: #fff;
  font-size: var(--fs-m);
  line-height: var(--line-height-s);
}
#news .recruit-encourage .img {
  width: 586px;
}
#news .recruit-encourage .img img {
  width: 100%;
  object-fit: cover;
}
@media (max-width:1280px) {
  #news .recruit-encourage .text {
    padding: 36px 36px 12px;
  }
  #news .recruit-encourage .text p {
    font-size: var(--fs-n);
  }
}
@media (max-width:1024px) {
  #news .recruit-encourage {
    flex-wrap: wrap;
    width: 100%;
    max-width: 586px;
    margin-left: auto;
    margin-right: auto;
  }
  #news .recruit-encourage .text,
  #news .recruit-encourage .img {
    width: 100%;
  }
  #news .recruit-encourage .text {
    order: 2;
    padding: 36px;
  }
}
#news .recruit-mutsu {
  margin-top: 1em;
  text-align: center;
}
@media (max-width:640px) {
  #news .recruit-mutsu {
    text-align: left;
  }
}
