@charset "utf-8";

/*　スマホ用 600px以下のCSS　*/
@media screen and (max-width:600px) {

body {
  background-color: #eee;
}
#container {
  font-family: Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size: 17px;
  color: #000;
  width: 100%;
  max-width: 600px;
  margin: 4px auto 10px;
  background-color: #fff;
  border: 1px solid #000;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  display: grid;
  grid-auto-rows: 120px 38px auto 36px;
  grid-template-columns: 1fr;
}
header {
  grid-row: 1/2;  grid-column: 1/2;
  height: 120px;
  background-image: url("../../img/head1_600_120.png");
}
h1 {
  color: #a42104;  /* 紅葉の色#e2421f */
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0px;
  padding: 75px 10px 0 0;
  text-align: right;
  text-shadow: 3px 3px 1px white;
  border: 0px solid #f00;
}

/* ========== nav =========== */
nav {
  grid-row: 2/3;  grid-column: 1/2;
  color: Maroon;
  font-weight: bold;
  padding-top: 5px;
  display: grid;
  background-image: linear-gradient(to bottom, #e8e9eb, #fff);
  grid-template-rows: 25px;
  grid-template-columns: 10px 70px 15px 90px 15px 90px 1fr;
}
#menu1 {
  grid-row: 1/2;  grid-column: 2/3;
}
#menu2 {
  grid-row: 1/2;  grid-column: 4/5;
}
#menu3 {
  grid-row: 1/2;  grid-column: 6/7;
}
a.tile:link,a.tile:visited {
  color: Maroon;
  font-weight: bold;
  text-decoration: underline solid #000;
  text-shadow: 1px 1px 1px #fff;
}
/* ========== main =========== */
main {
  grid-row: 3/4;  grid-column: 1/2;
  padding-bottom: 30px;
}
h2 {
  font-size: 18px;
  color: #333;
  margin: 10px 20px 0 15px;
}
.text1 {
  color: #333;
  line-height: 20px;
  margin: 10px 20px 0 30px;
  text-indent: -17px;
}
.text2 {
  color: #333;
  line-height: 20px;
  margin: 5px 20px 0 50px;
  text-indent: -17px;
}
footer {
  grid-row: 4/5;
  grid-column: 1/2;
  height: 36px;
  background-color: #444;
  padding-top: 20px;
  font-size: 18px;
  text-align: center;
  color: #fff;
}

}







/*　PC用のCSS　*/
@media print, screen and (min-width:601px) {

body {
  background-color: #aaa;
}
#container {
  font-family: Helvetica,'Meiryo','メイリオ',sans-serif;
  font-size: 17px;
  color: #152197;
  width: 100%;
  max-width: 850px;
  margin: 4px auto 10px;
  background-color: #fff;
  border: 1px solid #000;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.15);
  display: grid;
  grid-auto-rows: 120px 38px auto 46px;
  grid-template-columns: 1fr;
}
header {
  grid-row: 1/2;  grid-column: 1/2;
  background-image: url("../../img/head2_850_120.png");
  background-size: cover;
}
h1 {
  color: #a42104;  /* 紅葉の色#e2421f */
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 75px 28px 0 0;
  text-align: right;
  text-shadow: 2px 2px 1px white, -2px 2px 1px white, 1px -1px 1px white, -1px -1px 1px white;
}

/* ========== nav =========== */
nav {
  grid-row: 2/3;  grid-column: 1/2;
  padding-top: 5px;
  background-image: linear-gradient(to bottom, #e8e9eb, #fff);
  display: grid;
  grid-template-rows: 25px;
  grid-template-columns: 15px 80px 8px 98px 8px 140px 1fr;
}
#menu1 {
  grid-row: 1/2;  grid-column: 2/3;
}
#menu2 {
  grid-row: 1/2;  grid-column: 4/5;
}
#menu3 {
  grid-row: 1/2;  grid-column: 6/7;
}
a.tile:link,a.tile:visited {
  color: Maroon;
  font-weight: bold;
  text-decoration: underline solid #000;
  text-shadow: 1px 1px 1px #fff;

}
a.tile:active,a.tile:hover {
  font-size: 18px;
  color: #e2421f;
  font-weight: bold;
}
/* ========== main =========== */
main {
  grid-row: 3/4;  grid-column: 1/2;
  padding-bottom: 30px;
}
h2 {
  font-size: 18px;
  color: #333;
  margin: 10px 20px 0 30px;
}
.text1 {
  color: #333;
  line-height: 20px;
  margin: 10px 20px 0 50px;
  text-indent: -17px;
}
.text2 {
  color: #333;
  line-height: 20px;
  margin: 5px 20px 0 70px;
  text-indent: -17px;
}
footer {
  grid-row: 4/5;
  grid-column: 1/2;
  font-size: 18px;
  text-align: center;
  color: #fff;
  padding-top: 14px;
  background-color: #444;

}


}