* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
}

/* @media screen and (max-width:1920px) {
  html {
    font-size: calc(100vw / 1920 * 10);
  }
} */

@media screen and (max-width:1240px) {
  html {
    font-size: calc(100vw / 1240 * 10);
  }
}

@media screen and (max-width:767px) {
  html {
    font-size: calc(100vw / 375 * 10);
  }
}

body {
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  min-width: 86.1%;
  padding-top: 0;
  -webkit-text-size-adjust: none;
}

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

a {
  color: #333;
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  opacity: .75;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

dl, ul {
  list-style: none;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

.container {
  margin: 0 auto;
  max-width: 124rem;
  padding: 0 2rem;
}


@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
    min-width: auto;
    padding-top: 0;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* ------------------------------------------
  header
------------------------------------------ */
header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
}

.header_container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 179rem;
  min-width: 120rem;
  padding: 2rem;
}

.header_container .logo {
  width: 31rem;
}

.header_container .logo a {
  display: block;
}

.header_container nav .header_menu {
  align-items: center;
  column-gap: 3.5rem;
  display: flex;
  height: 100%;
}

.header_container nav .header_menu a {
  align-items: center;
  column-gap: .9rem;
  display: flex;
}

.header_container nav .header_menu li a .en {
  color: #7d7d7d;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  padding-top: 2rem;
}

.header_container nav .header_menu li:first-child a .en {
  color: #221816;
}

.header_container nav .header_menu li a .slash {
  background-color: #e00b20;
  height: 3.4rem;
  transform: rotate(20deg);
  width: .1rem;
}

.header_container nav .header_menu li a .ja {
  color: #221816;
  font-size: 1.5rem;
  font-weight: 500;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .header_container {
    align-items: center;
    background-color: #fff;
    height: 6.5rem;
    min-width: unset;
    padding: 1rem 1.5rem;
  }

  .header_container .logo {
    width: 15rem;
  }

  .ham_box {
    cursor: pointer;
    display: block;
    height: 4rem;
    position: relative;
    width: 4rem;
  }

  .ham_box span {
    background-color: #333;
    border-radius: .3rem;
    display: block;
    height: .2rem;
    left: 0;
    position: absolute;
    transition: .3s ease;
    width: 100%;
  }

  .ham_box span:nth-child(1) {
    top: .9rem;
  }
  .ham_box span:nth-child(2) {
    top: 1.9rem;
  }
  .ham_box span:nth-child(3) {
    top: 2.9rem;
  }


  .ham_box.active span:nth-child(1) {
    top: 1.8rem;
    transform: rotate(45deg);
  }
  .ham_box.active span:nth-child(2) {
    opacity: 0;
  }
  .ham_box.active span:nth-child(3) {
    top: 1.8rem;
    transform: rotate(-45deg);
  }


  .header_container nav {
    background-color: #fff;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    height: calc(100svh - 5rem);
    justify-content: flex-start;
    left: 0;
    margin-top: 0;
    opacity: 0;
    overflow-y: scroll;
    padding: 4rem 2rem;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 6.5rem;
    transition: .3s all ease;
    visibility: hidden;
    z-index: 5;
    z-index: 9999;
  }
  header nav.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .header_container nav .header_menu {
    align-items: center;
    flex-direction: column;
    gap: 3rem 0;
    height: auto;
    justify-content: center;
  }

  .header_container nav .header_menu a {
    align-items: center;
    column-gap: .9rem;
    display: flex;
  }

  .header_container nav .header_menu li a .en {
    color: #7d7d7d;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: .6rem;
  }

  .header_container nav .header_menu li:first-child a .en {
    color: #221816;
  }

  .header_container nav .header_menu li a .slash {
    background-color: #e00b20;
    height: 3.4rem;
    transform: rotate(20deg);
    width: .1rem;
  }

  .header_container nav .header_menu li a .ja {
    color: #221816;
    font-size: 1.5rem;
    font-weight: 500;
  }
}


/* ------------------------------------------
  footer
------------------------------------------ */
footer {
  background: linear-gradient(90deg, #fff 0%, #fff 33%, #3a4d98 33%, #3a4d98 100%);
  padding-bottom: 2.5rem;
  margin-top: 15rem;
}

footer .flex {
  display: flex;
  margin: 0 auto;
  max-width: 158.9rem;
  padding: 0 2rem;
}

footer .flex .left {
  /* background-color: #fff; */
  color: #7d7d7d;
  /* padding-left: 2rem;
  padding-right: 11rem; */
  padding-top: 7rem;
  width: 29%;
}

footer .flex .left .footer_logo {
  width: 31.2rem;
}

footer .flex .left .ttl {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: .025em;
  margin-top: 2rem;
}

footer .flex .left .add {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .025em;
  margin-top: 2rem;
}

footer .flex .right {
  color: #fff;
  padding: 5rem 0 0;
  /* background-color: #3a4d98; */
  width: 71%;
}

footer .flex .right a {
  color: #fff;
}

footer .flex .right .footer_menu_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 6.5rem;
  justify-content: flex-end;
}

footer .flex .right .footer_menu_wrap .footer_menu .head + .head {
  margin-top: 1.5rem;
}

footer .flex .right .footer_menu_wrap .footer_menu .head a {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .025em;
}

footer .flex .right .footer_menu_wrap .footer_menu ul {
  margin-top: 3rem;
}

footer .flex .right .footer_menu_wrap .footer_menu ul li a {
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: .025em;
  line-height: calc(26/17);
}

footer .flex .right .footer_menu_wrap .footer_menu ul li a::before {
  content: '-';
  margin-right: .3rem;
}

footer .flex .right .footer_menu_wrap .footer_menu_item + .footer_menu_item {
  margin-top: 5rem;
}

footer small {
  color: #fff;
  display: block;
  font-size: 1.4rem;
  letter-spacing: .05em;
  margin-top: 12.5rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  footer {
    background: unset;
    margin-top: 7.5rem;
    padding-bottom: 0;
  }

  footer .flex {
    flex-direction: column;
    padding: 0;
  }

  footer .flex .left {
    background-color: #fff;
    color: #7d7d7d;
    padding: 3.5rem 1.5rem;
    width: auto;
  }

  footer .flex .left .footer_logo {
    margin: 0 auto;
    width: 80%;
  }

  footer .flex .left .ttl {
    font-size: 2rem;
    margin-top: 2rem;
    text-align: center;
  }

  footer .flex .left .add {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    text-align: center;
  }

  footer .flex .right {
    background-color: #3a4d98;
    padding: 3.5rem 1.5rem;
    width: auto;
  }

  footer .flex .right .footer_menu_wrap {
    display: block;
  }

  .footer_menu + .footer_menu {
    margin-top: 2.5rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu .head a {
    font-size: 1.7rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu ul {
    margin-top: 1.5rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu ul li + li {
    margin-top: .5rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu ul li a {
    font-size: 1.4rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu ul li a::before {
    content: '-';
    margin-right: .3rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu_item + .footer_menu_item {
    margin-top: 2.5rem;
  }

  footer .flex .right .footer_menu_wrap .footer_menu .head + .head {
    margin-top: 1rem;
  }

  footer small {
    background-color: #3a4d98;
    font-size: 1.3rem;
    margin-top: 0;
    padding-bottom: 1.5rem;
    padding-top: 3rem;
  }
}

/* ------------------------------------------
  ぱんくず
------------------------------------------ */
.sub_breadcrumb {
  margin-top: 3rem;
  font-size: 1.6rem;
}

.sub_breadcrumb .flex {
  display: flex;
  justify-content: space-between;
}

.breadcrumb {
  display: flex;
}

.breadcrumb li:not(:first-child)::before {
  content: '＞';
  margin-right: 2rem;
}

.breadcrumb li + li {
  margin-left: 2rem;
}

.breadcrumb li a {
  font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
  .sub_breadcrumb {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .sub_breadcrumb .flex {
    display: block;
  }
  .breadcrumb {
    flex-wrap: wrap;
    row-gap: .7rem;
  }

  .breadcrumb li {
    font-size: 1.3rem;
  }

  .breadcrumb li:not(:first-child)::before {
    margin-right: 1rem;
  }

  .breadcrumb li + li {
    margin-left: .7rem;
  }

  .breadcrumb li a {
    font-size: 1.3rem;
  }
}

/* ------------------------------------------
  投稿一覧ページネーション
------------------------------------------ */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 7rem;
  align-items: center;
  gap: 0 1rem;
}

.pagination li {
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
  border-radius: 1rem;
  text-align: center;
  width: 4rem;
}

.pagination li.this {
  background-color: #394B99;
  color: #fff;
}
.pagination li a {
  display: block;
  font-size: 2rem;
  line-height: 4rem;
  color: #394B99;
  text-align: center;
  text-align: center;
  border-radius: 1rem;
}

.pagination li.prev a {
  background-image: url(../img/top/more_btn_arrow_prev.png);
  background-size: 1.5rem 1.65rem;
  background-position: center;
  background-repeat: no-repeat;
  height: 4rem;
}	
.pagination li.next a {
  background-image: url(../img/top/more_btn_arrow.png);
  background-size: 1.5rem 1.65rem;
  background-position: center;
  background-repeat: no-repeat;
  height: 4rem;
}

@media screen and (max-width: 768px) {
  .pagination {
    margin-top: 4rem;
    gap: 0 1rem;
  }

  .pagination li {
    font-size: 1.7rem;
    line-height: 3rem;
    width: 3rem;
    border-radius: .5rem;
  }

  .pagination li a {
    font-size: 1.7rem;
    line-height: 3rem;
    width: 3rem;
    border-radius: .5rem;
  }

  .pagination li.prev a {
    height: 3rem;
    background-size: 1rem 1.6rem;
  }

  .pagination li.next a {
    height: 3rem;
    background-size: 1rem 1.6rem;
  }

}

/* ------------------------------------------
  投稿詳細ページネーション
------------------------------------------ */
.single_page_pagination {
  margin-top: 6rem;
}

.single_page_pagination .link.prev {
  background-image: url(../img/top/more_btn_arrow_prev.png);
  background-position: left 1.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5rem 1.65rem;
  cursor: pointer;
  float: left;
  padding: 0 2rem 0 4rem;
  line-height: 4rem;
  color: #394B99;
  font-size: 1.7rem;
  border-radius: 1rem;
  border: .1rem solid;
}

.single_page_pagination .link.next {
  background-image: url(../img/top/more_btn_arrow.png);
  background-position: right 1.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5rem 1.65rem;
  cursor: pointer;
  float: right;
  padding: 0 4rem 0 2rem;
  transition: .2s;
  line-height: 4rem;
  color: #394B99;
  font-size: 1.7rem;
  border-radius: 1rem;
  border: .1rem solid;

}

@media screen and (max-width: 768px) {
  .single_page_pagination {
    margin-top: 3rem;
  }

  .single_page_pagination .link.prev {
    background-position: left 1rem center;
    background-size: .8rem 1.3rem;
    padding: 0 1.5rem 0 3rem;
    border-radius: .5rem;
    line-height: 3rem;
    font-size: 1.4rem;
  }
  
  .single_page_pagination .link.next {
    background-position: right 1rem center;
    background-size: .8rem 1.3rem;
    padding: 0 3rem 0 1.5rem;
    border-radius: .5rem;
    line-height: 3rem;
    font-size: 1.4rem;

  }
}

