html {
  font-size: 16px;
  height: -webkit-fill-available;
}

#modal {
  width: 400px;
}

@media screen and (max-width: 750px) {
  html {
    font-size: 2.5vw;
  }
  
  #modal {
    width: 65vw;
  }
}

@media screen and (max-width: 500px) {
  html {
    font-size: 3vw;
  }
  
  #modal {
    width: 75vw;
  }
}

@media print {
  html {
    font-size: 2.45vw;
  }
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "MS Mincho";
  src: url("MSMincho.ttc");
}

@font-face {
  font-family: "SimSong";
  src: url("SimSun.ttc");
}

@font-face {
  font-family: "ヒラギノ丸ゴ Pro W4";
  src: url("HiraMaruPro-W4.otf");
}

@font-face {
  font-family: "ProductSans";
  src: url("ProductSans-Regular.ttf");
}

body {
  font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
}

body,
header button {
  padding: 0;
  margin: 0;
}

#date,
#modal,
fieldset {
  padding: 0.5rem;
}

a.link,
select,
#content u {
  padding: 0.25rem;
}

legend,
#modal p {
  color: #000;
  font-size: 90%;
  padding: 0.25rem 0;
  margin: 0.25rem;
}

#liveBtn {
  padding: 0.25rem;
  margin: 0.5rem 0 0;
}

h1 img {
  margin-top: 2.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  border: 0.123rem solid #f3c5c6;
  display: inline-block;
  transition: 0.5s;
}

#content u {
  text-decoration: none;
}

a.link:hover,
button:hover,
#date:hover {
  cursor: pointer;
}

a.link:hover,
#date:hover,
#content u {
  color: #fff;
}

button,
select,
#modal,
#live h2,
#content b {
  color: #f3c5c6;
}

a.link:hover,
#date:hover,
#content u {
  background-color: #f3c5c6;
}

h1,
h2,
h1 b,
h2 b,
h3 {
  font-weight: 500;
}

h3 {
  font-size: 150%;
}

h1,
h1 b,
#date,
#modal,
#modal button,
#modal select {
  font-size: 125%;
}

h2,
#note,
#content a,
#content b {
  font-size: 111%;
}

h1 img,
#content h2,
#content img,
hr {
  width: 100%;
}

h1 {
  width: 75%;
}

h1,
.logo {
  max-width: 550px;
}

#alt {
  max-width: 75%;
}

#note {
  max-width: 90%;
}

button,
select,
input[type="button"] {
  appearance: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

button,
select,
fieldset,
input[type="button"] {
  border: none;
  outline: none;
}

header button {
  background-image: url(../logo/icon.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 4.5rem;
  height: 4.5rem;
}

#closeBtn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 0.75rem;
  margin: 0;
}

hr {
  border: none;
  clear: both;
}

.pehu {
  font-family: "MS Mincho", "SimSong", serif;
}
