/* Globals */


/* Links */

a, a:focus, a:hover {
	color: #fff;
	text-decoration: none;
    }
}


/* Custom default button */

.btn-secondary, .btn-secondary:hover, .btn-secondary:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
  background-color: #fff;
}


/* Base structure */

html, body {
  padding: 0!important;
  color: #fff!important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", eiryo, sans-serif;
  letter-spacing: 0.05em;
  margin: 0;
  scroll-behavior: smooth;
}

body.toppage:after {
	position: fixed;
	z-index: -9999;
  top:0; left: 0;
  width: 100%; height: 100%;
  content: "";
  background: #666;
  background: linear-gradient(45deg, #dd294e, #a8d0f3, #e70332); background-size: 600% 600%; animation: AnimationName 100s ease infinite;
}

body.contact:after {
	position: fixed;
	z-index: -9999;
  top:0; left: 0;
  width: 100%; height: 100%;
  content: "";
  background: #666;
  background: linear-gradient(45deg, #ea638d, #7bc0db, #23968b); background-size: 600% 600%; animation: AnimationName 100s ease infinite;
}

body.sample:after {
	position: fixed;
	z-index: -9999;
  top:0; left: 0;
  width: 100%; height: 100%;
  content: "";
  background: #666;
  background: linear-gradient(45deg, #f68084, #afc5d1, #a8edea); background-size: 600% 600%; animation: AnimationName 100s ease infinite;
}


h1, h3, h5, h6 {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.1rem;
}

/* canv animation */

@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#canv {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
	overflow: hidden;
}

@media (max-width: 767px) {
  #canv {
    width: 300%;
    height: 100%;
    overflow: hidden;
    margin-left: -200%;
  }
}

.cover-container {
  max-width: 1140px;
  z-index: 2;
  height: auto;
  position: relative;
  top: 0;
  left: 0;
}


/* Header */

.masthead-brand .logo {
  width: 120px;
  height: auto;
  padding-top: 15px;
}

@media (max-width: 48em) {
  .masthead-brand {
    text-align: center;
  }
}

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding-left: 0.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
  background-color: transparent;
}

.nav-masthead .nav-link:hover, .nav-masthead .nav-link:focus {
  color: rgba(255, 255, 255, 1);
}

.nav-masthead .nav-link+.nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: rgba(255, 255, 255, 1);
}

@media (min-width: 48em) {
  .masthead {
    position: relative;
    top: 0;
    left: 0;
  }
  .masthead-brand {
    position: relative;
    top: 0;
    left: 0;
  }
  .nav-masthead {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media (max-width: 47em) {
  .nav-masthead .nav-link {
    display: none;
  }
}

/* logo */
			.logo2{ width: 210px; margin:0;}
			.logo3{ width: 200px; margin: 0 auto; margin-bottom: 20px; }


i {
  margin-right: 0.2rem;
}

/* Cover */

.cover {
  padding: 0 1.5rem;
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/* main */

#main ul {
  padding-inline-start: 0px!important;
}

#main li {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 5px 15px;
  margin: 1px;
  margin-bottom: 6px;
  border-radius: 20px;
}

#main ul span {
  font-size: 0.9rem;
  margin-left: 4px;
}

#main h1 {
    font-size: 52px;
  line-height: 1.4em;
  position: relative;
  display: inline-block;
}

@media (max-width: 767px) {
  #main h1 {
  font-size: 32px!important;
  }
.cover {
  padding: 0;
}
}

#main h3 {
  line-height: 1.4em;
  position: relative;
  display: inline-block;
  margin-top: 120px;
}

#main h3:before {
  content: '';
  position: absolute;
  left: 50%;
  top: -60px;
  display: inline-block;
  width: 60px;
  height: 4px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  margin-bottom: 150px;
}

#main p span {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  border-bottom: solid 2px #fff;
  font-size: 110%;
  font-weight: bold;
}

#main p u {
	padding: 3px;
	text-decoration: none;
  border-bottom: 1px dashed #fff;
}


@media (max-width: 48em) {
#main p br {
  display: none;
	}
}

#main, #services {
  margin-top: 10px;
}

.servicelist {
  margin-top: 20px!important;
}

/* services */

#services {
  padding-bottom: 50px;
}

#services h6 {
  border-top: solid 1px #fff;
  margin-top: 20px;
  padding-top: 20px;
}

#services h5 {
  border-top: solid 1px #fff;
  margin-top: 20px;
  padding-top: 20px;
}

#services h4.service-logo {
 height: 55px;
}

#services h4.service-logo .logo {
  margin-top: 10px;
}

/* member */

#member { margin-top: 30px;
}



			
/* Footer */
footer {margin-bottom: 0!important;
}

.footer .text-muted{font-size: 0.6rem;}
.footer address{font-size: 0.8rem; color:#555!important;}
.footer a,footer a:hover,footer a:visited{text-decoration:none; color: #000;}
.footer .bg-light{background-color:#fff!important;}
}

.footer-top img {
 padding: 0 auto!important;
 padding-bottom:-10px!important;
}

.footer {
  margin-bottom: 0 auto!important;
  padding: 0 auto!important;
}

.footer .base {
  background-color: #fff;
  padding-top: 0!important;
}

address br {
  display: none;
}

@media (max-width: 768px) {
.footer .base {
  padding-top: 20px!important;
}
address br {
  display: block;
}
}


/* placeholder */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

/* btn */
.btn {
  padding: 5px 15px;
}

.btn sup {
  opacity: 0.5;
}

@media (max-width: 48em) {
  .btn {
    width: 100%;
  }
}

.btn-lg {
  font-size: 17px;
}

/* pagetop */
#pagetop {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 0;
  bottom: 50px;
  transform: rotate(-90deg);
  font-size: 13px;
  z-index: 100;
}

@media (max-width: 768px) {
#pagetop {
  right: -10px;
  bottom: 15px;
  }
}

#pagetop a {
  opacity: 0.3;
  position: relative;
  display: flex;
  width: 140px;
  height: 30px;
  text-decoration: none;
  filter: invert(100%) grayscale(100%) contrast(100);
}
#pagetop a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0d8';
  font-size: 15px;
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: 12px;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  transform: rotate(90deg);}

#pagetop a:hover {
  opacity: 0.5;
}

  .lh-condensed { line-height: 1.25; }
  .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }

/* contactform */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:#999!important;}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:#999!important;}
::placeholder {color:#999!important;}

label span {font-size: 13px;}

textarea {
height: 10em!important;
line-height: 1.5em;
}


/* fade-in */
.fade-in-left {
  opacity: 0;
  animation-name: fadein-left;
  animation-duration: 3s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadein-left {
  0% {
  opacity: 0;
  transform: translateX(-20px);
  }
  100% {
  opacity: 1;
  transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  animation-name: fadein;
  animation-duration: 4s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadein {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
}

/* エラー表示 */
#main_contact p.error {
  color: #606060!important;
  margin-top: 5px!important;
}
	
#main_contact p.error:before {
  content: "\f06a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: .5em;  
}

table {
  color: #fff!important;
}


		th {
			background-color:rgba(0,0,0,0.1)!important;
			font-weight: normal!important;
}


/*
 * sample
 */
.sample .tiles
    {
	padding: 20px;
	border-radius: 10px;
	color: #343A40;
    }

       .sample .tiles:hover
        {
        background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
            margin-top: -3px;
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

.sample .tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	margin-bottom: 20px;
	border-radius: 50%;
}

.sample .tiles:hover img {
	border-radius: 10px;
	transition: .2s ease-in-out;
	margin-bottom: 20px;
}

    .img-responsive
    {
        margin: 0 auto;
    }

.sample figure{
  margin: 0;
  display: none;
}

.sample figure img{
  background-color: #fff;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  height: 90%;
}

.sample figure:target{
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.sample figure:target #overlay{
  position: related;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: inherit;
}

.sample figure:target img{
  animation: fadein .3s;
}
@keyframes fadein{
  0%{
    transform: scale(0.2);
    opacity: 0.2;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

.sample ul{
  margin-left: -40px;
}

.sample li{
  display: inline-block;
  list-style-type: none;
  margin-right: 5px;
  padding: 1px 12px;
  border-radius: 30px;
  background-color: #fff;
  font-size: 0.8rem;
  color: #343A40;
  font-family: 'Barlow', sans-serif;
}

.sample h4{
  font-family: 'Barlow', sans-serif;
}

.sample .description{
  font-size: 0.9rem;
  margin-bottom: 5px;}

figcaption {
  margin-top: 15px;
  color: #343A40;
}

/*
 * Extra utilities
 */

.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}

      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
