@charset "utf-8";


/*　PC用 769px以上のCSS　*/
@media print, screen and (min-width:769px) {
body {
  background-color: #eee;
  color: #152197;
  font-family: Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size: 16px;
  margin: 4px auto 10px;
}
#container {
  display: grid;
  grid-template-rows: 120px 38px auto 36px;
  grid-template-columns: 100%;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  background-color: #fff;
  border:1px solid #b19582;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.0);
  max-width: 850px;
  margin: 0 auto;
}
header {
  position: relative;
  grid-row: 1/2;  grid-column: 1/2;
  background-image: url("img/c01_850_120.png");
  width: 100%;
  z-index: 1;
}
header h1 {
  color: #f09;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 5px;
  padding: 65px 50px 0 0;
  text-align: right;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  z-index: 3;
}
nav {
  grid-row: 2/3;  grid-column: 1/2;
  color: blue;
}
.tile_menu {
  display: grid;
  grid-template-rows: 35px;
  grid-template-columns: 30px 70px 20px 90px 1fr;
  padding-top: 5px;
}
.menu1 {
  grid-row: 1/2;  grid-column: 2/3;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
.menu2 {
  grid-row: 1/2;  grid-column: 4/5;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
main {
  grid-row: 3/4;  grid-column: 1/2;
  padding-bottom: 40px;
}
h2 {
  font-size: 24px;
  text-align: center;
  margin: 20px 0 0 0;
}
.text_t1 {
  text-align: right;
  margin-top: 30px;
  padding-right: 130px;
}
.message {
  width: 70%;
  font-size: 17px;
  text-indent: 17px;
  line-height: 24px;
  margin: 10px auto 40px;
  border: 0px solid #0084ea;
}
.text_m {
  font-size: 18px;
  line-height: 22px;
}
h3 {
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.2em;
  margin: 20px 0 0 40px;
}
.text2 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 30px 5px 80px;
  text-indent: -17px;
}
.text3 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 100px;
  text-indent: -17px;
}
.text4 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 80px;
  text-indent: 0px;
}
.han17::before {
  display: inline-block;
  content: url("img/hk17l.png");
  margin: 0 1px -1px 2px;
  vertical-align: bottom;
}
.han17::after {
  display: inline-block;
  content: url("img/hk17r.png");
  margin: 0 3px -1px 1px;
  vertical-align: bottom;
}
.up {
  font-size: 24px;
}
.bold {
  font-weight: bold;
}
.red {
  color: red;
}
.redbold {    /* 赤字、強調 */
  color: red;
  font-weight: bold;
}
a.tile:link,a.tile:visited {
  color: #152197;
  text-decoration: underline solid #777;
}
a.tile:active,a.tile:hover {
  font-weight: bold;
  text-decoration: none;
}
a.tile3:link,a.tile3:visited {
  text-decoration: underline solid #777;
}
a.tile3:active,a.tile3:hover {
  color: #9400d3;
  font-weight: bold;
  text-decoration: none;
}
.pc {
  display: block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}
footer {
  grid-row: 4/5;
  grid-column: 1/2;
  height: 36px;
  background-color: #a0a0ff;
  padding: 20px 0px 0px 0px;
}
footer p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}


}













/*　タブレット用 481px以上768pxまでのCSS　*/

@media screen and (min-width:481px) and (max-width:768px) {
body {
  background-color: #eee;
  color: #152197;
  font-family: Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size: 16px;
  margin: 4px auto 10px;
}
#container {
  display: grid;
  grid-template-rows: 120px 38px auto 36px;
  grid-template-columns: 100%;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  background-color: #fff;
  border:1px solid #b19582;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.0);
  max-width: 850px;
  margin: 0 auto;
}
header {
  position: relative;
  grid-row: 1/2;  grid-column: 1/2;
  background-image: url("img/c01_850_120.png");
  width: 100%;
  z-index: 1;
}
header h1 {
  color: #f09;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 5px;
  padding: 65px 50px 0 0;
  text-align: right;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  z-index: 3;
}
nav {
  grid-row: 2/3;  grid-column: 1/2;
  color: blue;
}
.tile_menu {
  display: grid;
  grid-template-rows: 35px;
  grid-template-columns: 30px 70px 20px 90px 1fr;
  padding-top: 5px;
}
.menu1 {
  grid-row: 1/2;  grid-column: 2/3;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
.menu2 {
  grid-row: 1/2;  grid-column: 4/5;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
main {
  grid-row: 3/4;  grid-column: 1/2;
  padding-bottom: 40px;
}
h2 {
  font-size: 24px;
  text-align: center;
  margin: 20px 0 0 0;
}
.text_t1 {
  text-align: right;
  margin-top: 30px;
  padding-right: 130px;
}
.message {
  width: 80%;
  font-size: 17px;
  text-indent: 17px;
  line-height: 24px;
  margin: 10px auto 40px;
  border: 0px solid #0084ea;
}
.text_m {
  font-size: 18px;
  line-height: 22px;
}
h3 {
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.2em;
  margin: 20px 0 0 30px;
}
.text2 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 30px 5px 65px;
  text-indent: -17px;
}
.text3 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 100px;
  text-indent: -17px;
}
.text4 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 80px;
  text-indent: 0px;
}
.han17::before {
  display: inline-block;
  content: url("img/hk17l.png");
  margin: 0 1px -1px 2px;
  vertical-align: bottom;
}
.han17::after {
  display: inline-block;
  content: url("img/hk17r.png");
  margin: 0 3px -1px 1px;
  vertical-align: bottom;
}
.up {
  font-size: 24px;
}
.bold {
  font-weight: bold;
}
.red {
  color: red;
}
.redbold {    /* 赤字、強調 */
  color: red;
  font-weight: bold;
}
a.tile:link,a.tile:visited {
  color: #152197;
  text-decoration: underline solid #777;
}
a.tile:active,a.tile:hover {
  font-weight: bold;
  text-decoration: none;
}
a.tile3:link,a.tile3:visited {
  text-decoration: underline solid #777;
}
a.tile3:active,a.tile3:hover {
  color: #9400d3;
  font-weight: bold;
  text-decoration: none;
}
.pc {
  display: block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}
footer {
  grid-row: 4/5;
  grid-column: 1/2;
  height: 36px;
  background-color: #a0a0ff;
  padding: 20px 0px 0px 0px;
}
footer p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}


}










/*　スマホ用のCSS　*/
@media screen and (max-width:480px) {
body {
  background-color: #eee;
  color: #152197;
  font-family: Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size: 16px;
  margin: 4px auto 10px;
}
#container {	<!--[■]-->
  display: grid;
  grid-template-rows: 222px 38px auto auto;
  grid-template-columns: 100%;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  background-color: #fff;
  border:1px solid #b19582;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.0);
  max-width: 850px;
  margin: 0 auto;
}
header {	<!--■-->
  position: relative;
  grid-row: 1/2;  grid-column: 1/2;
  background-image: url("img/a07_850_222.png");
  width: 100%;
  z-index: 1;
}
header h1 {
  color: #f09;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 5px;
  padding: 160px 10px 0 0;
  text-align: right;
  text-shadow: 3px 3px 1px white, -3px 3px 1px white, 3px -3px 1px white, -3px -3px 1px white;
  z-index: 3;
}
nav {
  grid-row: 2/3;  grid-column: 1/2;
  color: blue;
}
.tile_menu {
  display: grid;
  grid-template-rows: 35px;
  grid-template-columns: 30px 70px 20px 90px 1fr;
  padding-top: 5px;
}
.menu1 {
  grid-row: 1/2;  grid-column: 2/3;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
.menu2 {
  grid-row: 1/2;  grid-column: 4/5;
  padding-top: 7px;
  text-align: center;
  border: 0px solid #000;
}
main {
  grid-row: 3/4;  grid-column: 1/2;
  padding-bottom: 40px;
}
h2 {
  font-size: 24px;
  text-align: center;
  margin: 20px 0 0 0;
}
.text_t1 {
  text-align: right;
  margin-top: 30px;
  padding-right: 130px;
}
.message {
  width: 90%;
  font-size: 17px;
  text-indent: 17px;
  line-height: 24px;
  margin: 10px auto 40px;
  border: 0px solid #0084ea;
}
.text_m {
  font-size: 18px;
  line-height: 22px;
}
h3 {
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.2em;
  margin: 20px 0 0 20px;
}
.text2 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 30px 5px 45px;
  text-indent: -17px;
}
.text3 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 60px;
  text-indent: -17px;
}
.text4 {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 5px 40px;
  text-indent: 0px;
}
.han17::before {
  display: inline-block;
  content: url("img/hk17l.png");
  margin: 0 1px -1px 2px;
  vertical-align: bottom;
}
.han17::after {
  display: inline-block;
  content: url("img/hk17r.png");
  margin: 0 3px -1px 1px;
  vertical-align: bottom;
}
.up {
  font-size: 24px;
}
.bold {
  font-weight: bold;
}
.red {
  color: red;
}
.redbold {    /* 赤字、強調 */
  color: red;
  font-weight: bold;
}
a.tile:link,a.tile:visited {
  color: #152197;
  text-decoration: underline solid #777;
}
a.tile:active,a.tile:hover {
  font-weight: bold;
  text-decoration: none;
}
a.tile3:link,a.tile3:visited {
  text-decoration: underline solid #777;
}
a.tile3:active,a.tile3:hover {
  color: #9400d3;
  font-weight: bold;
  text-decoration: none;
}
.pc {
  display: block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}
footer {
  grid-row: 4/5;
  grid-column: 1/2;
  height: 36px;
  background-color: #a0a0ff;
  padding: 20px 0px 0px 0px;
}
footer p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

}