@charset "utf-8";
.breadcrumb {
    text-align: right;
}
.breadcrumb li {
    display: inline;
}
.breadcrumb li a:hover {
    text-decoration: underline;
}
.fa-angle-right::before {
    content:'\f105';
    margin:0 5px;
}
.waku {
    border: solid #ccc 1px ;
    padding: 3px 3px 0;
    box-sizing: border-box;
}
.text-center {
    text-align: center;
}
.go_top {
    display: inline-block;
    margin: 100px auto 0;
    color:#fff;
    background:#0390D5;
    padding: 20px;
    border:solid 1px #0390D5;
}
.go_top:hover {
    background: #fff;
    color:#0390D5;
}
#mainImg2 {
    clear: both;
    margin-top: 20px;
    text-align: center;
    z-index: 0;
    position: relative;
    width: 100%;
}
#mainImg2:before {
    content:"";
    display: block;
    padding-top: 34%; /* 高さを幅の38%に固定 */
}
#pageTop {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    bottom: 25px;
    right: 5px;
    z-index: 1000;
    color: #fff;
    text-align: center;
    padding-top: 2px;
    box-sizing: border-box;
    font-size: 200%;
}
#pageTop:hover {
    background: #000;
}
.center {
    text-align: center;
}
.btn {
    display: inline-block;
    width: 150px;
    height: 54px;
    text-align: center;
    text-decoration: none;
    line-height: 54px;
    outline: none;
    position: relative;
    -webkit-perspective: 300px;
    perspective: 300px;
}
.btn span {
    display: block;
    position: absolute;
    width: 150px;
    height: 60px;
    border: 2px solid #333;
    text-align: center;
    line-height: 56px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
    pointer-events: none;
}
.btn span:nth-child(1) {
    background-color: #333;
    color: #fff;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    transform: rotateX(90deg);
    -webkit-transform-origin: 50% 50% -30px;
    -moz-transform-origin: 50% 50% -30px;
    transform-origin: 50% 50% -30px;
}
.btn span:nth-child(2) {
    background-color: #fff;
    color: #333;
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: 50% 50% -30px;
    -moz-transform-origin: 50% 50% -30px;
    transform-origin: 50% 50% -30px;
}
.btn::before,
.btn::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}
.btn,
.btn::before,
.btn::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.btn:hover span:nth-child(1) {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
}
.btn:hover span:nth-child(2) {
    background-color: #333;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
}
#container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#wrapper .title01 {
font-weight: bold;
  font-size: 150%;
  padding: 10px 10px;
  position: relative;
  padding-bottom: .2em;
  border-bottom: 4px solid #ccc;
  margin-bottom: 10px;
}
#wrapper .title01::after {
    position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 50%;
  height: 4px;
  background-color: #3498db;
}
#container #theTarget div {
	background-position: center;
	background-size: cover;
	overflow: hidden;
	white-space: nowrap;
}
#container #theTarget div h1 {
    padding-top: 10%;
}
#reikai {
    width: 50%;
    padding-right: 10px;
    float: left;
    box-sizing: border-box;
}
#houkoku {
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding-left: 10px;
}
#reikai li a.thumbnail,#houkoku li a.thumbnail {
    display: table-cell;
    width: 100px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    position: relative;
    float: left;
    box-sizing: border-box;
    margin-right: 20px;
}
#reikai li a.thumbnail img,#houkoku li a.thumbnail img {
    position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
}
#reikai li h1 a,#houkoku li h1 a{
    display: block;
    width: 100%;
    font-size: 120%;
    color:#0390D5;
    text-decoration:underline;
}
#reikai li a.to_detail,#houkoku li a.to_detail {
    float: right;
    background: #0390D5;
    padding: 5px 10px;
    color:#fff;
}
#reikai li a.to_detail:hover,#houkoku li a.to_detail:hover {
    background: #000;
}
#reikai li,#houkoku li {
    border-bottom: solid 1px #ccc;
    margin: 0 0 10px 0;
    padding: 0 5px 10px 0;
}

#reikai li::after,#houkoku li::after {
    content:""; display: table;clear:both;
}
/*下位ページ共通*/
#subpage h1.title {
    font-size: 180%;
    border-left: solid 5px #0390D5;
    padding: 3px 8px;
    margin: 30px 0;
}

#subpage h1.first {
    margin-top: 0 !important;
}
#subpage .post .lead {
    font-size: 120%;
    color:#E50012;
    margin-bottom: -5px;
}
#subpage .post p {
    line-height: 2em;
}
.person {
    background: url(../images/about_us/bgimg.jpg) no-repeat top right;
}
.person img {
    float:left;
    margin-right: 30px;
}
.person h1 {
    font-size: 150%;
    text-shadow: 1px 1px 1px #fff;
}
.person h1 span {
    display: block;
    font-size: 140%;
}
#subpage #blog h1.title {
    background: #F4F4F4;
    padding: 10px;
    border-radius: 3px;
    border:none;
    margin-bottom: 5px;
}
#subpage #blog h1.title span.line {
    border-left: solid 5px #0390D5;
    padding: 0 8px;
}
#subpage #blog h1.title span.end {
    color:#ef0e46;
}
.blog_date {
    text-align: right;
    color:#999;
}
#subpage #blog article {
    margin-bottom: 40px;
}
#subpage #blog .post img {
    max-width: 100%;
}
#blog .post strong {
    font-weight: bold;
}
#sidebar ul#bnr li {
    margin-bottom: 10px;
}
@media only screen and (max-width: 620px){
    .pc_only {display: none;}
    #container #theTarget div h1 img {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    #mainImg2:before {
    content:"";
    display: block;
    padding-top: 40%; /* 高さを幅の40%に固定 */
    }
    #reikai ,#houkoku {
        width: 100%;
        float:none;
    }
    #reikai .btn ,#houkoku .btn {
        margin-bottom: 50px;
    }
    #footer .boxWrap {margin: 0 auto;}
    .skippr-nav-container {
        display: none;
    }
    #subpage h1.title {
        font-size: 150%;
    }
    .person h1 {
        font-size: 120%;
    }
    .person img {
        max-width: 50%;
        margin-right: 10px;
    }
}