@charset "UTF-8";

/*==================================================
====================================================
ヘッダーとフッター
====================================================
==================================================*/

#header {
  width: 100%;
  height: 5em;
  border-bottom: 2px solid #a58d5d;
  position: relative;
  background: #0f2453;
}
#header .header-in {
  /*max-width: 64em; 1024px*/
  max-width: 70em;
  height: 100%;
  width: auto;
  margin: 0 auto;
  position: relative;
}

/*#header .header-in .header-logo{
	float: left;
	max-width: 9.75em;
	width: 25%;
	height: 100%;
	min-width: 5.3125em;
	position: relative;
	z-index: 2;
	display: flex;
    align-items: center;
    justify-content: center;
}*/

#header .header-in .header-logo {
  float: left;
  width: 25%;
  height: 100%;
  min-width: 5.3125em;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: left;
}

#header .header-in .header-logo a {
  display: block;
  line-height: 0;
  position: relative;
  /*width: 100%;
	height: 100%;*/
  text-align: center;
  text-decoration: none;
}

.header-logo img {
  width: 110px;
  margin-left: 1em;
}

@media screen and (max-width: 50em) {
  .header-logo img {
    margin-left: 0;
  }
}

#header .header-in .header-logo a .sm-logo {
  display: none;
  width: 80%;
  /*position: absolute;*/
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  /*background-color: #0753a5;*/
}

#header .header-in .header-menu {
  float: right;
  height: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  z-index: 1;
  display: block;
  padding: 0 1.25em; /* 20px */
}
@media screen and (max-width: 50em) {
  #header .header-in .header-menu {
    padding: 0 10px;
  }
}

#header .header-in .header-menu .header-menu-wrap {
  position: relative;
  height: 100%;
  width: 100%;
}
#header .header-in .header-menu .header-menu-head {
  display: none;
  font-size: 1.25em; /* 20px */
  height: 58px;
  width: 58px;
  line-height: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -10px;
  margin: auto;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  color: #fff;
}
#header .header-in .header-menu .header-menu-head .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#header .header-in .header-menu .header-menu-head-sp {
  display: none;
  font-size: 1.25em; /* 20px */
  height: 58px;
  width: 58px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.5em;
  margin: auto;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  background: #a58d5d;
}
#header .header-in .header-menu .header-menu-head-sp .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#header .header-in .header-menu .header-menu-body {
  float: right;
  overflow: hidden;
}
#header .header-in .header-menu .header-menu-body-sp {
  float: right;
  overflow: hidden;
}
#header .header-in .header-menu .header-menu-lists {
  overflow: hidden;
  zoom: 1;
  height: 100%;
  width: 100%;
}
#header .menu-item {
  float: left;
  /*margin-left: 2em;*/
}
/*#header .header-in .header-menu .header-menu-lists .menu-item*/
#header .menu-item a {
  font-size: 0.8125em;
  text-decoration: none;
  color: #fff;
  padding: 0.75em 1.25em;
  display: block;
  margin-top: 2.8em;
  user-select: none;
  transition: 0.5s;
}
#header .menu-item a:hover {
  background: #a58d5d;
}

@media screen and (max-width: 800px) {
  #header .menu-item a:hover {
    background: none;
  }
}

@media screen and (max-width: 800px) {
  #header .menu-item a {
    color: #0753a5;
    margin-top: 0;
  }
  #header .menu-item a:hover {
    color: #0753a5;
  }
}

#header .menu-item a i {
  font-size: 0.5em;
  margin-left: 0.5em;
}

#header .header-in .header-menu .sm-sidebar-menu {
  display: none;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

#header .sub-menu {
  display: none;
  visibility: hidden;
  position: absolute;
  background: #0f2453;
  width: 200px;
  border-bottom: 2px solid #a58d5d;
  top: 78px;
}

#header .pc-sidebar-menu .menu-item:hover .sub-menu {
  display: inherit;
  visibility: visible;
}

@media screen and (max-width: 800px) {
	#header .sub-menu {
		visibility: visible;
		position: relative;
		background: none;
		width: 100%;
		border-bottom: none;
		top: unset;
	}
	#header .sub-menu .menu-item:first-child {
		border-top: 1px solid #e4e4e4;
	}
}
@media screen and (max-width: 800px) {
  #header .sub-menu {
    display: none;
    visibility: visible;
    position: relative;
    background: none;
    border-bottom: none;
    top: unset;
  }
  #header .js-menu-item-sp.active .sub-menu {
    display: block;
  }
}

#header .sub-menu .menu-item a {
  margin-top: 0;
  padding: 0.75em;
  width: 200px;
}

@media screen and (max-width: 50em) {
  #header .sub-menu .menu-item a {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .sub-menu li a::before {
    content: "—";
    margin-right: 0.75em;
    color: #ccc;
  }
}

.language-switcher {
  align-items: center;
  display: flex;
  font-size: 0.8125em;
  gap: 0;
  justify-content: flex-end;
  margin-top: 2.8em;
  padding: 0.75em 1.25em;
}

@media screen and (max-width: 50em) {
  .language-switcher {
    margin: 0;
    padding: 1.35em 0;
  }
}

.language-switcher__item {
  display: flex;
  place-items: center;
}

.language-switcher__item + .language-switcher__item::before {
  color: #fff;
  content: '\ff0f';
  margin-inline: 0.3em;
}

@media screen and (max-width: 50em) {
  .language-switcher__item + .language-switcher__item::before {
    color: #0753a5;
  }
}

.language-switcher__link,
#header .header-in .header-menu .header-menu-lists .menu-item .language-switcher__link {
  align-items: center;
  display: flex;
  font-size: inherit;
  gap: 0 0.3em;
  margin: 0;
  padding: 0;
}

.language-switcher__name {
  text-transform: uppercase;
  position: relative;
}

.language-switcher__name--current {
  font-weight: 700;
}

.language-switcher__name--current::after {
  background-color: #fff;
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  width: 100%;
}

@media screen and (max-width: 50em) {
  .language-switcher__name--current::after {
    background-color: #0753a5;
  }
}

.footer-img {
  max-width: 64em; /*1024px*/
  width: auto;
  text-align: right;
  margin: 0 auto;
}

#footer {
  width: 100%;
  margin-top: 40px;
  position: relative;
  bottom: 0;
  background: #0f2453;
  border-top: 2px solid #a58d5d;
}
#footer .footer-in {
  /*border-top: 1px solid #c3c3c3;*/
  /*max-width: 64em; 1024px*/
  max-width: 70em;
  width: auto;
  margin: 0 auto;
  position: relative;
  padding: 1.25em 0; /* 20px */
}
#footer .footer-in .footer-menu {
  float: left;
}
#footer .footer-in .footer-menu .footer-menu-lists {
  overflow: hidden;
  zoom: 1;
  display: inline-block;
}

#footer .footer-in .footer-menu .footer-menu-lists .menu-item {
  display: inline-block;
  margin-right: 0.5em;
  font-size: 0.75em;
}

#footer .footer-in .footer-menu .footer-menu-lists .menu-item a {
  text-decoration: none;
  color: #fff;
}
#footer .footer-in .footer-menu .footer-menu-lists .menu-item a:hover {
  text-decoration: underline;
}
#menu-item-1339 a:hover,
#menu-item-1340 a:hover {
  text-decoration: none !important;
}

#footer .footer-in .footer-menu .footer-menu-lists .menu-item:after {
  content: " |";
  color: #000 !important;
  text-decoration: none !important;
}
#footer .footer-in .footer-menu .footer-menu-lists .menu-item:last-child:after {
  content: "";
}

#footer .footer-in .copyright {
  float: right;
  font-size: 0.75em;
  color: #fff;
}

#footer .footer-in .gotohead {
  position: fixed;
  right: 5vw;
  bottom: 6em;
  background: #0f2453;
  background-repeat: repeat;
  width: 34px;
  height: 34px;
  text-align: center;
  cursor: pointer;
  color: #fff;
}

#footer .footer-in .gotohead:hover {
  background: #a58d5d;
}

#footer .footer-in .gotohead .gotohead-in {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: inline-block;
}
#footer .footer-in .gotohead .gotohead-text {
  background-image: url(../img/arrow.png);
  background-position: left;
  background-repeat: no-repeat;
  margin: 0.3125em auto; /* 5px */
  padding-left: 1.25em; /* 20px */
  display: none;
}
#footer .address-box {
  font-weight: bold;
  color: #fff;
  border: 1px solid #fff;
  font-size: 0.8125em; /* 13px */
  padding: 0.76923em; /* 10px */
  margin: 0.76923em auto; /* 10px */
  max-width: 33.84615em; /* 440px */
}

@media screen and (max-width: 50em) {
  #header {
    margin-bottom: 20px;
    height: 60px;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
  }
  #header .header-in {
    padding: 0 10px;
  }
  #header .header-in .header-logo a .pc-logo {
    display: none;
  }
  #header .header-in .header-logo a .sm-logo {
    display: inline-block;
  }
  #header .header-in .header-menu .header-menu-wrap {
  }
  #header .header-in .header-menu .header-menu-head {
    display: block;
  }
  #header .header-in .header-menu .header-menu-head-sp {
    display: block;
  }
  #header .header-in .header-menu .header-menu-body {
    display: none;
    position: relative;
    top: 59px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    max-height: calc(100dvh - 58px);
    overflow-y: auto;
  }
  #header .header-in .header-menu .header-menu-body-sp {
    display: none;
    position: relative;
    top: 59px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    max-height: calc(100dvh - 58px);
    overflow-y: auto;
  }
  #header .header-in .header-menu .sm-sidebar-menu {
    display: block;
  }
  #menu-sp_menu {
    background-color: #fff;
    border-bottom: 1px solid #e4e4e4;
  }
  #header .header-in .header-menu .pc-sidebar-menu {
    display: none;
  }
  #header .header-in .header-menu .menu-item {
    padding: 0 20px;
  }
  #header .header-in .header-menu .header-menu-lists .menu-item {
    float: none;
    border-bottom: 1px solid #e4e4e4;
    margin: 0 auto;
    padding: 0 10px;
    line-height: 1.5;
    width: 100%;
  }
  #header .header-in .header-menu .header-menu-lists .menu-item:last-child {
    border-bottom: none;
  }
  #header .header-in .header-menu .header-menu-lists .menu-item a {
    padding: 1.35em 0;
  }

  #footer {
    text-align: center;
  }
  #footer .footer-in {
    padding: 20px 10px;
  }
  #footer .footer-in .footer-menu {
    float: none;
    margin: 0 auto;
  }
  #footer .footer-in .footer-menu .footer-menu-lists .menu-item {
    font-size: 0.9375em;
  }
  #footer .footer-in .copyright {
    float: none;
    margin: 0 auto 30px;
    padding: 0;
  }
  #footer .footer-in .gotohead {
    bottom: 7em;
    right: 2vw;
  }
  /*#footer .footer-in .gotohead .gotohead-in{
		position: static;
		display: inline;
		margin: 0;
		left: 0;
		right: none;
	}
	#footer .footer-in .gotohead .gotohead-text{
		display: inline-block;
	}*/
}
