/* Reset, body text, links and the page container */

@font-face {
  font-family: "NotoSans-DemiLight";
  font-weight: 300;
  src:
    url("../fonts/NotoSansCJKjp/NotoSansCJKjp-DemiLight.woff") format("woff"),
    url("../fonts/NotoSansCJKjp/NotoSansCJKjp-DemiLight.ttf") format("truetype");
}

@font-face {
  font-family: "NotoSans-medium";
  font-weight: 500;
  src:
    url("../fonts/NotoSansCJKjp/NotoSansCJKjp-Medium.woff") format("woff"),
    url("../fonts/NotoSansCJKjp/NotoSansCJKjp-Medium.ttf") format("truetype");
}

:root {
  --button-texture: url("../img/button_texture.png"); /* pattern on the orange buttons */
  --font-body:
    "Public Sans", "NotoSans-medium", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  --font-light: "NotoSans-DemiLight", sans-serif;
  --font-title: "Amiko", sans-serif;
}

html,
body,
div,
span,
iframe,
h1,
h2,
p,
img,
ul,
li,
article,
footer,
header,
nav,
section,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  background: transparent;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  background: #ffffff;
}

body {
  line-height: 1;
}

article,
footer,
header,
nav,
section {
  display: block;
}

nav ul,
li {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  font-size: 100%;
  vertical-align: baseline;
}
html,
body {
  width: 100%;
  height: 100%;
}

body {
  color: #000000;
  backface-visibility: hidden;
  font-size: 14px;
  line-height: 24px;
  font-family: var(--font-body);
  font-weight: 400;
  font-feature-settings:
    "palt" 1,
    "kern" 1;
}

a {
  outline: none;
  color: inherit;
  font-size: 100%;
  text-decoration: none;
}

a:visited,
a:link {
  color: #004986;
  text-decoration: underline;
}

a:hover,
a:active {
  color: #5a8fba;
  text-decoration: none;
}

img {
  vertical-align: top;
}

.m--textlink {
  position: relative;
  display: block;
  line-height: 1em;
}

.m--textlink:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  position: absolute;
  left: 0;
  bottom: -5px;
  z-index: 0;
  transform-origin: 50% 50%;
  transform: scaleX(0) scaleY(1);
  transition: all 0.2s;
}

a:hover .m--textlink:after {
  transform: scaleX(1) scaleY(1);
}

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

.container {
  display: block;
  position: relative;
  width: 100%;
  z-index: 0;
  min-width: 1200px;
}
#top-page {
  position: relative;
  z-index: 5;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 4.375vw;
    line-height: 7.5vw;
    background: none;
  }
  body:before {
    content: "";
    display: block;
    z-index: -1;
    position: fixed;
    left: 0;
    top: 0;
    background-size: 195% auto;
    width: 100%;
    height: 100%;
    padding-bottom: 108px;
  }
  .m--textlink:after {
    display: none;
  }
  .container {
    min-width: 87.5%;
  }
}
