
body {
  margin: auto;
}
.segment {
  position: relative;
}
.segment img {
  width: 100%;
}
.segment h3 {
  color: #003779;
  font-weight: bold;
  line-height: 1;
  text-align: left;
  font-family: 'Noto Sans Japanese',
   Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  width: 85%;	
  margin: 0;
  padding: 0em 0em 1.5em;
  position: absolute;
  transform: translate(-50%, -50%);
}


.pc_br{
  display: block;
}

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


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}
.segment h3 { 
  left: 48%;
  font-size: 46px; 
  top: 80%;
}
.segment h4 { 
  left: 50%;
  font-size: 28px; 
  top: 65%;
}

@media only screen and (max-width: 540px) {
.segment h3 { 
  left: 48%;
  font-size: 18px;
  top: 80%;
  }
  
 .segment h4 { 
  left: 50%;
  font-size: 13.2px;
  top: 60%;
  }
}



@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

@media screen and (max-width: 750px){
   .pc_br {
       display: none;
    }

    .sp_br {
       display: block;
    }
}