@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 #526e90;
}
#mainNav .navbar-brand img {
  margin: 0px 0 0 0;
  height: 50px;
}
header.masthead {
  padding-top: 24rem;
  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: #990000;
  border-image: linear-gradient(to right, #FFFF99 0%, #990000 50%, #FFFF99 100%) 1/0 0 1px 0;
  border-style: solid;
}

.area-custom {
  padding: 20px 0 0;
  border-bottom: 15px solid #526e90;
}

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

.sp-br {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

/* NEWS */
.news-background {
  background-color: #eff7f7;
}
.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: #eff7f7;
}
.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: #f49f00;
  font-size:160%;
}
@media screen and (max-width: 768px) {
  .business-position {
    width: 100%;
    font-size: 80%;
  }
}

/* portfolio */
.portfolio-background {
  background-color: #eff7f7;
}
.portfolio-position {
  width: 70%;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
  font-size: 90%;
}
.portfolio-caption-title,
.portfolio-caption-titles {
  margin-bottom: 0;
  margin-bottom: 10px;
  border-image: linear-gradient(to right, #FFFF99 0%, #990000 50%, #FFFF99 100%) 1/0 0 1px 0;
  border-style: solid;
}
.portfolio-caption-title {
  font-size: 150%;
  text-align: left;
}
.portfolio-caption-titles {
  font-size: 200%;
  text-align: center;
}
.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: #eff7f7;
}
.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%;
  }
}

/* infobtn */
.infobtn,
a.infobtn,
button.infobtn {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.infobtn--circle {
  width: 140px;
  height: 140px;
  padding: 30px 0 0;
  border-radius: 50%;
  color: #fff;
  background: #eb6877;
  box-shadow: 0 7px 0 #e53b4e;
}
a.infobtn--circle i {
  font-size: 150%;
}
.fa-position-bottom {
  position: absolute;
  bottom: 1rem;
  left: calc(50% - 0.5rem);
}
a.infobtn--circle:hover {
  transform: translate(0, 4px);
  color: #fff;
  box-shadow: 0 3px 0 #e53b4e;
}

/* profile */
.profile-background {
  background-color: #eff7f7;
}
.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: linear-gradient(to right, #526e90 0%, #F6E2CF 100%);
}

/* エフェクト */
.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;
}
#mainNav .navbar-nav .nav-link {
  color: #ffffff !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 0.75rem 1.2rem;
  transition: all 0.3s ease;
}

/* Hiệu ứng gạch dưới khi hover */
#mainNav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

#mainNav .navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hover đổi màu hơi xanh nhẹ nếu muốn phân biệt */
#mainNav .navbar-nav .nav-link:hover {
  color: #e0f7ff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 1);
}
