/*!
 * Start Bootstrap - Agency v5.2.1 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

body {
  overflow-x: hidden;
  font-family: ''Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

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

a {
  color: #555555;
}

a:hover {
  color: #56a9f6;
}

.text-primary {
  color: #56a9f6 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

.page-section {
  padding: 100px 0;
}

.page-section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 900;
}

.page-section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 50px;
  text-transform: none;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
}

::-moz-selection {
  background: #fed136;
  text-shadow: none;
}

::selection {
  background: #fed136;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  font-weight: 400;
}

.btn-primary {
  background-color: #ff3aa3;
  border: none;
  border-bottom:2px solid #ce2b82;
height:40px;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #ff75be !important;
  border: none;
  transform: translateY(2px);
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

#mainNav {
  background-color: #ffffff;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
}

#mainNav .navbar-toggler {
  font-size: 80%;
  right: 0;
  padding: 13px;
  color: #fff;
  border: 0;
  background-color: #999;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand {
  color: #555555;
  font-family: 'Kaushan Script', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #56a9f6;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 80%;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 0px;
  color: #555555;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    text-transform:initial;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #56a9f6;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 15px;
    padding-bottom: 15px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em .6em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #ffffff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}
.news {
    background: #e1e3e4;
    color:#626466;
    vertical-align: middle;
}
.news-p {
    margin: 10px 0 0 0;
}
.img-sp{
    max-width:100%;
    height:auto;
}
.service-heading {
  margin: 15px 0;
  text-transform: none;
}

.business-margin {
    margin:0 0 30px 0;
}

.business-block {
    margin:40px 0 10px 0; 
}
.yellow {
    background: #fefee5;
    vertical-align: middle;
}
.gray {
    background: #f7f7f7;
    vertical-align: middle;
}
.about-block {
    margin:20px 0;     
}
.notice-block {
    margin:80px 0 -80px 0;     
} 
.ttl-block {
    padding:0 0 30px 0;     
    }
.btn-contact {
  background-color: #f79240;
  border: none;
  border-bottom:4px solid #c0722c;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px;
  height: 60px;
  vertical-align: middle;
}

.btn-contact:active, .btn-contact:focus, .btn-contact:hover {
  background-color: #f9b271 !important;
  border: none;
  transform: translateY(4px);
  color: white;
}

.btn-contact:active, .btn-contact:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}
.flow-contact {
  position: relative;
  top:0px;
}
#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  margin: 0 auto;
  padding: 15px;
  text-align: left;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
  font-weight: 900;
  color:#999;
  font-size: 1.6em;
  text-align: center;
}

#portfolio .portfolio-item .portfolio-caption h5 {
  margin: 30px 0 0 0;
  text-transform: none;
  font-weight: 400;
  color:#333;
  font-size: 1.1em;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 2em;
  color:#000;
  margin-top: -12px;
  font-weight: 900;
}

#portfolio .portfolio-item .portfolio-caption p.c-message {
  font-size: 0.9em;
  color:#333;
  margin:10px 0;
  font-weight: 400;
}
.under {
  background: linear-gradient(transparent 50%, #f9dd5a 50%);
}
#portfolio * {
  z-index: 2;
}

.ggmap {
    margin:0 0 15px 0; 
}

.company-info {
padding: 11px 0;
border-top: 1px solid #ccc;
}

.company-info dl {
padding: 11px 0;
border-bottom: 1px solid #ccc;
}

.company-info dt {
padding-bottom: 5px;
font-weight: 400;
}

@media screen and (min-width: 768px) {
.company-info dt {
clear: left;
float: left;
width: 25%;
}
.company-info dd {
margin-left: 11%;
}
}



@media (min-width: 768px) {
section#contact {
  margin:0 auto;
}
section#contact .form-group-label {
  color:#333;
  font-weight: 400;
  text-align: right;
  padding:10px 0 10px 0;
}
}

section#contact .form-group-label {
  padding:10px 0 10px 0;
}


section#contact .form-group input,
section#contact .form-group textarea {
  padding: 10px;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-group textarea.form-control {
 height: calc( 1.3em * 5 );
  line-height: 1.3;
}

section#contact .form-control:focus {
  border-color: #56a9f6;
  -webkit-box-shadow: none;
  box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
  font-weight: 400;
  color: #ced4da;
}

section#contact :-moz-placeholder {
  font-weight: 400;
  color: #ced4da;
}

section#contact ::-moz-placeholder {
  font-weight: 400;
  color: #ced4da;
}

section#contact :-ms-input-placeholder {
  font-weight: 400;
  color: #ced4da;
}

.privacy p {
    width: auto;
    height: 300px;
    font-size: 0.8em;
    text-align: left;
    overflow-x: hidden;
    overflow: scroll;
    border: #ced4da 1px solid;
    padding:10px;
}

.footer {
  padding: 25px 0;
  text-align: center;
  background: #979898;
}

.footer p.copyright {
  font-size: 80%;
  line-height: 1.6em;
  text-transform: none;
  color:#fff;
}
.d-message {
 border: 5px solid #131313;
 background: #fefee5;
 border-radius: 10px;
 margin:60px auto 0 auto;
 width: 90%;
 padding: 20px;
 display: inline-block;
 text-align: center;
}
.d-message h4 {
 position: relative;
 top:-46px;
}
.d-message p {
 text-align: left;
}
.d-message-ttl {
 position: relative;
 top:-15px;
}

header.masthead {
  text-align: center;
  background: #fefee5;
	position: relative;
}

header.masthead {
	padding-top: 86vw;
	padding-bottom: 8vw;
	background-image: url("../img/header-bg_sp.png");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size:auto 65vw;
  	background-position:50% 14vw;
}

header.masthead .inner {
	display: table;
	margin: 0 auto;
	text-align: center;
}
header.masthead .catch {
	margin-bottom: 3vw;
	width: 54vw;
}
header.masthead .cv_btn {
	display: block;
	margin: 0 auto;
	transition: ease .3s;
	width: 88vw;
}
header.masthead .cv_btn:hover {
	opacity: .7;
}
@media (min-width: 480px) {
	header.masthead {
		margin:50px 0 0 0;
		padding-top: 70vw;
		padding-bottom: 8vw;
		background-image: url("../img/header-bg_sp.png");
		background-repeat: no-repeat;
		background-attachment: scroll;
    	background-size:auto 65vw;
  		background-position:50% 4vw;
	}
	header.masthead .inner {
		margin-top: 0;
	}
	header.masthead .catch {
		margin-bottom: 3vw;
		width: 54vw;
	}
	header.masthead .cv_btn {
		width: 88vw;
	}
}
@media (min-width: 768px) {
  header.masthead {
    margin:50px 0 0 0;
    padding-top: 70vw;
    padding-bottom: 8vw;
    background-image: url("../img/header-bg_sp.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size:auto 64vw;
  		background-position:50% 2vw;
}
	header.masthead .inner {
		margin-top: 0;
	}
	header.masthead .catch {
		margin-bottom: 2vw;
		width: 52vw;
	}
	header.masthead .cv_btn {
		width: 90vw;
	}
}
    
@media (min-width: 1024px) {
  header.masthead  {
    margin:60px 0 0 0;
    padding-top: 660px;
    padding-bottom: 80px;
    background-image: url("../img/header-bg.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size:auto 660px;
  		background-position:50% 0;
}
	header.masthead .inner {
		margin-top: 50px;
	}
	header.masthead .catch {
		margin-bottom: 20px;
		width: 500px;
	}
	header.masthead .cv_btn {
		width: 860px;
	}
}
@media (min-width: 1440px) {
  header.masthead  {
    margin:70px 0 0 0;
    padding-top: 660px;
    padding-bottom: 80px;
    background-image: url("../img/header-bg.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
}
}
@media (min-width: 2560px) {
  header.masthead  {
    margin:50px 0 0 0;
    padding-top: 660px;
    padding-bottom: 80px;
    background-image: url("../img/header-bg.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
}
}

.miagel_bn a {
	transition: ease .3s;
}
.miagel_bn a:hover {
	opacity: .7;
}
