@charset "utf-8";

/*.ec-layoutRole {
    padding-bottom: 122px;
}*/
.footer-bottom {
    background: #3F2021;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9997;
    width: 100%;
}
.footer-bottom .ft-bnr {
    border-radius: 8px;
    border: 3px solid #e9b319;
    max-width: 640px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #fff;
    margin: 0 auto;
    position: relative;
}
.ft-bnr h3, .ft-bnr h4 {
    text-align: center;
    color: #3f2021;
}
.ft-bnr h3 {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 8px;
    line-height: 1.4;
}
.ft-bnr h4 {
    font-size: 12px;
    font-weight: 700;
    background: #e9b319;
    max-width: 200px;
    border-radius: 10px;
    padding: 3px 0;
    margin: 0 auto;
    line-height: 1;
    marign-bottom: 6px;
}
.footer-bottom a {
    display: block;
    transition: 0.4s;
}
.footer-bottom a:hover {
    text-decoration: none;
    opacity: 0.7;    
}
/*.modal2__content .js-modal-close { */
.footer-bottom .close-btn {
  cursor: pointer;
  right: 0;
  top:0;
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  background: #3f2021; /* ボタンの背景色 */
}
/*.modal2__content .js-modal-close::before, .modal2__content .js-modal-close::after { */
.footer-bottom .close-btn::before, .footer-bottom .close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 16px;
  background: #fff; /* バツ印の色 */
}
.footer-bottom .close-btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.footer-bottom .close-btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.br-ft {
    display: none;
}

@media screen and (max-width: 600px) {
    /*.ec-layoutRole {
        padding-bottom: 146px;
    }*/
    .ft-bnr h3 {
        font-size: 18px;
        font-weight: 700;
        padding-bottom: 8px;
    }
    .br-ft {
        display: block;
    }
}
.ec-layoutRole.pd-none {
    padding-bottom: 0 !important;
}
/* モーダルウィンドウここから */
.modal2{
   /* display: none; 
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;*/
    z-index: 9998;
}
.modal2__content{
    background: #fff;
   /*  left: 50%;
    padding: 40px;
    position: relative;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 35%;
    z-index: 9998; */
}
.modal-img {
    max-width: 80%;
    margin: 0 auto 25px;
    text-align: center;
}
.modal-img img {
    margin: 0 auto;
    text-align: center;
}
.modal-block {
    margin-bottom: 25px;
}
.modal-block.last {
    margin-bottom: 0;
}
.modal-block h3 {
    border-left: 10px solid #e9b319;
    font-size: 20px;
    font-weight: 700;
    color: #3F2021;
    padding-left: 10px;
    line-height: 23px;
    margin: 0 0 8px;
}
.modal-block p {
    line-height: 1.6;
}

 
.modal2__content .js-modal-close::before, .modal2__content .js-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  background: #fff; /* バツ印の色 */
}
 
.modal2__content .js-modal-close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.modal2__content .js-modal-close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
/*
@media screen and (max-width: 1000px) {
    .modal2__content {
        width: 52%;
    }
}
@media screen and (max-width: 768px) {
    .modal2__content{
        padding: 20px;
        width: 60%;
    }
}*/
@media screen and (max-width: 480px) {
    .modal-img {
        max-width: 100%;
    }
    /*.modal-img {
        max-width: 70%;
    }
    .modal2__content{
        padding: 20px;
        width: 93%; 
    }*/
    .modal-block h3 {
        font-size: 18px;
        margin: 0 0 6px;
    }
    .modal-block p {
        font-size: 14px;
        line-height: 1.5;
    }
    .modal-block {
        margin-bottom: 20px;
    }
    .modal2__content .js-modal-close {
      width: 30px;
      height: 30px;
    }
}
/* モーダルウィンドウここまで */


.ec-layoutRole {
    overflow: hidden;
    /*横スクロール解除*/
}

.front_page .item_img,
.front_page .topic_img {
    overflow: hidden;
}

.front_page .item a:hover img,
.front_page .topic a:hover img {
    transform: scale(1.1);
    transition: .4s;
}

.front_page .b_story .photo ul {
    width: 100%;
    display: flex;
}

.front_page .b_story .photo>ul>li {
    width: 50%;
    height: 26.8571%;
    position: relative;
}

.front_page .b_story .photo>ul>li:first-child {
    padding-top: 26.8571%;
    overflow: hidden;
}

.front_page .b_story .photo ul li iframe {
    position: absolute;
    top: 0;
    width: 105%;
    height: 105%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.front_page .b_story .photo ul li img {
    width: 100%;
}

@media screen and (min-width: 769px) {
    .concept .sample {
        position: fixed;
        right: 0;
        top: auto;
        bottom: 40px;
        z-index: 50;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        max-height: 198px;
    }
}

@media screen and (max-width: 420px) {
    .front_page .b_story .photo ul {
        display: block;
    }
    .front_page .b_story .photo ul li {
        width: 100%;
    }
    .front_page .b_story .photo>ul>li:first-child {
        padding-top: 53.7142%;
    }
}


/*=====================
/*  inviewアニメ
/*=====================*/

.anm_tv {
    opacity: 0;
    transform: translate(0, -50px);
    -webkit-transform: translate(0, -50px)
}

.anm_tvin {
    opacity: 1;
    transition: 1s;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0)
}

.anm_bv {
    opacity: 0;
    transform: translate(0, 50px);
    -webkit-transform: translate(0, 50px)
}

.anm_bvin {
    opacity: 1;
    transition: 1s;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0)
}

.anm_bv2 {
    opacity: 0;
    transform: translate(0, 100px);
    -webkit-transform: translate(0, 100px)
}

.anm_bv2in {
    opacity: 1;
    transition: 1.5s;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0)
}

.anm_lv {
    opacity: 0;
    transform: translate(-50px, 0);
    -webkit-transform: translate(-50px, 0)
}

.anm_lvin {
    opacity: 1;
    transition: 1s;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0)
}

.anm_rv {
    opacity: 0;
    transform: translate(50px, 0);
    -webkit-transform: translate(50px, 0)
}

.anm_rvin {
    opacity: 1;
    transition: 1s;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0)
}

.fade_v {
    opacity: 0;
}

.fade_vin {
    opacity: 1;
    transition: 1s;
    transition-delay: 0.2s;
}

@media screen and (min-width: 421px) {
    .front_page .circles .circle.anm_bvin,
    .front_page .col4_wrap .item {
        transition: 1s;
    }
    .front_page .circles .circle.anm_bvin:first-child,
    .front_page .col4_wrap .item.anm_bvin:first-child,
    .front_page .news_wrap dl.anm_lv:first-child {
        transition-delay: 0.3s;
    }
    .front_page .circles .circle.anm_bvin:nth-child(2),
    .front_page .col4_wrap .item.anm_bvin:nth-child(2),
    .front_page .news_wrap dl.anm_lv:nth-child(2) {
        transition-delay: 0.6s;
    }
    .front_page .circles .circle.anm_bvin:nth-child(3),
    .front_page .col4_wrap .item.anm_bvin:nth-child(3),
    .front_page .news_wrap dl.anm_lv:nth-child(3) {
        transition-delay: 0.9s;
    }
    .front_page .col4_wrap .item.anm_bvin:nth-child(4),
    .front_page .news_wrap dl.anm_lv:nth-child(4) {
        transition-delay: 1.2s;
    }
    .front_page .news_wrap dl.anm_lv:nth-child(5) {
        transition-delay: 1.5s;
    }
}


/*==================*/


/*      Loading
/*==================*/


/*@keyframes loading {
  0% {
    display: block;
  }
  100% {
    display: none;
  }
}
.front_page .loading{
    animation: loading 10s linear;
    -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  position: fixed;
  background: #000;
  width: 100vw;
  height: 100vh;
  z-index: 20000;
  overflow: hidden;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.front_page .loading div {
  width: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  opacity: 0;
  animation: fade .5s linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
    text-align: center;
}
@media screen and (max-width: 680px) {
  .front_page .loading div {
    width: 60%;
  }
}*/


/*MV一枚目 黒背景からフェード*/

.front_page .mv .bx-wrapper {
    background: #000;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.front_page .mv .bx-viewport {
    opacity: 0;
    animation: fade 3s ease-out forwards;
    animation-delay: 1.2s;
    transition: 1s;
}


/*===============================
/*  愛犬の健康美に役立つコラム
/*=============================*/

#page_topics_list .topics .col4_wrap .news_wrap .topics-wrap {
    margin: 0 0 60px;
    width: 100%;
}

#page_topics_list .topics .col4_wrap .news_wrap .topics-wrap:last-child {
    margin: 0;
}

#page_topics_list .topics .col4_wrap .news_wrap .topics-box {
    display: flex;
    flex-wrap: wrap;
}

#page_breed_list .topics .col4_wrap .news_wrap .topics-box div:nth-child(4n) {
    margin-right: 0;
}

#page_breed_list .topics .col4_wrap .news_wrap>div:last-child {
    margin: 0;
}

#page_topics_list .topics .col4_wrap .news_wrap h3 {
    width: 100%;
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
}

#page_topics_list .page-wrap.topics {
    padding: 60px 0 0;
}

@media screen and (max-width: 480px) {
    #page_topics_list .topics .page_ttl,
    #page_breed_list .topics .page_ttl {
        line-height: 1.4;
    }
    #page_topics_list .topics .col4_wrap .news_wrap h3 {
        font-size: 20px;
    }
}


/*===============================
/*  給与量計算ページ
/*=============================*/

.bl_formbox select {
    background: #fff;
}

#calculation_dog_food input {
    display: none;
}

#calculation_dog_food label {
    display: block;
    text-align: left;
    margin-bottom: 20px;
}

#calculation_dog_food>input:first-child+label {
    margin-bottom: 20px;
}

#calculation_dog_food_num {
    background: #fff;
}

.dog_food_line {
    padding-top: 20px;
}


/* スライドショー */

.slideshow {
    position: relative;
}

.slideshow input[type=radio] {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    content: 5;
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+1):nth-of-type(-n+1) {
    opacity: 1;
    z-index: 10;
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+1):nth-of-type(-n+1)>a::before {
    z-index: 11;
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slider-wrapper>.slideshow_label>label:nth-of-type(5) {
    right: auto;
    display: none;
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slider-wrapper>.slideshow_label>label:nth-of-type(5)::before {
    right: auto;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slideshow_label>label:nth-of-type(2) {
    display: block;
    left: auto;
}

.slideshow input[type=radio]:nth-of-type(1):checked~.slideshow_label>label:nth-of-type(2)::before {}

.slideshow input[type=radio]:nth-of-type(1):checked~.slideshow_page>label:nth-of-type(1)::before {
    content: "";
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+2):nth-of-type(-n+2) {
    opacity: 1;
    z-index: 10;
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_list>li:nth-of-type(n+2):nth-of-type(-n+2)>a::before {
    z-index: 11;
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_label>label:nth-of-type(1) {
    display: block;
    right: auto;
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_label>label:nth-of-type(1)::before {
    background: url(../img/calculation/corange-r@2x.png) no-repeat left top;
    background-size: contain;
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    left: 0;
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_label>label:nth-of-type(3) {
    display: block;
    left: auto;
}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_label>label:nth-of-type(3)::before {}

.slideshow input[type=radio]:nth-of-type(2):checked~.slideshow_page>label:nth-of-type(2)::before {
    content: "";
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+3):nth-of-type(-n+3) {
    opacity: 1;
    z-index: 10;
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+3):nth-of-type(-n+3)>a::before {
    z-index: 11;
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slideshow_label>label:nth-of-type(2) {
    display: block;
    right: auto;
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slideshow_label>label:nth-of-type(2)::before {
    background: url(../img/calculation/corange-r@2x.png) no-repeat left top;
    background-size: contain;
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    left: 0;
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slideshow_label>label:nth-of-type(4) {
    display: block;
    left: auto;
}

.slideshow input[type=radio]:nth-of-type(3):checked~.slideshow_label>label:nth-of-type(4)::before {}

.slideshow input[type=radio]:nth-of-type(3):checked~.slideshow_page>label:nth-of-type(3)::before {
    content: "";
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+4):nth-of-type(-n+4) {
    opacity: 1;
    z-index: 10;
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+4):nth-of-type(-n+4)>a::before {
    z-index: 11;
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slideshow_label>label:nth-of-type(3) {
    display: block;
    right: auto;
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slideshow_label>label:nth-of-type(3)::before {
    background: url(../img/calculation/corange-r@2x.png) no-repeat left top;
    background-size: contain;
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    left: 0;
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slideshow_label>label:nth-of-type(5) {
    display: block;
    left: auto;
}

.slideshow input[type=radio]:nth-of-type(4):checked~.slideshow_label>label:nth-of-type(5)::before {}

.slideshow input[type=radio]:nth-of-type(4):checked~.slideshow_page>label:nth-of-type(4)::before {
    content: "";
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+5):nth-of-type(-n+5) {
    opacity: 1;
    z-index: 10;
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slider-wrapper>.slideshow_list>li:nth-of-type(n+5):nth-of-type(-n+5)>a::before {
    z-index: 11;
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slideshow_label>label:nth-of-type(4) {
    display: block;
    right: auto;
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slideshow_label>label:nth-of-type(4)::before {
    background: url(../img/calculation/corange-r@2x.png) no-repeat left top;
    background-size: contain;
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    left: 0;
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slideshow_label>label:nth-of-type(1) {
    display: block;
    left: auto;
}

.slideshow input[type=radio]:nth-of-type(5):checked~.slideshow_label>label:nth-of-type(1)::before {}

.slideshow input[type=radio]:nth-of-type(5):checked~.slideshow_page>label:nth-of-type(5)::before {
    content: "";
}

.bl_formbox_wrap .slideshow .slideshow_label>label {
    display: none;
    background-size: contain;
    transform: translateY(-50%);
    right: 0;
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    padding: 0;
    left: -30px;
}

.slideshow .slideshow_list {
    position: relative;
    height: 100%;
}

.slideshow .slideshow_list>li {
    position: absolute;
    left: 0;
    top: 0;
    margin: auto;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.slideshow .slideshow_label>label::before {
    background: url(../img/calculation/corange-l@2x.png) no-repeat left top;
    background-size: contain;
    content: "";
    width: 21px;
    height: 34px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    left: 30px;
    border: none;
}

.bl_formbox .slideshow label::after {
    content: none;
}

.slideshow .slideshow_page {
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    opacity: 0;
}

.slideshow .slideshow_page>label {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #a8b7c6;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
}

.slideshow .slideshow_page>label:not(:first-of-type) {
    margin-left: 10px;
}

.slideshow .slideshow_page>label::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #777;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.slideshow .slideshow_label>label:hover::before {
    opacity: 0.7 !important;
}

.slider-wrapper {
    overflow-x: visible;
    width: 270px;
    margin: 0 auto;
    position: relative;
    height: 340px;
}

@media screen and (max-width: 980px) {
    .slider-wrapper {
        height: 210px;
    }
}

.sub-info {
    font-size: 70%;
    display: table;
    margin: 15px auto 0;
    text-align: center;
}

.mv .bx-wrapper ul li .mv_txt01 .mv_btm_txt {
    font-size: 27px;
    font-weight: bold;
    display: block;
    margin: 10px 0 0;
    letter-spacing: normal;
    line-height: 1.2em;
}
.sp.sub-ttl {
    display: none;
}
@media screen and (max-width: 480px) {
    .sp.sub-ttl {
        font-weight: 600;
        display: table;
        font-size: 16px;
        margin:0 auto 3px;
        letter-spacing: normal;
    }
}


/*===============================
/*  会社概要ページ追加
/*=============================*/

.ec-blpagettl {
    margin: 0 0 120px;
    padding: 140px 0 145px;
  }
  .ec-blpagettl.ec-blpagettl_company {
    background: url(../img/company/mv-company.jpg) no-repeat center center;
    background-size: cover;
  }
  .ec-blpagettl_ttl {
    font-size: 48px;
    line-height: 2;
    margin: 0 0 90px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 7px rgba(0,0,0,.2);
  }
  .ec-blpagettl p {
    font-size: 20px;
    line-height: 56px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 60px;
    text-shadow: 1px 1px 7px rgba(0,0,0,.2);
  }
  .ec-blpagettl .ec-blpagellt_logo {
    font-size: 24px;
    line-height: 56px;
    font-weight: 500;
    color: #fff;
    text-shadow: 1px 1px 7px rgba(0,0,0,.2);
  }
  .ec-blpagettl .ec-blpagellt_logo img {
    display: block;
    width: 100%;
    max-width: 214px;
    height: auto;
  }
  
  .sp_only {
    display: none;
  }
  
  @media screen and (max-width: 1000px) {
    .ec-blpagettl {
      padding: 100px 0 110px;
      margin: 0 0 90px;
    }
    .ec-blpagettl_ttl {
      font-size: 38px;
      margin: 0 0 60px;
    }
    .ec-blpagettl p {
      font-size: 18px;
      line-height: 50px;
    }
  }
  
  @media screen and (max-width: 650px) {
    .ec-blpagettl.ec-blpagettl_company {
      background: url(../img/company/mv-companysp.jpeg) no-repeat center center;
      background-size: cover;
    }
    .ec-blpagettl {
      padding: 70px 0 75px;
      margin: 0 0 60px;
      text-shadow: 3px 3px 7px rgba(0,0,0,.6);
    }
    .ec-blpagettl_ttl {
      font-size: 24px;
      margin: 0 0 40px;
    }
    .ec-blpagettl p {
      font-size: 16px;
      line-height: 38px;
      margin: 0 0 30px;
      text-shadow: 3px 3px 7px rgba(0,0,0,.6);
    }
    .ec-blpagettl .ec-blpagellt_logo {
      text-shadow: 3px 3px 7px rgba(0,0,0,.6);
    }
    .sp_only {
      display: block;
    }
  }