@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 {
  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 {
  width: 100%;
  padding: 25px 0 40px 0;
}
#com_box {
  width: 82%;
  font-size: 16px;
  margin: 10px auto 20px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 8px;
}
#title {
  width: 200px;
  margin: 10px auto 10px;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  letter-spacing : 3px;
}
h2 {
  width: 645px;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 30px auto 0;
}
h2:before {
  content: "■";
  color: #000;
  margin-right: 2px;
}
.text1 {
  margin: 5px 15px 0 43px;
  text-indent: -26px;
  line-height: 20px;
}
.text2 {
  margin: 5px 10px 0 50px;
  text-indent: -21px;
  line-height: 20px;
}
.text3 {
  margin: 5px 10px 0 55px;
  text-indent: -21px;
  line-height: 20px;
}
/* ======■■■ 目次 ■■■=====*/
.index1 {
  width: 585px;
  margin: 10px auto 50px;
  line-height: 20px;
  display: grid;
  grid-auto-rows: minmax(28px,auto);
  grid-template-columns: 35px 100px 350px 100px;
}
.c1 {  /* 番号 */
  font-size: 14px;
  padding: 3px 0 2px 0;
  text-align: center;
  line-height: 20px;
  border-top: 1px solid #000;
}
.c2 {  /* ジャンル */
  font-size: 15px;
  text-align: center;
  padding: 4px 5px 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.c3 {  /* 作品名 */
  padding: 4px 0 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.c4 {  /* 作者名 */
  padding: 4px 0 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.center {
  text-align: center;
  font-weight: bold;
  background-color: #efefef;
}
.bb1 {
  border-bottom: 1px solid #000;
}
.tile2:link,.tile2:visited {
}
.tile2:hover {
  color: crimson;
  font-weight: bold;
  text-decoration: none;
}
footer {
  width: 100%;
  height: 36px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 20px 0 5px 0;
  padding-top: 22px;
  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: 3px;
  padding: 84px 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: 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 ■ =====*/
main {
  width: 100%;
  padding-top: 25px;
}

/* ====== ■ 角丸囲み留意事項 ■ =====*/
#com_box {
  width: 82%;
  margin: 10px auto 20px;
  padding: 5px;
  border: 1px solid #000;
  border-radius: 8px;
}
#title {
  width: 200px;
  margin: 10px auto 10px;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  letter-spacing : 3px;
}
h2 {
  width: 645px;
  font-size: 17px;
  letter-spacing: 1px;
  margin: 30px auto 0;
}
h2:before {
  content: "■";
  color: #000;
  margin-right: 2px;
}
.text1 {
  margin: 5px 10px 0 36px;
  text-indent: -26px;
  line-height: 20px;
}
.text2 {
  margin: 5px 5px 0 45px;
  text-indent: -21px;
  line-height: 20px;
}
.text3 {
  margin: 5px 5px 0 50px;
  text-indent: -21px;
  line-height: 20px;
}
/* ====== ■ 目次 ■ =====*/
.index1 {
  width: calc(100% - 10px);
  margin: 10px auto 20px;
  font-size: 16px;
  line-height: 18px;
  display: grid;
  grid-auto-rows: minmax(28px,auto);
  grid-template-columns: 30px 80px 1fr 80px;
}
.c1 {  /* 番号 */
  font-size: 13px;
  padding: 5px 0 2px 0;
  text-align: center;
  line-height: 20px;
  border-top: 1px solid #000;
}
.c2 {  /* ジャンル */
  font-size: 13px;
  text-align: center;
  padding: 5px 5px 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.c3 {  /* 作品名 */
  font-size: 14px;
  padding: 4px 0 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.c4 {  /* 作者名 */
  font-size: 13px;
  padding: 5px 0 2px 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.center {
  text-align: center;
  font-weight: bold;
  background-color: #efefef;
}
.bb1 {
  border-bottom: 1px solid #000;
}
.tile2:link,.tile2:visited {
}
.tile2:hover {
  color: crimson;
  font-weight: bold;
  text-decoration: none;
}

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


}
