.icon_dog::after {
  background-image: url("../img/icon/dog.svg");
}

.icon_cat::after {
  background-image: url("../img/icon/cat.svg");
}

.icon_bird::after {
  background-image: url("../img/icon/bird.svg");
}

.icon_rabbit::after {
  background-image: url("../img/icon/rabbit.svg");
}

.icon_ferret::after {
  background-image: url("../img/icon/ferret.svg");
}

.icon_others::after {
  background-image: url("../img/icon/others.svg");
}

.icon_k_dog::after {
  background-image: url("../img/icon/icon_k_dog.svg");
}

.icon_k_cat::after {
  background-image: url("../img/icon/icon_k_cat.svg");
}

.icon_k_bird::after {
  background-image: url("../img/icon/icon_k_bird.svg");
}

.icon_k_rabbit::after {
  background-image: url("../img/icon/icon_k_rabbit.svg");
}

.icon_k_ferret::after {
  background-image: url("../img/icon/icon_k_ferret.svg");
}

.icon_k_others::after {
  background-image: url("../img/icon/icon_k_others.svg");
}

@media screen and (max-width: 768px) {
  #main > .mainLayout {
    font-size: 16px;
  }
  #negativeMargin {
    margin: 0 -500%;
    padding: 0 calc(500% - 10px);
  }
  h1 {
    font-size: 5.4vw !important;
  }
  h2 {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    color: #AF924E;
  }
  #total dl {
    text-align: center;
    color: #007048 !important;
    font-size: 6vw;
    font-weight: bold;
    line-height: 1.2;
  }
  #total dl dd span {
    font-size: 1.5em;
    padding-right: 5px;
  }
  #total p {
    padding: 0 20px;
  }
  #nyusen {
    background: url("../img/bg_pattern.svg") repeat-y 0 0;
    background-color: #E4EECD;
    padding: 20px 20px 80px;
  }
  #nyusen h3 {
    width: 40%;
    margin: 0 auto;
    padding: 20px 0 30px;
  }
  #yusyu {
    padding-bottom: 100px;
  }
  #yusyu .yusyu-item {
    margin-bottom: 70px;
  }
  #yusyu .yusyu-item dl {
    margin-top: 0.8em;
  }
  #yusyu .yusyu-item dl dt {
    display: inline-block;
    color: #fff;
    background-color: #AF924E;
    padding: 4px 10px;
    border-radius: 5px 5px 0 0;
    font-size: 0.9em;
  }
  #yusyu .yusyu-item dl dd {
    display: block;
    background-color: #fff;
    padding: 10px;
    font-size: 0.9em;
  }
  #kasaku .kasaku-item {
    margin-bottom: 20px;
  }
  .kasaku-item {
    width: 100%;
    background-color: #70b779;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  .kasaku-item-inner {
    background-color: #fff;
    padding: 12px;
    border: 3px solid #AF924E;
    border-radius: 5px;
    position: relative;
  }
  .kasaku-item-inner::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    bottom: 5px;
    left: 5px;
    padding: 20px;
  }
  .kasaku-item-image img {
    border-radius: 7px;
  }
  .kasaku-item-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .kasaku-item-title {
    font-size: 3.5vw;
    padding: 20px 0;
    text-align: center;
  }
  .kasaku-item-animalname {
    font-size: 3.3vw;
    text-align: right;
  }
  .kasaku-item-pnamelabel {
    font-size: 10px;
    padding-left: 15px;
    text-align: right;
  }
  .kasaku-item-pname {
    font-size: 3.3vw;
    padding-left: 5px;
    text-align: right;
  }
  #more_kasaku {
    display: block;
    position: relative;
    width: 100%;
    color: #fff;
    font-size: 5.4vw;
    font-weight: bold;
    letter-spacing: 0.1em;
    background-color: #007048;
    border: none;
    border-radius: 50px;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  #more_kasaku::after {
    content: "control_point";
    font-family: "Material Icons";
    color: #AF924E;
    font-size: 10vw;
    position: absolute;
    top: 50%;
    right: 4%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  #more_kasaku.active::after {
    content: "remove_circle_outline";
  }
  .js-accordion-content {
    display: none;
  }
  .js-accordion-content.active {
    display: block;
  }
  #allItems {
    background-color: #f2efe6;
    padding: 30px 15px 80px;
  }
  #allItems h4 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 10px;
  }
  .animalkinds {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-bottom: 50px;
  }
  .animalkinds .animalkind {
    padding: 1px;
    width: 25%;
    cursor: pointer;
  }
  .animalkinds .animalkind:nth-last-child(-n + 3) {
    width: 33.333333333%;
  }
  .animalkinds .animalkind.active label {
    background-color: #007048;
  }
  .animalkinds label {
    display: block;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    background-color: #5abd8f;
  }
  .animalkinds label input[type="radio"] {
    display: none;
  }
  .freeword-wrapper p {
    margin-top: 0;
  }
  .form {
    padding: 20px 0;
  }
  .form-search {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    -webkit-appearance: none;
  }
  .form-search-submit {
    color: #fff;
    background-color: #007048;
    border: none;
  }
  .all-item {
    width: 100%;
    background-color: #b3ca51;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  .all-item-inner {
    background-color: #fff;
    padding: 20px 10px 10px;
    border-radius: 5px;
    position: relative;
  }
  .all-item-inner::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    bottom: 5px;
    left: 5px;
    padding: 18px;
  }
  .all-item-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding-top: 10px;
    padding-left: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .all-item-title {
    font-size: 3.8vw;
    text-align: center;
  }
  .all-item-animalname {
    font-size: 3.7vw;
    text-align: right;
  }
  .all-item-pnamelabel {
    font-size: 10px;
    padding-left: 15px;
    text-align: right;
  }
  .all-item-pname {
    font-size: 3.7vw;
    padding-left: 10px;
    text-align: right;
  }
  .morelink {
    display: block;
    position: relative;
    width: 100%;
    color: #fff;
    font-size: 5.4vw;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: #007048;
    border: none;
    border-radius: 50px;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

@media screen and (min-width: 769px) {
  #kv img {
    width: 100%;
  }
  h2 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    color: #AF924E;
  }
  #total dl {
    text-align: center;
    color: #007048 !important;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.2;
  }
  #total dl dd span {
    font-size: 1.5em;
    padding-right: 5px;
  }
  #total p {
    padding: 0 20px;
  }
  #nyusen {
    background: url("../img/bg_pattern.svg") repeat-y 0 0;
    background-color: #E4EECD;
    padding: 20px 20px 80px;
  }
  #nyusen h3 {
    width: 150px;
    margin: 0 auto;
    padding: 20px 0 30px;
  }
  #yusyu {
    padding-bottom: 100px;
  }
  #yusyu .yusyu-item {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 70px;
  }
  #yusyu .yusyu-item-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #yusyu .yusyu-item dl {
    margin-top: 0.8em;
  }
  #yusyu .yusyu-item dl dt {
    display: inline-block;
    color: #fff;
    background-color: #AF924E;
    padding: 4px 10px;
    border-radius: 5px 5px 0 0;
    font-size: 0.9em;
  }
  #yusyu .yusyu-item dl dd {
    display: block;
    background-color: #fff;
    padding: 10px;
    font-size: 0.9em;
  }
  .kasaku-item {
    background-color: #70b779;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  .kasaku-item-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .kasaku-item-outer {
    width: 50%;
    padding: 0 10px;
  }
  .kasaku-item-inner {
    background-color: #fff;
    padding: 12px;
    border: 3px solid #AF924E;
    border-radius: 5px;
    position: relative;
  }
  .kasaku-item-inner::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    bottom: 5px;
    left: 5px;
    padding: 22px;
  }
  .kasaku-item-image {
    border-radius: 7px;
  }
  .kasaku-item-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .kasaku-item-title {
    font-size: 15.5px;
    padding: 20px 0;
    text-align: center;
  }
  .kasaku-item-animalname {
    font-size: 13px;
    text-align: right;
  }
  .kasaku-item-pnamelabel {
    font-size: 10px;
    padding-left: 15px;
    text-align: right;
  }
  .kasaku-item-pname {
    font-size: 13px;
    padding-left: 5px;
    text-align: right;
  }
  #more_kasaku {
    display: block;
    position: relative;
    width: 50%;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0.1em;
    background-color: #007048;
    border: none;
    border-radius: 50px;
    padding: 10px;
    margin: 50px auto;
    text-align: center;
  }
  #more_kasaku::after {
    content: "control_point";
    font-family: "Material Icons";
    color: #AF924E;
    font-size: 1.5em;
    position: absolute;
    top: 50%;
    right: 4%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  #more_kasaku.active::after {
    content: "remove_circle_outline";
  }
  .js-accordion-content {
    display: none;
  }
  .js-accordion-content.active {
    display: block;
  }
  #allItems {
    background-color: #f2efe6;
    padding: 30px 15px 80px;
  }
  #allItems h4 {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 10px;
  }
  .animalkinds {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-bottom: 50px;
  }
  .animalkinds .animalkind {
    padding: 1px;
    width: 25%;
  }
  .animalkinds .animalkind:nth-last-child(-n + 3) {
    width: 33.333333333%;
  }
  .animalkinds .animalkind.active label {
    background-color: #007048;
  }
  .animalkinds label {
    display: block;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    background-color: #5abd8f;
    cursor: pointer;
  }
  .animalkinds label input[type="radio"] {
    display: none;
  }
  .freeword-wrapper p {
    margin-top: 0;
  }
  .form {
    padding: 20px 0;
  }
  .form-search {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    -webkit-appearance: none;
  }
  .all-item {
    background-color: #b3ca51;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
  .all-item-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .all-item-outer {
    width: 50%;
    padding: 0 10px;
  }
  .all-item-inner {
    background-color: #fff;
    padding: 20px 10px 10px;
    border-radius: 5px;
    position: relative;
  }
  .all-item-inner::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    bottom: 5px;
    left: 5px;
    padding: 18px;
  }
  .all-item-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding-top: 10px;
    padding-left: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .all-item-title {
    font-size: 16px;
    text-align: center;
  }
  .all-item-animalname {
    font-size: 13px;
    text-align: right;
  }
  .all-item-pnamelabel {
    font-size: 10px;
    padding-left: 15px;
    text-align: right;
  }
  .all-item-pname {
    font-size: 13px;
    padding-left: 5px;
    text-align: right;
  }
  .morelink {
    display: block;
    position: relative;
    width: 500px;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: #007048;
    border: none;
    border-radius: 50px;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
    cursor: pointer;
  }
  .morelink-outer {
    margin: 0 -100%;
    padding: 0 100%;
    -webkit-transform: translateX(-25%);
            transform: translateX(-25%);
  }
}

@media screen and (min-width: 769px) {
  .senryuBtnLink {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .senryuBtnLink li {
    -ms-flex-preferred-size: calc((100% - 40px) / 3);
        flex-basis: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    margin-top: 10px;
  }
  .senryuBtnLink li:nth-of-type(1),
  .senryuBtnLink li:nth-of-type(2),
  .senryuBtnLink li:nth-of-type(3) {
    margin-top: 0;
  }
  .senryuBtnLink li:nth-of-type(3n-1):nth-last-of-type(1) {
    margin-right: auto;
    margin-left: 20px;
  }
  .senryuBtnLink li a {
    background-color: #fff;
    border: 1px solid #8ec31f;
    display: block;
    padding: 13px 45px;
    text-align: center;
    border-radius: 4px;
  }
}

@media screen and (max-width: 768px) {
  .senryuBtnLink {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .senryuBtnLink li {
    -ms-flex-preferred-size: calc((100% - 10px) / 2);
        flex-basis: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
    margin-top: 10px;
  }
  .senryuBtnLink li:nth-of-type(1),
  .senryuBtnLink li:nth-of-type(2) {
    margin-top: 0;
  }
  .senryuBtnLink li a {
    background-color: #fff;
    color: #8ec31f;
    border: 1px solid #8ec31f;
    border-radius: 4px;
    display: block;
    padding: 12px 17px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
  }
}
