/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey Child
 */

/* base **************************************** */
* {
  box-sizing: border-box;
}

html {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", sans-serif;
  -webkit-text-size-adjust: none;
  font-size: 62.5%;
  color: 1.4rem;
}

/*************************************
// 汎用クラス
**************************************/
ul {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0;
  padding: 0;
}

li {
  font-size: 1.4rem;
  list-style: none;
  line-height: 1.6;
  font-weight: normal;
}

p {
  font-size: 1.4rem;
  color: #333333;
  line-height: 1.5;
  margin: 0;
}

a {
  display: block;
  color: #2c568e;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0;
  transition: all 0.5s 0s ease;
}

a:hover {
  text-decoration: none;
  color: #2c568e;
}

h1,
.h1 {
  font-size: 2.8rem;
  color: #333333;
  font-weight: normal;
}

h2,
.h2 {
  font-size: 4.8rem;
  color: #333333;
  font-weight: normal;
}

img {
  vertical-align: top;
}

.sp-only {
  display: none !important;
}

.pc-only {
  display: block !important;
}

.btn-primary {
  position: relative;
  display: inline-block;
  color: #2c568e;
  padding: 10px 25px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  border: solid 3px #2c568e;
  transition: all 0.5s 0s ease;
  min-width: 240px;
}
.btn-primary::after {
  position: absolute;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  font-weight: 900;
  right: 10px;
}
.btn-primary:hover {
  background-color: #ffffff;
  border: solid 3px #2c568e;
  background-color: #2c568e;
  color: #ffffff;
  transition: all 0.5s 0s ease;
}
.btn-primary:hover::after {
  color: #ffffff;
  transition: all 0.5s 0s ease;
}

#pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: all 0.3s 0s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 110;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1019607843);
}
#pagetop.show {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s 0s ease;
}
#pagetop a {
  display: block;
  background-color: #ffffff;
  width: 60px;
  height: 60px;
  color: #2c568e;
  line-height: 60px;
  text-align: center;
  font-size: 22px;
}

@media only screen and (max-width: 767px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}
.head-msg {
  font-size: 1.4rem;
  text-align: center;
  font-weight: normal;
  color: #ffffff;
  background-color: #899bb4;
}

#masterhead {
  width: 100%;
  padding: 27px 36px;
  transition: all 0.5s ease;
}
#masterhead.scroll {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.0509803922);
  transition: all 0.5s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 10;
}
#masterhead .container-fluid {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
#masterhead .container-fluid .right {
  display: flex;
  align-items: center;
}
#masterhead .container-fluid .right #navbarNav {
  margin-right: 40px;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav {
  display: flex;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav li {
  margin: 0 15px;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav li a {
  position: relative;
  color: #333333;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  transition: all 0.5s ease;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background: #2c568e;
  bottom: 20px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav li a:hover {
  color: #2c568e;
}
#masterhead .container-fluid .right #navbarNav .navbar-nav li a:hover::after {
  visibility: visible;
  bottom: -4px; /*アニメーションが止まる位置*/
  opacity: 1;
}
#masterhead .container-fluid .right .header-right {
  display: flex;
  align-items: center;
}
#masterhead .container-fluid .right .header-right .phone {
  display: flex;
  align-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  font-weight: normal;
  color: #2c568e;
  margin-right: 30px;
  text-decoration: none;
}
#masterhead .container-fluid .right .header-right .phone i {
  font-size: 25px;
  margin-right: 10px;
  margin-bottom: 4px;
}
#masterhead .container-fluid .right .header-right .contact {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c568e;
  text-decoration: none;
  padding: 14px 25px;
  border: 3px solid #2c568e;
  transition: all 0.5s 0s ease;
}
#masterhead .container-fluid .right .header-right .contact:hover {
  background-color: #ffffff;
  border: solid 3px #2c568e;
  background-color: #2c568e;
  color: #ffffff;
  transition: all 0.5s 0s ease;
}
#masterhead .navbar-toggler {
  display: none;
}

@media only screen and (max-width: 1100px) {
  .head-msg {
    display: none;
  }
  #masterhead {
    width: 100%;
    padding: 11px 10px 5px;
  }
  #masterhead .container-fluid .left img {
    max-width: 163px;
    height: auto;
  }
  #masterhead .container-fluid .right {
    position: fixed;
    display: block;
    right: -100%;
    top: 60px;
    width: 100%;
    height: 100vh;
    background: #899bb4;
    color: #ffffff;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 100;
  }
  #masterhead .container-fluid .right #navbarNav {
    margin-right: 0;
    background-color: #ffffff;
    width: 100%;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav {
    flex-wrap: wrap;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav li {
    margin: 0 20px;
    padding: 20px 0;
    border-bottom: dotted 1px #cccccc;
    width: 100%;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav li a {
    font-size: 1.5rem;
    position: relative;
    display: block;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav li a::after {
    position: absolute;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    right: 10px;
    visibility: visible;
    opacity: 1;
    left: auto;
    width: auto;
    bottom: auto;
    background: none;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav li a:hover::after {
    bottom: auto;
  }
  #masterhead .container-fluid .right #navbarNav .navbar-nav li.sp-only a::after {
    font-family: "Font Awesome 5 Free";
    content: "\f015";
    font-weight: 900;
  }
  #masterhead .container-fluid .right .header-right {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
  }
  #masterhead .container-fluid .right .header-right .phone {
    order: 1;
    font-size: 3rem;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    margin-right: 0;
  }
  #masterhead .container-fluid .right .header-right .phone i {
    font-size: 2rem;
  }
  #masterhead .container-fluid .right .header-right .contact {
    order: 0;
    font-size: 1.6rem;
    min-width: 210px;
    padding: 14px 25px;
    text-align: center;
  }
  #masterhead .container-fluid .right .header-right .sp-only {
    display: block;
    order: 2;
    margin-top: 42px;
  }
  #masterhead .navbar-toggler {
    position: absolute;
    display: block !important;
    right: 0;
    top: 0;
    transition: 0.25s;
    z-index: 200;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: #899bb4;
  }
  #masterhead .navbar-toggler span {
    position: absolute;
    left: 0;
    right: 0;
    width: 30px;
    height: 3px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2px;
    transition: 0.25s;
  }
  #masterhead .navbar-toggler span:nth-child(1) {
    top: 17.5px;
  }
  #masterhead .navbar-toggler span:nth-child(2) {
    top: 29px;
  }
  #masterhead .navbar-toggler span:nth-child(3) {
    top: 40.5px;
  }
  #masterhead .navbar-toggler.on span:nth-child(1) {
    top: 28px;
    transform: rotate(45deg);
  }
  #masterhead .navbar-toggler.on span:nth-child(2) {
    opacity: 0;
    transform: rotate(90deg);
  }
  #masterhead .navbar-toggler.on span:nth-child(3) {
    top: 28px;
    transform: rotate(135deg);
  }
}
footer .footer-top {
  background-color: #899bb4;
  padding: 30px 0;
}
footer .footer-top .footer-menu {
  display: flex;
  justify-content: center;
}
footer .footer-top .footer-menu li {
  margin: 0 15px;
}
footer .footer-top .footer-menu li a {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
}
footer .footer-top .footer-menu li a i {
  margin-left: 10px;
}
footer .footer-bottom {
  margin-top: 60px;
  margin-bottom: 60px;
}
footer .footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1210px;
  width: 98%;
  margin: auto;
}
footer .footer-bottom .container .footer-left p {
  margin-top: 10px;
}
footer .footer-bottom .container .footer-right {
  text-align: center;
}
footer .footer-bottom .container .footer-right .contact {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c568e;
  text-decoration: none;
  padding: 9px 25px;
  border: 3px solid #2c568e;
  max-width: 220px;
  width: 100%;
  transition: all 0.5s 0s ease;
}
footer .footer-bottom .container .footer-right .contact:hover {
  background-color: #ffffff;
  border: solid 3px #2c568e;
  background-color: #2c568e;
  color: #ffffff;
  transition: all 0.5s 0s ease;
}
footer .footer-bottom .container .footer-right .phone {
  display: inline-flex;
  align-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  font-weight: normal;
  color: #2c568e;
  margin-top: 16px;
  text-decoration: none;
}
footer .footer-bottom .container .footer-right .phone i {
  font-size: 25px;
  margin-right: 10px;
  margin-bottom: 4px;
}
footer .footer-bottom .text-center {
  text-align: center;
  margin-top: 72px;
}
footer .footer-bottom .text-center small {
  font-size: 1.4rem;
}

@media only screen and (max-width: 767px) {
  footer .footer-top {
    padding: 10px 12.5% 25px;
  }
  footer .footer-top .footer-menu {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  footer .footer-top .footer-menu::after {
    content: "";
    display: block;
    width: 30%;
  }
  footer .footer-top .footer-menu li {
    margin: 0;
    margin-top: 15px;
  }
  footer .footer-top .footer-menu li a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
  }
  footer .footer-top .footer-menu li a i {
    margin-left: 10px;
  }
  footer .footer-bottom {
    margin-top: 47px;
    margin-bottom: 11px;
  }
  footer .footer-bottom .container {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 98%;
  }
  footer .footer-bottom .container .footer-left {
    order: 1;
    text-align: center;
    margin-top: 34px;
  }
  footer .footer-bottom .container .footer-left p {
    text-align: left;
    margin-top: 29px;
  }
  footer .footer-bottom .container .footer-right {
    order: 0;
  }
  footer .footer-bottom .container .footer-right .contact {
    padding: 9px 25px;
    border: 3px solid #2c568e;
    max-width: 220px;
    width: 100%;
    transition: all 0.5s 0s ease;
  }
  footer .footer-bottom .container .footer-right .contact:hover {
    background-color: #ffffff;
    border: solid 3px #2c568e;
    background-color: #2c568e;
    color: #ffffff;
    transition: all 0.5s 0s ease;
  }
  footer .footer-bottom .container .footer-right .phone {
    display: flex;
    align-items: center;
    font-size: 3rem;
    margin-top: 21px;
  }
  footer .footer-bottom .container .footer-right .phone i {
    margin-right: 3px;
    font-size: 2rem;
  }
  footer .footer-bottom .text-center {
    text-align: center;
    margin-top: 52px;
  }
}
#mv .item {
  position: relative;
}
#mv .item img {
  display: block;
  width: 100%;
  height: auto;
}
#mv .item .position-abs {
  position: absolute;
  top: 12.6428571429vw;
  left: 10.2857142857vw;
}
#mv .item .position-abs h2 {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 2.8571428571vw;
  color: #fff;
  margin-bottom: 2.1428571429vw;
}
#mv .item .position-abs h2 span {
  font-size: 4vw;
}
#mv .item .position-abs p {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 1.3571428571vw;
  color: #fff;
}

#news {
  margin-top: 100px;
}
#news .container {
  max-width: 970px;
  width: 98%;
  margin: auto;
}
#news .container h2 {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1.8px;
  color: #333333;
  line-height: 1;
}
#news .container h2 span {
  font-size: 2.4rem;
  font-family: "Bebas Neue", sans-serif;
  color: #2c568e;
  font-weight: normal;
  letter-spacing: 0;
}
#news .container .news-block {
  margin-top: 60px;
}
#news .container .news-block ul {
  display: flex;
  align-items: center;
  border-top: 1px dashed #cccccc;
  padding: 20px;
}
#news .container .news-block ul:last-child {
  border-bottom: 1px dashed #cccccc;
}
#news .container .news-block ul .date {
  font-size: 1.6rem;
  color: #333333;
  font-weight: bold;
  margin-right: 30px;
  min-width: 82px;
}
#news .container .news-block ul .category {
  text-align: center;
}
#news .container .news-block ul .category a {
  display: inline-block;
  padding: 5px 10px;
  font-size: 1.6rem;
  color: #ffffff;
  background-color: #2c568e;
  margin-right: 30px;
  text-decoration: none;
  min-width: 100px;
}
#news .container .news-block ul .title {
  font-size: 1.6rem;
  color: #333333;
  margin-right: 20px;
}
#news .container .news-block ul .title a {
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}
#news .link {
  margin-top: 60px;
  text-align: center;
}

#service {
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url("../images/bg-service.jpg");
  background-size: cover;
  background-position: center;
}
#service .container {
  max-width: 1170px;
  width: 98%;
  margin: auto;
}
#service .container h2 {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1.8px;
  color: #333333;
  line-height: 1;
}
#service .container h2 span {
  font-size: 2.4rem;
  font-family: "Bebas Neue", sans-serif;
  color: #2c568e;
  font-weight: normal;
  letter-spacing: 0;
}
#service .container .description {
  margin-top: 60px;
  text-align: center;
  font-size: 1.6rem;
  color: #333333;
}
#service .container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
#service .container .row .col {
  position: relative;
  width: 30.94%;
  margin-top: 30px;
}
#service .container .row .col a {
  position: relative;
}
#service .container .row .col a img {
  width: 100%;
  height: auto;
}
#service .container .row .col a .title {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 100%;
  padding: 8px 0 8px 20px;
  font-weight: bold;
  font-size: 2.1rem;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
}
#service .container .row .col a .title::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #2c568e;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.5s;
}
#service .container .row .col a .title i {
  position: absolute;
  color: white;
  background: #2c568e;
  text-align: center;
  width: 48px;
  height: 100%;
  right: 0;
  bottom: 0;
  line-height: 48px;
}
#service .container .row .col a:hover .title {
  background: #2c568e;
  color: #fff;
}
#service .container .row .col a:hover .title::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

#access {
  margin-top: 100px;
}
#access h2 {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1.8px;
  color: #333333;
  line-height: 1;
}
#access h2 span {
  font-size: 2.4rem;
  font-family: "Bebas Neue", sans-serif;
  color: #2c568e;
  font-weight: normal;
  letter-spacing: 0;
}
#access .map {
  margin-top: 60px;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
#access .map:before {
  padding-top: 39.4285714286vw;
  display: block;
  content: "";
}
#access .map iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (max-width: 767px) {
  #mv .item .position-abs {
    top: 5.8974358974vw;
    left: 7.9487179487vw;
  }
  #mv .item .position-abs h2 {
    font-size: 4.1025641026vw;
    margin-bottom: 7.6923076923vw;
  }
  #mv .item .position-abs h2 span {
    font-size: 5.8974358974vw;
  }
  #mv .item .position-abs p {
    font-size: 2.5641025641vw;
  }
  #news {
    margin-top: 48px;
  }
  #news .container {
    max-width: 970px;
    width: 98%;
    margin: auto;
  }
  #news .container h2 {
    font-size: 2.6rem;
    letter-spacing: -1.8px;
    color: #333333;
    line-height: 1.1;
  }
  #news .container h2 span {
    font-size: 1.6rem;
  }
  #news .container .news-block {
    margin-top: 15px;
  }
  #news .container .news-block ul {
    flex-wrap: wrap;
    padding: 20px;
  }
  #news .container .news-block ul:last-child {
    border-bottom: 1px dashed #cccccc;
  }
  #news .container .news-block ul .date {
    font-size: 1.6rem;
    color: #333333;
    font-weight: bold;
    margin-right: 30px;
    min-width: 82px;
  }
  #news .container .news-block ul .category a {
    font-size: 1.5rem;
    margin-right: 0px;
  }
  #news .container .news-block ul .title {
    font-size: 1.4rem;
    margin-top: 1.9rem;
    margin-right: 0px;
  }
  #news .link {
    margin-top: 31px;
  }
  #service {
    margin-top: 60px;
    padding-top: 46px;
    padding-bottom: 54px;
  }
  #service .container {
    width: 90%;
  }
  #service .container h2 {
    font-size: 2.6rem;
    line-height: 1.1;
  }
  #service .container h2 span {
    font-size: 1.6rem;
  }
  #service .container .description {
    margin-top: 42px;
    text-align: left;
    font-size: 1.4rem;
  }
  #service .container .row {
    margin-top: 0;
  }
  #service .container .row .col {
    width: 100%;
    margin-top: 35px;
  }
  #service .container .row .col img {
    width: 100%;
    height: auto;
  }
  #service .container .row .col .title {
    font-size: 1.8rem;
    padding: 11px 0 10px 20px;
  }
  #service .container .row .col .title i {
    position: absolute;
    color: white;
    background: #2c568e;
    text-align: center;
    width: 48px;
    height: 100%;
    right: 0;
    bottom: 0;
    line-height: 48px;
  }
  #access {
    margin-top: 58px;
  }
  #access h2 {
    font-size: 2.6rem;
    line-height: 1.1;
  }
  #access h2 span {
    font-size: 1.6rem;
  }
  #access .map {
    margin-top: 22px;
  }
  #access .map:before {
    padding-top: 103.0769230769vw;
  }
}

/* snow monkey */
/* ロゴ */
.c-site-branding__title .custom-logo {
	width: 174px;
    height: 47px;
}

.c-site-branding__title a {
    padding: 20px 0;
}

.p-global-nav .c-navbar__item>a {
    font-size: 1.6rem;
}

.p-global-nav li#menu-item-36 a {
    color: #2c568e;
    font-family: "Bebas Neue", sans-serif;
    font-size: 4rem;
    font-weight: normal;
    text-decoration: none;
}
.fa-phone {
    margin-right: 7px;
    font-size: 2.7rem;
    padding-top: 2px;
}

.c-header-content a.contact {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c568e;
  text-decoration: none;
  padding: 14px 25px;
  border: 3px solid #2c568e;
  transition: all 0.5s 0s ease;
}

.c-header-content .contact:hover {
  background-color: #ffffff;
  border: solid 3px #2c568e;
  background-color: #2c568e;
  color: #ffffff;
  transition: all 0.5s 0s ease;
}

.fa-envelope {
    margin-right: 10px;
}


.p-global-nav .c-navbar__item>a {
  position: relative;
  color: #333333;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  transition: all 0.5s ease;
}
.p-global-nav .c-navbar__item>a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background: #2c568e;
  bottom: 20px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
.p-global-nav .c-navbar__item>a:hover {
  color: #2c568e;
}
.p-global-nav .c-navbar__item>a:hover::after {
  visibility: visible;
  bottom: -4px; /*アニメーションが止まる位置*/
  opacity: 1;
}