@charset "UTF-8";

/* Html5 Elements  --------------
------------------------------ */
header,
article,
aside,
section,
footer,
nav,
menu,
details,
hgroup,
summary {
  display: block;
}

/* ------------------------------
   Common Elements
------------------------------ */
body {
  background: #fff;
  color: #000;
  font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans W3", "メイリオ", Meiryo, "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, Verdana;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

#wrapper {
  margin: 0 auto;
}

.m-container,
.c-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 960px;
  margin: 0 auto;
  text-align: center;
}

.m-container p,
.c-container p {
  padding: 0 1em;
  color: #000;
  font-size: 1rem;
  line-height: 1.8;
  text-indent: 1em;
}

/* ----- Clearfix ------- */
.clearfix::after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
}

/* ------------------------------
   BaseHeader
------------------------------ */
.baseHeader {
  background-color: #eafdea;
  text-align: center;
}

.baseHeader div {
  position: relative;
  width: 960px;
  margin: 0 auto;
  background: url(../img/men_s.png) left 10px top 6px no-repeat;
  text-align: left;
}

.baseHeader div h1 {
  height: 50px;
  padding: 0 0 0 2em;
  color: #0f2350;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 2rem;
  font-weight: bold;
  line-height: 50px;
}

.baseHeader div p {
  color: #555;
  font-size: 0.75rem;
  line-height: 15px;
}

/* ------------------------------
   BaseFooter
------------------------------ */
.baseFooter {
  padding: 0 0 10px 0;
  border-top: #638ae2 1px solid;
  background-color: #eafdea;
  color: #000;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

#copyright {
  width: 100%;
  margin: 20px 0 0 0;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ------------------------------
   BreadCrumb
------------------------------ */
.breadcrumb {
  width: 100%;
  padding: 10px;
  list-style: none;
  text-align: left;
}

.breadcrumb a {
  color: #096009;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li {
  display: inline-block;
}

.breadcrumb li::after {
  content: "»";
  padding: 0 5px;
  color: #0f2350;
}

.breadcrumb li:last-child::after {
  content: none;
}

/* ------------------------------
   DropDown Menu
------------------------------ */
#rddmenu #menu-button,
#rddmenu ul li a,
#rddmenu ul li,
#rddmenu ul,
#rddmenu {
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1;
  list-style: none;
  text-align: left;
}

#rddmenu {
  background: #0f2350;
}

#rddmenu ul {
  width: 960px;
  margin: 0 auto;
}

#rddmenu #menu-button {
  display: none;
}

#rddmenu::after,
#rddmenu > ul::after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
  line-height: 0;
}

#rddmenu > ul > li:first-child {
  border-left: #eafdea 1px solid;
}

#rddmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}

#rddmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}

#rddmenu.align-center ul ul {
  text-align: left;
}

#rddmenu.align-right > ul > li {
  float: right;
}

#rddmenu > ul > li {
  float: left;
  border-right: #eafdea 1px solid;
}

#rddmenu > ul > li > a {
  padding: 17px;
  color: #eafdea;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
}

#rddmenu > ul > li:hover > a {
  color: #fff;
}

#rddmenu > ul > li.has-sub > a {
  padding: 0 30px 0 0;
}

#rddmenu > ul > li.has-sub > a::after {
  content: "";
  display: block;
  position: absolute;
  top: 23px;
  right: 11px;
  width: 8px;
  height: 2px;
  background: #eee;
}

#rddmenu > ul > li.has-sub > a::before {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  right: 14px;
  width: 2px;
  height: 8px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background: #eee;
}

#rddmenu > ul > li.has-sub:hover > a::before {
  top: 23px;
  height: 0;
}

#rddmenu ul ul {
  position: absolute;
  left: -9999px;
}

#rddmenu.align-right ul ul {
  text-align: right;
}

#rddmenu li:hover > ul {
  left: auto;
}

#rddmenu.align-right li:hover > ul {
  right: 0;
  left: auto;
}

#rddmenu li:hover > ul > li {
  height: 47px;
}

#rddmenu ul ul ul {
  top: 0;
  margin: 0 0 0 170px;
}

#rddmenu.align-right ul ul ul {
  margin: 0 100% 0 0;
}

#rddmenu ul ul li {
  height: 0;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#rddmenu ul ul li a {
  width: 240px;
  padding: 15px 15px;
  border-bottom: 1px solid #789ae6;
  background: #0f2350;
  color: #eee;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

#rddmenu ul ul li:last-child > a,
#rddmenu ul ul li.last-item > a {
  border-bottom: 0;
}

#rddmenu ul ul li:hover > a,
#rddmenu ul ul li a:hover {
  color: #fff;
}

#rddmenu ul ul li.has-sub > a::after {
  content: "";
  display: block;
  position: absolute;
  top: 23px;
  right: 11px;
  width: 8px;
  height: 2px;
  background: #eee;
}

#rddmenu ul ul ul li a {
  background: #132c65;
}

#rddmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 11px;
}

#rddmenu ul ul li.has-sub > a::before {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  right: 14px;
  width: 2px;
  height: 8px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background: #eee;
}

#rddmenu.align-right ul ul li.has-sub > a::before {
  right: auto;
  left: 14px;
}

#rddmenu ul ul > li.has-sub:hover > a::before {
  top: 17px;
  height: 0;
}

/* ------------------------------
   Page Top
------------------------------ */
#pageTop {
  display: none;
  position: fixed;
  z-index: 9999;
  right: 10px;
  bottom: 10px;
  padding: 15px 20px;
  border-radius: 10px;
  opacity: 0.9;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #1f49a6), color-stop(50%, #0f2350));
  background: linear-gradient(to bottom, #1f49a6 50%, #0f2350 50%);
  -webkit-box-shadow: 0 0 4px #888;
          box-shadow: 0 0 4px #888;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
}

#pageTop:hover {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0.6;
}

/* ------------------------------
   Column Layout Elements
------------------------------ */
.column-12 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 99%;
  margin: 20px auto;
  padding: 20px 1em;
  text-align: left;
}

.column-8 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 65%;
  margin: 20px auto;
  padding: 20px 1em;
  text-align: left;
}

.column-6 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 49%;
  margin: 20px auto;
  padding: 20px 1em;
  text-align: left;
}

.column-4 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 32%;
  margin: 20px auto;
  padding: 20px 1em;
  text-align: left;
}

/* ------------------------------
   Design/Layout Elements
------------------------------ */
a:link,
a:visited,
a:active,
a:hover {
  color: #000;
  text-decoration: none;
}

h2 {
  margin: 15px 0;
  padding: 5px 0;
  border-bottom: #d41414 3px solid;
  border-radius: 0 0 20px 20px;
  color: #0f2350;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 2rem;
  text-indent: 4rem;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5);
}

h2::before {
  content: url(../img/shinai.png);
  display: block;
  position: absolute;
  margin-top: -26px;
  text-indent: 0;
}

#calendar h2::before {
  content: "";
}

#calendar h2,
h3 {
  margin: 5px 0;
  padding: 0 0 0 1rem;
  border-bottom: #76f276 1px solid;
  border-radius: 0 0 10px 10px;
  color: #0f2350;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 2rem;
}

#calendar h2 {
  padding: 0 1rem;
  text-indent: 0;
  text-shadow: 0 0 0;
}

/* ----- hr（区切り線） ------- */
hr {
  width: 100%;
  margin: 10px 0;
  border: none;
  border-top: #76f276 1px dotted;
}

hr::before {
  content: " ";
  display: block;
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -6px 0 0 -6px;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: #76f276;
  background-color: #fff;
}

/* --- image（画像関係）------------ */
.img-r-f img {
  float: right;
}

.img-l-f-s img {
  width: 20%;
  margin-right: 10px;
  float: left;
}

/* --- Soshiki ----------------- */
.soshiki-list table {
  width: 75%;
  margin: 10px auto;
}

.soshiki-list table caption {
  background-color: #f9bbbb;
  color: #0f2350;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 3;
  text-align: center;
}

.soshiki-list table tr {
  border: 1px solid #a4f7a4;
}

.soshiki-list table td {
  padding: 5px 1em;
  border: 1px solid #a4f7a4;
}

.soshiki-list table td:nth-child(1) {
  white-space: nowrap;
}

.soshiki-list table tr:nth-child(2n) {
  background-color: #eafdea;
}

/* --- Link ----------------- */
.a-link a:link,
.a-link a:visited,
.a-link a:active {
  color: #d41414;
  font-weight: bold;
  text-decoration: none;
}

.a-link a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Mediaqueries Transition Layout
------------------------------ */
@media only screen and (max-width: 960px) {
  .m-container {
    width: 100%;
  }

  .baseHeader div {
    width: 100%;
  }

  h2 {
    text-indent: 1rem;
  }

  #calendar h2 {
    text-indent: 0;
  }

  #rddmenu ul {
    width: 100%;
  }

  #footerMenu > ul {
    width: 100%;
  }
}

/* ------------------------------
   Mediaqueries Layout Mobile
------------------------------ */

/*
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2 / 1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
*/
@media only screen and (max-width: 768px) {
  body {
    min-width: 320px;
  }

  #wrapper {
    margin: 0 auto;
  }

  .m-container {
    width: 100%;
    margin: 50px 0 30px 0;
  }

  .c-container {
    width: 100%;
  }

  /* ------------------------------
     BaseHeader
  ------------------------------ */
  .baseHeader {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #0f2350;
  }

  .baseHeader div {
    width: 100%;
    padding: 10px 0;
  }

  .baseHeader div h1 {
    height: 30px;
    color: #0f2350;
    font-size: 1.75rem;
    line-height: 30px;
  }

  .baseHeader div a {
    position: relative;
    top: auto;
    right: auto;
    width: 50%;
    margin: 0 auto;
  }

  /* ------------------------------
     DropDown Mobile Menu
  ------------------------------ */
  #rddmenu {
    position: fixed;
    z-index: 95;
    top: 0;
    right: 0;
    width: 100%;
    background: transparent;
  }

  #rddmenu.align-center > ul {
    text-align: left;
  }

  #rddmenu ul {
    display: none;
    width: 100%;
  }

  #rddmenu ul li {
    width: 100%;
    border-top: 1px solid #eafdea;
    border-right: 0;
    opacity: 0.9;
    background: #0f2350;
  }

  #rddmenu ul li:first-child {
    border-left: 0;
  }

  #rddmenu ul li a {
    width: 100%;
    border-bottom: 0;
  }

  #rddmenu ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #rddmenu ul ul ul li a {
    padding: 0 0 0 35px;
  }

  #rddmenu ul ul li {
    height: auto;
  }

  #rddmenu ul ul li a {
    width: 100%;
    padding: 0 0 0 25px;
    border-bottom: 0;
    background: none;
    color: #eee;
  }

  #rddmenu ul ul li:hover > a,
  #rddmenu ul ul li.active > a {
    color: #fff;
  }

  #rddmenu ul ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #rddmenu li:hover > ul > li {
    height: auto;
  }

  #rddmenu > ul > li {
    float: none;
  }

  #rddmenu.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #rddmenu > ul > li.has-sub > a::after,
  #rddmenu > ul > li.has-sub > a::before {
    display: none;
  }

  #rddmenu ul ul > li.has-sub > a::after,
  #rddmenu ul ul > li.has-sub > a::before {
    display: none;
  }

  #rddmenu #menu-button {
    display: block;
    position: absolute;
    right: 0;
    width: 60px;
    height: 50px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }

  #rddmenu #menu-button p {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 10px;
    font-weight: normal;
  }

  #rddmenu #menu-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 28px;
    right: 15px;
    width: 28px;
    height: 6px;
    border-top: 2px solid #0f2350;
    border-bottom: 2px solid #0f2350;
  }

  #rddmenu #menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 14px;
    right: 15px;
    width: 28px;
    height: 6px;
    border-bottom: 2px solid #0f2350;
    font-weight: normal;
  }

  #rddmenu #menu-button.menu-opened::after {
    top: 26px;
    right: 16px;
    width: 24px;
    height: 2px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    border: 0;
    background: #0f2350;
  }

  #rddmenu #menu-button.menu-opened::before {
    content: "";
    top: 26px;
    right: 16px;
    width: 24px;
    height: 2px;
    padding-bottom: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    border: 0;
    background: #0f2350;
  }

  #rddmenu .submenu-button {
    display: block;
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    cursor: pointer;
  }

  #rddmenu .submenu-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    background: #eee;
  }

  #rddmenu .submenu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 19px;
    right: 22px;
    width: 2px;
    height: 8px;
    background: #eee;
  }

  #rddmenu .submenu-button.submenu-opened {
    background: #132c65;
  }

  #rddmenu .submenu-button.submenu-opened::before {
    display: none;
  }

  #rddmenu .submenu-button.submenu-opened::after {
    background: #fff;
  }

  #rddmenu ul ul .submenu-button {
    width: 34px;
    height: 47px;
  }

  #rddmenu ul ul .submenu-button::after {
    top: 23px;
    right: 13px;
  }

  #rddmenu ul ul .submenu-button::before {
    top: 20px;
    right: 16px;
  }

  #rddmenu div {
    height: 50px;
  }

  /* ------------------------------
     Page Top
  ------------------------------ */
  #pageTop {
    padding: 8px 13px;
    font-size: 15px;
  }

  /* ------------------------------
     Column Layout
  ------------------------------ */
  .column-4,
  .column-6,
  .column-8,
  .column-12 {
    width: 100%;
    margin: 10px auto;
  }

  /* ------------------------------
     Design/Layout Elements
  ------------------------------ */
  h2 {
    color: #0f2350;
    font-size: 1.4rem;
    line-height: 2rem;
  }

  /* --- soshiki-list ----- */
  .soshiki-list table {
    width: 100%;
  }

  .soshiki-list table td {
    padding: 5px 0.5em;
  }

  /* --- Link ----------------- */
  .a-link a:link,
  .a-link a:visited,
  .a-link a:active {
    text-decoration: underline;
  }

  .a-link a:hover {
    text-decoration: none;
  }

  /* --- image ----------------- */
  .img-l-f-s img {
    width: 30%;
  }
}
