@charset "UTF-8";

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  z-index: 10;
  transition: .5s;
}
.header.change {
  background: #fff;
  box-shadow: 3px 3px 10px #ccc;
  transition: .5s;
  padding: 1rem 2rem;
}
.header-logo a {
  max-width: 300px;
  display: block;
   transition: .5s;
}
.header.change .header-logo a {
  max-width: 200px;
  display: block;
   transition: .5s;
}


.header-logo:hover a {
  opacity: 1;
}
.header-nav > ul {
  display: flex;
  align-items: center;
}
.header-nav > ul > li:not(:last-child) {
  margin-right: 2rem;
  position: relative;
}
.header-nav > ul > li:not(:last-child)::after {
  position: absolute;
  content: "";
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #0d2270;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.header-nav > ul > li:not(:last-child):hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
.header-nav > ul > li:not(:last-child):hover a {
  opacity: 1;
  transition: .5s;
}

.head-btn a {
  display: block;
  text-align: center;
  padding: .5rem 2rem;
}
.head-btn .mail {
  color: #fff;
  background: #0d2270;
  border-radius: 50px;
}
.openbtn {
  display: none;
}
.header-nav-logo {
  display: none;
}

/* megamenu */
.megamenu {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1080px;
  position: fixed;
  top: 90px;
  left: 50%;
  box-shadow: 3px 3px 10px #ccc;
  transform: translateX(-50%);
  background: #fff;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: .5s;
}
.megamenu::before {
  position: absolute;
  content: "";
  top: -20px;
  left: 0;
  height: 30px;
  width: 100vw;
}
.header-nav .has-menu:hover .megamenu {
  opacity: 1;
  pointer-events: all;
  transition: .5s;
}
.megamenu-img-wrap {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  position: relative;
}
.megamenu-menu-wrap {
  width: calc(100% - 200px);
}
.megamenu-img-wrap .img-wrap {
  aspect-ratio: 1/1;
}
.megamenu-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.megamenu-img-wrap::before {
  position: absolute;
  content: "";
  background: rgba(0,0,0,.35);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.megamenu-img-wrap .txt-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}
.megamenu-img-wrap .txt-wrap p {
  color: #fff;
}
.ul-mega-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.ul-mega-menu > li {
  width: calc(100% / 2 - .5rem);
}
.ul-mega-menu > li > a {
  border: 1px solid #0d2270;
  display: block;
padding: 0.5rem 1rem;
}
.ul-mega-menu > li > a::before {
  content: '\f138';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #0d2270;
  margin-right: .5rem;
}
.ul-mega-menu .child {
  margin-top: .5rem;
}
.ul-mega-menu .child > li > a {
  padding-left: 1rem;
}
.ul-mega-menu .child > li > a::before {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #0d2270;
  margin-right: .5rem;
}
@media screen and (max-width: 1180px) {
  .header-nav a {
    pointer-events: none;
  }
  .header-nav-wrap.open .header-nav a {
    pointer-events: all;
  }
  .header-nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100lvh;
    overflow: auto;
    padding: 6rem 2rem;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
    border-left: 4px solid #0d2270;
    border-right: 4px solid #0d2270;
    margin-left: unset;
  }
  .header-nav-wrap.open {
    opacity: 1;
    pointer-events: all;
    transition: .5s;
  }
  .header-nav-logo {
    max-width: 250px;
    display: block;
    margin: 0 auto 4rem !important;
  }
  .header-nav > ul {
    display: block;
  }
  .header-nav > ul > li {
    width: 100%;
    text-align: left;
  }
  .header-nav > ul > li:not(:first-child) {
    margin-right: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #1F1F1F;
  }
  .header-nav > ul > li > a {
    display: block;
    color: #181818;
  }
  .openbtn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    z-index: 10;
    transition: all .6s;
    width: 50px;
    height: 50px;
  }
  .openbtn span {
    display: inline-block;
    position: absolute;
    left: 14px;
    height: 2px;
    background: #0d2270;
    width: 45%;
    transition: .5s;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.open .openbtn-area {
    transform: rotate(360deg);
  }
  .openbtn.open span {
    background: #0d2270;
  }
  .openbtn.open span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.open span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.open span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  .header-nav > ul > li::after {
    display: none;
  }
  .head-btn a {
    text-align: left;
  }

  .header-nav .has-menu:hover .megamenu {
    transition: none;
  }
  .header-nav > ul > li.has-menu > a {
    position: relative;
    display: inline-block;
  }
  .header-nav > ul > li.has-menu > a::before {
    position: absolute;
    content: "";
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0d2270;
    right: -20px;
  }
  .megamenu {
    opacity: 1;
    pointer-events: all;
    position: static;
    transform: unset;
    transition: none;
    box-shadow: none;
    padding: 0;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .megamenu::before {
    display: none;
  }
  .megamenu-img-wrap {
    width: 100px;
    height: 100px;
  }
  .megamenu-img-wrap .txt-wrap p {
    display: none;
  }
  .megamenu-img-wrap::before {
    display: none;
  }
  .megamenu-menu-wrap {
    width: calc(100% - 100px);
  }
  .ul-mega-menu > li {
    width: 100%;
  }
  .ul-mega-menu .child > li > a {
    padding-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .header {
    padding: 1rem;
  }
  .header-logo a {
    max-width: 200px;
  }
  .header-logo a img {
    vertical-align: middle;
  }
}


/* フッター */
.footer {
  border-top: 3px solid #0d2270;
  padding: 5rem 0 0;
  position: relative;
}
.footer-flex {
  display: flex;
  gap: 4rem;
}
.footer-logo-wrap {
  width: 100%;
  max-width: 300px;
}
.footer-logo-wrap .logo-wrap {
width: 250px;
margin: 0 auto 2rem;
}
.footer-logo-wrap .address-wrap {
  margin-bottom: 2rem;
}
.footer-logo-wrap .map-wrap {
  aspect-ratio: 1/1;
}
.footer-nav-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 0;
}
.footer-nav {
  width: 180px;
}
.footer-nav:nth-of-type(3) {
  width: 270px;
}
.footer-nav:nth-of-type(n + 4) {
  width: 330px;
}
.ul-footer-menu > li:first-child > a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0d2270;
}
.ul-footer-menu li:not(:first-child) a {
  padding-left: 1rem;
  text-decoration: underline;
}
.ul-footer-menu .child li a {
  position: relative;
  padding-left: 2rem;
}
.ul-footer-menu .child li a::before {
  position: absolute;
  content: '\f138';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: .25rem;
  font-size: 1.2rem;
  vertical-align: middle;
  top: -4px;
  left: 10px;
}
.copyright {
  margin-top: 5rem;
  text-align: center;
  background: #0d2270;
}
.copyright small {
  color: #fff;
}
@media screen and (max-width: 1072px) {
  .footer-nav-wrap {
    gap: 2rem;
  }
  .footer-nav {
    width: calc(100% / 2 - 1rem);
  }
}
@media screen and (max-width: 767px) {
  .footer-flex {
    flex-wrap: wrap;
  }
  .footer-logo-wrap {
    max-width: 100%;
  }
  .footer-logo-wrap .map-wrap {
    aspect-ratio: 1/.6;
  }
  .footer-nav {
    width: 100%;
  }
  .copyright {
    margin-top: 3rem;
    line-height: 1;
    padding: .5rem 0;
  }
  .copyright small {
    font-size: 1.4rem;
    line-height: 1.4;
  }
}

/* メディア */
.media {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}
.media-img-wrap {
  width: 50%;
}
.media-ele-wrap {
  width: 50%;
}
.media-ele-wrap p:not(:last-child) {
  margin-bottom: 10px;
}
@media screen and (max-width: 820px) {
  .media {
    gap: 2rem;
    flex-wrap: wrap;
  }
  .media-ele-wrap {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .media-img-wrap {
    width: 100%;
  }
}

/* インナー */
.inner1,
.inner2,
.inner3 {
  margin: 0 auto;
  padding: 0 2rem;
}
.inner1 {
  max-width: 1120px;
}
.inner2 {
  max-width: 1280px;
}
.inner3 {
  max-width: 1920px;
}
.innerover {
  /* margin: 0 calc(50% - 50vw);
  width: 100vw; */
  margin: 0 calc(50% - 50dvw);
  width: 100dvw;
}
@media screen and (min-width: 1500px) {
  .res1500 {
    max-width: 1120px;
    margin: 0 auto;
  }
}


/* 要素間調整 */
.sec {
  position: relative;
  padding: 5rem 0;
}
.home .sec {
  padding: 0;
}
.page .sec:first-child {
  padding: 10rem 0 5rem;
}
.page .sec:last-child {
  padding: 5rem 0 10rem;
}
.page .sec:only-child {
  padding: 10rem 0;
}
.sec-head {
  margin-bottom: 2rem;
  display: inline-block;
}
.eles:only-child {
  margin-bottom: 0;
}
.eles:not(:last-child) {
margin-bottom: 8rem;
}
.eles p:not(:last-child) {
  margin-bottom: 1rem;
}
.ele-head {
  margin-bottom: 2rem;
}
.ele:not(:last-child) {
  margin-bottom: 2rem;
}
.ele p:not(:last-child) {
  margin-bottom: 1rem;
}
@media screen and (max-width: 767px) {
  .page .sec:first-child {
    padding: 5rem 0 5rem;
  }
  .page .sec:last-child {
    padding: 5rem 0 5rem;
  }
  .page .sec:only-child {
    padding: 5rem 0;
  }
}


/* 順序なしリスト */
.ul1 li {
  position: relative;
  padding-left: 2rem;
}
.ul1 li::before {
  position: absolute;
  content: '・';
  top: 0;
  left: 0;
}
.ul-kome li {
  position: relative;
  padding-left: 2rem;
}
.ul-kome li::before {
  position: absolute;
  content: '※';
  top: 0;
  left: 0;
}
.ul-asterisk li {
  position: relative;
  padding-left: 2rem;
}
.ul-asterisk li::before {
  position: absolute;
  content: '＊';
  top: 0;
  left: 0;
}


/* 見出し */
.ttl1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  border-bottom: 1px solid #181818;
}
.ttl1 + p {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  .ttl1 {
    font-size: 2rem;
  }
  .ttl1 + p {
    font-size: 1.6rem;
  }
}

.ttl2 {
  font-size: 3rem;
  border-bottom: 3px solid #d8e0ff;
  position: relative;
}
.ttl2:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 20%;
  height: 3px;
  background: #0d2270;
}
@media screen and (max-width: 767px) {
  .ttl2 {
    font-size: 2rem;
  }
}


/* ボタン */
.btn1 {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  border: 2px solid #0d2270;
  position: relative;
  overflow: hidden;
  transition: .5s;
}
.btn1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0d2270;
  transform: translateX(-100%);
  transition: .5s;
  z-index: -1;
}
.btn1:hover {
  opacity: 1;
  color: #fff;
}
.btn1:hover::before {
  transition: .5s;
  transform: translateX(0);
}

/* お知らせ アーカイブ */
.ul-news a {
  border-bottom: 1px solid #ccc;
  display: block;
  padding: 3rem 2rem;
  font-weight: 500;
  position: relative;
  background: #fff;
}
.ul-news li:first-child a {
  border-top: 1px solid #ccc;
}
.ul-news a::before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
  background: #2734AC;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  transition: .5s;
}
.ul-news .cat {
  display: inline-block;
  background: #f5f5f5;
  padding: .5rem;
  line-height: 1;
  font-size: 1.4rem;
}
.ul-news a::after {
  position: absolute;
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  top: 50%;
  transform: translateY(-50%);
  right: 4.6%;
  opacity: 0;
  transition: .5s;
  color: #fff;
}
.ul-news a:hover {
  opacity: 1;
}
.ul-news a:hover::before {
  opacity: 1;
  transition: .5s;
  transform: translateY(-50%) scale(3);
}
.ul-news a:hover::after {
  opacity: 1;
  transition: .5s;
}
@media screen and (max-width: 767px) {
  .ul-news a {
    padding: 1.5rem 2rem;
  }
  .ul-news .ttl {
    display: block;
  }
}


.pagination {
  margin-top: 8rem;
}
.page-numbers {
  color: #181818;
  border: 1px solid #181818;
  padding: 1rem;
  background: #fff;
}
.page-numbers.current {
  color: #fff;
  border: 1px solid #181818;
  background: #181818;
}
a.page-numbers:hover {
  color: #fff;
  background: #181818;
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .pagination {
    margin-top: 5rem;
  }
  .page-numbers {
    padding: .5rem 1rem;
  }
}

/* お知らせ 詳細 */
.single-detail-wrap .label {
  display: inline-block;
  background: #f5f5f5;
  padding: .5rem;
  line-height: 1;
  font-size: 1.4rem;
}
.single-detail-wrap .ttl {
  border-bottom: 2px solid #f5f5f5;
  font-size: 2.4rem;
  font-weight: 600;
  padding-bottom: 1rem;
  position: relative;
}
.single-detail-wrap .ttl::before {
  position: absolute;
  content: "";
  background: #181818;
  height: 2px;
  width: 10%;
  bottom: -2px;
  left: 0;
}
@media screen and (max-width: 767px) {
  .single-detail-wrap .ttl {
    font-size: 1.8rem;
  }
}

.ul-pager li {
  display: inline-block;
}
.ul-pager li a {
  padding: .5rem 1rem;
  display: block;
  border: 1px solid #181818;
  background: #fff;
}
.ul-pager .all a {
  background: #181818;
  color: #fff;
}
.ul-pager .all a:hover {
  background: #fff;
  color: #181818;
  opacity: 1;
}
.ul-pager .next:hover a,
.ul-pager .prev:hover a {
  background: #181818;
  color: #fff;
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .ul-pager li a {
    padding: .5rem 1rem;
  }
}

/* 背景色*/ 
.bg-gray {
  background: #f5f5f5;
}
.bg-blue {
  background: #dff0ff;
}

.has-menu a{
    color: #181818;
  text-decoration: none;
  -webkit-transition: opacity .5s ease;
  -o-transition: opacity .5s ease;
  transition: opacity .5s ease;
  cursor: pointer;
  word-break: break-word;
  text-shadow: 0px 0px 8px #e8e8e8;
  letter-spacing: 1px;
}


.js-scroll-item .js-scroll-item-in .catch_area{
  width: 100%;
}
.js-scroll-item .js-scroll-item-in .catch_area img{
  width: 400px;
}
@media screen and (max-width: 1024px) {
.js-scroll-item .js-scroll-item-in .catch_area img{
  width: 300px;
}
}
@media screen and (max-width: 767px) {
.js-scroll-item .js-scroll-item-in .catch_area img{
  width: 200px;
}
}

/* .firstview .txt-wrap1 div {
  display: inline-block;
} */