@charset "UTF-8";
@import url("grid_sp.css");
@import url("nav.css");
@import url("news.css");
@import url("ress.min.css");
@import url("form_sp.css");
@media only screen and (max-width : 768px ){

/* SP時に表示 */
@media only screen and (max-width : 769px ){
.pc { display: none !important;}
.sp { display: block !important;}  
}
  
img {
max-width:100%;
height: auto;/*高さ自動*/
}
a {
display:block;
color: #666;
text-decoration-line: none;
}
a:hover { 
color: #999;
text-decoration-line: none;
}  

/*ヘッダー固定 高さ 色-----スマホ---------*/

header {
background-color:#fdfdfd;
width:100%;
height:4em;
text-align:center;
position:fixed;
z-index:100;
padding: 1rem 0rem 0rem 0rem;  
}
header h1{
margin: 0rem auto 0rem auto;
font-family: "Georgia";  
/*font-family: "Comic Sans MS","serif"; ----*/ 
}

header a{
margin: -0.6rem auto 0rem auto;
color: #000;
font-size: 90%
}

.header {
display: flex;
flex-direction: row;
padding: 2rem 0 0 0;
}
.container img{/*ロゴ*/
width: 200px;
height: 40px;  
margin: -1rem 12rem 0rem 0rem;
text-align: center;	
}
.header-box {
margin-left: auto;
margin-top: 8px;
}
.contact-button {
padding: 1rem;
border: 2px solid #000;
}
/*TOP　img----------------------*/
.mainimg img {
width: 100vw;
position: relative;
margin: 0rem 0 8rem 0;
}

.mainimg p {
position: absolute;
top: 250px;
left: 150px;
}

/*midashi--------------- -------*/
.midashi {
text-align: center;
margin: 5rem auto 0rem auto;  
}
.midashi p {
text-align: left;
margin: 3rem auto 0rem auto;  
}
.midashi h3 {
text-align: center;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}  
.midashi2 {
text-align: center;
margin: 0rem auto 0rem auto;  
}
.midashi3 h5 {
text-align: center;    
margin: 1rem auto 2rem auto;
padding: 0rem 0rem 0rem 0rem;
} 
.midashi3 p {
text-align: left;    
margin: 3rem auto 0rem auto;
padding: 0rem 0rem 3rem 0rem;
}  
.midashi4 p {
text-align: left;
text-align: justify;  
margin: 1rem auto 5rem auto; 
width: 94%;  
} 

.midashi5 h5 {
text-align: center;    
margin: 1rem auto 2rem auto;
padding: 0rem 0rem 0rem 0rem;
} 
.midashi5 h3 {
text-align: center;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}   
.midashi5 p {
text-align: left;    
margin: 3rem auto 0rem auto;
padding: 0rem 0rem 3rem 0rem;
}   
.midashisc {
text-align: center;
margin: 3rem auto 0rem auto;  
}  
.midashi h3 {
text-align: center;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}   
.midashi p {
text-align: left;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}

.midashi-B h3 {
text-align: center;    
margin: -6rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
font-weight: 600;	
}  
/*比較　見出し-------------------*/
.midashire {
text-align: center;
margin: 3rem auto 0rem auto;  
}  
.midashire h3 {
text-align: center;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}   
.midashire p {
text-align: left;    
margin: 3rem auto 1rem auto;
padding: rem 0rem 0rem 0rem;
} 
/*コンセプト----------------------*/

main {
margin: 5rem 0 0 0;
}
section {
margin: 5rem 0;
padding: 3rem 0;
}
.gray-back {
background-color: #f4f4f4;
}
.concept {
text-align: center;
max-width: 860px;
margin: 0rem auto  0rem auto;
}

.concept h4{
color: #444;
margin: 0rem auto 0rem auto;  
line-height: 2rem;  
text-align: left;  
font-size: 90%;
  
}
.concept h3{
text-align: center;
margin: 0.5rem auto 3rem auto;
}
.concept img{
max-width: 90%;
margin: 0.5rem auto 0rem auto;
}


/*プロダクト----------------------*/
.product{
margin: 0rem auto 0rem auto;  
}
.product h3{
text-align: center;
margin: 0rem auto 3rem auto;
}
.product h5{
color: #888;
margin: 0rem auto 0rem auto; 
}
.product h4{
color: #888;
margin: 0rem auto 0rem auto; 
}
.product a{
margin: -1.5rem auto 5rem auto; 
}
.product img{
text-align: center;
margin: 0 auto 0rem auto;  
padding: 0rem 0rem 0rem 0rem;
max-width: 100%;
height: auto;
}
#left p{
text-align: justify;  
text-align: left;
margin: 2rem auto 0rem auto;  
}
.box p{
text-align: left;
}

.catch p {
text-align: center;
margin: 0rem 0rem 0rem 0rem;
}
.catch h3 {
text-align: center;
line-height: 2.5rem;
}
.contents h4{
text-align: center;
}

/*機序--------------------------*/
.mechanism h4{
text-align: center;
margin: 0rem auto 0rem auto;  
padding: 0rem 0rem 0rem 0rem;
}   
.mechanism h3 {
text-align: center;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}  
.mechanism h5 {
text-align: center;    
margin: -2rem auto 3rem auto;
padding: 0rem 0rem 0rem 0rem;
}  
.mimg {
margin: 0rem auto 3rem auto;
} 
.center{
  text-align: left;
  margin: 3rem 0rem 1rem 0rem ;
}
/*スキンケア------------------------*/

.center_sc{
  text-align: left;
  text-align: justify;
  margin: 3rem 0rem 0rem 0rem ;
  
}
.center_sc h3{
  text-align: center;
  line-height: 1.4em;
}

/*howto------------------------*/
 
.howto2 {
text-align: center;
margin: 0rem auto 0rem auto;  
padding: 0rem 0rem 0rem 0rem;

}  
  
.howto2 h3 {
text-align: left;    
margin: 2rem auto 1.5rem auto;
padding: 0rem 0rem 0rem 0rem;
}  
.howto2 p {
text-align: left; 
text-align: justify;
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
width: 100%;
}  

/*注意事項-------------------*/
.caution {
text-align: center;
margin: 0rem auto 5rem auto;  
padding: 0rem 0rem 0rem 0rem;
width: 100%;
}  
.caution ul {
margin: 3rem auto 0rem auto;  
padding: 0rem 0rem 0rem 0rem;
}  
.caution li {
margin: 0rem auto 1rem auto;  
padding: 0rem 0rem 0rem 0rem;  
text-align: left;
text-align: justify;

} 
.caution h4 {
margin: 0rem auto 0rem auto;  
padding: 0rem 0rem 0rem 0rem;  
text-align: center;
  
} 


/*比較　表
-------------------------------------*/
.hikaku {
text-align: center;
margin: 0rem auto 0rem auto;  
}  
.hikaku p {
text-align: left;    
margin: 0rem auto 0rem auto;
padding: 0rem 0rem 0rem 0rem;
}  
.hikaku h3{  
text-align: center;    
margin: 0rem auto 1rem auto;
padding: 0rem 0rem 0rem 0rem;
line-height: 1.5;
}  
.hikaku a {
  color: #003C8F; }
.hikaku a:hover {
  color: #0062BD; 
}
/*申し込みの流れ
-------------------------------------*/
.flow.row {
margin-bottom: 3rem;

}

/*フッター
-------------------------------------*/
footer {
background-color: #F9F8F4;

}
footer h4 {
border-bottom: 3px solid #ccc;

}

/*お問い合わせ
-------------------------------------*/
.contact-box {
border: 1px solid #ccc;
text-align: center;
padding: 2rem 0;
}
table {
  width: 96%;
  text-align: center;
  margin: 0rem auto 5rem auto;
}

table,th,td {
  border: 1px solid #bbb;
}
table a {
  color: #003C8F; }
table a:hover {
  color: #0062BD; 
}
th {
width: 25%;
background: #ddd;
border: solid 1px #aaa;
text-align: center;
margin: auto;
}
td {
border: solid 1px #aaa;
margin: 0rem 0rem 0rem 0rem;
padding: 0.5rem 0rem 0rem 1rem;
text-align: justify;  
}   

/*コピーライト
-------------------------------------*/
.copyright {
text-align: center;
padding: 1rem 0;
background-color: #2D2D2D;

}
.copyright a {
color: #fff;
text-decoration: none;
display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
position: fixed;
bottom: 15px;
right: 15px;
}
#pagetop a {
display: block;
background: #2d2d2d;
color: #fff;
width: 50px;
padding: 10px 5px;
text-align: center;
}
#pagetop a:hover {
background: #666;
}


#btn {
position: fixed;
bottom: 15px;
left: 10px;
}
#btn a {
display: block;
background: #6cd440;
color: #fff;
width: 100px;
border-radius: 6%;
padding: 5px 3px;
text-align: center;
}
#btn a:hover {
background: #08C201;
}


/*form
-------------------------------------*/
.form h2 {
margin: 0rem auto 0rem auto;
padding: 10rem 0rem 0rem 0rem;
text-align: center;
}
.form p {
margin:5rem auto -5rem auto;
padding: 0rem 0rem 0rem 0rem;
text-align: center;
}


/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width : 768px ){
/* スマートフォン改行 */
img{
margin: 0 auto;
}    
.consept p{
text-align: left;
text-align: justify;  
width: 94%;  
}
p{
margin: 0 auto 0 auto;
text-align: left;
text-align: justify;  
width: 94%;  
}
.br-sp {
display: none;

}
/*ヘッダー
-------------------------------------*/
.header-box {
display: none;
}	

}
/*プロダクト----------------------*/
.product{
margin: 0 auto 0rem auto;  
padding: 5rem 0rem 5rem 0rem;
max-width: 94%;
}
.product img{
margin: 0 auto 0rem auto;  
padding: 2rem 0rem 0rem 0rem;
flex-shrink: 0;    
}
.product p{
text-align: left;
text-align: justify;  
}
.product h4 {
text-align: center;
margin: 0 auto 0 auto;
padding: 0rem 0rem 3rem 0rem;;
}
.product h3 {
text-align: center;
margin: 0 auto 0 auto;
padding: 0rem 0rem 3rem 0rem;;
}




.catch h4 {
margin: 0rem auto 0rem auto;  
padding: 0rem 0rem 2rem 0rem;
} 
.catch h3 {
margin: 0rem auto 0rem auto;
padding: 2rem 0rem 5rem 0rem;
}  

.catch p {
text-align: left;
text-align: justify;  
padding: 0rem 0rem 2rem 0rem;
}
/*サイトマップ----------------------*/

#sitemap{
  margin: 0rem auto 5rem auto;
}
#sitemap a{
  margin: 0rem auto 3rem auto;
} 

@media screen and (max-width : 768px ){
.bg1{
text-align: center;
margin: 0rem auto 0rem auto;
padding: 0rem auto 0rem auto;
background-image: url(../img/mc.jpg);
background-position: right 0% bottom 50%;
background-repeat: no-repeat;
background-size: 100% auto;    
}
.bg2{
text-align: center;
margin: 0rem auto 0rem auto;
padding: 0rem auto 0rem auto;
background-image: url(../img/mc.jpg);
background-position: right 0% bottom -90%;
background-repeat: no-repeat;
background-size: 100% auto;    
}


 
}
}