@charset "UTF-8";

/* ---------------
固定header分
---------------- */
html {
  scroll-behavior: auto;
  scroll-padding-top: 10rem;
}
html.smooth {
  scroll-behavior: smooth;
}

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

ヘッダー

----------------------------- */
header a {
	color: #000;
}

.header-sp {
  position: fixed;
  width: 100%;
  height: auto;
  padding: 1.5rem 0;
  background: #fff;
  z-index: 99999;
}
.header-sp h1{
  padding: 0 1.5rem;
  position: relative;
  z-index: 9999;
}
.header-sp h1 a{
  display: block;
  width: 60%;
}
.header-sp h1 img {
  display: block;
  width: 12rem;
}

/* PC版 非表示 --- */
.header-pc{
  display: none;
}


/* ハンバーガーメニュー SP
----------------------------- */
header nav.hamNav .gnavBtn {
  display: block;
  width: 6.4rem;
  height: 6.8rem;
  background: #d2cdf9;
  border-radius: 0 0 0 3rem;
  padding: 1.5rem 2rem 1.5rem 2.4rem;
  border: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
}
header nav.hamNav .gnavBtn div {
  width: 100%;
  height: 100%;
  position: relative;
}
header nav.hamNav .gnavBtn span{
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: var(--blue);
  position:absolute;
  width: 100%;
  left: 0;
  transition: 0.5s;
  transition-delay: 0.1s;
}
header nav.hamNav .gnavBtn span:nth-child(1){
  top:0;
}
header nav.hamNav .gnavBtn span:nth-child(2){
  top:0.6rem;
}
header nav.hamNav .gnavBtn span:nth-child(3){
  top:1.3rem;
}

/* 3本線 アクティブ SP -------- */
header nav.hamNav .gnavBtn.active span{
  background: var(--blue);
}
header nav.hamNav .gnavBtn.active span:nth-child(1) {
  top: 0.7rem;
  transform: rotate(135deg);
}
header nav.hamNav .gnavBtn.active span:nth-child(2) {
  width: 0;
  left: 50%;
}
header nav.hamNav .gnavBtn.active span:nth-child(3) {
  top: 0.7rem;
  transform: rotate(-135deg);
}

header nav.hamNav .gnavBtn div::after{
  display: block;
  content: "MENU";
  padding: 0.5rem 0 0;
  letter-spacing: 0.05em;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  position:absolute;
  width: 100%;
  top: 48%;
  left: -5px;
  transition: 0.5s;
  transition-delay: 0.1s;
}
header nav.hamNav .gnavBtn.active div::after{
  content: "CLOSE";
}

/* メニュー SP 
------------------------------ */
header nav.hamNav .spMenu {
  width: 100vw;
  height: 100vh;
  padding: 10rem 15% 0;
  background: #fff;
  position: fixed;
  top: -100vh;
  left: 0;
  z-index: 999;
  opacity: 0;
  transition: opacity .3s linear;
}
/* .spMenu.active -------------- */
header nav.hamNav .spMenu.active {
  top: 0;
  pointer-events: auto;
  opacity: 1;
}
header nav.hamNav .spMenuWrap {
  max-width: 62rem;
  margin: 0 auto;
}

header nav.hamNav .spMenuWrap ul.gNav-sp li a {
  display: block;
  height: 6.8rem; 
  line-height: 6.8rem;
  letter-spacing: 0.05em;  
  padding: 0 0 0 3rem;
  border-bottom: 1px solid #ccc;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  background: url(../img/arrow-bgblue-white.svg) no-repeat left center;
  background-size: 1.6rem;
}

/* その他メニュー SP -------- */
header nav.hamNav .spMenuWrap ul.subNav-sp{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 0 0;
}
header nav.hamNav .spMenuWrap ul.subNav-sp li{
  width: 49%;
}
header nav.hamNav .spMenuWrap ul.subNav-sp li:last-child{
  width: 100%;
  padding: 2rem 0 0;
}
header nav.hamNav .spMenuWrap ul.subNav-sp li a{
  display: block;
  padding: 1rem 0;
  text-align: center;
  border-radius: 10rem;
  color: #04012c;
  background: var(--lblue);
  font-size: 1.6rem;
  font-weight: 500;
}
header nav.hamNav .spMenuWrap ul.subNav-sp li a:hover{
  color: #fff;
  background: var(--blue);
}
header nav.hamNav .spMenuWrap ul.subNav-sp li input{
  display: block;
  width: 100%;  
  padding: 2rem 1rem 2rem 5rem;
  letter-spacing: 0.05em;
  border: 0.1rem solid #ccc;
  border-radius: 10rem;
  background: url(../img/common-icon-seach.svg) no-repeat 7% center;
  background-size: 2rem;
  font-size: 1.4rem;
}

/* 下層ページのメインビジュアルの上に固定headerの高さを追加 */
.mainVizPage {
  padding-top: 63px;
}



/*----------------------------------------------------
PC 1000- 
----------------------------------------------------*/
@media screen and (min-width:1000px) {

  /* ---------------------------
  ヘッダー 1000
  ----------------------------- */
  .header-sp {
    display: none;
  }
  /* PC版 表示 --- */
  .header-pc{
    display: block;
  }  

  /* PC メニュー
  ---------------------------- */
  .header-pc {    
    width: 100%;
    height: auto;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
  }
  .header-pc-in {
    max-width: 146rem;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
  }
  .header-pc-in h1 {  
    width: 18.5rem;
    position: absolute;
    top: 1rem;
    left: 3rem;
  }

  /* その他メニュー 1000 ---------- */
  .header-pc-in nav.subNav-pc{
    width: 52%;
    margin: 0 0 0 auto;
    padding: 1.5rem 0 0;
  }
  .header-pc-in nav.subNav-pc ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .header-pc-in nav.subNav-pc ul li{
    width: 24%;
  }
  .header-pc-in nav.subNav-pc ul li:last-child{
    width: 48%;
  }
  .header-pc-in nav.subNav-pc ul li a{
    display: block;
    padding: 0.5rem 0;
    text-align: center;
    border-radius: 10rem;
    color: #04012c;
    background: var(--lblue);
    font-size: 1.6rem;
    font-weight: 500;
  }
  .header-pc-in nav.subNav-pc ul li a:hover{
    color: #fff;
    background: var(--blue);
  }
  .header-pc-in nav.subNav-pc ul li input{
    display: block;
    width: 100%;  
    padding: 1.2rem 1rem 1.2rem 5rem;
    letter-spacing: 0.05em;
    border: 0.1rem solid #ccc;
    border-radius: 10rem;
    background: url(../img/common-icon-seach.svg) no-repeat 7% center;
    background-size: 2rem;
    font-size: 1.4rem;
  }

  /* メインメニュー 1000 ---------- */
  .header-pc-in nav.gNav-pc{
    padding: 2rem 0;
  }
  .header-pc-in nav.gNav-pc ul{
    display: flex;
    justify-content: space-between;
    padding: 0 0.2%;
  }
  .header-pc-in nav.gNav-pc ul li{
    width: 17%;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(2){
    width: 19%;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(3){
    width: 12%;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(4){
    width: 18%;
  }

  .header-pc-in nav.gNav-pc ul li:first-child a{
    border-left: 1px solid #bfbdd8;
  }
  .header-pc-in nav.gNav-pc ul li a{
    display: block;  
    padding: 1.5rem 0;
    text-align: center;  
    border-right: 1px solid #bfbdd8;
    font-size: 1.8rem;
    font-weight: 600;
    background: none 1% center;

  }
  .header-pc-in nav.gNav-pc ul li a:hover{
    font-weight: 700;
    color: var(--blue);
    background: url(../img/arrow-bgblue-white.svg) no-repeat 3% center;
    background-size: 1.6rem;
  }

  /* マウスオーバー　矢印調整 1000 ------*/
  .header-pc-in nav.gNav-pc ul li:nth-child(3) a{
    background: none 19% center;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(3) a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 20% center;
    background-size: 1.6rem;
  }

  .header-pc-in nav.gNav-pc ul li:nth-child(4) a,
  .header-pc-in nav.gNav-pc ul li:last-child a{
    background: none 12% center;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(4) a:hover,
  .header-pc-in nav.gNav-pc ul li:last-child a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 14% center;
    background-size: 1.6rem;
  }


  /* 下層ページのメインビジュアルの上に固定headerの高さを追加 */
  .mainVizPage {
    padding-top: 159px;
  }


}


/*----------------------------------------------------
PC 1400- 
----------------------------------------------------*/
@media screen and (min-width:1400px) {

  /* PC メニュー
  ---------------------------- */
  .header-pc {    
/*    height: 16.5rem;*/
  }
  .header-pc-in h1 {  
    width: 24.5rem;
    top: 2rem;
    left: 3rem;
  }

  /* その他メニュー 1400 ---------- */
  .header-pc-in nav.subNav-pc{
    width: 48%;
    padding: 3rem 0 0;
  }
  .header-pc-in nav.subNav-pc ul li a{
    padding: 0.8rem 0;
    font-size: 1.8rem;
  }


  /* メインメニュー 1400 ---------- */
  .header-pc-in nav.gNav-pc{
    padding: 2.5rem 0 2rem;
  }
  .header-pc-in nav.gNav-pc ul li{
    width: 16.6%;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(2),
  .header-pc-in nav.gNav-pc ul li:nth-child(3),
  .header-pc-in nav.gNav-pc ul li:nth-child(4){
    width: 16.6%;
  }
  .header-pc-in nav.gNav-pc ul li a{
    padding: 1rem 0;
    font-size: 2rem;
    background: none 5% center;
  }
  .header-pc-in nav.gNav-pc ul li a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 10% center;
    background-size: 2rem;
  }

  /* マウスオーバー　矢印調整 1400 -----*/
  .header-pc-in nav.gNav-pc ul li:nth-child(3) a{
    background: none 30% center;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(3) a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 32% center;
    background-size: 2rem;
  }

  .header-pc-in nav.gNav-pc ul li:nth-child(4) a{
    background: none 16% center;
  }
  .header-pc-in nav.gNav-pc ul li:nth-child(4) a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 18% center;
    background-size: 2rem;
  }

  .header-pc-in nav.gNav-pc ul li:last-child a{
    background: none 16% center;
  }
  .header-pc-in nav.gNav-pc ul li:last-child a:hover{
    background: url(../img/arrow-bgblue-white.svg) no-repeat 18% center;
    background-size: 2rem;
  }


  /* 下層ページのメインビジュアルの上に固定headerの高さを追加 */
  .mainVizPage {
    padding-top: 179px;
  }


}