#header {
  background-color: rgba(255,255,255,1.0);
/*  box-shadow: 0 0 10px 1px rgba(0,0,0,0.2);*/
  line-height: 1.4;
  position: relative;
  z-index: 100;
}

/* ---------- PC版（ブラウザ幅1200px以上）ここから ---------- */

@media screen and (min-width: 1200px) {

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 11rem;
  border-bottom: 1px solid #f0f0f0;
}

#headerContainer {
  max-width: 125rem;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: calc((100% * 0.627) - 43.358rem) 1fr; /* ヘッダは、まず2列に区切っている。左から、会社ロゴと、メガメニュー（の第一階層）＋それ以外（会社情報等とお問い合わせ等） */
  grid-template-areas:
    "headerContainer_01 headerContainer_02";
  display: -ms-grid; /* 以下3行はIE用の設定 */
  -ms-grid-rows: auto;
  -ms-grid-columns: 32.5rem 1fr 0;
}

#headerLogoContainer           { grid-area: headerContainer_01; -ms-grid-row: 1; -ms-grid-column: 1; } /* 以下2行もIE用の設定（何行目の何列目なのか） */
#headerContainer #gnav_wrapper { grid-area: headerContainer_02; -ms-grid-row: 1; -ms-grid-column: 2; }

#gnav_wrapper {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 0; /* さらに、headerContainer_02 = #gnav_wrapper を、メガメニュー（の第一階層）と、それ以外（会社情報等とお問い合わせ等）の2列に区切っている。 */
  grid-template-areas:
    "headerContainer_02_01 headerContainer_02_02";
  display: -ms-grid; /* 以下3行はIE用の設定 */
  -ms-grid-rows: auto;
  -ms-grid-columns: 1fr 0;
}

#headerContainer #gnav01_wrapper { grid-area: headerContainer_02_01; -ms-grid-row: 1; -ms-grid-column: 1; } /* 以下2行もIE用の設定（何行目の何列目なのか） */
#headerContainer .gnav02_wrapper { grid-area: headerContainer_02_02; -ms-grid-row: 1; -ms-grid-column: 2; }

#headerLogo {
  width: 30rem;
  height: 11rem;
  display: flex;
  align-items: center;
  padding: 0.8rem 3.5rem 0 2.5rem;
}

#headerLogo img {
  max-width: 270px;
  margin: auto;
}

#headerMenuBtn {
  display: none; /* ハンバーガーメニュー非表示 */
}

#headerContainer #gnav01_wrapper { 
  margin-bottom: 0;
}

#headerContainer .gnav02_wrapper { 
  position: relative;
}

#headerContainer .gnav01_level01 { /* .gnav01_level01 は、メガメニューの第一階層（のulに付与したクラス）*/
  display: inline-block;
  margin: 4.9rem auto 0 0;
}

#headerContainer .gnav01_level01 > li { /* メガメニューの第一階層のボタン */
  display: inline-block;
}

#headerContainer .gnav01_level01 > li.currentDirectory > a { /* 現在地表示用の position: relative; */
  position: relative;
}

#headerContainer .gnav01_level01 > li.currentDirectory > a:after { /* 現在地表示 */
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 0.5rem;
  background-color: #00b2ae;
}

#headerContainer .gnav01_level01 > li > a {
  position: relative;
  display: block;
  font-size: 1.4rem;
  line-height: 1.9rem;
  font-weight: 500;
  padding: 2.1rem 1.2rem;
  cursor: pointer;
  transition-duration: 0.25s;
}

#headerContainer .gnav01_level01 > li > a:before { /* マウスオーバー用の設定（非マウスオーバー時の設定） */
  content: "";
  display: block;
  width: 100%;
  height: 0;
  position: absolute;
  left: 0;
  bottom: 0; /* マウスアウトする時には下に縮む */
  opacity: 0;
  background-color: #00b2ae;/* マウスオーバー時の背景色 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスアウト時） */
  z-index: 1; /* 文字より背面に表示 */
}

#headerContainer .gnav01_level01 > li > a.hover:before { /* マウスオーバー用の設定（マウスオーバー時の設定） */
  height: 100%; /* 高さ0から100%に変化 */
  top: 0; /* 上から伸びる */
  opacity: 1; /* 透過から非透過 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスオーバー時） */
}

#headerContainer .gnav01_level01 > li > a .innerText { /* ボタンの文字 */
  position: relative; /* z-index を有効にするための position: relative; */
  z-index: 2; /* 背景色より前面に表示 */
}

#headerContainer .gnav01_level01 > li > a .innerTextJirei { /* 全角2文字の場合の調整 */
  letter-spacing: 0.2em;
  padding: 0 1em 0 1.2em;
}

#headerContainer .gnav01_level01 > li > a .innerTextService { /* 全角4文字の場合の調整 */
  padding: 0 0.5em;
}

#headerContainer .gnav01_level01 > li > a .innerTextGisdata { /* 半角3文字＋全角3文字の場合の調整（全角4文字より狭くなってしまったので） */
  padding: 0 0.2em;
}

#headerContainer .gnav01_level01 > li > a.hover .innerText {
  color: #ffffff; /* マウスオーバー時の文字色 */
}

#headerContainer .gnav01_megamenu_wrapper { /* メガメニュー（の背景） */
  position: absolute;
  left: 0;
  top: 11rem; /* メガメニューの上端はグロナビの下端 */
  background: linear-gradient(90deg,#b1ddde 0%,#b1ddde 50%,#f7f8f8 50%,#f7f8f8 100%); /* 要素に合わせた背景色（高さが伸びた時におかしくないように） */
  width: 100%;
  display: none;
}

#headerContainer .gnav01_megamenu_wrapper_boxseries { /* メガメニュー（の背景） */
  background: #f7f8f8;
}

#gnav_inquiry { /* お問い合わせボタン */
  font-size: 1.3rem;
  line-height: 2.3rem;
  font-weight: 600;
  display: block;
  position: absolute;
  right: 2.5rem;
  bottom: 1.5rem;
  width: 15rem;
  background-color: #ff7a1c;
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 0 0.7rem;
}

#gnav_inquiry .innerText { /* ボタン内の文字 */
  position: relative; /* z-index を有効にするための position: relative; */
  z-index: 2; /* 背景色より前面に表示 */
}

#gnav_inquiry:after { /* マウスオーバー用の設定（非マウスオーバー時の内容） */
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* 左が固定（左から伸びて、左に縮む） */
  width: 0;
  height: 100%;
  background-color: #ffb885; /* マウスオーバー時の背景色 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスアウト時） */
  z-index: 1; /* 文字より背面に表示 */
}

#gnav_inquiry:hover:after {
  width: 100%; /* 0 → 100%に変化 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスオーバー時） */
}

#gnav_trial { /* 無料トライアルボタン */
  font-size: 1.3rem;
  line-height: 2.3rem;
  font-weight: 600;
  display: block;
  position: absolute;
  right: 19.0rem;
  bottom: 1.5rem;
  width: 15rem;
  background-color: #109189;
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 0 0.7rem;
}

#gnav_trial .innerText { /* ボタン内の文字 */
  position: relative; /* z-index を有効にするための position: relative; */
  z-index: 2; /* 背景色より前面に表示 */
}

#gnav_trial:after { /* マウスオーバー用の設定（非マウスオーバー時の内容） */
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* 左が固定（左から伸びて、左に縮む） */
  width: 0;
  height: 100%;
  background-color: #63c0ba; /* マウスオーバー時の背景色 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスアウト時） */
  z-index: 1; /* 文字より背面に表示 */
}

#gnav_trial:hover:after {
  width: 100%; /* 0 → 100%に変化 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスオーバー時） */
}

.gnav02_container { /* 会社情報からメールマガジン登録 */
  position: absolute;
  right: 1.2rem;
  top: 2.0rem;
  width: 100rem; /* かなり余裕を持たせた幅設定 */
  text-align: right; /* 右詰め */
}

.gnav02_container li {
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 400;
  color: #727272;
  display: inline-block;
  border-left: 0.1rem solid #727272;
}

.gnav02_container li:first-of-type { /* 最初の要素の左側の線は表示しない */
  border-left: none;
}

.gnav02_container li a {
  color: #727272;
  padding: 1.4rem;
  vertical-align: 0.2rem;
  position: relative; /* 現在地表示用とマウスオーバー設定用の position: relative; */
}

.gnav02_container li.currentDirectory a:before { /* 現在地表示 */
  content: "";
  position: absolute;
  bottom: 0.7rem;
  left: 1.2rem;
  width: calc(100% - 2.4rem);
  height: 0.3rem;
  background-color: #00b2ae;
}

.gnav02_container li a:after { /* マウスオーバー用の設定（非マウスオーバー時の内容） */
  content: "";
  position: absolute;
  bottom: 0.9rem;
  left: 1.2rem; /* 左が固定（左から伸びて、左に縮む） */
  width: 0;
  height: 0.1rem;
  background-color: #727272; /* マウスオーバー時の背景色（下線の色） */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスアウト時） */
}

.gnav02_container li a:hover:after {
  width: calc(100% - 2.4rem); /* 0 → 100% - 2.4rem に変化 */
  transition-duration: 0.2s; /* 0.2秒で変化（マウスオーバー時） */
}

#gnav_search img { /* 検索アイコン */
  display: inline-block;
  width: 1.7rem;
  margin: 0 -0.2rem -0.2rem -0.3rem;
}

}

/* ---------- PC版（ブラウザ幅1200px以上）ここまで ---------- */

@media screen and (min-width: 1200px) {

#gnav_search .gnav_search_text { /* サイト内検索の文字 */
  display: none;
}

}

/* ---------- モバイル版（ブラウザ幅1200px未満）ここから ---------- */

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

#headerLogoContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 100;
  background-color: #ffffff;
}

#headerLogo {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#headerLogo img {
  height: 42px;
  width: auto;
}

#headerMenuBtn {
  position: absolute;
  top: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#headerMenuBtn div.headerMenuBtnPict, #headerMenuBtn div.headerMenuBtnPict span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}

#headerMenuBtn div.headerMenuBtnPict {
  position: absolute;
  top: 25px;
  left: calc(50% - 14px);
  width: 28px;
  height: 20px;
}

#headerMenuBtn div.headerMenuBtnPict span {
  position: absolute;
  left: 0;
  width: 28px;
  height: 4px;
  background-color: #009E96;
}

#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(1) { top: 0; }
#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(2) { top: 8px; }
#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(3) { bottom: 0; }

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict {
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(1) {
  -webkit-transform: translateY(8px) rotate(-45deg) scaleY(0.5);
  -moz-transform: translateY(8px) rotate(-45deg) scaleY(0.5);
  background-color: #009E96;
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(3) {
  -webkit-transform: translateY(-8px) rotate(45deg) scaleY(0.5);
  -moz-transform: translateY(-8px) rotate(45deg) scaleY(0.5);
  background-color: #009E96;
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(2) {
  opacity: 0;
}

#headerMenuBtn {
  width: 10vw;
}

#gnav_wrapper {
  position: fixed;
  top: 7rem;
  bottom: 4.9rem;
  left: 0;
  right: 0;
  overflow-y: scroll;
  background-color: #ffffff;
  display: none;
}

}

/* ---------- モバイル版（ブラウザ幅1200px未満）ここまで ---------- */





/* ---------- スマホ用の設定（ブラウザ幅560px未満）ここから ---------- */

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

#headerMenuBtn {
  width: 20vw;
}

}

/* ---------- スマホ用の設定（ブラウザ幅560px未満）ここまで ---------- */



/*************************************************************************************/
/********************            サイドボタン ここから            ********************/
/*************************************************************************************/

@media screen and (min-width: 1200px) {

#sideButtonContainer {
  position: fixed;
  right: 0;
  bottom: 8rem;
  animation: sideButtonFadeIn 1.0s cubic-bezier(0,.5,.5,1.0) forwards;
}

@keyframes sideButtonFadeIn {
  0% { transform: translateY(200%); }
  100% { transform: translateY(0); }
}

#sideButtonContainer ul li a {
  display: block;
  width: 7.5rem;
  height: 8rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.3rem;
  color: #ffffff;
  background-size: 3rem;
  background-position: center 1rem;
  background-repeat: no-repeat;
  padding: 4.0rem 0 0;
  transition: 0.2s;
}

#sideButtonInquiry a { background: url("/common/images/sideButtonInquiry.svg") #ff7a1c; }
#sideButtonMailMagazine a { background: url("/common/images/sideButtonMailMagazine.svg") #10639f; }
#sideButtonTrial a { background: url("/common/images/sideButtonTrial.svg") #009e96; }
#sideButtonBiginner a { background: url("/common/images/sideButtonBiginner.svg") #3f8abc; }
#sideButtonSearch a { background: url("/common/images/ico_search.svg") #ffffff; border: 1px solid #cccccc; color: #000000 !important; padding-top: 4.9rem !important; background-size: 2.4rem !important; background-position: center 1.7rem !important; }

#sideButtonContainer ul li a:hover {
  margin-left: -2rem;
  width: 9.5rem;
  transition: 0.2s;
}

}

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

#sideButtonContainer {
  position: fixed;
  left: 0;
  bottom: 0;
  animation: sideButtonFadeIn 1.0s cubic-bezier(0,.5,.5,1.0) forwards;
}

#sideButtonContainer br {
  display: none;
}

@keyframes sideButtonFadeIn {
  0% { transform: translateY(200%); }
  100% { transform: translateY(0); }
}

#sideButtonContainer ul {
  margin: 0;
}

#sideButtonContainer.scrollUp ul {
  margin-bottom: 0;
  transition: 0.2s;
}

#sideButtonContainer.scrollDown ul {
  margin-bottom: -2.1rem;
  transition: 0.2s;
}

#sideButtonContainer ul li {
  display: inline-block;
}

#sideButtonContainer ul li a {
  display: block;
  width: 20vw;
  height: 7rem;
  text-align: center;
  font-size: 1.0rem;
  line-height: 1.2rem;
  color: #ffffff;
  background-size: 3rem;
  background-position: center 1rem;
  background-repeat: no-repeat;
  padding: 4.8rem 0 0;
  transition: 0.2s;
}

#sideButtonInquiry a { background: url("/common/images/sideButtonInquiry.svg") #ff7a1c; }
#sideButtonMailMagazine a { background: url("/common/images/sideButtonMailMagazine.svg") #10639f; }
#sideButtonTrial a { background: url("/common/images/sideButtonTrial.svg") #009e96; }
#sideButtonBiginner a { background: url("/common/images/sideButtonBiginner.svg") #3f8abc; }
#sideButtonSearch a { background: url("/common/images/ico_search.svg") #ffffff; color: #000000 !important; background-size: 2.4rem !important; background-position: center 1.3rem !important; position: relative; }
#sideButtonSearch a::after { position: absolute; content: ""; top: 0; left: 0; right: 0; height: 1px; width: 100%; background-color: #cccccc; }

}

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

#sideButtonContainer ul li a {
  font-size: 2.5vw;
}

}

