@charset "UTF-8";

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

/* ヘッダー関係-------------------------------------- */

.container2 {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

.navbar-brand {
  padding-top:0px;
  padding-bottom: 0;
  margin-right: 0;
  font-size: 1.6rem;
  line-height: inherit;
  white-space: nowrap;
}
#mainNav {
border-top: solid 4px #800000;
background-color:rgba(255,255,255,0.1);
}
#mainNav .navbar-brand img {
margin: -10px 0 0 0;
height: 50px ;!important;
}

header.masthead {
padding-top: 28rem;
padding-bottom: 26rem;
border-bottom: 2px solid #FFFF00;
}
.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-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
color: #ffffff;
text-shadow:1px 1px 2px red, 0 0 2em #00B2B2, 0 0 0.2em #00B2B2;
line-height: 1.4em;
font-size: 75px;
text-align: center;
}
.header-animation3 {
font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
color: #ffffff;
text-shadow:1px 1px 2px red, 0 0 1em #00B2B2, 0 0 0.2em #00B2B2;
line-height: 1.6em;
font-size: 26px;
margin: 0 0 20px;
	text-align: center;
}
@keyframes example {
  to { background-position-x: 200%; }
}

@media screen and (max-width: 992px) {
#mainNav {
background-color:rgba(255,255,255,0.9);
padding: 0.5rem 0.75rem;
}
#mainNav .navbar-toggler {
background-color:#fff!important;
color: #000;
padding: 0.1rem 0.2rem;
}
#mainNav .navbar-brand img {
  margin: -2px 0 0 0;
height: 50px ;!important;
}
.nav-item {
background-color: #999;!important;
padding: 0 10px;
}
.fa-bars {
	font-size: 3em;
}
}
@media screen and (max-width: 768px) {


header.masthead {
  padding-top: 14rem;
  padding-bottom: 9rem;
}
.header-animation2 {
font-size: 45px;
}
.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: #333;
border-image: linear-gradient(to right, #FFFF00 0%, #228bc8 50%, #FFFF00 100%) 1/0 0 5px 0;
border-style: solid;
}
.title-custom-sha {
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: #fff;
border-image: linear-gradient(to right, #FFFF00 0%, #228bc8 50%, #FFFF00 100%) 1/0 0 1px 0;
border-style: solid;
text-shadow:1px 1px 2px red, 0 0 1em #00B2B2, 0 0 0.2em #00B2B2;
}
.ttitle-custom-sub {
font-size: 18px;
text-align: center;
line-height:30px;
color: #228bc8;
margin-bottom: 30px;
}	
@media screen and (max-width: 768px) {
.title-custom {
max-width: 100%;
	font-size: 20px;
}
.title-custom-sha {
max-width: 100%;
}	
}	
  .sp-br{
    display: none; /* SPの改行を隠す */
  }
@media screen and (max-width: 768px) {
  .sp-br{
    display: block; /* SPを改行する */
  }	
	
  }

/* 共通背景-------------------------------------- */
.bak_inner {
	padding: 0px;
}
.bak_box {
	/*--省略--*/

background-repeat: repeat-y;
background-position: center;
}
/* NEWS-------------------------------------- */
.news-position {
	width: 70%;
	margin: 0 auto;
	padding: 20px 0px 20px 20px;
	font-size: 90%;
	background-color:rgba(255,255,255,0.9);
}

.news-position span {
	margin-right: 10px;
	padding: 4px;
	font-size: 80%;
	background-color: #E53935;
	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-color: #ffffff;
}

.greeting-position {
width: 70%;
margin: 0 auto;
padding: 40px 40px 10px 40px;
font-size: 99%;
color: #000;
font-weight: bold;
background-color:rgba(255,255,255,0.9);
}

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

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

.greeting-position {
width: 100%;
padding:20px;
}
	
}

/* business-------------------------------------- */
.business-background {
background-image: url("../img/business-bg.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: top center;
background-size: cover;
opacity: 0.9;
display: block;
}
.business-position {
	width: 70%;
	margin: 0 auto;
	padding: 20px 20px 0 20px;
	font-size: 90%;
	background-color:rgba(255,255,255,0.9);
}
.business-position-title {
	padding: 12px 10px ;
	font-size: 130%;
}
.fa-check-square  {
	padding: 4px 0 0;
    color: #f49f00;
	font-size:160%;
}

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

.business-position {
	width: 100%;
}
	
}
/* contact-------------------------------------- */
#end_pic{
 width: 100vw;
 height: 70vh;
 background-image: url("../img/contact-bg.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: top left;
background-size: cover;
opacity: 0.9;
display: block;
position:relative;
}
.end_pic_text {
position:absolute;
bottom:0;
right:0;
padding: 0 110px 10px 0;
color: #ffffff;
font-size: 22px;
}
#end_pic2{
 width: 100%;
  height: 0;
	padding-top: calc(400 / 1000 * 100%);
 background-image: url("../img/contact-bg.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: top left;
background-size: cover;
opacity: 0.9;
display: block;
position:relative;
}
.end_pic_text2 {
position:absolute;
bottom:0;
right:0;
padding: 0 110px 10px 0;
color: #ffffff;
font-size: 22px;
}

.contact-background {
background-image: url("../img/contact-bg.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: top center;
background-size: cover;
opacity: 0.9;
display: block;
}
.contact-position {
	width: 70%;
	margin: 0 auto;
	padding: 20px 20px 0 20px;
	font-size: 90%;
}
@media screen and (max-width: 768px) {
#end_pic{
 width: 100vw;
 height: 30vh;
}
.end_pic_text {
font-size: 18px;
padding: 0 30px 10px 0;
}	
.contact-position {
	width: 100%;
}
.end_pic_text2 {
font-size: 18px;
padding: 0 30px 10px 0;
}	
}

@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-------------------------------------- */
.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: #eeeeee; 
}
.kaisha td {
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;}
}

/* portfolio-------------------------------------- */
.portfolio-caption {
font-size: 90%;
}
.portfolio-position {
	width: 90%;
	margin: 0 auto;
	padding: 20px 20px 0 20px;
	font-size: 90%;
	background-color:rgba(255,255,255,0.9);
}
.portfolio-img {
	text-align: center;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
.portfolio-position {
	width: 100%;
	padding:2px;
}
}
/* footer-------------------------------------- */

.footer-bg {
	background-color: #000000;
}
/* footer-------------------------------------- */
.nitoo {background-color: rgba(255,255,255,0.7) !important; }

/* エフェクト-------------------------------------- */
.fade-in-bottom {
   opacity: 0;
   animation-name: fadein-bottom;
   animation-duration: 2.5s;
   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.1;
	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;
}

.header-color-n{
background-color: rgba(0,0,0,0.7)!important;
}

