@charset "utf-8";
header {
	font-family: 'Noto Sans Japanese', sans-serif;
}

/* h1 非表示 */
.header > h1 {
  display: none;
}

/* body noscroll */
html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

/*==============================*/
/* header */
/*==============================*/
.header-wrap {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}
.header-wrap * {
  box-sizing: border-box;
}
.header-inner {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background-color: #fff;
}
.header-inner_left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-inner_right {
  display: flex;
  align-items: center;
}
@media (min-width: 1280px) {
	.header-inner_right {
		gap: 20px;
	}
}
@media (max-width: 1279px) {
  .header-wrap {
    height: 60px;
  }
  .header-inner_left {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    height: 60px;
    padding: 0 20px;
  }
}

/* ロゴ */
.header-logo {
	margin-top: 0;
}
@media (min-width: 600px) {
  .header-logo {
    transition: opacity 0.5s ease;
  }
  .header-logo:hover {
    opacity: 0.7;
  }
}
@media screen and (max-width: 768px) {
	.header-logo img {
		transform: scale(1);
		left: 0;
		top: 0;
  }
}
@media (max-width: 600px) {
  .header-logo img {
    height: 24px!important;
		transform: scale(1);
		left: 0;
		top: 0;
  }
}

/* グロナビ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-nav > li {
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  transition: color 0.5s ease;
  cursor: pointer;
  color: #333;
}
.header-nav > li:hover {
  color: #2d29b6;
}
.header-nav > li.is-active {
  color: #2d29b6;
}
@media (max-width: 1279px) {
  .header-nav {
    display: none;
  }
}

/* 検索 */
.header-seach-box form.rs_seach {
  width: 200px;
  position: relative;
  vertical-align: top;
}
.header-seach-box input[type="text"] {
  display: block;
  margin: 0;
  width: 100%;
  height: 36px;
  padding: 5px 36px 5px 10px;
  border: 1px solid #f2f2f8;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  position: relative;
  color: #333;
}
.header-seach-box input[type="text"]::placeholder {
  color: ccc;
}
.header-seach-box input[type="text"]:focus {
  outline: none;
  background-color: #f2f2f8;
  border-color: #2d29b6;
}
.header-seach-box input[type="submit"] {
  background-color: transparent;
  width: 36px;
  height: 36px;
  position: relative;
  background-image: url(/common/img/share/ico_header_seach.svg);
  background-repeat: no-repeat;
  background-size: 16px auto;
  background-position: center;
  border: none;
  position: absolute;
  top: 1px;
  right: 0;
  margin: 0;
  cursor: pointer;
}
.header-seach_btn {
  width: 20px;
  height: 20px;
  background-image: url(/common/img/share/ico_header_seach.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}
.header-seach_btn.is-active {
  background-image: url(/common/img/share/ico_header_close.svg);
}
.header-seach_btn:hover {
  opacity: 0.7;
}
@media (min-width: 600px) {
  .header-seach-box input[type="submit"] {
    transition: opacity 0.5s ease;
  }
  .header-seach-box input[type="submit"]:hover {
    opacity: 0.7;
  }
}
@media (min-width: 1280px) {
  .header-seach_btn {
    display: none;
  }
}
@media (max-width: 1279px) {
  .header-seach-box form.rs_seach {
    display: none;
  }
}

/* 検索メニュー */
.header-search_content {
  display: none;
  width: 100%;
  background-color: #f2f2f8;
  border-top: 1px solid #f2f2f8;
  padding: 10px 30px;
}
.header-search_content.is-active {
  display: block;
}
.header-search_content .rs_seach {
  width: 100%;
  position: relative;
  vertical-align: top;
}
.header-search_content input[type="text"] {
  display: block;
  margin: 0;
  width: 100%;
  height: 40px;
  padding: 10px 40px 10px 10px;
  border: 1px solid #2d29b6;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  position: relative;
  color: #333;
}
.header-search_content input[type="text"]::placeholder {
  color: ccc;
}
.header-search_content input[type="text"]:focus {
  outline: none;
  border-width: 2px;
}
.header-search_content input[type="submit"] {
  background-color: transparent;
  width: 40px;
  height: 40px;
  position: relative;
  background-image: url(/common/img/share/ico_header_seach.svg);
  background-repeat: no-repeat;
  background-size: 20px auto;
  background-position: center;
  border: none;
  position: absolute;
  top: 1px;
  right: 0;
  margin: 0;
  cursor: pointer;
}
@media (min-width: 600px) {
  .header-search_content input[type="submit"] {
    transition: opacity 0.5s ease;
  }
  .header-search_content input[type="submit"]:hover {
    opacity: 0.7;
  }
}
@media (max-width: 600px) {
	.header-search_content input[type="text"] {
		font-size: 16px;                            /* 実フォントサイズ（iOSズーム防止） */
		transform: scale(0.875);                    /* 視覚上 14px に縮小 */
		transform-origin: left top;                 /* 左上基準で縮小 */
		width: calc(100% / 0.875);                  /* スケーリング分を相殺 → 見た目100%に */
		height: calc(40px / 0.875);                 /* 見た目の40pxを維持 */
	}
}

/* 言語 */
.header-language {
  display: flex;
}
.header-language > li > a,
.header-language > li > span {
  width: 40px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  border: 1px solid #2d29b6;
}
.header-language > li > span {
  background-color: #2d29b6;
  color: #fff;
}
@media (min-width: 600px) {
  .header-language > li > a {
    transition: background-color 0.5s ease, color 0.5s ease;
  }
  .header-language > li > a:hover {
    background-color: #2d29b6;
    color: #fff;
  }
}
@media (max-width: 1279px) {
  .header-inner .header-language {
    display: none;
  }
}

/* ご契約中のお客様 */
.header-customer {
  color: #333;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.header-customer::after {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background-image: url(/common/img/share/ico_header_arrow_customer.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media (min-width: 600px) {
  .header-customer {
    transition: opacity 0.5s ease;
  }
  .header-customer:hover {
    opacity: 0.7;
  }
}
@media (max-width: 1279px) {
  .header-customer {
    display: none;
  }
}

/* ご契約中のお客様メニュ- */
.header-customer_content {
  display: none;
  position: absolute;
  top: 85.5px;
  right: 10px;
  padding: 40px 35px 35px;
  background-color: #fff;
  border-radius: 10px;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
}
.header-customer_content.is-active {
  display: inline-block;
}
.header-customer_content::before {
  background-color: #fff;
  content: "";
  height: 25px;
  position: absolute;
  width: 40px;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  right: 8px;
  top: -13px;
}
.header-customer_ttl {
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 15px;
}
.header-customer_nav:not(:last-child) {
  border-bottom: 2px solid #f2f2f8;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.header-customer_nav > li {
  font-size: 14px;
  line-height: 1;
}
.header-customer_nav:last-child > li:last-child {
  margin-bottom: 0;
}
.header-customer_nav > li > a {
	padding: 5px;
	display: block;
	border-radius: 5px;
}
.header-customer_nav > li > a:hover {
  color: #2d29b6;
  background-color: #f2f2f8;
	opacity: 1;
}

/* ハンバーガーボタン */
.header-btn {
  position: relative;
  width: 20px;
  height: 16px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.5s;
}
.header-btn > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  display: inline-block;
  transition: all 0.5s;
  border-radius: 2px;
}
.header-btn > span:nth-of-type(1) {
  top: 0;
}
.header-btn > span:nth-of-type(2) {
  top: 7px;
}
.header-btn > span:nth-of-type(3) {
  bottom: 0;
}
.header-btn.is-open > span:nth-of-type(1) {
  transform: translateY(7px) rotate(-30deg);
}
.header-btn.is-open > span:nth-of-type(2) {
  opacity: 0;
}
.header-btn.is-open > span:nth-of-type(3) {
  transform: translateY(-7px) rotate(30deg);
}
@media (min-width: 1280px) {
  .header-btn {
    display: none;
  }
}

/* オーバーレイ */
.overlay {
  opacity: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease;
}
.overlay.is-active {
  opacity: 1;
}
@media (max-width: 600px) {
  .overlay {
    display: none;
  }
}

/*==============================*/
/* メガメニュー */
/*==============================*/
/* Lv1 */
#gnav {
  display: none;
}
#gnav.is-active {
  display: block;
}
/* Lv2 */
.header-slideMenu_wrap {
  display: none;
  border-top: 1px solid #e7eaef;
}
.header-slideMenu_wrap.is-active {
  display: flex;
}
.header-slideMenu {
  background-color: #fff;
  width: 480px;
  min-width: 480px;
  height: calc(100vh - 96px);
  padding: 80px 60px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid #e7eaef;
}
.header-slideMenu > * {
  display: none;
}
.header-slideMenu > *.is-active {
  display: block;
}
.header-slideMenu_ttl {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  padding: 0 10px;
}
.header-slideMenu_nav {
  border-bottom: 2px solid #e7eaef;
  margin-bottom: 30px;
  padding-bottom: 10px;
}
.header-slideMenu_nav > li {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000;
  border-radius: 10px;
  cursor: pointer;
}
.header-slideMenu_nav > li[data-menu] {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-slideMenu_nav > li[data-menu]::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(/common/img/share/ico_header_arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.header-slideMenu_nav > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
	font-size: 16px;
	font-family: 'Noto Sans Japanese', sans-serif;
}
.header-slideMenu_nav > li > span {
  display: flex;
  align-items: center;
}
.header-slideMenu_nav > li img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}
.header-slideMenu_nav > li.is-disabled {
	opacity: .3;
}
.header-slideMenu_nav > li.is-disabled,
.header-slideMenu_nav > li.is-disabled > a {
	pointer-events: none;
}
@media (min-width: 1280px) {
  .header-slideMenu_nav > li.is-active {
    color: #2d29b6;
    background-color: #f2f2f8;
  }
}
@media (min-width: 600px) {
	.header-slideMenu_nav > li:hover {
    color: #2d29b6;
    background-color: #f2f2f8;
  }
  .header-slideMenu_nav > li > a:hover {
    opacity: 1;
  }
}
@media (max-width: 1279px) {
  .header-slideMenu_wrap {
    position: relative;
  }
  .header-slideMenu {
    width: 100%;
    max-width: 480px;
    z-index: 1;
  }
  #gnav .header-slideMenu_nav > li[data-menu] {
    font-weight: bold;
  }
}
@media (max-width: 600px) {
  .header-slideMenu {
    min-width: 100%;
    max-width: 100%;
    padding: 20px 20px 40px;
    height: 100%;
    max-height: calc((var(--vh, 1vh) * 100) - 60px);
    height: calc((var(--vh, 1vh) * 100) - 60px);
  }
  .header-slideMenu_nav {
    margin-bottom: 20px;
  }
  .header-slideMenu_nav > li[data-menu] {
    padding: 11px 0;
    margin-bottom: 10px;
  }
  #gnav .header-slideMenu_nav > li[data-menu] {
    font-size: 18px;
  }
  .header-slideMenu_nav > li img {
    height: 25px;
  }
}

/* Lv3 */
.header-slideSubMenu {
  background-color: #f2f2f8;
  width: 0;
  height: calc(100vh - 96px);
  overflow-y: scroll;
}
.header-slideSubMenu.is-active {
  width: 410px;
  min-width: 410px;
  padding: 80px 40px;
}
.header-slideSubMenu > * {
  display: none;
}
.header-slideSubMenu > *.is-active {
  display: block;
}
.header-slideSubMenu_ttl {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.header-slideSubMenu_ttl img {
  width: auto;
  height: 30px;
  margin-right: 10px;
}
.header-slideSubMenu .header-slideMenu_nav {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.header-slideMenu_footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.header-slideMenu_footer > a {
  color: #333;
  font-size: 14px;
}
@media (min-width: 600px) {
  .header-slideMenu_footer > a {
    transition: color 0.5s ease;
  }
  .header-slideMenu_footer > a:hover {
    color: #2d29b6;
  }
}
@media (max-width: 1279px) {
  .header-slideSubMenu {
    background-color: #fff;
    z-index: 2;
  }
  .header-slideSubMenu.is-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 480px;
    max-width: 480px;
  }
  .header-slideMenu_footer {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .header-slideSubMenu.is-active {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 20px 20px 40px;
  }
  .header-slideSubMenu_ttl {
    padding: 0;
    margin-bottom: 20px;
    font-size: 18px;
  }
  .header-slideSubMenu_ttl img {
    height: 20px;
  }
}

/* メニューバックボタン */
.header-slideMenu_back {
  display: none;
}
@media (max-width: 1279px) {
  .header-slideMenu_back {
    display: inline-flex;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 11px 10px;
  }
  .header-slideMenu_back::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(/common/img/share/ico_header_arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(180deg);
    margin-right: 5px;
  }
}
@media (min-width: 600px) {
	.header-slideMenu_back {
		transition: opacity .5s ease;
	}
	.header-slideMenu_back:hover {
		opacity: .7;
	}
}
@media (max-width: 600px) {
  .header-slideMenu_back {
    padding: 11px 0;
  }
  .header-slideMenu_ttl {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 0;
  }
  .header-slideMenu_nav > li {
    padding: 10px 0;
    margin-bottom: 10px;
    font-size: 14px;
  }
}
