@charset "utf-8";

@media print, screen and (min-width:601px) {
body {
  margin: 0px;
  background-color: #eee;
}
#container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  font-family: "Meiryo","BIZ UDゴシック","游ゴシック",sans-serif;
  font-size: 16px;
  color: #152197;
  background-color: #fff;
  border-left: 1px solid #777;
  border-right:1px solid #777;
  box-shadow: 5px 5px 5px #bbb;
  border-top: 1px solid #777;
}
header {
  width: 100%;
  height: 160px;
  background-image: url("../img/header_02_850_160.png");
}
h1 {
  color: DeepPink;
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 70px 20px 0 0;
  text-align: right;
  text-shadow: 2px 2px 1px white, -2px 2px 1px white, 2px -2px 1px white, -2px -2px 1px white;
}

/* ==========■ nav ■========== */
nav {
  width: 100%;
  background-color: #444;
  border-top: 2px solid #999;
  border-bottom: 2px solid #999;
  display: grid;
  grid-auto-rows: minmax(45px, auto);
  grid-template-columns: repeat(7, auto);
  grid-row-gap: 5px;
}
.menu {
  font-size: 15px;
  color: #fff;
  padding: 17px 0px 0 0px;
  text-align: center;
  background-color: #444;
}
.tile:link,.tile:visited {
  color: #fff;
  text-decoration: none;
}
.tile:hover {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: #999;
}
.mcom {
  color: #fff;
  text-decoration: none;
}
.thin {
  background-color: #999;
}

/* ==========■ main ■========== */
main {
  width: 100%;
  padding: 25px 0 40px 0;
}
h2 {
  width: 100%;
  font-size: 20px;
  color: blue;
  text-align: center;
  margin: 10px auto 20px;
}
h3 {
  width: calc(100% - 68px);
  margin: 20px 10px 0px 58px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: -12px;
}
h3::before {
  display: inline-block;
  content: "■ ";
  color: green;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 5px;
}
h4 {
  width: calc(100% - 88px);
  margin: 10px 10px 0px 78px;
  font-size: 16px;
  color: #152197;
  line-height: 22px;
  text-indent: -12px;
}
h4::before {
  display: inline-block;
  content: "・";
  color: green;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 0px;
}
.text1 {
  width: calc(100% - 90px);
  margin: 0px 40px 0px 50px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: 18px;
}
.text2 {
  width: calc(100% - 120px);
  margin: 0px 40px 0px 80px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: 18px;
}
.text3 {
  width: calc(100% - 140px);
  margin: 5px 40px 0px 100px;
  font-size: 18px;
  color: #152197;
  line-height: 22px;
}

/* ==========■ footer ■========== */
footer {
  width: 100%;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 20px;
  background-color: #444;
}
}










@media screen and (max-width:600px) {
body {
  margin: 0px;
  background-color: #eee;
}
#container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  font-family: "Meiryo","BIZ UDゴシック","游ゴシック",sans-serif;
  font-size: 16px;
  color: #152197;
  background-color: #fff;
  border-left: 1px solid #777;
  border-right:1px solid #777;
  box-shadow: 5px 5px 5px #bbb;
  border-top: 1px solid #777;
}
header {
  width: 100%;
  height: 160px;
  background-image: url("../img/header_02_850_160.png");
}
h1 {
  color: DeepPink;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 84px 10px 0 0;
  text-align: right;
  text-shadow: 2px 2px 1px white, -2px 2px 1px white, 2px -2px 1px white, -2px -2px 1px white;
}
nav {
  width: calc(100% - 6px);
  padding: 2px 4px 2px 2px;
  background-color: #444;
  border-top: 2px solid #999;
  border-bottom: 2px solid #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
}
.menu {
  align-self: center;
  font-size: 13px;
  color: #fff;
  line-height: 15px;
  padding: 5px 2px 5px 2px;
  background-color: #666;
}
.tile {
}
.mcom {
  color: #fff;
  text-decoration: none;
}
.thin {
  background-color: #999;
}
main {
  width: 100%;
  padding: 25px 0 40px 0;
}
h2 {
  width: 100%;
  font-size: 20px;
  color: blue;
  text-align: center;
  margin: 10px auto 20px;
}
h3 {
  width: calc(100% - 48px);
  margin: 20px 10px 0px 38px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: -12px;
}
h3::before {
  display: inline-block;
  content: "■ ";
  color: green;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 5px;
}
h4 {
  width: calc(100% - 53px);
  margin: 10px 10px 0px 43px;
  font-size: 16px;
  color: #152197;
  line-height: 22px;
  text-indent: -12px;
}
h4::before {
  display: inline-block;
  content: "・";
  color: green;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 0px;
}
.text1 {
  width: calc(100% - 40px);
  margin: 0px 10px 0px 30px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: 17px;
}
.text2 {
  width: calc(100% - 45px);
  margin: 0px 10px 0px 35px;
  font-size: 16px;
  color: #152197;
  line-height: 22px;
  text-indent: 16px;
}
.text3 {
  width: calc(100% - 65px);
  margin: 5px 10px 0px 55px;
  font-size: 16px;
  color: #152197;
  line-height: 22px;
}
footer {
  width: 100%;
  height: 40px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 20px;
  background-color: #444;
}
}
