@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
	/*background: url('../images/main-visual.svg') bottom right / min(250px, 30vw) no-repeat fixed, url('../images/bg.png');*/
  background: url('../images/bg.png');
	color: #404040;
	font: 16px/1.8 'Noto Sans JP', sans-serif;
	margin: 1em auto;
	max-width: 900px;
	padding: 1em;
}

body.home {
  background: url('../images/bg.png');
}

header {
  padding: 0 0 2em;
  text-align: center;
}

footer {
  padding: 2em 0;
  text-align: center;
}

section h1 {
  margin: 2em 0 1em;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
  color: #1c7f3e;
}

article p {
  text-indent: 1em;
}

a {
  color: inherit;
}

em {
  font-style: normal;
  background: rgba(255, 255, 0, .5);
}

.button,
button {
  background: #1c7f3e;
  border: #1c7f3e solid 2px;
  border-radius: 2em;
  color: white;
  display: inline-block;
  font-size: 1.2em;
  letter-spacing: .1em;
  line-height: 1.2;
  margin: .5em 0;
  padding: 1em 2em;
  text-decoration: none;
  text-indent: 0;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  background: inherit;
  color: #1c7f3e;
  outline: none;
}

figure {
  margin: 1em;
  text-align: center;
}

figure img {
  max-width: 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0;
}

nav ul li {
  list-style: none;
  text-align: center;
  max-width: 50%;
  min-width: 33%;
  width: 200px;
}

nav ul li a {
  display: block;
  padding: 1em;
  text-decoration: none;
}

nav ul li img {
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 2px solid;
  padding: .7em;
  text-align: left;
}

@media print {
  body {
    background: none;
    font-size: 14px;
  }

  img {
    max-width: 30vw !important;
  }
}
