@media only screen and (min-width: 999px) {

  .firstView,
  .site-content {
    position: relative;
    margin-top: 148px;
  }
}

@media only screen and (min-width: 641px) and (max-width: 998px) {

  .firstView,
  .site-content {
    position: relative;
    margin-top: 83px;
  }
}

@media only screen and (max-width: 640px) {

  .firstView,
  .site-content {
    position: relative;
    margin-top: 58px;
  }
}

.firstView-ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  width: 1200px;
  height: 120px;
  margin-left: -600px;
  margin-top: -75px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-weight: bold !important;
  font-size: 41px !important;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 10px;
  text-stroke: 1px #000;
  -webkit-text-stroke: 1px #000;
  font-family: auto;
}

.firstView-ttl-02 {
  opacity: 0;
}

.container {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  grid-template-areas: "i-01 i-01 i-02 i-03 i-04 i-04 i-05 i-05""i-06 i-07 i-07 i-03 i-08 i-09 i-05 i-05"
    "i-10 i-07 i-07 i-11 i-08 i-12 i-12 i-13";
}

.container li {
  position: relative;
  will-change: opacity, transform;
}

.container-first {
  opacity: 1;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
  margin-top: -1px;
}

.container-second {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}

.is-display {
  opacity: 1;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}

.is-hide {
  opacity: 0;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}

.num-01 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-area: i-01;
}

.num-02 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: i-02;
}

.num-03 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 4;
  grid-area: i-03;
}

.num-04 {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
  -ms-grid-column-span: 2;
  grid-area: i-04;
}

.num-05 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 7;
  -ms-grid-column-span: 2;
  grid-area: i-05;
}

.num-06 {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: i-06;
}

.num-07 {
  -ms-grid-row: 2;
  -ms-grid-row-span: 2;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
  grid-area: i-07;
}

.num-08 {
  -ms-grid-row: 2;
  -ms-grid-row-span: 2;
  -ms-grid-column: 5;
  grid-area: i-08;
}

.num-09 {
  -ms-grid-row: 2;
  -ms-grid-column: 6;
  grid-area: i-09;
}

.num-10 {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: i-10;
}

.num-11 {
  -ms-grid-row: 3;
  -ms-grid-column: 4;
  grid-area: i-11;
}

.num-12 {
  -ms-grid-row: 3;
  -ms-grid-column: 6;
  -ms-grid-column-span: 2;
  grid-area: i-12;
}

.num-13 {
  -ms-grid-row: 3;
  -ms-grid-column: 8;
  grid-area: i-13;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}

.front {
  position: relative;
  z-index: 10;
}

.content01 {
  width: 100%;
  height: 500px;
  background-color: #fff;
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background: #eee;
  color: #555;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
}

.card div {
  width: 100%;
  height: 100%;
  text-align: center;
}

.back {
  opacity: 0;
  transition: 1s ease all;
  -webkit-transition: 1s ease all;
}

.is-rotateY .back {
  opacity: 1;
  transition: 1s ease all;
  -webkit-transition: 1s ease all;
}

.index {
  width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
}

.index .search_box{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.index .search_box .search-form {
  width: 670px;
  margin: 0 auto;
}
.index .search_box .btn{
  max-width: 470px;
}

.index .search-form .screen-reader-text {
  display: none;
}

.index .search-form input.search-field {
  border: 2px solid #017fb2;
  border-radius: 3px;
  width: 530px;
  padding: 10px 20px;
  line-height: 2;
  color: #017fb2;
  text-align: center;
  font-weight: 700 !important;
  font-size: 18px;
  font-family: FontAwesome;
  font-style: normal;
  text-decoration: inherit;
  -webkit-appearance: none;
}

.index .search-form input.search-submit {
  width: 130px;
  padding: 22px;
  background: #017fb2;
  color: #ffffff;
  border-radius: 3px;
  margin-left: 5px;
  cursor: pointer;
  font-weight: 700 !important;
  -webkit-appearance: none;
}

.index .search-form input.search-submit:hover {
  opacity: 0.7;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: #ffffff;
}

.title {
  font-size: 24px;
}

.titlebar {
  font-size: 24px;
}

.title .sub-title,
.title .sub-title {
  font-size: 14px;
  color: #999999;
  margin-left: 15px;
}

.index .more {
  display: table;
  margin: 0 auto;
  margin-top: 40px;
  width: 200px;
}

.index .more span {
  width: 100%;
  background: #017fb2;
  display: inline-block;
  padding: 10px;
  text-align: center;
  color: #ffffff;
  font-size: 15px;
  border-radius: 5px;
}

.index .custom-news {
  display: table;
  width: 100%;
  margin-top: 20px;
  padding: 20px 40px;
  border: 1px solid #cccccc;
}

.index .custom-news article a {
  width: 100%;
  display: block;
  color: #333333;
  border-bottom: 1px solid #cccccc;
  padding: 13px 0;
  font-size: 16px;
}

.index .custom-news article:last-child a {
  border-bottom: none;
}

.index .custom-news article .entry-date {
  float: left;
  height: 20px;
}

.index .custom-news article .entry-content {
  margin-left: 140px;
}

.index .custom-news article .entry-content p {
  white-space: nowrap;
  overflow: hidden;
}

.index-related .related-img {
  display: inline-block;
  margin-top: 20px;
}

.index-related .related-img:after {
  content: "";
  display: table;
  clear: both;
}

.index-related .related-img img {
  /*width: 380px;*/
  width: 220px;
  /*float: left;*/
  /*margin-left: 30px;*/
  margin-left: 20px;
}

.index-related .related-img a:first-child img {
  margin-left: 0px;
}

.index-footer {
  margin-top: 80px;
}

@media only screen and (max-width: 998px) {

  .firstView-ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 100%;
    width: 320px;
    height: 100px;
    margin-left: -160px;
    margin-top: -50px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: bold !important;
    font-size: 16px !important;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 10px;
    text-stroke: 1px #000;
    -webkit-text-stroke: 1px #000;
  }

  .index {
    width: 100%;
    display: inline-block;
    padding: 0 5.5%;
    margin-top: 8%;
  }

  .index .search_box{
    display: block;
  }
  .index .search_box .search-form,
  .index .search_box .search-form input.search-field {
    width: 100%;
    font-size: 3vw;
    display: inline-block;
    line-height: 2;
    padding: 10px 5px;
  }

  .index .search_box .search-form input.search-field,
  .index .search_box .search-form input.search-submit {
    padding: 1%;
    float: left;
    display: block;
    min-height: 50px;
  }

  .index .search_box .search-form input.search-field {
    width: 80%;
  }

  .index .search_box .search-form input.search-submit {
    width: 18%;
    margin-left: 2%;
  }

  .title {
    font-size: 4.3vw;
    margin-top: 8%;
  }

  .title .sub-title {
    font-size: 2.6vw;
    margin-left: 1%;
  }

  .index .more {
    width: 40%;
    margin-top: 8%;
  }

  .index .more span {
    font-size: 3.2vw;
    padding: 5%;
    font-weight: bold;
  }

  .index .news-category .title {
    margin-top: 12%;
  }

  .index .custom-news {
    width: 100%;
    padding: 2% 5%;
    margin-top: 3%;
    border: 1px solid #cccccc;
  }

  .index .custom-news article a {
    padding: 3% 0;
    font-size: 3.2vw;
    border-bottom: 1px solid #cccccc;
  }

  .index .custom-news article .entry-date {
    float: none;
    height: auto;
  }

  .index .custom-news article .entry-content {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .index .index-related .title {
    margin-top: 15%;
  }

  .index-related .related-img {
    margin-top: 0;
  }

  .index-related .related-img img {
    width: 100%;
    float: none;
    margin-top: 5%;
    margin-left: 0;
  }

  .index-related .related-img img:first-child {
    margin-top: 3%;
  }

  .index-footer {
    margin-top: 9%;
  }

  .is-sp-hide {
    display: none;
  }
}
