@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,900;subset=latin-ext");
/*===== BASE =====*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike,  sub, sup, tt, var, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none; }

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0; }

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: alpha(opacity=70); }

.clear {
  clear: both; }

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }

.clearfix {
  *zoom: 1; }

img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%; 
  height: auto;
}
p {
  margin-bottom: 10px;
}

/*==== PLEASE REMOVE ====*/
/*===== COMMON =====*/
html, body {
  width: 100%;
  min-height: 100%; 
}
.trans {
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-opacity: 1;
  -khtml-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -khtml-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s; 
}

.trans:hover {
  filter: alpha(opacity=80);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  -webkit-opacity: 0.8;
  -khtml-opacity: 0.8;
  -moz-opacity: 0.8;
  -ms-opacity: 0.8;
  -o-opacity: 0.8;
  opacity: 0.8; 
}



@media (min-width: 768px) {
  nav ul li:hover > a {
    color: #ce2700; }

  nav ul li:hover ul {
    display: block; 
  } 
}

/*===== COMMON PAGES =====*/
.blog.stl2 .content {
  padding-top: 59px;
  padding-bottom: 73px; }

.blog.stl2 .content a:hover .image:after {
  border: 5px solid #ce2700; }

.blog.stl2 .content a:hover p {
  color: #ce2700; }

.blog.stl2 .content a .image:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -khtml-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  left: 0;
  border: 0px solid #ce2700; }

.blog .content {
  padding-top: 49px;
  padding-bottom: 80px; }

.blog .content .row {
  margin: 0 -4px;
  background: #fff; }

.blog .content .row .col-md-4 {
  padding: 0 4px; }

.blog .content a:hover h3 {
  color: #ce2700; }

.blog .content a:hover .image .bage {
  opacity: 1;
  width: 132px; }

.blog .content a:hover .image .bage svg {
  opacity: 1;
  transform: none;
  transition-delay: .2s, .3s;
  transition-timing-function: ease, cubic-bezier(0.17, 1.5, 0.5, 1); }

.blog .content a h3 {
  font-size: 28px;
  line-height: 48px;
  letter-spacing: 0.075em;
  color: #000000;
  font-weight: bold;
  margin-bottom: 2px; }

.blog .content a .image {
  display: block;
  margin-bottom: 9px; }

.blog .content a .image img {
  width: 100%; }

.blog .content a .image .bage {
  position: absolute;
  width: 0;
  height: 54px;
  right: 0;
  bottom: 0;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -khtml-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  display: block;
  opacity: 0;
  color: #fff;
  text-align: center;
  font-size: 18px;
  background: #ce2700;
  letter-spacing: 0.075em;
  padding: 15px 16px 0 0; }

.blog .content a .image .bage svg {
  fill: #fff;
  position: absolute;
  top: 36%;
  left: 63%;
  width: 20px;
  height: 15px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: opacity .2s, transform .2s; }

.blog .content a .date {
  display: block;
  font-size: 14px;
  color: #000;
  margin-top: 12px;
  margin-bottom: -4px; }

.blog .content a p {
  font-size: 18px;
  line-height: 28px;
  color: #000000; }



.btn-sns {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px; }




.page-blog-detail .seacrch {
  width: 100%; }

.page-blog-detail .seacrch input {
  width: 85%; }

.page-blog-detail .seacrch button {
  width: 15%; }



.page-blog #trust-form {
  padding: 0 150px 50px; }

.page-blog .desc {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px; }

.page-blog .col-md-4 {
  margin-bottom: 30px; }

.page-blog .col-md-4 img {
  display: block;
  width: 100%; }

.page-blog h3 {
  font-size: 16px;
  line-height: 30px;
  color: #000000;
  font-weight: bold;
  margin-bottom: 4px; }

.page-blog p {
  margin: 0 0 15px; }

.page-blog .date {
  display: block;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px; }

.page-blog .staff {
  font-size: 14px;
  font-weight: bold; }

.page-blog .staff img {
  width: 30px;
  display: inline-block;
  height: 30px;
  -webkit-border-radius: 50px;
  -khtml-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
  margin-right: 5px; }





h1.ttl-blog-detail {
  font-size: 30px;
  line-height: 45px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px; }

.page-blog-detail .top-dtl {
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 10px; }

.page-blog-detail .top-dtl img {
  -webkit-border-radius: 50px;
  -khtml-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
  margin-right: 10px; 
}

.page-blog-detail .top-dtl .date2 {
  font-size: 16px;
  float: right;
  line-height: 32px; }

.page-blog-detail .social-dtl {
  margin-top: 10px;
  margin-bottom: 25px; }

.page-blog-detail .social-dtl ul li {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  float: left; }

.page-blog-detail .social-dtl ul li a {
  display: block; }

.page-blog-detail .social-dtl ul li a img {
  margin: 0; }

.page-blog-detail .social-dtl ul li iframe {
  margin: 0; }

.page-template-company .blog-content p {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 33px; }

.page-template-company .blog-content .table_company {
  padding: 0 70px;
  margin-bottom: 20px; }


.box-author {
  display: table;
  width: 100%;
  border: 1px solid #ccc; }

.box-author .avarar {
  display: table-cell;
  width: 120px;
  padding: 10px;
  vertical-align: top; }

.box-author .avarar img {
  -webkit-border-radius: 100px;
  -khtml-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  border-radius: 100px; }

.box-author .infor {
  display: table-cell;
  vertical-align: top;
  padding: 10px; }

.box-author .infor ul {
  margin-top: 15px; }

.box-author .infor ul li {
  margin-bottom: 10px; }

.box-author .infor ul li a {
  font-size: 12px;
  line-height: 22px;
  color: blue; }

.box-author .infor ul li a:hover {
  color: red; }

.box-author .infor ul li span {
  font-size: 11px;
  margin-left: 5px; }

.box-author .ttl-tab {
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  background: #f3f3f3; }

.box-tab {
  margin: 40px 0; }

.tabs-menu li {
  display: inline-block;
  border: 1px solid #ccc;
  border-bottom: 0; }

.tabs-menu li a {
  display: block;
  font-size: 14px;
  padding: 4px 10px; }

.tabs-menu li.current a {
  background: #ccc; }


.box-sidebar input[name="subscribe"] {
  width: 48%;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 14px;
  text-align: center;
  max-width: 120px; }

.box-sidebar input[name="subscribe"]:hover {
  filter: alpha(opacity=80);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  -webkit-opacity: 0.8;
  -khtml-opacity: 0.8;
  -moz-opacity: 0.8;
  -ms-opacity: 0.8;
  -o-opacity: 0.8;
  opacity: 0.8;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -khtml-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s; }

.box-sidebar input[name="unsubscribe"] {
  width: 48%;
  border: 0;
  background: #cd1a1a;
  color: #fff;
  font-size: 14px;
  text-align: center;
  max-width: 120px; }

.box-sidebar input[name="unsubscribe"]:hover {
  filter: alpha(opacity=80);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  -webkit-opacity: 0.8;
  -khtml-opacity: 0.8;
  -moz-opacity: 0.8;
  -ms-opacity: 0.8;
  -o-opacity: 0.8;
  opacity: 0.8;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -khtml-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s; }

.tab-content {
  display: none; }

.cv-image {
  display: block; }

#tab-1 {
  display: block; }


.parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; }

.parallax img {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%); }

/*Trust Form*/
#trust-form table tr th {
  border-collapse: collapse;
  border: 1px solid #ccc;
  padding: 12px 21px 11px 33px;
  width: 219px;
  background: #efefef;
  padding: 13px 0 12px 22px;
  font-size: 18px;
  line-height: 30px;
  vertical-align: middle; }

#trust-form table tr td {
  border-collapse: collapse;
  border: 1px solid #ccc;
  padding: 12px 21px 11px 16px; }

#trust-form table tr td input {
  width: 100%;
  /*height: 32px;*/
  padding: 0 10px;
  border: 1px solid #e5e5e5; }
#trust-form table tr td input[type="checkbox"] {
  width: auto;
}

#trust-form table tr td textarea {
  height: 90px;
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 4px 10px;
  line-height: 1.7;
  resize: none; 
}

div#trust-form.contact-form table th {
  font-weight: normal; }

div#trust-form.contact-form table td {
  padding: 15px 5px; }

#confirm-button input {
  background-color: #16a351; }

div#trust-form.contact-form span.require {
  font-size: 10px;
}





.flow-wrap .item {
  position: relative;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 60px; }

.flow-wrap .item:before {
  content: '';
  border-left: 27px solid transparent;
  border-right: 27px solid transparent;
  border-top: 27px solid #e6e6e6;
  position: absolute;
  bottom: -27px;
  left: 50%;
  margin-left: -27px; }

.flow-wrap .item:last-child:before {
  display: none; }

.flow-wrap .item .img {
  float: right;
  margin-left: 50px; }

.flow-wrap .item .txt {
  padding: 15px 0;
  font-size: 15px;
  line-height: 1.8; }

.flow-wrap .item .txt h3 {
  font-size: 1.85em;
  font-weight: bold;
  margin-bottom: 10px; }

.faq-wrap .anchor-link {
  text-align: center; }

.faq-wrap .anchor-link a {
  display: inline-block;
  font-size: 15px;
  padding: 13px 38px 13px 22px;
  border-radius: 25px;
  background: #e9e9e9 url(../img/black_arrow.png) center right 15px no-repeat;
  box-shadow: 0 2px 0 #c1c1c1;
  -moz-box-shadow: 0 2px 0 #c1c1c1;
  -webkit-box-shadow: 0 2px 0 #c1c1c1;
  -ms-box-shadow: 0 2px 0 #c1c1c1;
  -o-box-shadow: 0 2px 0 #c1c1c1;
  margin: 8px; }

.faq-wrap .anchor-link a:hover {
  opacity: 0.7; }

.faq-wrap h2 {
  margin-top: 1.5em;
  margin-bottom: 1em;
  text-align: center;
  font-size: 34px; }



@media (max-width: 768px) {
  .flow-wrap .item {
    padding-top: 15px;
    margin-bottom: 40px; }

  .flow-wrap .item .txt h3 {
    font-size: 1.5em; }

  .flow-wrap .item .img {
    float: none;
    text-align: center; }

  .faq-wrap .anchor-link a {
    padding: 7px 25px 7px 15px;
    background-position: center right 10px;
    width: 100%;
    margin: 8px 0; }

  .faq-wrap h2 {
    font-size: 24px; }

}

@media (min-width: 767px) {
  .single-posts.related-post .post-wrap article {
    width: 32%; }

  .single-posts.related-post .post-wrap article:first-of-type {
    margin-left: -1%;
    width: 32%; }

  .single-posts.related-post .post-wrap article:last-of-type {
    margin-right: -1%;
    width: 32%; }

  .single-posts.related-post .post-wrap article h4 {
    font-size: 14px;
    padding: 10px;
    font-weight: normal; }

}
body.single .page-blog-detail .col-md-9.left-main .related-post h1 {
  font-size: 20px;
  margin: 10px 0 30px;
  padding: 10px 0 10px 0px;
  color: #000000;
  font-weight: bold;
  line-height: 30px;
  padding-left: 15px;
  background-color: #f3f3f3; }

@media (max-width: 767px) {
  body.single .page-blog-detail .col-md-9.left-main .related-post h1 {
    font-size: 16px; }

  .single-posts.related-post .post-wrap {
    display: block; }

  .single-posts.related-post .post-wrap article:after {
    content: '';
    clear: both;
    display: table; }

  .single-posts.related-post .post-wrap article {
    width: 100%;
    margin-bottom: 20px; }

  .single-posts.related-post .post-wrap article .sumbox {
    float: left;
    width: 33%; }

  .single-posts.related-post .post-wrap article h4 {
    background-color: #fff;
    float: right;
    width: 63%;
    font-size: 14px;
    padding: 0;
    margin-top: 5px; 
  } 
}
@media (min-width: 767px) {
  .single-posts.related-post:before {
    display: none; }

  .single-posts.related-posts:after {
    display: none; }

  .single-posts.related-post article {
    width: 31.3%;
    margin: 15px 0 !important;
    margin-right: 2% !important; }

  .single-posts.related-post .post-wrap article:last-of-type {
    margin-right: 0 !important; }

  .single-posts.related-post .post-wrap {
    -webkit-box-pack: start !important;
    -webkit-justify-content: flex-start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important; 
  } 
}



/*Nextstage*/
body {
  font-family: Lato, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important; 
  font-size: 16px;
  -webkit-text-size-adjust: none;
  line-height: 1.75;
  color: #3d3a39;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: bold;
}
.container {
  max-width: 1054px; 
}
@media (min-width: 992px) {
  .container {
    width: 1054px;
    max-width: 100%;
  }
}
/*===== Header =====*/
header {
  padding: 20px 0;
  background: #fff;
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
}
/*.logged-in header {
  top: 32px;
}*/
header .logo {
  float: left; 
}
header .logo img {
  max-height: 58px;
}
header .menu {
  float: right;
}
header .menu > li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding: 14px 0;
}
header .menu > li > a {
  padding: 0 15px;
  font-size: 12px;
  line-height: 30px;
  display: block;
  font-weight: bold;
  border-left: 2px solid #e50012;
}
header .menu > li.box > a {
  border: 2px solid #e50012;
  color: #e50012;
  line-height: 26px;
}
header .menu > li.box > a:hover {
  background: #e50012;
  color: #fff;
}
header .menu > li.heart > a {
  border: 0;
  color: #e50012;
  font-size: 1.5em;
}
header .menu > li.heart > a:hover {
  color: #f8606c;
}
header .menu > li.heart > a:before {
  content: "\f004";
  font-family: 'FontAwesome';
}
header .menu > li:first-child > a {
  border-left: 0;
}
header .menu a:hover {
  color: #e50012;
}
header .menu > li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  min-width: 200px;
  left: 0;
  z-index: 99;
  background: #fff;
  text-align: left;
  padding: 5px 0;
}
header .menu > li .sub-menu a {
  padding: 5px 10px;
  display: block;
  font-size: 12px;
}
header .menu > li:hover .sub-menu {
  display: block;
}
#movie {
  width: 100%;
  position: fixed;
  z-index: -1;
  top: 82px;
  left: 0;
  bottom: 0;
}




footer {
  background: url(../img/background/pattern_01.jpg) repeat 0 0;
}
footer .footer-column {
  padding-top: 15px;
  padding-bottom: 15px; 
}
footer .copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 10px;
}
footer .menu {
  padding-left: 15px;
  list-style: disc;
}
@media (min-width: 768px) {
  footer .menu {
    padding-top: 40px;
  }
}
footer .menu li {
  margin-bottom: 15px;
  font-size: 13px;
}
/*footer .menu li:hover {
  color: #e50012;
}*/
.go-top {
  text-align: right;
  margin-bottom: 15px;
  color: #e50012;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}
.go-top:hover {
  color: #fe6076;
}
.go-top:hover i {
  background: #fe6076;
}
.go-top i {
  background: #e50012;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  color: #fff;
  width: 23px;
  height: 23px;
  text-align: center;
  line-height: 21px;
  margin-left: 5px;
}
@media (min-width: 641px) {
  .social .widget img {
    max-width: 270px!important;
  }
}
.social,
.social .sns {
  text-align: right;
}
.social ul li a {
  color: #e50012;
  text-align: center;
}
.social ul li a span {
  display: block;
  font-size: 12px;
}

.social ul li a ul{
  float: right;
}

.social ul li a i {
  font-size: 30px;
  width: 50px;
  height: 50px;
  line-height: 46px;
  text-align: center;
  border: 2px solid #e50012;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  float: left;
}
.social ul li a i svg {
  width: 23px;
}
.social ul li a:hover i svg path {
  fill: #fff;
}
.social ul li a i:hover {
  color: #fff;
  background: #e50012;
}

.social ul li a i.fa-line {
    background: url(../img/icon/line_off.png) no-repeat center 8px;
    background-size: 34px auto;
}

.social ul li a i.fa-line span {
margin-top:-8px;
}

.social ul li a:hover i.fa-line{
  background:red url(../img/icon/line_on.png) no-repeat center 8px;
  background-size: 34px auto;
}


.social ul li {
  display: inline-block;
  margin-left: 19px;
  text-align: center;
  margin-top: 15px;
}
.social .widget_sp_image a {
  display: inline-block;
}

/*Work Custom post type*/
/*
.heading-cmn:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); 
  z-index: 1;
}*/
ul.breadcrumbs {
  padding: 20px 0; 
  font-size: 12px;
}

.breadcrumbs ul li {
  display: inline-block;
  position: relative;
  padding-right: 16px;
  margin-right: 2px; 
}
.breadcrumbs ul li span br {
  display: none;
}
.breadcrumbs ul li:last-child:after {
  display: none; }

.breadcrumbs ul li:after {
  position: absolute;
  content: ">";
  font-size: 14px;
  right: 0; }

.breadcrumbs ul li a {
  letter-spacing: 0.1em;
  text-decoration: underline; }

ul.breadcrumbs li.item-home {
  padding-left: 25px;
  background-image: url(../img/icon/icon_home.png);
  background-repeat: no-repeat;
  background-position: left top 6px; 
}
h3.p-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 1.4em;
  position: relative;
  padding-bottom: 0.8em;
}
h3.p-title:after {
  content: '';
  width: 30px;
  height: 2px;
  background: #16a351;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -15px;
}


/*Custom Post Type Office*/
.acf-map {
  width: 100%;
  height: 420px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}


/*Custom Post Type Schedule*/
.single-schedule-content .item {
  position: relative;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 60px; }

.single-schedule-content .item:before {
  content: '';
  border-left: 27px solid transparent;
  border-right: 27px solid transparent;
  border-top: 27px solid #e6e6e6;
  position: absolute;
  bottom: -27px;
  left: 50%;
  margin-left: -27px; 
}
@media (min-width: 768px) {
  .single-schedule-content .item:last-child {
    margin-bottom: 0;
  }
  .single-schedule-content .item .img {
    float: right;
    margin-left: 60px; 
    max-width: 31%;
  }
}
.single-schedule-content .item:last-child:before {
  display: none; 
}


.single-schedule-content .item .txt {
  padding: 40px 0;
}

.single-schedule-content .item .txt h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px; 
}
@media (max-width: 767px) {
  .single-schedule-content .item .img {
    padding-top: 15px;
    text-align: center;
  }
}


/*Page Template Philosophy*/
.philosophy-wrap .content {
  line-height: 2;
}
@media (min-width: 768px) {
  .philosophy-wrap .content {
    line-height: 2.3;
  }
}

/*Page Template Recruitment*/
.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #fff;
  margin: 10px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  line-height: 1.35;
  background: #1bcc89;
  color: #fff;
  border: 0;
  outline: 0;
}
.btn-primary:hover {
    background: #e50012;
}
.recruitment-wrap .recruit-item {
  margin-bottom: 30px;
}
.recruitment-wrap .recruit-item .entry-thumb {
  text-align: center;
}
.recruitment-wrap .recruit-item h3 {
  margin: 15px 0 5px;
  font-size: 24px;
}
.recruitment-wrap .recruit-item .category {
  color: #249051;
  margin-bottom: 15px;
}
.recruitment-wrap .recruit-item .category span {
  margin-right: 5px;
}
.recruitment-wrap .recruit-item .readmore {
  display: block;
  margin-top: 30px;
  padding: 10px;
  color: #fff;
  background: #53a576;
  font-weight: bold;
  text-align: center;
}
.recruitment-wrap .recruit-item .readmore i {
  font-size: 1.2em;
}
.recruitment-wrap .recruit-item .readmore:hover {
  background: #42dd82;
}
@media (min-width: 768px) {
  .recruitment-wrap .recruit-item:nth-child(3n+1) {
    clear: both;
  }
}
@media (max-width: 767px) {
  .recruitment-wrap .recruit-item h3 {
    font-size: 20px;
  }
  .recruitment-wrap .recruit-item .readmore {
    margin-top: 15px;
  }
}


/*Welfare*/
.basic-page-wrap .content {
  max-width: 100%;
  width: 640px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.basic-page-wrap .content-bottom {
  margin-top: 30px;
}
.basic-page-wrap .content-bottom h3 {
  font-size: 24px;
  margin-bottom: 0.6em;
}
@media (min-width: 768px) {
  .basic-page-wrap .content {
    margin-bottom: 75px;
  }
}
.basic-page-wrap .list .item {
  margin-bottom: 80px;
}
.basic-page-wrap .list .item:last-child {
  margin-bottom: 0;
}
.basic-page-wrap .list .item h3 {
  font-size: 24px;
  margin-bottom: 0.6em;
}
@media (min-width: 768px) {
  .basic-page-wrap .list .item .img {
    width: 400px;
  }
  .basic-page-wrap .list .item:nth-child(odd) .img {
    float: left;
  }
  .basic-page-wrap .list .item:nth-child(odd) .txt {
    margin-left: 440px;
  }
  .basic-page-wrap .list .item:nth-child(even) .img {
    float: right;
  }
  .basic-page-wrap .list .item:nth-child(even) .txt {
    margin-right: 440px;
  }
}
@media (max-width: 767px) {
  .basic-page-wrap .list .item .img {
    text-align: center;
    margin: 0 0 15px;
  }
  .basic-page-wrap .list .item {
    margin-bottom: 40px;
  }
}



div#trust-form.contact-form div.submessage {
  font-size: 14px!important;
}

#mailmaga {
    background: #f5f5f5;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px
}

#mailmaga p:first-of-type label {
    width: 100%;
    text-align: center;
    background: #cd1a1a;
    padding: 10px;
    color: white;
    text-align: left;
    display: block;
    padding: 15px 15px 15px 65px;
    background: #555 url("../img/icon_mail.png") 15px center no-repeat;
    background-size: 35px;
    color: #fff;
    font-size: 120%
}

#mailmaga input {
    width: 100%;
    max-width: 80%;
    padding: 7px;
    margin-top: 30px;
    margin-bottom: 20px
}

#mailmaga input[type=submit] {
    width: 150px;
    border-radius: 5px;
    margin: 0 5px
}

#mailmaga input[type=submit]:hover {
    opacity: 0.8
}

#mailmaga input[name=subscribe] {
    border: 0;
    background: #38a1db;
    color: white
}

#mailmaga input[name=unsubscribe] {
    border: 0;
    background: #dcdcdc
}

.s2_message {
    padding: 80px 0 50px
}


.sidebar .snsb li {
    margin-bottom: 10px;
    float: none;
    width: 100%;
    display: block;
    font-size: 14px;
    line-height: 25px;
}
.sidebar .snsb li a {
    padding: 12px 15px;
    display: block;
    color: #fff;
    text-decoration: none;
    position: relative;
        height: 50px;
}
.sidebar .snsb li a:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 16px;
    top: 15px;
    right: 10px;
    background-image: url('images/icon/new-arrow.png');
}

h4.menu_underh2:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 13px;
    top: 22px;
    left: 20px;
    background-image: url(../img/icon/sns.png);
}

.sidebar .snsb li a.sns_google {
    background: #dc4e41;
}
.sidebar .snsb li a.sns_facebook {
    background: #3b5998;
}
.sidebar .snsb li a.sns_twitter {
    background: #0da1f2;
}
.sidebar .snsb li a.sns_youtube {
    background: #ff0000;
}
.sidebar .snsb li a.sns_instagram {
    background: #999999;
}
.sidebar .snsb li a.sns_linkdin {
    background: #0077b5;
}
.sidebar .snsb li a.sns_pinterest {
    background: #bd081c;
}
.sidebar .snsb li a.sns_tumblr {
    background: #36465d;
}
.sidebar .snsb li a.sns_wear {
    background: #bfbfbf;
    font-size: 22px;
    padding: 8px 15px;
}
.sidebar .snsb li a.sns_line {
    background: #00c300;
}
.sidebar .snsb li a.sns_feedly {
    background: #0cc655;
}
.sidebar .snsb li a.sns_rss {
    background: #ffa500;
}
.sidebar .snsb li a:hover {
    opacity: 0.8;
}
.sidebar .snsb li a svg {
    height: 1.5rem;
    width: 1.5rem;
    fill: #fff;
}
.sidebar .snsb li a span {
    position: absolute;
    top: 11px;
    left: 50px;
    font-size: 14px;
}

.sidebar .snsb li a:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 16px;
    top: 15px;
    right: 10px;
    background-image: url(../img/icon/new-arrow.png);
}

h4.menu_underh2 {
    padding: 18px 18px 18px 45px;
    color: #fff;
    background: #3a3a3a;
    position: relative;
    font-weight: 100;
}

h4.menu_underh2:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 13px;
    top: 22px;
    left: 20px;
    background-image: url(../img/icon/sns.png);
}

 .sidebar ul.snsb{
  padding:15px;
  background: #fff;
  border: 1px solid #dddddd;
  margin-bottom: 21px;
 }
.note01 {
  color: #E20012;
}
.note01:hover {
  text-decoration: underline;
}

 /*.sidebar .snsb li:nth-child(3){
  margin-bottom: 0px;
 }*/