@charset "UTF-8";
/*################################################################*/
/*####                                                       #####*/
/*####　トップページレイアウト設定                              #####*/
/*####                                                       #####*/
/*################################################################*/
/*コンテンツwidth*/
/*ボーダーカラー*/
/*よく使う色*/
/*opacity*/
/*-----------------------------------------------------------------
設定
-----------------------------------------------------------------*/
body {
  text-align: left;
  font-size: 100%;
  line-height: 1.3em;
  color: #696969;
  background: url(./img/common/layer_bg.png) repeat-x;
}
body ul {
  list-style: none;
}

#content {
  padding-top: 50px;
}

/*-----------------------------------------------------------------
TOPメインエリア
-----------------------------------------------------------------*/
/* メイン画像 */
.main_img {
  width: 966px;
  height: 300px;
  overflow: hidden;
  /* clearfix的な要素 */
  position: relative;
  background: linear-gradient(#fbfbfb, #f3f3f3);
}
.main_img h3 {
  line-height: 140%;
  font-size: 150%;
  font-weight: bold;
  color: #d0101f;
  position: absolute;
}
.main_img ul {
  list-style: none;
  position: absolute;
  bottom: 40px;
}
.main_img ul li {
  padding-left: 20px;
  margin-bottom: 10px;
  background: url(img/common/icon04.png) 0 0.2em no-repeat;
  line-height: 140%;
  font-size: 110%;
  font-weight: bold;
  color: #333;
}
.main_img ul li:last-child {
  margin-bottom: 0;
}

/*ナビゲーション*/
#nav * {
  box-sizing: border-box;
}
#nav h2 {
  background: #00439a;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.111;
  font-weight: bold;
  color: #fff;
  padding-left: 15px;
}
#nav .list {
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
  margin-top: 30px;
}
#nav .list h3 {
  margin-bottom: 20px;
  background: url(./img/common/bg-hx01.png) left top no-repeat;
  padding-left: 22px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: bold;
  color: #00479d;
}
#nav .list ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0 40px;
}
#nav .list ul li {
  margin-left: 50px;
  width: 260px;
}
#nav .list ul li:nth-of-type(3n + 1) {
  margin-left: 0;
}
#nav .list ul li:nth-of-type(n+4) {
  margin-top: 25px;
}
#nav .list ul li a:hover {
  opacity: 0.65;
}
#nav .list ul li .img {
  width: 260px;
  height: 173px;
  text-align: center;
}
#nav .list ul li .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
#nav .list ul li .contents {
  margin-top: 12px;
}
#nav .list ul li .contents .date {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.4285714286;
}
#nav .list ul li .contents .date img {
  margin-left: 10px;
}
#nav .list ul li .contents .title {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}
#nav .list ul li .contents .title a {
  color: #3b3b3b;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.25;
}
#nav .list ul li .contents .text {
  display: block;
}
#nav .list .link {
  margin-top: 40px;
  display: flex;
  justify-content: right;
}
#nav .boxes {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
#nav .boxes .box {
  width: 280px;
  margin: 20px;
}
#nav .boxes .box a {
  color: #333;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  display: block;
}
#nav .boxes .box a:hover {
  opacity: 0.65;
}
#nav .boxes .box .img {
  height: 186px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#nav .boxes .box .title {
  width: 100%;
  height: 43px;
  background: #eaeaea;
  padding-left: 10px;
  display: flex;
  justify-content: left;
  align-items: center;
}

@media screen and (min-device-width: 451px) and (max-device-width: 850px) {
  #nav h2 {
    height: 60px;
    font-size: 22px;
  }
  #nav .boxes .box {
    width: 45%;
    margin: 20px;
  }
  #nav .boxes .box a {
    font-size: 20px;
  }
  #nav .boxes .box .img {
    height: auto;
  }
  #nav .boxes .box .img img {
    width: 100%;
  }
  #nav .boxes .box .title {
    height: 80px;
    padding-left: 20px;
  }
}
@media screen and (max-device-width: 450px) {
  #wrapper {
    -webkit-text-size-adjust: 100%;
  }
  #nav h2 {
    height: 80px;
    font-size: 3.7333333333vw;
  }
  #nav .main_img {
    width: 100%;
    height: auto;
    padding: 2.5em;
  }
  #nav .main_img:after {
    content: "";
    display: block;
    clear: both;
  }
  #nav .main_img h3 {
    position: static;
    line-height: 1.4;
    font-size: 3.7333333333vw;
  }
  #nav .main_img ul {
    margin-top: 1em;
    position: static;
    font-size: 3.2vw;
  }
  #nav .main_img ul li {
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    background: url(img/common/icon04.png) 0 0.2em no-repeat;
    background-size: 1.2em auto;
    line-height: 1.4;
    font-size: 100%;
  }
  #nav .main_img ul li:last-child {
    margin-bottom: 0;
  }
  #nav .list {
    width: 91.7333333333vw;
    margin: 4.6666666667vw auto 0;
    border-bottom: 0.2666666667vw solid #ccc;
    padding-bottom: 8vw;
  }
  #nav .list h3 {
    height: 8.2666666667vw;
    line-height: 8.2666666667vw;
    padding-left: 3.3333333333vw;
    background: url(./img/common/bg-hx01-sp.png) left top no-repeat;
    background-size: contain;
    font-size: 3.7333333333vw;
    font-weight: bold;
    color: #00479d;
  }
  #nav .list ul {
    display: block;
    margin-top: 4vw;
  }
  #nav .list ul li {
    display: flex;
    margin-left: 0;
    width: 100%;
  }
  #nav .list ul li + li {
    margin-top: 5.3333333333vw;
  }
  #nav .list ul li:nth-of-type(3n + 1) {
    margin-left: 0;
  }
  #nav .list ul li:nth-of-type(n+4) {
    margin-top: 5.3333333333vw;
  }
  #nav .list ul li a:hover {
    opacity: 0.65;
  }
  #nav .list ul li .img {
    width: 40.1333333333vw;
    height: 26.6666666667vw;
  }
  #nav .list ul li .img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  #nav .list ul li .contents {
    width: 48.9333333333vw;
    margin-top: 0;
    margin-left: 2.6666666667vw;
  }
  #nav .list ul li .contents .date {
    display: flex;
    align-items: center;
    font-size: 3.2vw;
    line-height: 1.4285714286;
  }
  #nav .list ul li .contents .date img {
    width: 5.6vw;
    margin-left: 10px;
  }
  #nav .list ul li .contents .title {
    display: block;
    margin-top: 2.9333333333vw;
  }
  #nav .list ul li .contents .title a {
    color: #3b3b3b;
    text-decoration: none;
    font-size: 3.7333333333vw;
    line-height: 1.3571428571;
  }
  #nav .list ul li .contents .text {
    display: block;
  }
  #nav .list .link {
    margin-top: 4.6666666667vw;
    display: flex;
    justify-content: right;
  }
  #nav .list .link a img {
    width: 26.6666666667vw;
    height: auto;
  }
  #nav .boxes .box {
    width: 100%;
    margin: 20px;
  }
  #nav .boxes .box a {
    font-size: 30px;
  }
  #nav .boxes .box .img {
    height: auto;
  }
  #nav .boxes .box .img img {
    width: 100%;
  }
  #nav .boxes .box .title {
    height: 100px;
    padding-left: 20px;
  }
}
/*info*/
#info {
  margin-bottom: 50px;
}
#info h3 {
  margin-bottom: 20px;
  background: url(./img/common/bg-hx01.png) left top no-repeat;
  padding-left: 22px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: bold;
  color: #00479d;
}
#info .top_newsinfo_line {
  width: 940px;
  margin: 0 auto 12px;
  border-bottom: 1px dotted #333;
  font-size: 80%;
  padding-bottom: 8px;
}
#info .top_newsinfo_line .line_date {
  display: block;
  float: left;
  width: 114px;
}
#info .top_newsinfo_line .line_title {
  display: block;
  float: left;
  font-weight: bold;
}
#info .top_newsinfo_line .line_title a {
  text-decoration: underline;
}
#info .top_newsinfo_line .line_content {
  clear: both;
  float: none;
}
#info .top_newsinfo_line .new_icon {
  margin-left: 10px;
}
#info .top_newsinfo_tolist {
  margin-top: 15px;
  overflow: hidden;
}
#info .top_newsinfo_tolist a {
  display: block;
  float: right;
  width: 110px;
  height: 30px;
}
#info .top_newsinfo_tolist img {
  width: 110px;
  height: 30px;
}

@media screen and (min-device-width: 451px) and (max-device-width: 850px) {
  /*info*/
  #info {
    margin-bottom: 50px;
    font-size: 24px;
    line-height: 1.6;
  }
  #info h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
  }
  #info .top_newsinfo_line {
    width: 940px;
    margin: 0 auto 12px;
    border-bottom: 1px dotted #333;
    font-size: 80%;
    padding-bottom: 8px;
  }
  #info .top_newsinfo_line .line_date {
    width: 170px;
  }
  #info .top_newsinfo_line .new_icon {
    margin-left: 10px;
  }
  #info .top_newsinfo_tolist {
    margin-top: 15px;
  }
  #info .top_newsinfo_tolist a {
    width: auto;
    height: auto;
  }
  #info .top_newsinfo_tolist img {
    width: auto;
    height: auto;
  }
}
@media screen and (max-device-width: 450px) {
  /*info*/
  #info {
    margin-bottom: 50px;
    font-size: 30px;
    line-height: 1.6;
  }
  #info h3 {
    margin-bottom: 20px;
    background: url(./img/common/bg-hx01-sp.png) left top no-repeat;
    background-size: 100% auto;
    padding-left: 3.5vw;
    font-size: 4vw;
    font-weight: bold;
    color: #00479d;
    height: 9.06vw;
    padding-top: 0.2vw;
    display: flex;
    align-items: center;
  }
  #info .top_newsinfo_line .line_date {
    width: 100%;
    font-size: 3.2vw;
  }
  #info .top_newsinfo_line .line_title {
    font-size: 3.2vw;
  }
  #info .top_newsinfo_line .line_content {
    font-size: 3.2vw;
  }
  #info .top_newsinfo_tolist {
    margin-top: 4.8vw;
  }
  #info .top_newsinfo_tolist a {
    width: 26.6666666667vw;
    height: auto;
  }
  #info .top_newsinfo_tolist img {
    width: 26.6666666667vw;
    height: auto;
  }
}
/*# sourceMappingURL=front.css.map */
