*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  color: #343535;
  font-weight: 400;
  font-size: 16px;
}
body{
  font-family: a-otf-midashi-go-mb31-pr6n,"YuGothic","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
/* ----- header ----- */
.header{
  position: relative;
  width: 100%;
  z-index: 555;
}
.header .logo {
  position:absolute;
  top: 28px;
  left: 52px;
  width: 145px;
  height: 80px;
  background-position: center;
  background-image: url(/images/logo/medical_solution_japan_logo.svg);
  background-repeat: no-repeat;
}
.header ul{
  display: none;
}
/* ----- container ----- */
.container{
  position: relative;
  /* padding-top: 64px; */
}
.topView{
  position: relative;
  display: grid;
  grid-template-columns: 312px 1fr;
  grid-template-rows: 1fr 200px;
  min-height: calc(100vh - 55px);
  min-height: 100vh;
}
.sideBar{
  position: relative;
}
.sideBarContent{
  position: absolute;
  top: 188px;
  left: 56px;
}
.sideBar_menu{
  margin-bottom: 20px;
}
.sideBar_menu li{
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: .05em;
  color: #0054A0;
  transition: .2s;
}
.sideBar_menu li:hover{
  opacity: .75;
  transition: .2s;
}
.sideBar_menu li.title{
  color: #0054A0;
}
.sideBar_menu li.selected{
  text-decoration: underline;
}
.sideBar_menu li.adjw{
  letter-spacing: 0;
}
.imagesArea,.sideImage{
  background-size: cover;
  background-position: center;
}
.imagesArea{
  background-image: url("/images/topimage.jpg");
  background-position: bottom right;
}
.sideImage{
  background-image: url("/images/subimage.jpg");
}
.msgArea{
  position: relative;
  background-color: #ececec;
}
.msgArea h4,.msgArea h4 span{
  font-size: 58px;
  font-weight: 600;
  line-height: 1.32;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  color: #0054A0;
}
.msgArea h4{
  position: absolute;
  top: -57px;
  left: 84px;
  z-index: 50;
}
.msgArea h4 span{
  padding-left: .75em;
}
.msgArea::before,.msgArea::after{
  position: absolute;
  content: "";
  background-color: #EBEACC;
  background-color: #e4e4e4;
  background-color: #fff;
  height: 68px;
  z-index: 0;
}
.msgArea::before{
  top: -54px;
  left: 30px;
  left: 62px;
  width: 536px;
}
.msgArea::after{
  top: 22px;
  left: 144px;
  left: 100px;
  width: 560px;
}
.footer{
  position: absolute;
  bottom: 0;
  width: 100%;
  /* background-color: #1B1F26; */
  padding: 20px;
}
.footer p{
  color: #999;
  text-align: right;
  font-size: 10px;
}

/* --- contentPage --- */
.contentPage{
  position: relative;
  display: grid;
  grid-template-columns: 312px 1fr;
}
.content_image{
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
}
.pageTitle{
  position: absolute;
  bottom: 0;
  font-family: 'Cormorant Garamond', serif;
  width: 300px;
  font-size: 54px;
  font-weight: 600;
  padding: 20px 0 0;
  background-color: #fff;
  color: #232323;
  line-height: 1;
}
.pageTitle span{
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  color: #0054A0;
  /* font-weight: 600; */
  padding: 0;
}
.content_image._about{
  background-image: url("/images/topimage.jpg");
  background-position: bottom right;
}
.contentPageWrapper{
  padding: 60px 120px 240px 0;
}
.contentPageWrapper p{
  margin-bottom: 20px;
  color: #232323;
  line-height: 1.75;
}
.contentPageWrapper p.right{
  margin-top: 62px;
  text-align: right;
}
/* --- 会社概要 --- */
.grid_aboutWrapper{
  border-top: 1px solid #dcdcdc;
}
.grid_about{
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #dcdcdc;
  padding: 12px 10px;
}
.grid_about p{
  margin: 0;
}
/* サービス内容 */
.grid_three{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 12px;
  margin-bottom: 24px;
}
.grid_three_content{
  padding: 18px 16px 6px;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0,0,0,.25);
}
.grid_three_content p{
  line-height: 1.45;
}
.grid_three_content p.contentTitle{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #0054A0;
}
img.service_flow{
  /* height: 300px; */
  width: 100%;
  max-width: 770px;
  background-color: #fafafa;
  /* border: 1px solid #dcdcdc; */
  margin-top: 24px;
  margin-bottom: 48px;
}
.flowPart{
  display: grid;
  grid-template-columns: 160px 1fr;
  margin-bottom: 34px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 34px;
}
.flowPart:last-child{
  border: none;
}
.flowImage{
  width: 120px;
  height: 80px;
  background-color: #fafafa;
  margin-bottom: 8px;
  background-repeat: no-repeat;
  background-position: center;
}
.flowImage._icon1{
  background-image: url("/images/msjicon_1.svg");
}
.flowImage._icon2{
  background-image: url("/images/msjicon_2.svg");
}
.flowImage._icon3{
  background-image: url("/images/msjicon_3.svg");
}
.flowImage._icon4{
  background-image: url("/images/msjicon_4.svg");
}
.flowPart p.flowTitle{
  line-height: 1.4;
  font-weight: 600;
  font-size: 14px;
}
.flowPart p{
  margin-bottom: 0;
}
.flowPart .listText p{
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
  margin-bottom: 9px;
}
.flowPart .listText p::before{
  position: absolute;
  content: "・";
  width: 20px;
  left: 0;
}
.contentPageWrapper p.title{
  font-size: 22px;
  font-weight: 600;
  margin-top: 72px;
}
.contentPageWrapper p.title.first{
  margin-bottom: 34px;
}
/*-------------------ipad Air2 mini4 1024×768----------------------*/
@media screen and (max-width:1024px){
  .header .logo {
    top: 28px;
    left: 36px;
    width: 124px;
    height: 69px;
  }
  .topView,.contentPage {
    grid-template-columns: 200px 1fr;
  }
  .imagesArea {
    background-position: bottom center;
  }
  .sideBarContent {
    top: 160px;
    left: 40px;
  }
  .msgArea h4 {
    top: -54px;
    left: 58px;
  }
  .msgArea h4, .msgArea h4 span {
    font-size: 52px;
    line-height: 1.34;
  }
  .msgArea::before {
    top: -55px;
    left: 43px;
    width: 466px;
  }
  .msgArea::after {
    top: 16px;
    left: 74px;
    width: 483px;
  }

}
@media screen and (max-width:768px){
  .header {
    height: 67px;
    position: fixed;
    background-color: #fff;
  }
  .header .logo {
    top: 8px;
    left: 12px;
    width: 92px;
    height: 52px;
    background-color: #fff;
  }
  .header ul{
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .header ul li{
    display: inline-block;
    margin: 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #0054A0;
  }
  .topView,.contentPage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 56px;
  }
  .sideBar {
    display: none;
  }
  .imagesArea {
    display: none;
  }
  .msgArea {
    position: relative;
    grid-area: 1;
    background-image: url("/images/topimage.jpg");
    background-size: cover;
    background-position: top center;
  }
  .sideImage {
    background-image: none;
    background-color: #ececec;
  }
  .msgArea h4, .msgArea h4 span {
    font-size: 42px;
    line-height: 1.48;
  }
  .msgArea::before {
    top: 50%;
    margin-top: -69px;
    height: 60px;
    left: 50%;
    width: 410px;
    margin-left: -230px;
  }
  .msgArea::after {
    top: 50%;
    margin-top: -6px;
    height: 60px;
    left: 50%;
    width: 410px;
    margin-left: -206px;
  }
  .msgArea h4 {
    top: 50%;
    margin-top: -68px;
    left: 50%;
    margin-left: -204px;
  }
  .contentPageWrapper {
    padding: 60px 20px 60px 20px;
  }
  .pageTitle{
    padding-left: 20px;
  }
  .grid_about{
    grid-template-columns: 1fr;
  }
  .grid_three {
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
  }
  .grid_three_content p.contentTitle {
    font-size: 16px;
  }
  .flowPart {
    grid-template-columns: 1fr;
    grid-row-gap: 18px;
  }
  .flowImage{
    float: left;
  }
  .flowPart p.flowTitle {
    float: left;
    padding: 8px 14px;
  }
  .footer p{
    text-align: center;
  }
  .content_image._about {
    background-image: url(/images/topimage.jpg);
    background-position: bottom center;
  }

}
/*-------------------iphone6s plus 414×736----------------------*/
@media screen and (max-width:414px){
  .header {
    height: 58px;
  }
  .header .logo {
    width: 78px;
    height: 43px;
  }
  .header ul {
    top: auto;
    bottom: 18px;
  }
  .msgArea h4, .msgArea h4 span {
      font-size: 34px;
  }
  .msgArea h4 {
    margin-left: -156px;
  }
  .msgArea::before {
    top: 50%;
    margin-top: -73px;
    height: 60px;
    left: 50%;
    width: 310px;
    margin-left: -170px;
  }
  .msgArea::after {
    top: 50%;
    margin-top: -20px;
    height: 60px;
    left: 50%;
    width: 310px;
    margin-left: -143px;
  }
  .contentPageWrapper {
    padding: 32px 20px 32px 20px;
  }
  .pageTitle {
    width: 260px;
    font-size: 38px;
  }
  .content_image {
    height: 330px;
  }
  .grid_about{
    padding: 8px 0px;
  }
  .contentPageWrapper p.title {
    font-size: 16px;
    margin-top: 22px;
    margin-bottom: 16px;
  }
  .contentPageWrapper p.title.first {
    margin-bottom: 16px;
  }
  img.service_flow{
    margin-top: 0;
  }
  .flowTitle br{
    display: none;
  }


}

/*-------------------iphone6s 375×667----------------------*/
@media screen and (max-width:350px){
  .msgArea h4, .msgArea h4 span {
    font-size: 28px;
  }
  .msgArea h4{
    margin-left: -130px;
  }
  .msgArea::before {
    margin-top: -69px;
    height: 41px;
    width: 260px;
    margin-left: -146px;
  }
  .msgArea::after {
    margin-top: -27px;
    height: 41px;
    width: 260px;
    margin-left: -124px;
  }
}

/*-------------------iphone5s 320×568----------------------*/
@media screen and (max-width:320px){
