@charset "UTF-8";
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #000000;
}
h1 {
  font-size: 2rem;
  margin-top: 1rem;
}
h2 {
  font-size: 1.7rem;
  margin-top: 1.4rem;
}
h3 {
  font-size: 1.2rem;
  margin-top: 1.4rem;
}
p {
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  margin-top: 1rem;
}
/*脚注番号*/
.s1 {
  vertical-align: super; /*テキストを上付きに*/
  font-size: 0.76em; /*テキストを小さく*/
}
/*脚注*/
.p3 {
  font-size: 0.9em; /*テキストを小さく*/
}
ul {
  margin-left: 2rem;
  list-style: none;
}
ol {
  margin-top: 1rem;
  margin-left: 4rem;
  list-style: decimal;
  font-weight: bold;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
/*テーブル*/
table {
  margin-bottom: 20px;
  border-collapse: collapse;
}
table th, table td {
  border: solid 1px #000000;
  padding: 0.5em;
}
.border-zero {
  border: 0px;
}
hr {
  margin-bottom: 10px;
  margin-top: 10px;
}
.alignleft {
  float: left;
  margin: 0 3% 0.6em 0;
}
.alignright {
  float: right;
  margin: 0 0 0.6em 3%;
}
.red {
  color: #FF0000;
}
/*写真とキャプション*/
figure {
  max-width: 100%;
  margin-bottom: 20px;
}
figure img {
  margin: 5px;
}
figcaption {
  font-size: 0.8rem;
  font-weight: bold;
}
.grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  margin-top: 6%;
  margin-bottom: 50px;
}
.item {
  text-align: center;
}
.top-navi {
  display: flex;
  text-transform: uppercase;
  margin-top: 10px;
  list-style: none;
}
.top-item {
  width: 50%;
  margin-left: 10px;
  margin-right: 10px;
}
.flyer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}
.flyer img {
  margin-left: 20px;
}
.flexbox {
  display: flex;
}
.width150 {
  width: 150px;
  margin: 20px;
}
/*横並びのflexボックス*/
.flex-box {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
/*黒枠のボタン*/
.white-button {
  margin: 5px;
  padding: 5px;
  color: #000000;
  border: solid;
}
#mainwrapper header {
  /*Header */
  background-color: rgba(255, 255, 255, 1.00);
  overflow: auto;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-style: normal;
  line-height: 1.7;
  font-weight: 400;
  width: auto;
}
#mainwrapper header #logo {
  /* Company Logo text */
  width: 400px;
  float: left;
  padding-left: 2%;
  padding-top: 12px;
  padding-bottom: 12px;
  color: rgba(255, 255, 255, 1.00);
}
#mainwrapper header nav {
  /*Nav bar containing links in header */
  text-align: right;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 2%;
  width: 68%;
  float: left;
  color: rgba(146, 146, 146, 1.00);
}
header nav a {
  /* Links in header */
  padding-right: 2%;
}
#content #mainContent h1, #content #mainContent h2 {
  /* Styling for main headings */
  color: rgba(160, 3, 6, 1.00);
}
#content #mainContent h3 {
  /*Captions ot Taglines */
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-style: normal;
  line-height: 1.7;
  font-weight: 200;
  color: rgba(146, 146, 146, 1.00);
}
#content #mainContent #bannerImage {
  /*Container for main banner image */
  width: 100%;
  background-color: rgba(255, 255, 255, 1.00);
}
#content #mainContent p {
  /* All paragraphs under maincontent */
  color: rgba(0, 0, 0, 1.00);
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-style: normal;
  line-height: 1.7;
  font-weight: 200;
  text-align: justify;
}
#content #mainContent #authorInfo {
  /* Author info section */
  background-color: rgba(255, 255, 255, 1.00);
}
#content #mainContent #authorInfo h2, #content #mainContent #authorInfo p {
  color: rgba(0, 0, 0, 1.00);
  padding-left: 2%;
  padding-top: 11px;
}
#content #mainContent #authorInfo p {
  color: rgba(0, 0, 0, 1.00);
  padding-left: 2%;
  padding-top: 0px;
  padding-bottom: 11px;
  padding-right: 2%;
}
footer article {
  /* Footer articles */
  width: 100%;
  float: left;
  padding-left: 2%;
  padding-right: 2%;
  text-align: justify;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-style: normal;
  font-weight: 200;
  color: rgba(0, 0, 0, 1.00);
}
footer article h3 {
  /* Footer article titles */
  text-align: left;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-style: normal;
  line-height: 1.7;
  font-weight: 400;
}
#mainContent {
  /* Container for the blog post in individal blog view */
  padding-left: 2%;
  width: 71%;
  float: left;
  padding-right: 2%;
  padding-top: 10px;
}
#mainwrapper #content #sidebar {
  /* Sidebar*/
  width: 19%;
  padding-left: 2%;
  padding-right: 2%;
  float: left;
  background-color: rgba(246, 246, 246, 1.00);
  padding-top: 10px;
}
#mainwrapper {
  /* Container of all content */
  width: 80%;
  margin-left: 10%;
}
#content #sidebar input {
  /* Search box in sidebar */
  width: 98%;
  height: 32px;
}
#content #sidebar #adimage {
  /* Container for Image in sidebar */
  width: 100%;
  background-color: rgba(255, 255, 255, 1.00);
  margin-top: 46px;
  float: none;
  overflow: auto;
}
nav ul li {
  list-style-type: none;
  padding-top: 8px;
  padding-bottom: 8px;
}
nav ul {
  padding-left: 0%;
}
nav ul li a {
  color: rgba(117, 2, 4, 1.00);
  text-decoration: none;
}
#footerbar {
  /* Footer bar at the bottom of the page */
  height: 18px;
  clear: both;
  background-color: rgba(0, 153, 25, 1.00);
  width: 100%;
}
footer {
  /* Container for footer artices */
  width: 95%;
  padding-left: 2%;
  padding-right: 2%;
}
.notOnDesktop {
  /*element to be displayed only in mobile view and tabet view */
  display: none;
}
#mainContent #bannerImage img {
  /* Actual banner image */
  width: 100%;
}
#sidebar #adimage img {
  /* Image in sidebar */
  width: 100%;
  float: left;
}
#mainwrapper header nav a {
  /* Links in header */
  color: rgba(146, 146, 146, 1.00);
  text-decoration: none;
}
/* Tablet view */
@media screen and (max-width:769px) {
  .notOnDesktop {
    /* Search box shown only in mobile view and Tablet view */
    display: block;
    text-align: right;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 96%;
  }
  #content .notOnDesktop input {
    height: 28px;
  }
  #mainContent {
    /* Container for the blog post */
    padding-top: 0px;
    float: none;
    width: 96%;
  }
  #sidebar input {
    /* Search box in sidebar */
    display: none;
  }
  #mainwrapper #content #sidebar {
    /* Sidebar*/
    float: none;
    width: 92%;
    padding-top: 13px;
    overflow: auto;
    margin-top: 3px;
    margin-left: 2%;
    padding-bottom: 13px;
  }
  #content #sidebar #adimage {
    /* Image in sidebar */
    width: 60%;
    margin-top: 0px;
    float: left;
  }
  #content #sidebar nav {
    /* Navigation links in sidebar */
    width: 36%;
    float: left;
    padding-left: 4%;
  }
  #sidebar nav ul {
    margin-top: 0px;
  }
  footer {
    /* Footer region */
    width: 96%;
    padding-left: 2%;
    padding-right: 2%;
  }
  #content footer article {
    /*Each footer article */
    width: 95%;
  }
  #mainwrapper header {
    /* Header */
    width: 100%;
  }
}
/* Mobile view */
@media screen and (max-width:480px) {
  #mainwrapper header #logo {
    /* Company Logo text in header */
    width: 96%;
    margin-left: 2%;
  }
  #mainwrapper header nav {
    /*navigation links in header */
    text-align: center;
    background-color: rgba(255, 255, 255, 1.00);
    width: 98%;
  }
  #content #sidebar #adimage {
    /* Container for image in sidebar */
    width: 100%;
  }
  #content #sidebar nav {
    /* Navigation bar for links in sidebar */
    width: 96%;
    padding-top: 7px;
  }
  #sidebar nav ul li {
    display: inline-block;
    width: 32%;
    text-align: center;
  }
  #mainwrapper #content #sidebar {
    /* sidebar */
    padding-bottom: 0px;
  }
  #content .notOnDesktop {
    /* Search box shown only in mobile and tablet view */
    width: 100%;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
  }
  #content .notOnDesktop input {
    width: 80%;
    text-align: center;
  }
  #content #mainContent h3 {
    /* Title under maincontent, if any */
    font-size: 14px;
  }
  #content footer article {
    /* Each foter article */
    width: 96%;
  }
}