@charset "UTF-8";
/* CSS Document */
* {
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #303239;
  font-size: 17px;
  line-height: 2.2;
  letter-spacing: 0.15em;
  margin: 0;
  padding: 0;
  background: #fff;
}
p, div, small {
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
}
nav, ul, li {
  padding: 0;
  margin: 0;
  list-style-type: none;
  line-height: 1;
}
img {
  border-style: none;
  vertical-align: middle;
  padding: 0;
  margin: 0;
  line-height: 1;
  max-width: 100%;
}
textarea {
  display: block;
} /*謎の下余白対策*/
a {
  text-decoration: none;
  color: #303239;
  line-height: 1;
}
.contents {
  width: 1300px;
  margin: 0px auto;
  padding-top: 150px;
  padding-bottom: 150px;
}
.midashi, .midashi_2 {
  font-size: 2.1em;
  line-height: 1.44;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.15em;
}
.midashi_2 {
  font-size: 2.9em;
}
.midashi_3 {
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}
.h2_1 {
  font-size: 1.529em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  margin-bottom: 25px;
}
.h2_2, .h2_3 {
  font-size: 7em;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.015em;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 25px;
}
::-webkit-full-page-media, :future, :root .h2_2, .h2_3 {
  letter-spacing: -0.023em;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  ::i-block-chrome, .h2_2, .h2_3 {
    letter-spacing: -0.023em;
  }
}
.h2_3 {
  margin-bottom: 35px;
}
.oya {
  overflow: hidden;
}
.left {
  float: left;
}
.right {
  float: right;
}
.center {
  text-align: center;
}
.white {
  color: #fff;
}
.kaigyo {
  display: block;
}
.kaigyo_none {
  display: none;
}
.dm_font {
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
}
.font_100 {
  font-weight: 100;
}
.font_200 {
  font-weight: 200;
}
.font_400 {
  font-weight: 400;
}
.font_500 {
  font-weight: 500;
}
.relative {
  position: relative;
}
.mp_b0 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ml_slide, .ml_slide2 {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ml_slide .slide, .ml_slide2 .slide {
  max-width: none !important;
  width: 25vw;
  object-fit: cover;
  margin: 0 -1px;
}
.ml_slide .slide-wrapper {
  display: flex;
  animation: slide-flow 25s infinite linear 1s both;
}
@keyframes slide-flow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.ml_slide2 .slide-wrapper {
  display: flex;
  animation: slide-flow2 35s infinite linear 1s both;
}
@keyframes slide-flow2 {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
.top_button:link, .top_button:visited, .top_button:hover, .top_button:active {
  color: #71a3cf;
  text-decoration: none;
}
.top_button:hover {
  cursor: pointer;
}
.top_button {
  font-family: 'DM Sans', sans-serif;
  line-height: 0;
  font-size: 15px;
  position: relative;
  display: flex;
  width: 200px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: solid 1px #71a3cf;
  border-radius: 100vh;
  overflow: hidden;
  margin-top: 35px;
  background: #fff;
  font-weight: 600;
}
.top_button::before {
  position: absolute;
  width: 0;
  height: 42px;
  content: '';
  background-color: #71a3cf;
  left: 0;
  transition-duration: .2s;
}
.top_button:hover::before {
  width: 100%;
}
.top_button:hover {
  color: #ffffff;
}
.top_button p {
  transition-duration: .3s;
  z-index: 1;
}
.top_button span {
  margin-left: 15px;
}
.top_button2:link, .top_button2:visited, .top_button2:hover, .top_button2:active {
  color: #303239;
}
.top_button2 {
  border: solid 1px #303239;
}
.top_button2:hover {
  color: #ffffff;
}
.top_button2::before {
  background-color: #303239;
}
.top_button3:link, .top_button3:visited, .top_button3:hover, .top_button3:active {
  color: #282f4b;
}
.top_button3 {
  border: solid 1px #282f4b;
}
.top_button3:hover {
  color: #ffffff;
}
.top_button3::before {
  background-color: #282f4b;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeUpTrigger {
  opacity: 0;
}
.fadeUp_2 {
  animation-name: fadeUpAnime_2;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime_2 {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeUpTrigger_2 {
  opacity: 0;
}
#js-mouse {
  pointer-events: none;
  position: fixed;
  top: -15px;
  left: -15px;
  width: 10px;
  height: 10px;
  background-color: rgba(223, 225, 225, 0.8);
  border-radius: 50%;
  transform: translate(0, 0) scale(1.1);
  transition: all 0.3s ease-out;
  z-index: 9999;
  opacity: 0;
}
#js-mouse.js-hover {
  width: 50px;
  height: 50px;
  background-color: rgba(94, 151, 201, 0.8);
}
main {
  margin: 50px;
}
.eachTextAnime span {
  opacity: 0;
}
.eachTextAnime.appeartext span {
  animation: text_anime_on 1s ease-out forwards;
}
@keyframes text_anime_on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.blur {
  animation-name: blurAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}
.blurTrigger {
  opacity: 0;
}
#header {
  position: fixed;
  width: 100%;
  z-index: 997;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  padding: 50px;
}
#header_logo {
  width: 128px;
}
#header a {
  color: #303239;
  fill: #303239;
}
#index #header a, #mlbase #header a {
  color: #fff;
  fill: #fff;
}
.menu-wrapper {
  position: relative;
}
.menu-lists {
  font-weight: 500;
  font-size: 0.9em;
}
.menu-lists ul {
  display: flex;
}
.menu-lists ul li {
  margin-right: 28px;
}
.menu-lists ul li:last-of-type {
  margin-right: 0;
}
.menu-lists ul li a {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
.menu-lists2 ul li a::after {
  position: absolute;
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(94, 151, 201, 1);
  border-radius: 50%;
  bottom: -18px;
  left: calc(50% - 5px);
  opacity: 0;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.menu-lists2 ul li a:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.top_space {
  padding-top: 230px;
}
#hamburger {
  display: none;
  background-color: #71a3cf;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 998;
  font-size: 16px;
  overflow-y: scroll;
}
#hamburger .menu-lists ul {
  display: block;
}
#hamburger .menu-lists li {
  margin-right: 0;
  margin-bottom: 30px;
}
#hamburger .menu-lists li a {
  color: #fff;
}
#hamburger .menu-lists li:last-of-type {
  font-size: 0.7em;
  letter-spacing: 0.15em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 200;
}
#hamburger .menu-lists li a:hover {
  opacity: 0.7;
}
#hamburger_logo {
  width: 160px;
  margin: 0 auto 45px;
}
#hamburger_end {
  width: 340px;
  margin: 39px auto 0;
}
#hamburger_contents {
  width: 400px;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}
.contact {
  position: relative;
  margin-bottom: -1px;
}
.contact .h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.contact_img_tabsp {
  display: none;
}
.contact .h2_1 {
  font-size: 1.3em;
  line-height: 3;
}
.contact .h2_2 {
  font-size: 3.5em;
}
.contact .h2 p {
  transition: all 0.6s ease 0s;
}
.contact .h2 p:hover {
  transform: scale(1.05, 1.05);
}
footer {
  width: 100%;
}
#footer_top {
  background: #282f4b;
  background-image: url("../images/common/footer_medicalself_pc.png");
  background-position: right top;
  background-repeat: no-repeat;
}
#footer_company {
  margin: 0 5vw;
  padding-top: 175px;
  padding-bottom: 32px;
  border-bottom: 1px solid #343f5e;
}
#footer_company_2 {
  /*width: 1060px;*/
}
#footer_logo, #footer_logo a img {
  width: 200px;
  margin-right: 12px;
}
.footer_addr {
  width: 308px;
  letter-spacing: 0.075em;
  margin-top: 78px;
}
.footer_addr p:first-of-type {
  font-size: 15px;
  font-weight: 600;
}
.footer_addr p:last-of-type {
  font-size: 13px;
  line-height: 1.73;
}
#footer_mllogo {
  width: 78px;
  margin: 75px 25px 0 28px;
}
#footer_menu {
  margin: 0 5vw;
  padding: 26px 0 40px;
  letter-spacing: 0.1em;
}
#footer_menu a:hover {
  opacity: 0.7;
}
#footer_menu nav ul {
  font-size: 13px;
  width: 695px;
  display: flex;
  justify-content: space-between;
}
#footer_menu nav ul li a {
  color: #fff;
}
#footer_privacy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 0;
  font-weight: 200;
}
#footer_bottom {
  font-size: 11px;
  padding: 23px 0;
  background: #676865;
  letter-spacing: 0.1em;
}


/*--php化で追加--*/

.thumb img{
width:100%;
object-fit: cover;	
}

#index .thumb img,
#news .thumb img{
height:109px;
}


@media screen and (max-width:1400px) {
  .contents {
    width: 90vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
@media screen and (max-width:1060px) {
  #footer_logo {
    float: none;
    margin-right: 0;
  }
  #footer_mllogo {
    display: none;
  }
  .footer_addr {
    float: none;
    margin-top: 15px;
  }
  #footer_company {
    padding-top: 52px;
    padding-bottom: 25px;
  }
  #footer_company_2 {
    width: 100%;
  }
}
@media screen and (min-width:1026px) {
  #hamburger {
    display: none !important;
  }
}
@media screen and (max-width:1025px) {
  body {
    font-size: 15px;
  }
  .midashi {
    font-size: 1.66em;
    margin-bottom: 22px;
  }
  .midashi_2 {
    font-size: 2.4em;
    margin-bottom: 22px;
  }
  .top_button {
    margin-top: 30px;
  }
  .h2_1 {
    font-size: 1.4em;
  }
  .h2_2 {
    font-size: 6.4em;
  }
  .contents {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  #header_logo {
    width: 105px;
  }
  .header-inner {
    padding: 30px;
  }
  .top_space {
    padding-top: 180px !important;
  }
  .btn {
    width: 100%;
    display: block;
    width: 39px;
    height: 39px;
    position: absolute;
    right: 0;
    z-index: 999;
  }
  .bar {
    width: 30px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #676865;
    transition: all .3s linear;
  }
  .bar-top {
    top: 10px;
  }
  .bar-middle {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .bar-bottom {
    bottom: 10px;
  }
  .btn.close .bar-top {
    transform: translate(-50%, 10px) rotate(45deg);
    transition: transform .3s;
  }
  .btn.close .bar-middle {
    opacity: 0;
    transition: opacity .3s;
  }
  .btn.close .bar-bottom {
    transform: translate(-50%, -8px) rotate(-45deg);
    transition: transform .3s;
  }
  .menu-lists2 {
    display: none;
  }
}
@media screen and (max-width:930px) {
  #footer_privacy {
    float: none;
    border-top: 1px solid #343f5e;
    text-align: right;
    padding-top: 20px;
  }
  #footer_menu nav {
    float: none;
    padding-bottom: 20px;
  }
  #footer_menu {
    padding: 20px 0 30px;
  }
  #footer_logo {
    width: 148px;
  }
}
@media screen and (max-width:834px) {
  .h2_3 {
    margin-bottom: 0;
  }
  #header_logo {
    width: 75px;
  }
  .contact_img_pc {
    display: none;
  }
  .contact_img_tabsp {
    display: block;
  }
  .contact .h2_1 {
    font-size: 1.2em;
    margin-bottom: 19px;
  }
}
@media screen and (max-width:800px) {
  .h2_3 {
    font-size: 6em;
  }
}
@media screen and (max-width:768px) {
  #footer_menu nav ul {
    width: 100%;
  }
}
@media screen and (max-width:685px) {
  .h2_3 {
    font-size: 4.5em;
  }
  #footer_menu nav {
    display: none;
  }
  #footer_company {
    border: none;
  }
  #footer_privacy {
    text-align: center;
    padding-top: 19px;
  }
  #footer_company {
    padding-bottom: 8px;
  }
  #footer_menu {
    padding-bottom: 19px;
  }
  #footer_bottom {
    padding: 15px 0;
  }
  #footer_top {
    background-image: url("../images/common/footer_medicalself_tab.png");
  }
}
@media screen and (max-width:655px) {
  .h2_2 {
    font-size: 6em;
  }
  @media screen and (max-width:600px) {
    .h2_1 {
      font-size: 1.3em;
      margin-bottom: 18px;
    }
    .h2_2 {
      font-size: 5.5em;
    }
    .bu_con .trance_img_tab {
      padding-top: 110px;
    }
  }
  @media screen and (max-width:580px) {
    .h2_2 {
      font-size: 5em;
    }
  }
  @media screen and (max-width:520px) {
    .h2_2 {
      font-size: 4.5em;
    }
    .h2_3 {
      font-size: 4em;
    }
    .contact .h2_1 {
      font-size: 1em;
      margin-bottom: 17px;
    }
    .contact .h2_2 {
      font-size: 3em;
    }
  }
  @media screen and (max-width:470px) {
    .h2_2 {
      font-size: 4em;
    }
    .h2_3 {
      font-size: 3.5em;
    }
    .midashi_2 {
      font-size: 2em;
    }
  }
  @media screen and (max-width:430px) {
    body {
      font-size: 4vw;
      line-height: 2.2;
      letter-spacing: 0.12em;
    }
    .h2_1 {
      font-size: 1.2em;
      margin-bottom: 14px;
    }
    .h2_2 {
      font-size: 3.6em;
      margin-bottom: 14px;
    }
    .h2_3 {
      font-size: 3.3em;
    }
    ::-webkit-full-page-media, :future, :root .h2_2, .h2_3 {
      letter-spacing: 0em;
    }

	/*php化後追加*/
#index .thumb img,
#news .thumb img{
height:31vh;
}
    @media screen and (-webkit-min-device-pixel-ratio:0) {
      ::i-block-chrome, .h2_2, .h2_3 {
        letter-spacing: 0em;
      }
    }
    .midashi {
      font-size: 1.66em;
    }
    .midashi_2 {
      font-size: 1.73em;
      margin-bottom: 13px;
    }
    .midashi_3 {
      font-size: 0.8em;
    }
    .contents {
      padding-top: 80px;
      padding-bottom: 80px;
    }
    #header_logo {
      width: 64px;
    }
    .header-inner {
      padding: 15px;
    }
    .bar {
      height: 1px;
    }
    .top_space {
      padding-top: 110px !important;
    }
    #hamburger {
      font-size: 15px;
    }
    #hamburger .menu-lists li {
      margin-bottom: 24px;
    }
    #hamburger_logo {
      width: 115px;
      margin: 0 auto 33px;
    }
    #hamburger_end {
      width: 170px;
      margin: 28px auto 0;
    }
    #hamburger_contents {
      width: 200px;
    }
    #footer_top {
      background-image: none;
    }
    #footer_logo {
      width: 114px;
      margin: 0 auto;
      padding-bottom: 17px;
    }
    .footer_addr {
      margin: 6px auto 0;
    }
  }
  @media screen and (orientation:landscape) {
    #hamburger_contents {
      margin: 13vh auto 13vh;
      position: static;
      top: none;
      left: none;
      transform: none;
      -webkit- transform: none;
    }
  }
  @media screen and (orientation:landscape) and (max-height: 431px) {
    #header_logo {
      width: 80px;
    }
  }