@charset "UTF-8";

/*フォント指定*/
/* Montserrat / Noto Sans JP は同梱（src/layouts/BaseLayout.astro で @fontsource を読み込む。旧テーマは Google Fonts を @import していた） */

body{
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

p {
  line-height: 2em;
}

/*
* HEADER
*/

header {
  position: fixed;
  z-index: 99;
  width: 100%;
  top: 0;
  transition: .4s;
}
header nav {
  position: relative;
  transition: .3s;
}
header nav.bgactive{
  background-color: #fff;
}
header nav .common--wrapper {
  position: static;
  width: auto;
  max-width: none;
  display: flex;
  justify-content: space-between;
}

header nav h1 {
  width: 180px;
  margin-left: 65px;
  padding: 16px 0;
}
header .panel {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: calc(50% - 17px);
  right: 2.5%;
  z-index: 100;
}
header nav .globalmenu {
  height: 60px;
  padding-top: 20px;
}
header nav .menu_wrap {
  height: 100%;
  display: flex;
  justify-content: space-around;
}

header nav .menu_other{
  display: none;
}

header nav .menu_list {
  display: flex;
  justify-content: space-around;
  margin-right: 20px;
}

header nav .menu_list>ul {
  display: flex;
  margin-left: 20px;
  padding: 0 40px;
  border-radius: 30px;
}
header nav .menu_list>ul:nth-child(1){
  background-color: #2864c8;
}
header nav .menu_list>ul:nth-child(2){
  background-color: #fa7841;
}

header nav .menu_list>ul>li {
  position: relative;
}
header nav .menu_list>ul>li:not(:last-child){
  margin-right: 1.7vw;
}
header nav .menu_list>ul>li>a {
  position: relative;
  display: flex;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  height: 100%;
  align-items: center;
}
header nav .menu_list>ul>li a::after{
  content: "";
  transition: 0.3s;
  width: 0%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  bottom: 10px;
}
header nav .menu_list>ul>li:hover a::after,
header nav .menu_list>ul>li.active a::after {
  width: 100%;
  left: 0;
}


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

  header nav .common--wrapper {
    width: 100%;
  }
  header nav h1 {
    width: 33%;
    max-width: 180px;
    min-width: 140px;
    margin-left: 2.5%;
    z-index: 1000;
  }

  header nav .globalmenu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 990;
    background-color: rgba(0, 0, 0, 0);
    transition: all .4s;
    pointer-events: none;
    padding-top: 0;
  }

  header nav.active .globalmenu {
    display: block;
    background-color: #e7f2fc;
    pointer-events: auto;
  }

  header nav .menu_wrap {
    width: 100%;
    position: absolute;
    right: -100%;
    top: 85px;
    display: block;
    overflow-y: scroll;
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
    transition: all .4s;
    padding: 0 2.5%;
    box-sizing: border-box;
  }

  header nav.active .menu_wrap {
    right: 0;
  }

  header nav .menu_list {
    flex-wrap:wrap;
    margin: 0;
    padding-top: 35px;
  }

  header nav .menu_list>ul {
    display: block;
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 10px;
    padding: 0;
  }

  header nav .menu_list>ul>li {
    position: relative;
    width: 100%;
    display: block;
    text-align: left;
    margin: 0px;
  }
  header nav .menu_list>ul>li::after{
    content: "";
    position: absolute;
    right: 18px;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(-45deg);
  }
  header nav .menu_list>ul>li:not(:last-child){
    border-bottom: 1px solid #e7f2fc;
  }

  header nav .menu_list>ul>li>a {
    padding: 20px 2em;
    display: block;
  }
  header nav .menu_list>ul>li:hover>a,
  header nav .menu_list>ul>li.active>a {
    color: #fff;
  }
  header nav .menu_list>ul>li:hover a::after,
  header nav .menu_list>ul>li.active a::after {
    width: 0;
  }

  header nav .menu_other{
    display: block;
    padding: 20px 0 0 1em;
  }
  header nav .menu_other a{
    position:relative;
    margin-bottom: 1.5em;
    color: #2864c8;
    display: table;
  }
  header nav .menu_other a::after{
    content: "";
    position: absolute;
    right: -1em;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-right: 1px solid #2864c8;
    border-bottom: 1px solid #2864c8;
    transform: rotate(-45deg);
  }

  header .panel {
    background-color: #2864c8;
    border-radius: 50%;
    display: block;
  }
  header nav.active .panel {
    background-color: #fff;
    z-index: 999;
  }

  header .panel .menu-trigger {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  header .panel .menu-trigger {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    width: 30px;
    height: 16px;
  }

  header .panel .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 65%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
  }
  header nav.active .panel .menu-trigger span {
    background-color: #2864c8;
  }

  header .panel .menu-trigger span:nth-of-type(1) {
    top: 0;
  }

  header .panel .menu-trigger span:nth-of-type(2) {
    top: 7px;
  }

  header .panel .menu-trigger span:nth-of-type(2):after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    transition: all .4s;
  }
  header nav.active .panel .menu-trigger span:nth-of-type(2):after {
    background-color: #2864c8;
  }

  header .panel .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  header .panel .menu-trigger.active span:nth-of-type(1) {
    transform: translate(50%) scale(0);
    visibility: hidden;
  }

  header .panel .menu-trigger.active span:nth-of-type(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  header .panel .menu-trigger.active span:nth-of-type(2):after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  header .panel .menu-trigger.active span:nth-of-type(3) {
    transform: translate(-50%) scale(0);
    visibility: hidden;
  }

}


/*
** FOOTER
 */
footer {
  position: relative;
  width: 100%;
  background-color: #2864c8;
  height: 85px;
  display: flex;
  align-items: center;
}
footer .common--wrapper{
  max-width: calc(1130px + 10%);
  width: 90%;
  padding: 0 5%;
  box-sizing: border-box;
}
footer nav > div,
footer nav > div ul{
  display: flex;
  justify-content: space-between;
}
footer nav > div ul li{
  margin-right: 25px;
}
footer nav > div ul a,
footer nav > div .copy{
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  font-size: 1.2rem;
}

footer #totop {
  width: 85px;
  height: 85px;
  display: block;
  position:absolute;
  right: 0px;
  bottom: 0px;
  background-color: #5383d3;
}

footer #totop::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: calc(50% - 6px);
  width: 18px;
  height: 18px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-135deg);
}

@media screen and (max-width: 1100px) {
  footer {
    height: auto;
  }
  footer nav > div{
    justify-content: center;
  }
  footer nav > div ul{
    display: none;
  }
  footer #totop{
    display: none;
  }
  footer nav > div .copy{
    padding: 2em 0;
  }
}


/*
** コンテンツ
 */

.common--wrapper {
  max-width: 1130px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}
.common_mainhead{
  background-color: #e7f2fc;
  padding: 175px 0 45px;
}
.common_mainhead h2{
  font-size: 5.2rem;
  font-weight: bold;
  color: #2864c8;
}
.common_maincontent{
  padding: 60px 0 200px;
  font-size: 1.5rem;
}
@media screen and (max-width: 1100px) {
  .common_mainhead{
    padding: 100px 0 25px;
  }
  .common_mainhead h2{
    font-size: 3.2rem;
    width: 95%;
    margin: 0 auto;
  }
  .common_maincontent{
    padding: 30px 0 160px;
    width: 95%;
    margin: 0 auto;
  }
}

/*
** ボタン
 */

.btn__common {
  min-width: 270px;
  position: relative;
  display:inline-flex;
  justify-content: center;
  align-items: center;
  color: #2864C8;
  box-sizing: border-box;
  padding: 1.1em 1em;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: .3s;
  cursor: pointer;
  background-color: #eaf0fa;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0);
  line-height: 1em;
}
.btn__common:hover{
  background-color: #2864c8;
  color: #fff;
}
.btn__common span::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid #2864C8;
  border-bottom: 1px solid #2864C8;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transition: .3s;
}
.btn__common:hover span::after {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.btn__common.size_small{
  min-width: 200px;
}

.btn__common.type_blue{
  background-color: #2864c8;
  color: #fff;
}
.btn__common.type_blue span::after{
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.btn__common.type_blue:hover{
  color: #2864C8;
  background-color: #eaf0fa;
  border: 1px solid #2864c8;
}
.btn__common.type_blue:hover span::after {
  border-right: 1px solid #2864C8;
  border-bottom: 1px solid #2864C8;
}
.btn__common.type_white{
  background-color: #ffffff;
  color: #2864C8;
}
.btn__common.type_white:hover{
  background-color: #2864C8;
  color: #fff;
}
.btn__common.type_orange{
  background-color: #fb8654;
  color: #fff;
}
.btn__common.type_orange:hover{
  background-color: #fff;
  color: #fb8654;
  border: 1px solid #fb8654;
}
.btn__common.type_orange span::after{
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.btn__common.type_orange:hover span::after{
  border-right: 1px solid #fb8654;
  border-bottom: 1px solid #fb8654;
}
.btn__common.icon_download span::after {
  background: url("../images/icon_download.svg")center no-repeat;
  width: 17px;
  height: 18px;
  right: 13px;
  border: none;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
.btn__common.icon_download:hover span::after{
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}


/*
** チャット
 */
#eye_catcher{
  position:fixed;
  right: 2.5%;
  bottom: 22px;
  background: url("../images/eyecatcher_pc.png")center no-repeat;
  background-size: contain;
  width: 320px;
  height: 100px;
  filter: drop-shadow(6px 6px 8px rgba(0, 0, 0, 0.2));
  z-index: 100;
}
#eye_catcher.absolute{
  position: absolute;
  bottom: inherit;
  top: -122px;
}
@media screen and (max-width: 1100px) {
  #eye_catcher{
    background: url("../images/eyecatcher_sp.png")center no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    bottom: 20px;
  }
}
