/*=============================================
=            PAGE HEAD            =
=============================================*/
main {
  margin-top: 0;
}
#pageHead .companyImgWrapper .imgBg {
  background-image: url(./img/pageHead.jpg);
}
#pageHead.companyPage {
  height: 60vh;
  padding-top: 18%;
  padding-bottom: 0;
}
#pageHead.companyPage .companyInner {
  margin-top: 50px;
  margin-bottom: 0;
}
#pageHead.companyPage .companyInner .companyTitle {
  font-size: 40px;
  color: #00356c;
}
@media only screen and (max-width: 1024px) {
  #pageHead .col-12 {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #pageHead.companyPage .companyLogo img {
    margin: 0 auto;
    display: inherit;
  }
  #pageHead.companyPage .companyInner .companyTitle {
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  #pageHead.companyPage .companyInner .companyTitle {
    font-size: 33px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  #pageHead.companyPage .companyInner .companyTitle {
    font-size: 5vw;
  }
  #pageHead {
    position: relative;
  }

  #pageHead.companyPage {
    padding-top: 0;
  }
  #pageHead.companyPage .companyInner {
    margin-top: 5%;
  }
  #pageHead.companyPage {
    height: 500px;
  }
}

html {
  visibility: hidden;
}
html.wf-active {
  visibility: visible;
}
/*=====  End of PAGE HEAD  ======*/

.dammy2024 {
  width: 40%;
  position: absolute;
  right: 2%;
  top: 25%;
  opacity: 0.1;
  z-index: 0;
  text-align: center;
  display: block;
}
.dammy2024 img {
  width: 100%;
  max-width: 800px;
}
@media (max-width: 1400px) {
  .dammy2024 {
    display: none;
  }
}

/*=============================================
=           NAVI           =
=============================================*/

#navi {
  margin-top: 0px;
}
#navi .container {
  padding: 1em 0;
}
#navi .container a {
  font-size: 3.6vw;
  color: #333;
  font-style: italic;
  transition: all 0.5s;
}
#navi .container a:hover {
  color: red;
}

@media only screen and (min-width: 768px) {
  #navi .container a {
    font-size: 1.4em;
  }
}

/*=============================================
=            LEAD            =
=============================================*/
#lead {
  margin-top: 0px;
}

/* MEDIA QUERY MEDIUM */
@media only screen and (min-width: 768px) {
  #lead {
    margin-top: 100px;
  }
  .solidBtn {
    width: 90%;
    left: 0;
    top: 3em;
    margin: 0 0 1em;
  }
}
/*=====  End of LEAD  ======*/
/*=============================================
=           WORKS            =
=============================================*/

.worksRow {
  margin: 3em 0;
  padding: 0;
}
.worksTitle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1% 2%;
  background-color: rgba(0, 0, 0, 0.68);
}
.worksTitle a {
  color: #fff;
  font-size: 0.8em;
}
.worksBlock2 {
  position: relative;
  padding: 0;
  overflow: hidden;
}
a.worksCat {
  margin-right: 1em;
}

.worksBlock2 .hover-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.65);
  /*透明にして表示させない*/
  opacity: 0;
  /*ホバーの動き方*/
  transition: 0.3s ease-in-out;
}
.worksBlock2 .hover-text .text1 {
  font-size: 16px;
  padding: 4px 20px;
  margin: 0;
  line-height: 1.8em;
}
.worksBlock2 .hover-text .text2 {
  font-size: 10px;
  padding: 20% 20px 0;
  margin: 0;
}
/*ホバーエフェクト*/
.worksBlock2:hover .hover-text {
  /*不透明にして表示*/
  opacity: 1;
}

.worksBlock2 .hover-img {
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.worksBlock2 .hover-img:before {
  content: "";
  display: block;
  padding-top: 60%;
}

.worksBlock2 .hover-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}
/*ホバーエフェクト*/
.worksBlock2 .hover-img img {
  transform: scale(1);
  transition: 0.6s ease-in-out;
}
.worksBlock2:hover .hover-img img {
  transform: scale(1.1);
}

@media only screen and (min-width: 768px) {
  #works {
    padding: 8% 0;
  }
  .worksRow {
    margin: 3em 0;
    padding: 0 10%;
  }
}

/*=============================================
=            BUSINESS            =
=============================================*/
#business {
  background-color: #fff;
  padding: 10% 0;
}
#business h1 {
  text-align: center;
  font-size: 75px;
  color: #00356c;
  font-family: din-2014, sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  line-height: 2em;
}
@media only screen and (max-width: 768px) {
  #business h1 {
    font-size: 50px;
  }
}
@media (max-width: 480px) {
  #business h1 {
    font-size: 10vw;
  }
}

#business .businessWrapper {
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}

#business .businessWrapper .businessTitle {
  font-weight: bold;
  color: #f15a24;
  letter-spacing: 0.2em;
}
#business .businessWrapper .dscBox {
  line-height: 1.5;
}
@media only screen and (min-width: 768px) {
  #business {
    padding: 6% 0;
  }
}

/*=============================================
=            TITLE           =
=============================================*/
.site-main .sectionTitleWrapper {
  background: #00356c;
  width: 100%;
  padding: 3% 0;
}
@media (max-width: 480px) {
  .site-main .sectionTitleWrapper {
    padding: 5% 0;
  }
}
.sectionTitleWrapper .sectionTitle {
  color: #fff;
}
.sectionTitleWrapper .bar {
  background-color: #fff;
}
.sectionTitleWrapper .sectionSubTitle {
  color: #fff;
}
/*=============================================
=            SERVICE           =
=============================================*/
.sectionLead {
  letter-spacing: 0.1em;
  margin: 5% 0;
  font-size: 26px;
  color: #00356c;
  text-align: center;
}
@media (max-width: 480px) {
  .sectionLead {
    font-size: 4vw;
    margin: 10% 0;
  }
}
.back_blue {
  background: #ebeff3;
}
.back_gray {
  background: #f4f4f5;
}

#service h4,
#service_medical h4 {
  font-family: din-2014, sans-serif;
  font-weight: 700;
  font-style: normal;

  color: #00356c;
  line-height: 0.8em;
}
#service h4 {
  font-size: 40px;
  margin-bottom: 8%;
}
#service_medical h4 {
  font-size: 34px;
  margin: 4% 0 2%;
}

#service h4 span,
#service_medical span {
  font-size: 50%;
}
#service_medical span {
  margin-left: 20px;
}

#service p,
#service_medical p {
  font-weight: 600;
  margin-bottom: 0;
}
#service p {
  font-size: 16px;
}
#service_medical p {
  font-size: 14px;
}

.solidBtn {
  width: 90%;
  left: 0;
  top: 1em;
  margin: 0.5em;
}
.solidBtn .inner {
  font-size: 0.8em;
  letter-spacing: 0;
  font-weight: bold;
  color: #ffbd00;
}
.float_r {
  float: right;
}
.float_l {
  float: left;
}
.position_r {
  position: relative;
}
.c_block {
  width: 100%;
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 10%;
}
.row.reverse {
  flex-direction: row-reverse;
}
@media only screen and (min-width: 768px) {
  #service,
  #service_medical {
    padding: 3% 0;
  }
}
@media only screen and (max-width: 768px) {
  #service h4 {
    font-size: 33px;
  }
  #service p {
    font-size: 13px;
  }
}
@media only screen and (min-width: 992px) {
  .solidBtn {
    width: 90%;
    left: 5%;
    top: 3em;
    margin: 0 0 1em;
  }
}
@media (max-width: 480px) {
  #service {
    padding: 10% 0;
  }
  #group {
    padding: 5% 0;
  }
  .c_block {
    position: relative;
    display: inherit;
    top: inherit;
    left: inherit;
    transform: inherit;
    padding-left: inherit;
  }
  #service h4 {
    font-size: 8vw;
    text-align: center;
    margin-top: 5%;
  }
  #service p {
    font-size: 3.5vw;
  }
}
/*=============================================
=            OUTLINE           =
=============================================*/
#outline .outlineWrapper {
  background: none;
}
@media only screen and (min-width: 992px) {
  #outline .outlineWrapper {
    background: url(./img/r-com-back.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 500px;
  }
}
#outline .outlineMainList dl {
  margin-bottom: 2rem;
}
.outline_logo {
  width: 300px;
}
.outline_logo {
  position: absolute;
  top: 0;
  right: 4%;
  opacity: 0.1;
}

/*=============================================
=        コンセプト部分のアニメーション          =
=============================================*/

/*-背景色が伸びて出現（左から右） 全共通*/
.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden; /*　はみ出た色要素を隠す　*/
  opacity: 0;
}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #00356c; /*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}
/*右から左*/
.bgRLextend::before {
  animation-name: bgRLextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #666; /*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime {
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgRLextendTrigger {
  opacity: 0;
}
