@charset "utf-8";
/* =========================================

cmn_main.css

============================================ */
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

img {
  vertical-align: bottom;
}

div#container {
  width: 100%;
}

div#header {
  margin: 0 auto;
}

.nav_contents {
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 1.5em auto 1em;
  max-width: 1025px;
  width: calc( 1025 / 1060 * 100% );
  /*width: calc( 830 / 1060 * 100% );*/
}

.nav_contents li {
  box-sizing: border-box;
	border: 1px solid #000;
	box-shadow:1px 5px 4px -1px #cccccc;
  width: calc( 330 / 1025 * 100% );
  /*width: calc( 400 / 830 * 100% );*/
}

.nav_contents li a {
  background: #251E74;
	color: #fff;
	display: block;
	padding: 1.5em 0;
	text-align: center;
}

.nav_contents li a:hover {
	opacity: .8;
	transition: .5s all;
}

.nav_contents li.no_link {
  background: #81877B;
	color: #ccc;
	cursor: default;
	display: block;
  padding: 1.5em 0;
	text-align: center;
}


@media screen and ( max-width: 1000px ) {
  .nav_contents li {
    font-size: 1.7vw;
  }
}

@media screen and ( max-width: 736px ) {
  .nav_contents {
    justify-content: center;
    width: 95%!important;
  }

  .nav_contents li {
    box-shadow: none;
    font-size: 3.8vw;
    position: relative;
    width: 50%;
  }

  .nav_contents li:first-child {
    width: 100%;
  }

  /*.nav_contents li:nth-child( n+2 ) {
    border-top: none;
  }*/

  .nav_contents li:nth-child( 2n ) {
    border-right: none;
  }

  .nav_contents li:after {
    border-top: 0.15em solid #fff;
    border-right: 0.15em solid #fff;
    content: "";
    height: 0.5em;
    margin: auto;
    position: absolute;
    bottom: 0;
    right: 0.5em;
    top: 0;
    transform: rotate(45deg);
    width: 0.5em;
  }

  .nav_contents li:nth-child(3) a {
    padding-right: 1em;
  }
}



#content {
  font-size: 1rem;
}

#content .con_header {
  max-width: 1025px;
  margin: 0 auto;
  width: calc( 1025 / 1060 * 100% );
}

#content .con_header h1 {
  border-top: 1px solid #c8e6fd;
  font-weight: normal;
  margin: 0;
  padding: 0.6em 0;
}

.main {
  margin: 0 auto 2em;
  overflow: hidden;
  max-width: 860px;
  width: calc( 860 / 1060 * 100% );
}

.w90p {
  width: 90%;
}

@media screen and ( max-width: 1000px ) {
  .main {
    width: 95%;
  }
}

@media screen and ( max-width: 736px ) {
  #content .con_header {
    width: 100%;
  }

  #content .con_header h1 {
    display: none;
  }

  .main {
    width: 95%;
  }
}

