/*
  作成日: 20190308
  作成者: FOIS01
*/
.safety_mainvisual { background: url(../image/safety/bg-caro.png) repeat; position: relative; text-align: right; }
.safety_mainvisual_img { display: inline-block; height: 100%; max-width: 900px; position: relative; overflow: hidden; }
.safety_mainvisual_img img { width: 100%; }
.safety_mainvisual_img::before { background: url(../image/safety/bg-caro-left.png) repeat-y; content: ''; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 240px; }
.safety_feature_img { text-align: center; }
.safety_feature_img img { height: auto; width: auto; }
.safety_feature_ttl { font-size: 3rem; margin-bottom: 17px; font-weight: bold; text-align: center; }
.safety_ingre_top { background: url(../image/safety/img-safety-ingre.jpg) bottom no-repeat; background-size: cover; height: 30vw; max-height: 360px; min-height: 180px; position: relative; }
.safety_ingre_top::before { background: rgba(0,0,0,.2); content: ''; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.safety_ttl { font-weight: bold; line-height: 1.3; text-align: center; }
.safety_part_intro { max-width: 700px; text-align: center; }
.safety_ingre_imglst { display: flex; justify-content: center; }
.safety_ingre_imglst li { width: 30%; max-width: 200px; margin-left: 3%; }
.safety_ingre_imglst li:first-child { margin-left: 0; }
.safety_allergy { background: #f8f8ef; }
.safety_sampleingre { padding-bottom: 50px; max-width: 1080px; }
.safety_sampleingre_img {  border-radius: 100%; box-shadow: 4px 4px 7px rgba(0,0,0,.2);  position: relative; overflow: hidden;  }
.safety_sampleingre_img::before,
.safety_sampleingre_detail dd .ingre_lst li .ingre_lst_img::before { content: ''; display: block; padding-bottom: 100%; }
.safety_sampleingre_img img,
.safety_sampleingre_detail dd .ingre_lst li .ingre_lst_img img { position: absolute; left: 50%; top: 50%; height: 100%; width: auto; transform: translate(-50%, -50%); }
.safety_sampleingre_ttl { border-bottom: 1px dotted #cecebf; }
.safety_sampleingre_ttl .safety_samplename {display: block;  font-weight: bold; }
.safety_sampleingre_ttl .safety_samplecat { background: #5f4428; border-radius: 15px; color: #fff; display: inline-block;  padding: 3px 20px 2px 20px; text-align: center; }
.safety_sampleingre_detail dd .ingre_lst { display: flex; flex-wrap: wrap; }
.safety_sampleingre_detail dd .ingre_lst li { margin-right: 1%; min-width: 50px; max-width: 80px; text-align: center; width: 15%; }
.safety_sampleingre_detail dd .ingre_lst li .ingre_lst_img { border-radius: 100%; margin-bottom: 5px; position: relative; overflow: hidden; }
.ingre_lst_txt { line-height: 1.3; }
 @media screen and (max-width:479px) {
.safety_features li { margin-top: 20px; }
.safety_features li:first-child { margin-top: 0; }
.safety_sampleingre_img { border: 3px solid #fff; max-width:300px; margin:0 auto 20px;width:80%;}
.safety_sampleingre_cont {text-align:center;}
.safety_sampleingre_cont  .ingre_lst {justify-content:center;}
}
 @media screen and (min-width:480px), print {
.safety_features { display: flex; justify-content: space-between; }
.safety_features li { width: 31%; }
.safety_sampleingre { align-items: flex-start; display: flex; justify-content: space-between;}
.safety_sampleingre_img { border: 5px solid #fff;width: 43%;max-width: 440px;}
.safety_sampleingre_cont { width: 51%; }
.safety_sampleingre_img  {align-self:center;}
}
 @media screen and (max-width:767px) {
.safety_mainvisual_ttl { position: absolute; top: 7%; left: 4%; width: 45%; }
.safety_mainvisual_txt { font-size: 1.6rem; padding: 15px 0; text-align: left; }
.safety_features { padding-bottom: 30px; padding-top: 30px; }
.safety_feature_ttl { font-size: 2rem; margin-bottom: 5px; }
.safety_feature_img { margin-bottom: 10px; }
.safety_feature_img img { max-height: 120px; }
.safety_ingre_in { padding-bottom: 45px; padding-top: 25px; }
.safety_ttl { font-size: 2.8rem; margin-bottom: 15px; }
.safety_part_intro { margin: 0 auto 30px; }
.safety_allergy { padding-top: 30px; }
.safety_sampleingre_ttl .safety_samplename {font-size:2.4rem; margin-bottom: 7px;}
.safety_sampleingre_ttl .safety_samplecat {font-size:1.3rem; margin-bottom: 15px;}
.safety_sampleingre_detail dt { font-size: 1.6rem;font-weight:bold; margin-top: 15px; }
.ingre_lst_txt { font-size: 1.2rem; }
.safety_sampleingre_detail dd .ingre_lst li {margin-top: 5px; }
}
 @media screen and (min-width:768px), print {
/*.safety_mainvisual { display: flex; justify-content: flex-end; }*/
.safety_mainvisual {overflow:hidden;}
.safety_mainvisual_img {display:block; float:right; min-width: 600px; width: 64%; }
.safety_mainvisual_in { height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.safety_mainvisual_txt {float:left; font-size: 2.2rem; line-height: 1.7; text-align: left;  -ms-writing-mode: tb-rl; -webkit-writing-mode: vertical-rl; -moz-writing-mode: vertical-rl; -ms-writing-mode: vertical-rl; writing-mode: vertical-rl;  height:100%;    width: auto;
    max-width: 53%;}
.safety_mainvisual_ttl {float:left; height:100%; margin-left: 20px; max-width: 440px; text-align: left;width: 47%; }
.safety_mainvisual_ttl img { max-height: 100%; width: auto; }
.safety_mainvisual_inwrap { height: 100%; padding-top: 40px; padding-bottom: 30px; max-width: 1000px; overflow:hidden;}
.safety_features { padding-bottom: 50px; padding-top: 60px; }
.safety_feature_ttl { font-size: 3rem; margin-bottom: 17px; }
.safety_feature_img { margin-bottom: 20px; }
.safety_feature_img img { max-height: 180px; }
.safety_ingre_in { padding-bottom: 70px; padding-top: 45px; }
.safety_ttl { font-size: 4rem; margin-bottom: 25px; }
.safety_part_intro { margin: 0 auto 50px; }
.safety_allergy { padding-top: 40px; }
.safety_sampleingre_ttl .safety_samplename {font-size: 3rem; margin-bottom: 12px;}
.safety_sampleingre_ttl .safety_samplecat {font-size: 1.6rem; margin-bottom: 20px;}
.safety_sampleingre_detail dt { font-size: 1.8rem; margin-top: 20px; }
.ingre_lst_txt { font-size: 1.3rem; }
.safety_sampleingre_detail dd .ingre_lst li {margin-top: 10px; }
}
 @media screen and (min-width:1025px) {
.safety_ingre_top { background-attachment: fixed; }
}
.wf-hannari { font-family: "HannariMincho"; }
