@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp.min.css');

/*
form.css v1.0

start line
*/


/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}



/* form-main */

body {
  position: relative;
  font-family: YakuHanJP, 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #fff url("http://mbf.pya.jp/2019/images/bg.png");
}


div#main {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(50%);
  -webkit-transform: translateY(50%);
  width: 95vw;
  padding: 2.5vw;
  margin: 0 2.5vw;
  background-color: rgba(255, 255, 255, 0.90);
  box-sizing: border-box;
}

h1 {
  margin: 4vw auto;
  width: 70vw;
}

h1 img {
  width: 70vw;
}

h2 {
  margin: 4vw 0;
  text-align: center;
  font-size: 4.5vw;
  font-weight: 700;
}

div.notice {
  margin: 4vw auto;
  width: 80vw;
}

p {
  margin: 0 0 5vw 0;
  font-weight: 500;
  font-size: 4vw;
  line-height: 1.5em;
}


@media screen and (min-width: 481px) {

  div#main {
  top: 50%;
  left: 50%;
  transform: translateY(25%) translateX(-50%);
  -webkit-transform: translateY(25%) translateX(-50%);
    width: 1080px;
    margin: 0;
    padding: 40px;
    background: #fff;
    border: solid 4px #AAAAAA;
    border-radius: 20px;
  }
h1 {
    margin: 0 auto 70px auto;
  width: 350px;
}

h1 img {
  width: 350px;
}

  h2 {
    margin: 0 0 40px 0;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
  }

div.notice {
  margin: 40px auto;
  width: 640px;
}

p {
  margin: 0 0 24px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5em;
}

}
