@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 #444;
  border-right:1px solid #444;
  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;
}

.nav2 {
  width: calc(100% - 20px);
  margin: 0 auto;;
  background-color: #fefefe;
  display: grid;
  grid-auto-rows: minmax(20px, auto);
  grid-template-columns: repeat(14, auto);
  grid-column-gap: 5px;
}
.mon {
  font-size: 16px;
  color: #000;
  padding: 2px 0px 2px 0px;
  text-align: center;
  border: 1px solid #aaa;
}
.tile2:link,.tile2:visited {
  color: #000;
  text-decoration: none;
}
.tile2:hover {
  color: #f00;
  font-weight: bold;
  text-decoration: none;
}
.mcom2 {
  text-decoration: none;
  color: #000;
}
.y2 {
  font-size: 12px;
}



/* ==========■ main ■========== */
main {
  width: 100%;
  padding: 25px 0 40px 0;
}

/* ==========■ 角丸BOX 案内■========== */
#com_box {
  width: 80%;
  margin: 20px auto 20px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 3px;
}
.text1 {
  font-size: 17px;
  margin: 5px 10px 0 30px;
  text-indent: -21px;
  line-height: 20px;
}
.text1::before {
  content: "●";
  font-family: ＭＳ ゴシック;
  color: maroon;
  font-weight: bold;
}
.text2 {
  width: calc(100% - 38px);
  margin: 20px 30px 0px 60px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: -20px;
}
.text2::before {
  display: inline-block;
  content: "※ ";
  color: orange;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 5px;
}

/* ==========■ 月ごとの予定表 ■========== */
.title_m {
  width: 374px;
  margin: 30px 0 0 185px;
  display: grid;
  grid-template-rows: 38px;
  grid-template-columns: 200px 100px;
}
.year {
  grid-row: 1/2;
  grid-column: 1/2;
  text-align: center;
  font-size: 18px;
  padding: 14px 5px 0 0;
}
.month {
  grid-row: 1/2;
  grid-column: 2/3;
  font-size: 34px;
  font-weight: bold;
  color: maroon;
}
.tile0:link,.tile0:visited {
  color: maroon;
  text-decoration: none;
}
/* ■■■■■■  表の表題行の定義　■■■■■■　*/
.month_frame {
  display: grid;
  grid-auto-rows: minmax(34px, auto);
  grid-template-columns: 55px 40px calc(100% - 250px) 155px;
  width: 95%;
  font-size: 16px;
  margin: 0 auto;
  border-top: 2px solid #777;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
}
.date-title {     /*■■■ 月日 ■■■*/
  grid-row: 1/2;  grid-column: 1/3;
  color: #152197;
  text-align: center;
  letter-spacing: 2px;
  padding-top: 9px;
  background-color: #f5f5f5;
}
.event-title {     /*■■■ 行事 ■■■*/
  grid-row: 1/2;  grid-column: 3/4;
  color: #152197;
  text-align: center;
  padding-top: 9px;
  border-left: 1px solid #777;
  background-color: #f5f5f5;
}
.description-title {     /*■■■ 摘要 ■■■*/
  grid-row: 1/2;  grid-column: 4/5;
  color: #152197;
  text-align: center;
  padding-top: 9px;
  border-left: 1px solid #777;
  background-color: #f5f5f5;
}
.date {
  text-align: center;
  border-top: 1px solid #777;
}
.d_d {
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;

}
.d_d::after {
  content: "日";
  font-size: 12px;
  margin-left: 2px;
}
.d_y {
  font-size: 15px;
  text-align: center;
  padding-top: 9px;
  border-top: 1px solid #777;
}
.event {
  padding: 7px 0 0 5px;
  line-height: 20px;
  border-top: 1px solid #777;
}
.description {
  line-height: 20px;
  padding: 10px 0 0 5px;
  border-top: 1px solid #777;
}
.hatabi1 {
  background-color: LavenderBlush;
}
.hatabi2 {
  margin-left: 22px;
  text-indent: 0px;
}
.hatabi2::before {
  content: url("../img/flag.jpg");
  vertical-align: middle;
  margin: 0 3px 0 -22px;
}
.bt2 {
  border-top: 2px solid #777;
}
.bt1 {
  border-top: 1px solid #777;
}
.br2 {
  border-right: 2px solid #777;
}
.bb2 {
  border-bottom: 2px solid #777;
}
.bl2 {
  border-left: 2px solid #777;
}
.bl1 {
  border-left: 1px solid #777;
}
footer {
  width: 100%;
  height: 36px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 22px;
  background-color: #444;
}

}







/*　スマホ用のCSS　*/
@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 #444;
  border-right:1px solid #444;
  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 ■========== */
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: 5px 0 40px 0;
}

/* ■■■■■■  ご案内のボックス  ■■■■■■ */
#com_box {
  width: 80%;
  margin: 5px auto 5px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 3px;
}
.text1 {
  font-size: 17px;
  margin: 5px 10px 0 30px;
  text-indent: -21px;
  line-height: 20px;
}
.text1::before {
  content: "●";
  font-family: ＭＳ ゴシック;
  color: maroon;
  font-weight: bold;
}
.text2 {
  width: calc(100% - 38px);
  margin: 20px 30px 0px 60px;
  font-size: 17px;
  color: #152197;
  line-height: 22px;
  text-indent: -20px;
}
.text2::before {
  display: inline-block;
  content: "※ ";
  color: orange;
  font-family: "ＭＳ ゴシック";
  font-weight: bold;
  margin-right: 5px;
}

/* ■■■■■■  各月のタイトル行  ■■■■■■ */
.title_m {
  width: 100%;
  margin: 30px 0 0 0;
  display: grid;
  grid-template-rows: 38px;
  grid-template-columns: calc(50% - 230px) 185px 90px calc(50% - 45px);
}
.year {
  grid-row: 1/2;
  grid-column: 2/3;
  text-align: center;
  font-size: 18px;
  padding: 14px 5px 0 0;
}
.month {
  grid-row: 1/2;
  grid-column: 3/4;
  font-size: 34px;
  font-weight: bold;
  color: maroon;
}

@media  (width < 460px){
.title_m {
  width: 100%;
  margin: 40px 0 0 0;
  display: block;
}
.year {
  width: 100%;
  padding: 0;
  font-size: 15px;
  text-align: center;
}
.month {
  width: 100%;
  margin: 5px auto 5px;
  font-size: 34px;
  font-weight: bold;
  color: maroon;
  text-align: center;
}
}

/* ■■■■■■  各月の表題行の定義  ■■■■■■ */
.month_frame {
  display: grid;
  grid-auto-rows: minmax(34px, auto);
  grid-template-columns: 55px 40px 1fr 20%;
/*
  grid-template-columns: 55px 40px calc(100% - 250px) 155px;*/
  width: 95%;
  font-size: 16px;
  margin: 0 auto;
  border-top: 2px solid #777;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
}
.date-title {     /*■■■ 月日 ■■■*/
  grid-row: 1/2;  grid-column: 1/3;
  color: #152197;
  text-align: center;
  letter-spacing: 2px;
  padding-top: 9px;
  background-color: #f5f5f5;
}
.event-title {     /*■■■ 行事 ■■■*/
  grid-row: 1/2;  grid-column: 3/4;
  color: #152197;
  text-align: center;
  padding-top: 9px;
  border-left: 1px solid #777;
  background-color: #f5f5f5;
}
.description-title {     /*■■■ 摘要 ■■■*/
  grid-row: 1/2;  grid-column: 4/5;
  color: #152197;
  text-align: center;
  padding-top: 9px;
  border-left: 1px solid #777;
  background-color: #f5f5f5;
}

/* ■■■■■■  各月の行事予定行  ■■■■■■ */
.date {
  text-align: center;
  border-top: 1px solid #777;
}
.d_d {
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;

}
.d_d::after {
  content: "日";
  font-size: 12px;
  margin-left: 2px;
}
.d_y {
  font-size: 15px;
  text-align: center;
  padding-top: 9px;
  border-top: 1px solid #777;
}
.event {
  padding: 7px 0 0 5px;
  line-height: 20px;
  border-top: 1px solid #777;
}
.description {
  line-height: 20px;
  padding: 10px 0 0 5px;
  border-top: 1px solid #777;
}
.hatabi1 {
  background-color: LavenderBlush;
}
.hatabi2 {
  font-size: 13px;
  margin-left: 22px;
  text-indent: 0px;
}
.hatabi2::before {
  content: url("../img/flag.jpg");
  vertical-align: middle;
  margin: 0 3px 0 -22px;
}
.bt2 {
  border-top: 2px solid #777;
}
.bt1 {
  border-top: 1px solid #777;
}
.br2 {
  border-right: 2px solid #777;
}
.bb2 {
  border-bottom: 2px solid #777;
}
.bl2 {
  border-left: 2px solid #777;
}
.bl1 {
  border-left: 1px solid #777;
}
footer {
  width: 100%;
  height: 36px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 5px 0;
  padding-top: 22px;
  background-color: #444;
}

}


/*
@media screen and (max-width:460px){
.title_m {
  width: 100%;
  margin: 30px 0 0 0;
  display: block;
}
.year {
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  text-align: center;
}
.month {
  width: 100%;
  margin: 5px auto 5px;
  font-size: 34px;
  font-weight: bold;
  color: maroon;
  text-align: center;
}
}
*/
