@media only screen and (min-width:479px) and (max-width:1024px) {

.harfContentsImg {
  background-size: cover;
  width: 100%;
}

.harfContentsText {
  width: 100%;
  padding: 25px;
  box-sizing: border-box;
}

.familyArea .harfContentsText {
  width: 100%;
  box-sizing: border-box;
}

.family_img {
  background: url(img/vision/vision_family.png) center top no-repeat;
  background-size: cover;
  height: 500px;
}

.standbyyou_img {
  background: url(img/company/senaka.jpg) center bottom no-repeat;
  background-size: cover;
  height: 300px;
}

.brex_img {
  background: url(img/common/brex01.jpg) center top no-repeat;
  background-size: cover;
  height: 300px;
}

.nodoka_img {
  background: url(img/common/nodoka01.jpg) center top no-repeat;
  background-size: cover;
  height: 300px;
}

.scp_img {
  background: url(img/vision/scp_01_sp.jpg) center top no-repeat;
  background-size: cover;
  height: 300px;
}

.harfContentsText h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

.harfContentsText p:first-of-type{
  margin-bottom: 30px;
}

/* vision */

#vision {
  background: url(img/vision/vision_top_bg_sp.png) center bottom no-repeat;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding-bottom: 325px;
}

#vision h2 {
  font-size: 50px;
  margin: 50px 0 50px 0 ;
  text-align: center;
  font-weight: bold;
  line-height: 1;
}

.visionMessage {
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  font-size: 120%;
  text-align: center;
}

.visionMessage h3 {
  font-size: 26px;
  margin-bottom: 7px;
}

.visionMessage p {
  text-align: left;
  font-size: 14px;
}

.statment {
  width: 86.23%;
  text-align: center;
  margin: 0 auto;
}

.statmen_title {
  border-bottom: 1px solid #707070;
  padding:54.5px 0 56px;

}

.statment_title h2 {
  font-size: 54.5px;
  font-weight: bold;
  line-height: 1;
}

.statment_title h3 {
  font-size: 23.5px;
  font-weight: bold;
  line-height: 1.5;
}

.statment_text {
  width: 90%;
  margin: 0 auto;
  padding:28px 0 48px;
}
.statment_text p{
  text-align: left;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  line-height: 2;
}

.stand_by_you {
  background: url(img/vision/vison_stand_bg.png) center center no-repeat;
  background-size: cover;
  padding-bottom: 340px;
}

.stand_by_you h2 {
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  color: #fff;
}

.Sponsor {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.SponsorContents {
  padding: 25px;
}

.brexArea .SponsorContents {
  background: #fffeb2;
}

.nodokaArea .SponsorContents {
  background: #c6ceb1;
}

.Sponsor h2 {
  /* padding: 10px 0 50px 70%; */
  /* text-align: right; */
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  
}

.Sponsor p {
  margin-bottom: 20px;
}


.SponsorContents a {
  margin-bottom: 10px;
}

.farm {
  display: flex;
  flex-direction: column;
}

.farm img {
  width: 100%;
  margin: 30px 0 20px;
  order: 2;
}

.farm_text {
  background-color: #fff;
  margin: 0;
  /* margin:106.5px 0 0 121.5px ; */
  text-align: center;
  order: 1;
}
.farm_text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px ;
  margin-bottom: 30px;
}

.farm_text h2 span {
  display: block;
  font-size: 22px;
}

.farm_text p {
  padding: 20px;
  text-align: left;
}

/* vision */


  /* Service */
  
.lifeText {
  width: 90%;
  margin: 50px auto;
  overflow: hidden;
}

.lifeText h3 {
  margin-bottom: 20px;
}

.Service_top {
  background: url(img/Service/sercive_top_sp.jpg) center top no-repeat;
  background-size: cover;
  padding: 73.1% 6.03% 11.72% 8.32%;
  overflow: hidden;
}

.Service_text {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #fff;
}

.Service_top h2 {
  padding: 0;
  font-size: 40px;
}

 .Service_photo {
   padding: 30px;
 }

.Service_photo_text {
  padding: 30px 0 0 0;
}

.comment {
  display: block;
  border-bottom: 1px solid #eee;
  margin: 43px 30px 43px 30px;
  padding-bottom: 37.5px;
}

.comment-left {
  margin-right: 0;
  text-align: center;
}

.comment-right {
  margin-top: 37.5px;
}
.comment-text{
  margin-top: 30px;
}
.comment-avatar {
  width: 180px;
  height: auto;
}

.comment-buttons {
  font-size: smaller;
  text-align: right;
}

.comment-button:not(:last-child) {
  margin-right: 0.5rem;
}
/* Service */



/* news */
.News_top {
  background: url(img/news/mews.png) center center no-repeat;
  background-size: cover;
  padding: 73.1% 6.03% 11.72% 8.32%;
  line-height: 1;
}
.News_text {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #fff;
}

.News_text h2 {
  padding: 0;
  font-size: 50px;
  margin-right: 40px;
}
  .contents_title h2 {
  padding-right: 12px;
  margin-right: 8px;
  border-right: 2px solid #000000;
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  }
  
  .contents_title p {
  display: inline-block;
  font-size: 9px;
  height: 20px;
  }

.news_list dl {
  position: relative;
  margin: 30px 15px;
  position: relative;
  border-bottom: 1px dotted #ccc;
}

.news_list img {
  width: 170px;
  height: auto;
}

.news_list dl {
  padding: 15px;
}

.news_list dt {
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}

.news_list dt img {
  width: 100%;
  overflow: hidden;
}

.newsDate {
width: 100%;
overflow: hidden;
}

.newsDate li {
  float: left;
  margin-right: 10px;
}

.newsDate li img {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.news_list h3 {
  margin: 15px 0 15px 0;
}
/* news */

/* news_詳細 */
#entryArea {
  margin: 20px;
}

.entryTitle {
  margin: 20px 0 20px;
}

#entryPhoto img {
  width: 100%;
  height: auto;
}

#entryBody img {
  margin: 20px 0 0 0;
  height: auto;
}
/* news_詳細 */


/* Media */
.Media_top {
  background: url(img/Media/media_top.png) center center no-repeat;
  background-size: cover;
  padding: 73.1% 6.03% 11.72% 8.32%;
}

.Media_text h2 {
  font-size: 41px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding-right: 17.03%;
}

.Media_text p {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

.Media_info_title {
  margin: 30px 0 0 6%;
  }
  
  .Media_info_title h2 {
  padding-right: 12px;
  margin-right: 8px;
  border-right: 2px solid #000000;
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  }
  
  .Media_info_title p {
  display: inline-block;
  font-size: 9px;
  height: 20px;
  }

.m_info {
  margin: 30px 3% 55px 3%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
 }

 .Media_info_img img{
  width: 90%;
  height: auto;
  padding-bottom: 15px;
}

 .Media_info_mane {
  display: block;
  justify-content: space-around;
  padding-bottom: 15px;
  
}

.Media_info_mane h2 {
font-size: 20px;
  text-align: left;
}

.Media_info_mane p {
    font-size: 10px;
    text-align: left;
  }

  .Media_info_text {
    font-size: 15px;
  }

  .Media_info_text p {
    text-align: left;
  }

 .Media_info_list {
  text-align: center;
  width: 44%;
  background-color: #FAFAFA;
  margin-bottom: 15px;
  margin: 2%;
  border-radius: 5px;
  padding: 1%;
 }
 .request {
  width: 100%;
  overflow: hidden;
  background-color: #FbFbFb;
  padding: 40px;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}

.request h2 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
}

.request p {
  text-align: left;
  margin: 0 ;
  font-size:15px;
}
.request_btn {
  margin-top: 20px;
}

.request a {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  padding: 10px;
  background: #222;
  color: #fff;
  box-sizing: border-box;
}


/* company */
.company {
  background: url(img/company/smile_sp.jpg) center center no-repeat;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}
.company h2 {
  margin-top: 370px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 41px;
  font-weight: bold;
}

.company_message {
  text-align: center;
  /* margin: 504px 0 125px 0; */
}

.company_message h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.company_message p {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 60px;
} 

.contents_title {
  padding: 40px 20px;
  }
  
  .contents_title h2 {
  padding-right: 12px;
  margin-right: 8px;
  border-right: 2px solid #000000;
  display: inline-block;
  line-height: 1;
  font-size: 24px;
  }
  
  .contents_title p {
  display: inline-block;
  font-size: 18px;
  height: 20px;
  }
  .corpTableArea {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
  }
  
  .bgGray {
    background: #f9f9f9;
    border-top: 5px solid #ddd;
    border-bottom: 5px solid #ddd;
  }
  
  .corpTable {
    width: 90%;
    margin: 0 auto;
  }

  .corpTableArea th,
  .corpTableArea td {
    text-align: left;
    vertical-align: top;
  }
  .corpTableArea th {
    display: flex;
    padding-top: 10px;
  }
  .corpTableArea td {
    display: flex;
    border-bottom: 1px solid #ccc;
    width: 90%;
    padding-bottom: 10px;
  }
  .corpTableArea th {
    width: 20%;
  }
  
  
  .people_list {
    width: 100%;
    overflow: hidden;
  }
  
  .people_list li {
    float: left;
    width: 25%;
  }
  
  .people_list li img {
    width: 100%;
    height: auto;
  }
  
  .plofile-container  {
    display: table;
    margin: 100px 138px 75px 126px;
  }

.pain-history ul {
  width: 100%;
  overflow: hidden;
}
  
  li.cell {
    display: block;
  }
  
  dl.mod-history {
    position: relative;
    *zoom: 1;
    margin-left: 20px;
    line-height: 24px;
}

dl.mod-history:before {
  position: absolute;
  content: "";
  top: 0;
  left: 8px;
  background: #bbb;
  width: 1px;
  height: 100%;
}

dl.mod-history:after {
  content: "";
  display: table;
  clear: both;
}

dl.mod-history dt, dl.mod-history dd {
  position: relative;
  margin-bottom: 20px;
}

dl.mod-history dt {
  float: none;
  padding-left: 47px;
  width: 200px;
  margin-bottom: 7px;
}

dl.mod-history dt.js-scroll-in:before {
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
}

dl.mod-history dt.js-fade-in:before {
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transition: all .5s;
  -webkit-transition: all .5s;
}

dl.mod-history dt:before {
  position: absolute;
  content: "";
  background: #bbb;
  width: 17px !important;
  height: 17px !important;
  border-radius: 50%;
}

dl.mod-history dt, dl.mod-history dd {
  position: relative;
  padding-bottom: 20px;
  padding-left: 47px;
  padding-right: 20px;
}

dl.mod-history dt span {
  position: absolute;
  width: 200px;
  font-weight: bold;
}

/* ===================
 shop
 =================== */
.shop_top {
  background: url(img/company/shop_top_sp.jpg) center top no-repeat;
  background-size: cover;
  padding: 350px 6% 96px 6%;
  box-sizing: border-box;
}

.shop_top h2 {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding-right: 17.03%;
}

.shop_top p {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.shopArea {
  width: 98%;
  margin: 20px auto;
  overflow: hidden;
}

.shopArea ul {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.shopArea ul li {
  padding: 15px 0;
  border-bottom: 1px dotted #ccc;
  overflow: hidden;
  line-height: 1.3;
  font-size: 13px;
}

.shopArea ul li span.date {
  font-size: 12px;
  float: right;
}

.shopArea ul li span.name {
  float: left;
  width: 70%;
}


  .access {
    width: 100%;
    text-align: center;
  }
  
  .access_img {
    background: url(img/company/Access.png)center center no-repeat;
    background-size: cover;
    display: block;
    width: 100%;
    height: 400px;
    position: relative;
  }
  .access_img #dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 5;
    padding: 0;
    margin: 0;
  }
  
  #accessText {
    position: absolute;
    top: 50%; /*親要素を起点に上から50%*/
    left: 50%;  /*親要素を起点に左から50%*/
    transform: translateY(-50%) translateX(-50%); /*要素の大きさの半分ずつを戻す*/
    -webkit-transform: translateY(-50%) translateX(-50%);
    color: #fff;
    z-index: 8;
    text-align: center;
  }

iframe {
  width: 100%;
  vertical-align: middle;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.googleMapLink a {
  display: block;
  width: 150px;
  padding: 10px;
  text-align: center;
  color: #ccc;
  background: #222;
  border-radius: 50px;
  margin: 40px auto 0;
  font-family: 'Ubuntu', sans-serif;
}

.googleMapLink a:hover {
  background: #fff;
  color: #222;
}


/* ===================
 ポリシー
 =================== */
 
 .policy {
   background: url(img/company/policy_sp.jpg) center top no-repeat;
   background-size: cover;
   padding: 350px 6% 96px 6%;
   box-sizing: border-box;
 }
 
 .policy h2 {
   font-size: 40px;
   font-weight: bold;
   color: #fff;
   display: inline-block;
   padding-right: 17.03%;
 }
 
 .policy p {
   display: inline-block;
   font-size: 20px;
   font-weight: bold;
   color: #fff;
 }
 
.corp {
  background: url(img/company/contact_sp.jpg) center top no-repeat;
  background-size: cover;
  padding: 350px 6% 96px 6%;
  box-sizing: border-box;
}

.corp h2 {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding-right: 17.03%;
}

.corp p {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.commonContents {
  width: 90%;
  margin: 50px auto;
  overflow: hidden;
}

.commonContents h2 {
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
}

.commonContents h3 {
  font-size: 120%;
  margin-bottom: 15px;
}

.commonContents article {
  margin-bottom: 40px;
}

background: #f2f2f2;
border: 1px solid #f2f2f2;
box-sizing: border-box;
width: 100%;
}

.contactTable td input[type="radio"] {
margin-right: 5px;
}

.contactTable td textarea {
padding: 10px;
background: #f2f2f2;
border: 1px solid #f2f2f2;
box-sizing: border-box;
width: 100%;
height: 20em;
}

.contactTable td label {
margin-right: 40px;
}

.submitArea {
position: relative;
}

.submitArea .submitArrow {
position: absolute;
top: 15px;
right: 15px;
color: #268ce3;
font-size: 30px;
}

input.submit {
background: #fff;
width: 60%;
text-align: center;
color: #268ce3;
border: 3px solid #268ce3;
padding: 15px;
display: block;
font-weight: bold;
box-sizing: border-box;
margin: 40px auto;
}

input.submit:hover {
background: #268ce3;
color: #fff; 
}

input.back {
  margin: 40px auto;
  background: #fff;
  width: 60%;
  text-align: center;
  color: #333;
  border: 3px solid #333;
  padding: 15px;
  display: block;
  font-weight: bold;
  box-sizing: border-box;
  margin: 40px auto;
}

input.back:hover {
  background: #333;
  color: #fff; 
}


}