@charset "UTF-8";

/* 追加・上書きスタイル */
html, body {
 font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}

/* ヘッダー関係-------------------------------------- */
.navbar-brand {
  padding-top:0px;
  padding-bottom: 0;
  margin-right: 0;
  font-size: 1.6rem;
  line-height: inherit;
  white-space: nowrap;
}
#mainNav {
border-top: 6px solid #0C74D4;
}
#mainNav .navbar-brand img {
margin: 0px 0 0 0;
height: 50px;
}
header.masthead {
  padding-top: 28rem;
  padding-bottom: 16rem;

}
.header-animation {
  font:  8em / 1 Verdana, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  background: linear-gradient(to right, #f00 0%, #f80 14.28%, #dd0 28.56%, #0d0 42.85%, #0dd 57.14%, #00f 71.42%, #e0e 85.71%, #f00 100%) 0% center / 200% auto;
          background-clip: text;
  -webkit-background-clip: text;
          text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  animation: example 4s linear infinite;
}

.header-animation2{
font-size   : 50px;
font-weight : bold;
color       : #ffffff;
text-shadow:  2px  2px 10px #333 ,
		   -2px  2px 10px #777 ,
			2px -2px 10px #777 ,
		   -2px -2px 10px #777;
}
.header-animation3{
font-size   : 110%;
color       : #ffffff;
margin: 5px 0 20px;
text-shadow:  2px  2px 10px #777 ,
		   -2px  2px 10px #777 ,
			2px -2px 10px #777 ,
		   -2px -2px 10px #777;
}
@keyframes example {
  to { background-position-x: 200%; }
}

@media screen and (max-width: 992px) {
#mainNav {
padding: 0.5rem 0.75rem;
}
#mainNav .navbar-toggler {
background-color:#ffffff;
color: #000;
padding: 0.2rem;
}
.fa-bars {
	font-size: 3em;
}
}
@media screen and (max-width: 768px) {

#mainNav .navbar-brand img {
margin: 10px auto;
height: 40px;
}
	
header.masthead {
  padding-top: 12rem;
  padding-bottom: 4rem;
}
.header-animation2 {
font-size: 30px;
}
.header-animation3 {
font-size: 16px;
}	
}
/* タイトル共通文字-------------------------------------- */
.title-custom {
font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
max-width: 80%;
margin: 0 auto;
padding: 0 0 10px;
color: #333333;
border-image: linear-gradient(to right, #FFFF99 0%, #0C74D4 50%, #FFFF99 100%) 1/0 0 1px 0;
border-style: solid;
}

.area-custom {
padding:20px 0 0;
border-bottom: 2px solid #0C74D4;

}
a.toyo:link {color:#B22D00;}
a.toyo:visited {color:#B22D00;}
a.toyo:hover {color:#ff0000;}

  .sp-br{
    display: none; /* SPの改行を隠す */
  }
@media screen and (max-width: 768px) {
  .sp-br{
    display: block; /* SPを改行する */
  }	
	
  }
/* NEWS-------------------------------------- */

.news-background {
background-color: #ffffff;
}
.news-position {
	width: 70%;
	margin: 0 auto;
	padding: 20px 0px 20px 20px;
	font-size: 90%;
}
.news-position span {
	margin-right: 10px;
	padding: 4px;
	font-size: 80%;
	background-color:#FF9900;
	color: #ffffff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}

.news-positions {
	padding:0;
}

@media screen and (max-width: 768px) {
.news-position {
	width: 100%;
}
.news-positions {
	padding: 0 0 12px;
}
	
}

/* GREETING-------------------------------------- */
.greeting-background {
background-image: url("../img/greeting-bg.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center center;
background-size: cover;
opacity: 0.9;
display: block;
}
.greeting-backgrounds {
background-color: rgba(0,0,0,0.6);
}

.greeting-position {
width: 80%;
margin: 0 auto;
padding: 40px 40px 10px 40px;
font-size: 100%;
}

.company-neme {
text-align: right;
}

@media screen and (max-width: 768px) {

.greeting-position {
width: 100%;
font-size: 80%;
}
	
}

/* sub-header-------------------------------------- */
.sub-header {
background-image: url("../img/headersub-bg.jpg");
background-repeat: no-repeat;

background-attachment: scroll;
background-position: center center;
background-size: cover;
opacity: 0.9;
display: block;
padding: 100px 0;
}


@media screen and (max-width: 768px) {

.sub-header {
width: 100%;
font-size: 80%;
padding: 50px 0;
}
	
}

/* business-------------------------------------- */
.business-background {
background-color: #ffffff;
}
.business-position {
	width: 70%;
	margin: 0 auto;
	padding: 20px 20px 0 20px;
	font-size: 90%;
}
.business-position-title {
	padding: 12px 10px ;
	font-size: 140%;
}
.fa-check-square  {
	padding: 4px 0 0;
    color: #E33055;
	font-size:160%;
}

@media screen and (max-width: 768px) {

.business-position {
	width: 100%;
	font-size: 80%;
}
	
}
/* portfolio-------------------------------------- */
.portfolio-background {
background-color: #ffffff;
}
.portfolio-position {
width: 100%;
margin: 0 auto;
padding: 20px 20px 0 20px;
font-size: 90%;
}

.portfolio-caption-title {
margin-bottom: 0;
font-size: 150%;
margin-bottom: 10px;
text-align: left;
border-image: linear-gradient(to right, #FFFF99 0%, #990000 50%, #FFFF99 100%) 1/0 0 1px 0;
border-style: solid;
}
.portfolio-caption-titles {
margin-bottom: 0;
font-size: 200%;
margin-bottom: 10px;
text-align:center;
border-image: linear-gradient(to right, #FFFF99 0%, #990000 50%, #FFFF99 100%) 1/0 0 1px 0;
border-style: solid;
}
.portfolio-caption-text {
	margin-bottom: 0;
	font-size: 100%;
	text-align: left;
}
@media screen and (max-width: 768px) {

.portfolio-position {
	width: 100%;
	font-size: 80%;
}
.portfolio-caption-titles {
font-size: 150%;
}

}
/* contact-------------------------------------- */
.contact-background {
background-color: #ffffff;
}
.contact-position {
	width: 70%;
	margin: 0 auto;
	padding: 0 20px 0 20px;
	font-size: 90%;
}
@media screen and (max-width: 768px) {

.contact-position {
	width: 100%;
	font-size: 80%;
}

}

@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

a.btn_contact {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #228bc8;
  border: 1px solid #228bc8;
  box-sizing: border-box;
  width: 30%;
  height: 60px;
  padding: 0 25px;
  color: #ffffff;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
	margin: 0 auto;
	border-radius: 4px;
}
a.btn_contact:hover {
  background: #ffffff;
  border: 1px solid #05639a;
  color: #228bc8;
}
a.btn_contact:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 50px;
  border-color: transparent transparent #ffffff transparent;
}
a.bbtn_contact span {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: inline-block;
}
a.btn_contact span:before {
    content: '';
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -8px;
}
a.btn_contact span:after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: 2px solid #228bc8;
    border-right: 2px solid #228bc8;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 4px;
    margin-top: -3px;
}

@media screen and (max-width: 768px) {

a.btn_contact {
	width: 70%;
	font-size: 14px;
}
}
/* profile-------------------------------------- */
.profile-background {
background-color: #ffffff;
}
.kaisha {
margin: 0 auto;
width: 70%;
font-size: 90%;
}

.kaisha th,
.kaisha td {
border: 1px solid #ccc;
padding: 20px;
}

.kaisha th {
font-weight: bold;
background-color: #ffffff; 
}
@media screen and (max-width: 768px) {
.kaisha {
margin: 0 auto;
width: 100%;
font-size: 80%;
}

.kaisha tr,
.kaisha td,
.kaisha th {display:block;}
.kaisha th {width:auto;}
}
	


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

.footer-bg {
	background-color: #0C74D4;
}
/* エフェクト-------------------------------------- */
.fade-in-bottom {
   opacity: 0;
   animation-name: fadein-bottom;
   animation-duration: 1.2s;
   animation-timing-function: ease-out;
   animation-fill-mode: forwards;
}
@keyframes fadein-bottom {
   0% {
      opacity: 0;
      transform: translateY(200px);
   }
   100% {
      opacity: 1;
      transform: translateY(0);
   }
}

.fadein {
	opacity : 0;
	transform : translate(0, 50px);
	transition : all 500ms;
	}

.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
	}

#page_top{
width: 50px;
height: 50px;
position: fixed;
right: 10px;
bottom: 10px;
background-color: #ffffff;
border: 1px solid #fff;
opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0d8';
  font-size: 25px;
  color: #000;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}