/* base */
header,
footer,
header div,
footer div,
header span,
footer span,
header h1,
footer h1,
header p,
footer p,
header img,
footer img,
header small,
footer small {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  list-style: none;
}

footer,
header {
  display: block;
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

header a,
footer a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

header img,
footer img {
  font-size: 0;
  line-height: 0;
  width: 100%;
  vertical-align: bottom;
}

header div,
footer div {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 1023px) {
  .u-is-pc {
    display: none !important;
  }
}

@media screen and (min-width: 1024px) {
  .u-is-sp {
    display: none !important;
  }
}

.u-img-wrap {
  font-size: 0;
  line-height: 0;
}



/* header */

.b-header-logo {
  width: 100.8px;
  display: block;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

@media screen and (max-width: 540px) {
  .b-header-logo {
    width: 18.666666666666668vw;
  }
}

@media screen and (min-width: 1024px) {
  .b-header-logo {
    width: 110px;
    position: fixed;
    top: 20px;
    left: 20px;
  }
}

.b-header-logo .b-header-logo-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transition: opacity 0.15s ease-out;
  transition: opacity 0.15s ease-out;
}

.b-header-logo .b-header-logo-inner.is-hidden,
.b-header-logo .b-header-logo-inner.is-hover {
  opacity: 0;
}

@media screen and (min-width: 1024px) {
  .b-header-logo:hover .b-header-logo-inner.is-default {
    opacity: 0;
  }
}

@media screen and (min-width: 1024px) {
  .b-header-logo:hover .b-header-logo-inner.is-hover {
    -webkit-animation: loadingLogo 3s infinite;
    animation: loadingLogo 3s infinite;
  }
}

.is-header-logo-1 {
  -webkit-animation-delay: 0s !important;
  animation-delay: 0s !important;
}

.is-header-logo-2 {
  -webkit-animation-delay: 0.375s !important;
  animation-delay: 0.375s !important;
}

.is-header-logo-3 {
  -webkit-animation-delay: 0.75s !important;
  animation-delay: 0.75s !important;
}

.is-header-logo-4 {
  -webkit-animation-delay: 1.125s !important;
  animation-delay: 1.125s !important;
}

.is-header-logo-5 {
  -webkit-animation-delay: 1.5s !important;
  animation-delay: 1.5s !important;
}

.is-header-logo-6 {
  -webkit-animation-delay: 1.875s !important;
  animation-delay: 1.875s !important;
}

.is-header-logo-7 {
  -webkit-animation-delay: 2.25s !important;
  animation-delay: 2.25s !important;
}

.is-header-logo-8 {
  -webkit-animation-delay: 2.625s !important;
  animation-delay: 2.625s !important;
}

@-webkit-keyframes loadingLogo {
  0% {
    opacity: 1;
  }

  12% {
    opacity: 1;
  }

  13% {
    opacity: 0;
  }
}

@keyframes loadingLogo {
  0% {
    opacity: 1;
  }

  12% {
    opacity: 1;
  }

  13% {
    opacity: 0;
  }
}

.header-lang {
  position: fixed;
  top: 35px;
  right: 15px;
  border-radius: 5px;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  z-index: 99999;
}

.header-lang a {
  padding: 0.8em 2em 0.7em 2em;
  font-weight: bold;
  background: #d0c397;
  color: #00345C;
  display: inline-block;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
}

.header-lang a.active {
  background: #00345C;
  color: #d0c397;
  pointer-events: none;
}

.header-lang a:not(.active):hover {
  background: #fbd340;
  color: #00345C;
}

@media screen and (max-width: 640px) {
  .header-lang a {
    padding: 0.5em 1.5em 0.4em 1.5em;
  }
}

/* footer */

footer {
  padding-top: 40px;
  position: relative;
  margin: 0 auto;
}

footer:before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("/mgzn/assets/images/common/bg_line_horizontal.png") left/auto 100% repeat, #00345c;
  z-index: 2;
}

.b-footer {
  background-color: #00345c;
  padding: 4px;
}

.b-footer-inner {
  border: 2px solid #c1b185;
  padding: 17.166212534059948% 6.539509536784741% 6.539509536784741%;
  position: relative;
}

@media screen and (min-width: 1024px) {
  .b-footer-inner {
    padding: 54px 96px 15px;
  }
}

.b-footer-inner:before {
  position: absolute;
  content: '';
  display: inline-block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  top: 4px;
  left: 4px;
  border: 2px solid #324d62;
}

.b-footer-sns {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .b-footer-sns {
    border: 1px solid #c1b185;
    padding: 23px 0 30px;
    border-radius: 90px;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-sns:before {
    position: absolute;
    content: '';
    display: inline-block;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    top: 4px;
    left: 4px;
    border: 1px solid #324d62;
    border-radius: 90px;
  }
}

.b-footer-sns-txt {
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
  color: #c1b185;
  line-height: 1.6;
  text-align: center;
  font-size: 25.919999999999998px;
}

@media screen and (max-width: 540px) {
  .b-footer-sns-txt {
    font-size: 4.8vw;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-sns-txt {
    font-size: 18px;
  }
}

.b-footer-sns-icon {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 6.349206349206349%;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .b-footer-sns-icon {
    margin-top: 16px;
  }
}

.b-footer-sns-item {
  cursor: pointer;
  width: 86.39999999999999px;
}

@media screen and (max-width: 540px) {
  .b-footer-sns-item {
    width: 15.999999999999998vw;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-sns-item {
    width: 60px;
    -webkit-transition: opacity 0.15s ease-out;
    transition: opacity 0.15s ease-out;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-sns-item:hover {
    opacity: 0.5;
  }
}

.b-footer-sns-item+.b-footer-sns-item {
  margin-left: 6.349206349206349%;
}

@media screen and (min-width: 1024px) {
  .b-footer-sns-item+.b-footer-sns-item {
    margin-left: 20px;
  }
}

@media screen and (max-width: 540px) {
  .b-footer-hdg {
    font-size: 6.4vw;
  }
}

.b-footer-banner {
  margin-top: 19.047619047619047%;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .b-footer-banner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 60px auto 0;
    max-width: 760px;
  }
}

.b-footer-banner-item {
  display: block;
}

@media screen and (min-width: 1024px) {
  .b-footer-banner-item {
    width: 240px;
    -webkit-transition: opacity 0.15s ease-out;
    transition: opacity 0.15s ease-out;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-banner-item:hover {
    opacity: 0.5;
  }
}

@media screen and (max-width: 1023px) {
  .b-footer-banner-item+.b-footer-banner-item {
    margin-top: 8.571428571428571%;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-banner-item+.b-footer-banner-item {
    margin-left: 20px;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-banner-item:nth-child(3n+1) {
    margin-left: 0;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-banner-item:nth-child(n+4) {
    margin-top: 20px;
  }
}

.b-footer-privacy-wrap {
  text-align: center;
  margin-top: 11.11111111111111%;
}

@media screen and (min-width: 1024px) {
  .b-footer-privacy-wrap {
    margin-top: 30px;
  }
}

.b-footer-privacy {
  color: #faf6ec;
  font-size: 14.399999999999999px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 540px) {
  .b-footer-privacy {
    font-size: 2.6666666666666665vw;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-privacy {
    font-size: 10px;
    margin-top: 30px;
    -webkit-transition: opacity 0.15s ease-out;
    transition: opacity 0.15s ease-out;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-privacy:hover {
    opacity: 0.5;
  }
}

.b-footer-copyright {
  display: block;
  color: #9b8549;
  font-weight: bold;
  font-size: 14.399999999999999px;
  letter-spacing: 0.05em;
  margin-top: 31.11111111111111%;
  margin-left: -3.174603174603174%;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 540px) {
  .b-footer-copyright {
    font-size: 2.6666666666666665vw;
  }
}

@media screen and (min-width: 1024px) {
  .b-footer-copyright {
    font-size: 10px;
    margin-top: 55px;
    margin-left: -80px;
  }
}