@charset 'UTF-8';
@import url(common.css);

/* base */

* {
  word-break: break-all;
}

body {
  min-width: 1030px;
  font-family: '游ゴシック', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo UI', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  color: #1a1a1a;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: #0258c3;
}

a:hover {
  text-decoration: underline;
}

a.anchor-for-call,
a.anchor-for-call:hover {
  color: inherit;
  font-weight: inherit;
  text-decoration: inherit;
}

body .sbox-cen,
.seotext {
  text-align: center;
  font-size: 1.0rem;
  line-height: 1.8;
  color: #333333;
  font-weight: normal;
  background: #f7f7f7;
}

#wrap {
  overflow: hidden;
  position: relative;
  background: url("../image/bg.jpg");
  font-size: 1.4rem;
  line-height: 1.75;
  color: #1a1a1a;
  font-weight: bold;
}

#header {
  background: #ffffff;
  padding: 25px 0 0
}

#header .info {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto -5px;
}

#header .text {
  font-size: 1.0rem;
  line-height: 1.8;
  color: #1a1a1a;
  text-align: right;
}


/* nav
------------------------------*/

.gnav {
  position: relative;
  height: 95px;
}

.gnav .nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 95px;
  background: #fff;
}

.nav-inner {
  width: 1000px;
  margin: 10px auto 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.gnav .nav ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}

.gnav .nav.fixed {
  position: fixed;
}

@media screen and (max-width: 1030px) {
  .gnav .nav.fixed {
    position: absolute;
  }
}

.gnav .nav span {
  display: block;
  cursor: pointer;
}

.gnav .nav .accordion {
  position: relative;
}

.gnav .nav .accordion .category {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(100% + 1px);
  left: 0;
  width: 200px;
}

.gnav .nav .accordion .category li {
  position: relative;
  padding-top: 0;
  /* margin-bottom: 1px; */
  width: 200px;
}

.gnav .nav .accordion .category li a {
  display: block;
  padding: 8px 20px 7px;
  border-bottom: 1px solid #518dce;
  text-align: left;
  font-weight: normal;
  font-size: 1.4rem;
  color: #ffffff;
  background: #0258c3;
  text-decoration: none;
}

.gnav .nav .accordion .category li a:hover {
  background: #518dce;
  color: #fff;
}

.gnav .nav .accordion .category li:last-child a {
  border-bottom: none;
}


/* main
------------------------------*/

.mainimg {
  text-align: center;
  margin: 0 auto;
  background: #fff url("../image/bg_main.jpg") top center no-repeat;
  margin-top: 15px;
  min-height: 250px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}


/* content
------------------------------*/

.main {
  width: 100%;
  padding: 60px 0 0px;
}

.map,
.video {
  position: relative;
  width: 100%;
  height: 350px;
}

.map iframe,
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video {
  height: auto;
  padding-top: 56%;
}

.big {
  font-size: 1.6rem;
}

.small {
  font-size: 1.2rem;
}

.bold {
  font-weight: bold;
}

.button {
  text-align: left;
}


/* section
------------------------------*/

.section {
  max-width: 1000px;
  padding: 0;
  margin: 0 auto 100px;
}

.section.break {
  max-width: 100%;
}

.section table {
  width: 100%;
}

.section table th,
.section table td {
  border: 1px solid #518dce;
  padding: 19px 20px 16px;
  vertical-align: middle;
  background: #fff;
}

.section table th {
  width: 280px;
  background: #e1ebf4;
  text-align: left;
  vertical-align: middle;
  font-weight: bold;
}

.bread {
  max-width: 1000px;
  margin: 0 auto 30px;
  letter-spacing: -1em;
}

.bread li {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: normal;
}

.bread li a {
  color: #0258c3;
  font-weight: bold;
  text-decoration: none;
}

.bread li+li::before {
  content: '>';
  display: inline-block;
  margin-right: 5px;
}

.bread li a:hover {
  text-decoration: underline;
}

.headding {
  margin-bottom: 30px;
  background: url("../image/bg02_h3.jpg") bottom center no-repeat, url("../image/bg01_h3.jpg") bottom left repeat-x;
  text-align: center;
  font-size: 2.2rem;
  padding: 0 0 12px;
  line-height: 1.75;
  font-weight: bold;
}

.subtitle {
  background: #f4f4f4;
  border-left: 3px solid #518dce;
  color: #518dce;
  margin-bottom: 15px;
  padding: 8px 0 7px 17px;
  text-align: left;
  font-size: 2rem;
  line-height: 1.75;
  font-weight: bold;
}

.text p+p {
  margin-top: 25px;
}


/* flex
-------------------------------------------- */

.imgleft,
.imgright {
  display: -webkit-flex;
  display: flex;
}

.imgright {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.imgleft .image,
.imgright .image {
  width: 20%;
  text-align: center;
}

.imgleft .image div+div,
.imgright .image div+div {
  margin-top: 10px;
}

.imgleft .image {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-order: -1;
  order: -1;
  margin-right: 30px;
}

.imgright .image {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-order: 1;
  order: 1;
  margin-left: 30px;
}

.square {
  width: 100%;
}

.square+.square {
  margin-top: 10px;
}

.square a,
.square span {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  background: none;
  padding-top: calc(100% - 2px);
  border: 1px solid #518dce;
  outline: none;
}

.square img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


/* pickup
-------------------------------------------- */

.pickup {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: flex-start;
  align-content: flex-start;
  width: 100%;
}

.pickup .article {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 23.5%;
  margin-right: 2%;
}

.pickup .article:nth-child(4n) {
  margin-right: 0;
}

.pickup.slick {
  display: block;
}

.pickup.slick .article {
  margin-left: 15px;
  margin-right: 15px;
}

.pickup.slick .article:nth-child(4n) {
  margin-right: 15px;
}


/* pagebute
------------------------------*/

.page {
  text-align: center;
  width: 100%;
  margin-top: 0;
  letter-spacing: -1em;
}

.page li {
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
  letter-spacing: normal;
}

.page .link_page,
.page .current_page {
  display: block;
  width: 40px;
  height: 40px;
  background: #c0dffc;
  padding: 0;
  font-size: 1.8rem;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  line-height: 40px;
  color: #0258c3;
}

.page .link_page:hover,
.page .current_page {
  background: #0258c3;
  color: #ffffff;
}

.page .link_before {
  display: block;
  width: 40px;
  height: 40px;
  font-size: 0;
  background: #c0dffc url("../image/btn_prev_off.png") center no-repeat;
}

.page .link_before::before {
  content: url("../image/btn_prev_on.png");
  display: none;
}

.page .link_before:hover {
  background: #0258c3 url("../image/btn_prev_on.png") center no-repeat;
}

.page .link_next {
  display: block;
  width: 40px;
  height: 40px;
  font-size: 0;
  background: #c0dffc url("../image/btn_next_off.png") center no-repeat;
}

.page .link_next::before {
  content: url("../image/btn_next_on.png");
  display: none;
}

.page .link_next:hover {
  background: #0258c3 url("../image/btn_next_on.png") center no-repeat;
}


/* slick
------------------------------*/

.slick {
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.slick .slick-prev,
.slick .slick-next {
  z-index: 100;
  top: 105px;
  width: 30px;
  height: 30px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.slick .slick-prev {
  left: 0;
  /*background: url('../image/slick_left_off.jpg') center no-repeat;*/
}

.slick .slick-prev::before {
  /*content: url('../image/slick_left_on.jpg');*/
  display: none;
}

.slick .slick-prev:hover {
  /*background-image: url('../image/slick_left_on.jpg');*/
}

.slick .slick-next {
  right: 0;
  /*background: url('../image/slick_right_off.jpg') center no-repeat;*/
}

.slick .slick-next::before {
  /*content: url('../image/slick_right_on.jpg');*/
  display: none;
}

.slick .slick-next:hover {
  /*background-image: url('../image/slick_right_on.jpg');*/
}


/* colorbox
------------------------------*/

.colorbox a {
  outline: none;
}

#cboxWrapper {
  background: #FFF;
}

#cboxContent {
  margin: 20px;
  outline: 20px solid #FFF;
}

#cboxClose {
  position: absolute;
  top: -19px;
  right: -19px;
  z-index: 10;
  width: 30px;
  height: 30px;
  background: #000;
  border-radius: 50%;
  outline: none;
  opacity: .8;
  transition: .3s;
}

#cboxClose::before,
#cboxClose::after {
  content: '';
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #FFF;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: .3s;
}

#cboxClose::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

#cboxClose:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .5);
}

#cboxClose:hover::before {
  -webkit-transform: translate(-50%, -50%) rotate(225deg);
  transform: translate(-50%, -50%) rotate(225deg);
}

#cboxClose:hover::after {
  -webkit-transform: translate(-50%, -50%) rotate(135deg);
  transform: translate(-50%, -50%) rotate(135deg);
}

#cboxPrevious,
#cboxNext {
  top: 50%;
  left: -19px;
  width: 20px;
  height: 20px;
  background: #FFF;
  border: 1px solid #000;
  border-radius: 50%;
  outline: none;
  opacity: .5;
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  transition: .3s;
}

#cboxPrevious::after,
#cboxNext::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 0;
  height: 0;
  background: none;
  border-style: solid;
  border-width: 6px 9px 6px 0;
  border-color: transparent #000 transparent transparent;
  outline: none;
  opacity: .5;
  transition: .3s;
}

#cboxPrevious:hover,
#cboxNext:hover {
  background: #000;
  opacity: .8;
}

#cboxPrevious:hover::after,
#cboxNext:hover::after {
  border-color: transparent #FFF transparent transparent;
  opacity: .8;
}

#cboxNext {
  left: auto;
  right: -19px;
}

#cboxNext::after {
  left: auto;
  right: 4px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #000;
}

#cboxNext:hover::after {
  border-color: transparent transparent transparent #FFF;
}


/* datepicker
------------------------------*/

.ui-datepicker th {
  width: auto;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  cursor: pointer;
}

#ui-datepicker-div {
  font-size: 1.4rem;
}


/* footer
------------------------------*/

.footer {
  background: #193f68;
}

.footer .info {
  padding: 50px 0 40px;
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}

.footer .info .left {
  width: 400px;
}

.footer .info .logo {
  margin-bottom: 10px;
}

.footer .info .text01 {
  font-size: 1.2rem;
  line-height: 1.75;
}

.footer .info .title {
  color: #f9e558;
  font-size: 1.4rem;
  line-height: 1.75;
  border-bottom: 1px solid #25537c;
  margin-bottom: 6px;
  padding-bottom: 5px;
  font-weight: bold;
}

.footer .info .title a {
  color: inherit;
}

.footer .info .text02 {
  font-size: 1rem;
  line-height: 1.75;
}

.footer .info .right {
  width: 470px;
}

.footer .nav {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  line-height: 1.2;
  margin-bottom: 12px;
  font-size: 1.2rem;
  /* fsz * line-height + margin */
  height: calc((1.2rem * 1.2 + 15px) * 3);
}

.footer .nav li {
  width: 140px;
  padding: 0;
  text-align: right;
  margin-bottom: 15px;
}

.footer .nav li a {
  color: #ffffff;
  font-weight: normal;
}

.footer .line {
  margin-left: 60px;
}

.copyright {
  display: block;
  background: #235d87;
  color: #ffffff;
  text-align: center;
  font-weight: normal;
  font-size: 1.0rem;
  line-height: 1.75;
  padding: 10px 0 8px;
}

.copyright span {
  display: block;
}


/* pagetop
------------------------------*/

.pagetop {
  position: fixed;
  z-index: 100;
  bottom: 80px;
  right: 30px;
  opacity: 0;
  transition: opacity .5s;
}

.pagetop.on {
  opacity: 1;
}

.pagetop.stop {
  position: absolute;
}

.rightbar {
  position: fixed;
  z-index: 100;
  top: 25%;
  right: 0px;
  pointer-events: none;
}

.rightbar a {
  pointer-events: auto;
  display: block;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
}

.rightbar a+a {
  margin-top: 10px;
}

.rightbar.on a {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.modalbox {
  display: none;
}

#calendar {
  box-sizing: border-box;
  width: 680px;
  background: #FFF;
  border: 3px solid #E8E8E8;
  padding: 27px 37px 37px;
}

#calendar .box {
  overflow: hidden;
}

#calendar table {
  float: left;
  width: 47%;
  font-size: 1.6rem;
  table-layout: fixed;
}

#calendar table:nth-of-type(2) {
  float: right;
}

#calendar table caption {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

#calendar th,
#calendar td {
  width: auto;
  border: 1px solid #A5A5A5;
  padding: 9px 0 5px;
  text-align: center;
  vertical-align: middle;
}

#calendar th {
  background: #F0F0F0;
  font-weight: normal;
}

#calendar .holiday {
  background: #606060;
  color: #FFF;
}

#calendar .note {
  margin-top: 10px;
  text-align: right;
  font-size: 1.4rem;
}

#calendar .note::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #606060;
  border: 1px solid #A5A5A5;
  margin-right: 10px;
  vertical-align: -5px;
}

.pattern {
  position: fixed;
  top: 425px;
  left: -5px;
}

.pattern li {
  width: 100px;
  margin-bottom: 10px;
}

.pattern li a {
  display: inline-block;
  background: #CCC;
  padding: 5px 10px 3px 15px;
  font-weight: normal;
  color: #FFF;
  transition: background .3s, -webkit-transform .3s;
  transition: background .3s, transform .3s;
  transition: background .3s, transform .3s, -webkit-transform .3s;
}

.pattern li a:hover,
.pattern li.on a {
  background: #999;
  text-decoration: none;
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}

.wink a:hover {
  -webkit-animation-name: wink;
  animation-name: wink;
  -webkit-animation-duration: .6s;
  animation-duration: .6s;
}

.wink img {
  opacity: 1 !important;
}

@-webkit-keyframes wink {
  0% {
    opacity: .2;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wink {
  0% {
    opacity: .2;
  }
  100% {
    opacity: 1;
  }
}


/*-----------------------------*/

.works-examples .article {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-bottom: 45px;
}

.works-examples .inner {
  width: 475px;
  display: -webkit-flex;
  display: flex;
  background: url('../image/icon01.jpg') center top 115px no-repeat;
}

.works-examples .inner dl {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 220px;
  margin-right: 35px;
}

.works-examples .inner dl:nth-child(2n) {
  margin-right: 0;
}

.works-examples .inner dl dt {
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}

.works-examples .inner dl:hover .bg a {
  display: block;
}

.works-examples .info {
  width: 495px;
}

.works-examples .title {
  border-left: 5px solid #0258c3;
  margin-bottom: 20px;
  padding: 5px 0 4px 20px;
  font-size: 1.8rem;
  line-height: 1.75;
  font-weight: bold;
  text-align: left;
  color: #0258c3;
}

.works-examples .button {
  text-align: left;
  margin-top: 15px;
}

.works-examples .square img {
  padding: 10px;
}

.richtext {
  overflow: hidden;
}

#wrap .richtext p+p {
  margin-top: 0;
}

.thanks-text {
  margin-bottom: 40px;
}

.index-news .news-box {
  margin-bottom: 10px;
}

.index-news .news-box .news {
  padding: 15px 0;
  border-bottom: 1px solid #cccccc;
}

.index-news .news-box .news:last-child {
  border: 0;
}

.index-news .news-box .news.imgleft .image {
  width: 15%;
}

.index-news .news-box .news .date {
  margin-bottom: 3px;
}

.index-news .news-box .news .title {
  margin-bottom: 3px;
}

.index-news .button {
  text-align: right;
  margin-top: 10px;
}