/*layout*/
/*------------------------------------------------------------------------------*/
#wrapper {
  width: 100%;
  overflow: hidden;
  background: url("../image/common/bg.jpg") center;
}

.inner {
  width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.sp {
  display: none;
}

.tb {
  display: none;
}

.tb_sp {
  display: none;
}

.f12 {
  font-size: 12px;
}

.f16 {
  font-size: 16px;
}

.f18 {
  font-size: 18px;
}

.bold {
  font-weight: bold;
}

.in_bl {
  display: inline-block;
}

.v_m {
  display: table-cell;
  vertical-align: middle;
}

.flex01 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/*header*/
/*------------------------------------------------------------------------------*/
#top-head {
  position: fixed;
  width: 100%;
  margin: 0 auto;
  height: 100px;
  z-index: 100;
  background-color: #fff;
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.05);
}

#top-head #header_in {
  position: relative;
  height: 100%;
}

header h1 {
  height: 100px;
  display: table;
  position: absolute;
  top: 0;
  left: 2%;
}

header h1 a {
  display: table-cell;
  vertical-align: middle;
}

header h1 img {
  max-width: 155px;
}

header #h_tel {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
  left: calc(155px + 3%);
  bottom: -60px;
}

/*header #h_tel:before {
	position: absolute;
	content: '';
	top: calc(50% - 9px);
	right: 0;
	height: 18px;
	width: 1px;
	background: #013f98;
}*/
header #h_tel li {
  color: #013f98;
  font-size: 1.25vw;
  font-weight: bold;
  line-height: 1;
}

header #h_tel li + li {
  margin-left: 1%;
}

header #h_tel li:nth-child(1)::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../image/common/icon01.png") no-repeat;
  vertical-align: bottom;
  margin-right: 3px;
  margin-bottom: 2px;
}

header #h_tel li:nth-child(2)::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background: url("../image/common/icon02.png") no-repeat;
  vertical-align: bottom;
  margin-right: 3px;
  margin-bottom: 2px;
}

header #h_tel .tel,
header #h_tel a {
  color: #013f98;
}

.tel .num {
  font-size: 70%;
  margin-right: 5px;
  opacity: 1;
  -webkit-transition: 0.8s;
  transition: 0.8s;
}

/*	@media only screen and (max-width:1499px) {
		.tel .num{
			display: none; 
			opacity: 0;
		}
	}*/
header #h_menu01 {
  position: absolute;
  right: 411px;
  top: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header #h_menu01 li {
  font-size: 12px;
  display: table;
}

header #h_menu01 li + li {
  margin-left: 20px;
}

header #h_menu01 a {
  display: table-cell;
  vertical-align: middle;
  border-bottom: 2px solid #fff;
}

header #h_menu01 .current a,
header #h_menu01 a:hover {
  border-bottom: 2px solid #013f98;
}

header #h_menu02 {
  position: absolute;
  right: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 390px;
}

header #h_menu02 li {
  width: 33.333%;
  height: 100px;
  text-align: center;
  display: table;
  /*transition: all 0.3s;*/
}

header #h_menu02 a {
  padding: 5px;
  display: table-cell;
  vertical-align: middle;
  color: #fff;
}

header #h_menu02 li:nth-child(1) {
  background: #f18d00;
}

header #h_menu02 li:nth-child(2) {
  background: #009376;
}

header #h_menu02 a img {
  max-width: 100%;
  width: auto;
  height: auto;
  margin-top: 10px;
}

header #h_menu02 li:nth-child(3) {
  background: #d52f52;
}

header #h_menu02 .sub {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.12em;
}

header #h_menu02 li:hover,
header #h_menu02 li:hover .sub {
  opacity: 0.7;
}

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav {
  position: absolute;
  top: 62px;
  right: 410px;
  max-width: 530px;
  width: 28%;
}

#gnav_btn {
  display: none;
}

#globalnav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

#globalnav ul > li {
  line-height: 1.4;
  font-weight: bold;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: center;
}

#globalnav ul > li > a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

#globalnav li.main_current a {
  color: #013f99;
  border-bottom: 2px solid #013f98;
}

#globalnav ul > li ul.menu_second {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  top: 20px;
  width: 240px;
  left: calc(50% - 120px);
  margin: 0 auto;
  background: #f5f5f5;
  padding: 0;
  border: 2px solid #013f99;
  -webkit-box-shadow: 0 8px 15px #021533;
  box-shadow: 0 8px 15px #021533;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#globalnav ul > li:hover ul.menu_second {
  visibility: visible;
  z-index: 1;
  opacity: 1;
  top: 25px;
}

#globalnav ul > li ul.menu_second li a {
  font-weight: normal;
  position: relative;
  text-align: center;
  display: block;
  font-size: 15px;
  padding: 10px 15px;
  border-bottom: 1px solid #013f99;
}

#globalnav ul > li ul.menu_second li a:hover {
  /*text-decoration:underline;*/
  background-color: RGBA(1, 63, 153, 0.5);
  color: #fff;
}

/*#globalnav ul > li ul.menu_second li a:hover::before {
    content: "";
    position: absolute;
    right: 10px;
    top: calc(50% - 5px);
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #FFF;
}*/
#top-head.fixed #globalnav ul > li ul.menu_second li {
  display: block !important;
}

#top-head.fixed #globalnav ul > li ul.menu_second li a {
  display: block !important;
  left: 0 !important;
}

.menu_dropdown_btn {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "游ゴシック", "Yu Gothic", YuGothic, "ＭＳ Ｐゴシック", "MS PGothic",
    "M+ 1p", sans-serif;
  padding: 0 16px 3px 0;
  border-bottom: 2px solid transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
  cursor: pointer;
}
.menu_dropdown_btn::before,
.menu_dropdown_btn::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 2px;
  background-color: #333;
  top: calc(50% - 2px);
  right: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.menu_dropdown_btn::before {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.menu_dropdown_btn::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}
.menu_dropdown_btn.-is-open {
  color: #013f99;
}
.menu_dropdown_btn.-is-open::before,
.menu_dropdown_btn.-is-open::after {
  background-color: #013f99;
}
.menu_dropdown_btn.-is-open::after {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media only screen and (min-width: 1360px) {
  .menu_dropdown_wrap {
    position: absolute;
    display: block;
    top: 100%;
    width: 350px;
    left: calc(50% - 175px);
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    -webkit-box-shadow: 0 8px 15px rgba(2, 21, 51, 0.5);
    box-shadow: 0 8px 15px rgba(2, 21, 51, 0.5);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
  .menu_dropdown_wrap:not(.-is-open) {
    visibility: hidden;
    opacity: 0;
  }
}
.menu_dropdown_title {
  width: 100%;
  font-size: 16px;
  text-align: left;
}
.menu_dropdown_title a {
  display: block !important;
  padding: 12px;
}
.menu_dropdown_in {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  padding: 0;
  border: 2px solid #013f99;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.menu_dropdown_in li {
  width: 100%;
  height: auto !important;
}
.menu_dropdown_in li + li a {
  border-top: 1px solid #676767;
}
.menu_dropdown_in a {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 15px;
  text-align: left;
  padding: 5px;
  background-color: #014099;
  color: #ffffff;
  font-weight: bold;
  gap: 12px;
}
.menu_dropdown_in a .img {
  width: 60px;
}
.menu_dropdown_in a .img img {
  width: 100%;
  height: auto;
}
.menu_dropdown_in a .text {
  width: calc(100% - 60px - 5px);
}
.menu_dropdown_in a:hover {
  background-color: rgba(1, 63, 153, 0.5);
}
.menu_dropdown_in a:hover img {
  opacity: 1;
}
@media only screen and (min-width: 1360px) {
  .menu_dropdown_mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 21, 51, 0.1);
    z-index: -1;
  }
  .menu_dropdown_mask:not(.-is-open) {
    visibility: hidden;
    opacity: 0;
  }
}

@media only screen and (min-width: 1360px) {
  #top-head:not(.fixed) .menu_dropdown_mask {
    top: 100px;
    height: calc(100vh - 100px);
  }
}
@media only screen and (min-width: 1360px) {
  #top-head.fixed .menu_dropdown_mask {
    top: 60px;
    height: calc(100vh - 60px);
  }
}

@media only screen and (min-width: 1360px) {
  #top-head.fixed #globalnav .menu_dropdown_btn {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
  }
}
/* Fixed */
/*------------------------------------------------------------------------------*/
#top-head.fixed {
  height: 90px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#top-head.fixed h1 {
  height: 90px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#top-head.fixed #globalnav {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  top: 0;
}

#top-head.fixed #globalnav li {
  height: 90px;
  display: table;
}

#top-head.fixed #globalnav a {
  display: table-cell;
  vertical-align: middle;
}

#top-head.fixed #h_tel,
#top-head.fixed #h_menu01 {
  display: none;
}

#top-head.fixed #h_menu02 li {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  height: 90px;
}

#top-head.fixed #h_menu02 .sub {
  display: none;
}

/*footer*/
/*------------------------------------------------------------------------------*/
footer a:hover {
  text-decoration: underline;
}

#footer_box01 {
  padding: 35px 0;
  margin-top: 75px;
  background-color: #013f99;
}

#footer_box01 .inner {
  position: relative;
}

#footer_box01 #unit01 {
  top: -110px;
  left: 0;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.04);
  font-size: 12px;
  padding: 30px 20px 20px;
  width: 280px;
  letter-spacing: 0.24em;
}

#footer_box01 #unit01 img {
  max-width: 200px;
}

#footer_box01 #unit01 dt {
  margin-bottom: 30px;
}

#footer_box01 #unit01 dd {
  margin-bottom: 10px;
}

#footer_box01 #unit02 {
  padding-left: 320px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#footer_box01 #unit02 a {
  color: #fff;
}

#footer_box01 #unit02 .f_menu,
#footer_box01 #unit02 dl {
  width: 24%;
}

#footer_box01 #unit02 .f_menu li,
#footer_box01 #unit02 dt {
  margin-bottom: 18px;
}

#footer_box01 #unit02 dd li {
  font-size: 11px;
  position: relative;
  padding-left: 8px;
  margin-bottom: 8px;
}

#footer_box01 #unit02 dd li:before {
  position: absolute;
  top: 49%;
  left: 0;
  content: "";
  width: 4px;
  height: 1px;
  background: #fff;
}

#footer_box02 {
  background-color: #f5f5f5;
  padding: 15px 0;
  text-align: center;
  letter-spacing: 0.36em;
  line-height: 1.2;
}

#footer_box02 ul {
  font-size: 0;
}

#footer_box02 li {
  display: inline-block;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid #013f99;
  font-size: 11px;
}

#footer_box02 li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

#footer_box02 a {
  color: #013f99;
}

#footer_box03 {
  padding: 30px 0 5px;
  text-align: center;
  font-size: 11px;
  color: #013f99;
  letter-spacing: 0.5em;
}

/* pagetop */
/*------------------------------------------------------------------------------*/
#topcontrol {
  z-index: 50;
}

a.pagetop {
  width: 70px;
  height: 70px;
  background: url(../image/common/pagetop.png) no-repeat 0 0;
  background-size: 70px;
  overflow: hidden;
  display: block;
  z-index: 50;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.04);
}

a.pagetop:hover {
  opacity: 0.7;
}

/* original */
#top-head.fixed {
  height: 60px;
}

#top-head.fixed h1 {
  height: 60px;
}

#top-head.fixed h1 img {
  height: 40px;
  width: auto;
}

#top-head.fixed #h_menu02 li {
  height: 60px;
}

#top-head.fixed #h_menu02 a img {
  margin: 0;
}

#top-head.fixed #globalnav li {
  height: 60px;
}

#top-head.fixed #globalnav ul > li:hover ul.menu_second li {
  height: auto;
}

#top-head.fixed #globalnav ul > li:hover ul.menu_second {
  top: 60px;
}

#top-head.fixed #globalnav ul > li ul.menu_second li a {
  left: 5px;
}

#ime_box {
  ime-mode: disabled;
}

.top_search_in .search_textbox {
  float: left;
  width: calc(100% - 80px);
  padding: 20px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
