[class^="library"] {
  letter-spacing: 0.04em;
}

.library-index-wrapper {
  padding: 20px 12px 15px;
}

.library-index-title {
  width: 100%;
  margin: 0 auto;
}

.library-index-title img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.library-index-type {
  border: 1px solid #f9c385;
  background-color: #fffbf6;
  padding: 6px;
  border-radius: 5px;
}

.library-index-type + .library-index-type {
  margin-top: 20px;
}

.library-index-type-title {
  margin: 0;
  padding: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: url("/s/pet/img/library/bg_library_hdg.png") no-repeat center center;
  background-size: 100%;
}

.library-index-type-title span {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #6e401a;
  padding: 11px;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
}

.library-index-type-title span:before {
  content: '';
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  background: no-repeat center center;
  background-size: 14px 15px;
  width: 14px;
  height: 23px;
}

.pet_dog .library-index-type-title span:before {
  background-image: url("/s/pet/img/library/icon_library_dog_01.png");
}

.pet_cat .library-index-type-title span:before {
  background-image: url("/s/pet/img/library/icon_library_cat_01.png");
}

.library-index-list {
  width: 100%;
  margin: 15px auto 0;
  padding: 0 8px;
  list-style: none;
}

.library-index-list:before, .library-index-list:after {
  display: block;
  content: '';
}

.library-index-list:after {
  clear: both;
}

.library-index-list .list-item {
  float: left;
  width: 29.32330827067669%;
  margin-left: 6.015037593984962%;
}

.library-index-list .list-item:nth-child(3n+1) {
  clear: both;
  margin-left: 0;
}

.library-index-list .list-item:nth-child(n+4) {
  margin-top: 15px;
}

.library-index-list .list-item a {
  display: block;
  width: 100%;
}

.library-index-list .list-item img {
  display: block;
  width: 100%;
}

.library-index-list .list-item h3 {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  color: #0066cc;
  margin: 5px auto 0;
  padding: 0;
}

.library-detail-wrapper {
  padding: 20px 12px 15px;
}

.library-detail-type {
  border: 1px solid #f9c385;
  background-color: #fffbf6;
  padding: 6px;
  border-radius: 5px;
}

.library-detail-type + .library-detail-type {
  margin-top: 20px;
}

.library-detail-type-title {
  margin: 0;
  padding: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: url("/s/pet/img/library/bg_library_hdg.png") no-repeat center center;
  background-size: 100%;
}

.library-detail-type-title span {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #6e401a;
  padding: 11px;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
}

.library-detail-type-title span:before {
  content: '';
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  background: no-repeat center center;
  background-size: 14px 15px;
  width: 14px;
  height: 23px;
}

.pet_dog .library-detail-type-title span:before {
  background-image: url("/s/pet/img/library/icon_library_dog_01.png");
}

.pet_cat .library-detail-type-title span:before {
  background-image: url("/s/pet/img/library/icon_library_cat_01.png");
}

.library-detail-list {
  width: 100%;
  margin: 15px auto 0;
  padding: 0 8px;
  list-style: none;
}

.library-detail-list:before, .library-detail-list:after {
  display: block;
  content: '';
}

.library-detail-list:after {
  clear: both;
}

.library-detail-list .list-item {
  float: left;
  width: 29.32330827067669%;
  margin-left: 6.015037593984962%;
}

.library-detail-list .list-item:nth-child(3n+1) {
  clear: both;
  margin-left: 0;
}

.library-detail-list .list-item:nth-child(n+4) {
  margin-top: 15px;
}

.library-detail-list .list-item a {
  display: block;
  width: 100%;
}

.library-detail-list .list-item img {
  display: block;
  width: 100%;
}

.library-detail-list .list-item h3 {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  color: #0066cc;
  margin: 5px auto 0;
  padding: 0;
}

.library-detail-title {
  width: 100%;
  min-height: 45px;
  background: url("/s/pet/img/library/bg_library_title.png") repeat-y center center;
  background-size: 100%;
}

.library-detail-title h1 {
  font-size: 18px;
  line-height: 23px;
  padding: 11px 11px 11px 38px;
  position: relative;
  color: #6e401a;
}

.library-detail-title h1:before {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 23px;
  background: no-repeat center center;
  background-size: 20px 22px;
  left: 12px;
  top: 11px;
}

.pet_dog .library-detail-title h1:before {
  background-image: url("/s/pet/img/library/icon_library_dog_02.png");
}

.pet_cat .library-detail-title h1:before {
  background-image: url("/s/pet/img/library/icon_library_cat_02.png");
}

.library-detail-inner {
  padding: 12px;
  background-color: #ffffff;
}

.library-detail-mv {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.library-detail-anchor {
  margin-top: 12px;
}

.library-detail-anchor ul {
  border-radius: 3px;
  border: 1px solid #e8c8b1;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}

.library-detail-anchor ul li {
  margin: 0;
  padding: 0;
}

.library-detail-anchor ul li a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #6e401a;
  padding: 6px 6px 6px 35px;
  position: relative;
}

.library-detail-anchor ul li a:before {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  background: url("/s/pet/img/library/icon_library_arrow_01.png") no-repeat center center;
  background-size: 17px 17px;
  top: 8px;
  left: 9px;
}

.library-detail-anchor ul li:nth-child(2n+1) a {
  background-color: #fff5ee;
}

.library-detail-anchor ul li:nth-child(2n) a {
  background-color: #fffbf6;
}

.library-detail-column {
  margin-top: 16px;
  padding: 11px 11px 6px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}

.library-detail-anchor + .library-detail-column {
  margin-top: 18px;
}

.library-detail-column-item + .library-detail-column-item {
  margin-top: 24px;
}

.library-detail-column-item .library-detail-notice {
  margin-top: 4px;
}

.library-detail-premium-table {
  margin: 15px auto 0;
  width: 100%;
  table-layout: fixed;
}

.library-detail-premium-table thead th {
  font-size: 13px;
  font-weight: bold;
  padding: 9px 5px;
  border: 2px solid #ffffff;
}

.library-detail-premium-table thead th .premium-large {
  font-size: 120%;
}

.library-detail-premium-table thead .premium-guide {
  background-color: #e5e5e5;
}

.library-detail-premium-table thead .premium-plan50 {
  width: 40.90909%;
  color: #2425aa;
  background-color: #b5d0ee;
}

.library-detail-premium-table thead .premium-plan70 {
  width: 40.90909%;
  color: #914146;
  background-color: #fcd385;
}

.library-detail-premium-table tbody th {
  font-size: 14px;
  font-weight: bold;
  vertical-align: middle;
  border: 2px solid #ffffff;
}

.library-detail-premium-table tbody td {
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  padding: 14px 5px;
  border: 2px solid #ffffff;
}

.library-detail-premium-table tbody td .premium-small {
  font-size: 60%;
}

.library-detail-premium-table tbody .premium-guide {
  background-color: #f7f7f7;
}

.library-detail-premium-table tbody .premium-plan50 {
  background-color: #e9f1fa;
}

.library-detail-premium-table tbody .premium-plan70 {
  background-color: #fef2da;
}

.library-detail-premium-condition {
  margin-top: 15px;
  margin-bottom: 5px;
  padding: 5px 10px;
  border: 1px solid #cccccc;
}

.library-detail-premium-condition-title {
  font-size: 14px;
  letter-spacing: 0;
  padding-bottom: 0;
}

.library-detail-premium-condition-text {
  font-size: 14px;
  letter-spacing: 0;
  padding-bottom: 0;
}

.library-detail-premium-condition-note {
  font-size: 12px;
  letter-spacing: 0;
  padding-bottom: 0;
}

.library-detail-inner-title {
  font-size: 16px;
  font-weight: bold;
  color: #ff6633;
  padding: 2px 2px 8px 32px;
  margin-bottom: 15px;
  background: transparent;
  border-bottom: 1px dotted #c99c7d;
  position: relative;
}

.library-detail-inner-title:before {
  content: '';
  display: block;
  position: absolute;
  background: no-repeat center center;
  background-size: 27px 22px;
  width: 27px;
  height: 22px;
  top: 0;
  left: 0;
}

.pet_dog .library-detail-inner-title:before {
  background-image: url("/s/pet/img/library/icon_library_dog_03.png");
}

.pet_cat .library-detail-inner-title:before {
  background-image: url("/s/pet/img/library/icon_library_cat_03.png");
}

.library-detail-inner-subtitle {
  font-size: 15px;
  line-height: 20px;
  font-weight: bold;
  color: #6e401a;
  border: none;
  padding: 1px 0 1px 18px;
  margin-bottom: 8px;
  position: relative;
}

.library-detail-inner-subtitle:before {
  content: '';
  display: block;
  position: absolute;
  background: no-repeat center center;
  background-size: 14px 15px;
  width: 15px;
  height: 20px;
  top: 0;
  left: 0;
}

.pet_dog .library-detail-inner-subtitle:before {
  background-image: url("/s/pet/img/library/icon_library_dog_04.png");
}

.pet_cat .library-detail-inner-subtitle:before {
  background-image: url("/s/pet/img/library/icon_library_cat_04.png");
}

.library-detail-inner-subtitle.icon-syringe:before {
  background-size: 15px 15px;
}

.pet_dog .library-detail-inner-subtitle.icon-syringe:before {
  background-image: url("/s/pet/img/library/icon_library_dog_05.png");
}

.pet_cat .library-detail-inner-subtitle.icon-syringe:before {
  background-image: url("/s/pet/img/library/icon_library_cat_05.png");
}

.library-detail-inner-hdg {
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  line-height: 1.8;
  padding: 0;
  margin: 0;
}

.library-detail-hdg {
  font-size: 15px;
  font-weight: bold;
  padding: 0;
  margin: 0;
}

.library-detail-lead {
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.library-detail-notice {
  font-size: 12px;
  line-height: 1.66667;
  padding: 0;
  margin: 12px auto 0;
}

.library-detail-notice.notice-icon:before {
  content: '\00203B';
  display: inline;
}

.library-detail-notice.notice-icon .ico-blank:after {
  content: '';
  display: inline-block;
  vertical-align: top;
  margin: 0;
  background: url("/s/pet/shared/img/ico_blank-fill.png") no-repeat center center;
  background-size: 12px 12px;
}

.library-detail-supervision {
  margin-top: 25px;
}

.library-detail-supervision-title {
  font-size: 15px;
  font-weight: bold;
  color: #ff6633;
  padding: 0 0 8px;
  margin: 0;
  border-bottom: 1px dotted #c99c7d;
}

.library-detail-supervision-text {
  margin-top: 7px;
  position: relative;
}

.library-detail-supervision-thumb {
  width: 90px;
}

.library-detail-supervision-name {
  font-size: 15px;
  font-weight: bold;
  color: #6e401a;
  position: absolute;
  margin: 0;
  padding: 0;
  left: 100px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.library-detail-supervision-lead {
  margin-top: 10px;
  font-size: 14px;
  padding: 0;
}

.library-detail-sick {
  margin-top: 28px;
}

.library-detail-sick-list {
  padding: 0;
  margin: 12px auto 0;
  border: 1px solid #f2cdb3;
  border-radius: 2px;
  list-style: none;
}

.library-detail-sick-list li {
  background-color: #fff5ee;
  border-top: 1px solid #f2cdb3;
  margin: 0;
  padding: 0;
}

.library-detail-sick-list li:first-child {
  border-top: none;
}

.library-detail-sick-list li a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #6e401a;
  padding: 6px 6px 6px 34px;
  position: relative;
}

.library-detail-sick-list li a:before {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  background: url("/s/pet/img/library/icon_library_arrow_02.png") no-repeat center center;
  background-size: 17px 17px;
  top: 8px;
  left: 9px;
}

.library-detail-section {
  margin-top: 40px;
}

.library-detail-section-02 {
  margin-top: 16px;
}

.library-detail-anchor + .library-detail-section-02 {
  margin-top: 18px;
}

.library-detail-section-02 + .library-detail-section-02 {
  margin-top: 40px;
}

.library-detail-section-item + .library-detail-section-item {
  margin-top: 25px;
}

.library-detail-table {
  width: 100%;
}

.library-detail-table thead tr th {
  background-color: #fff5ee;
  font-weight: bold;
}

.library-detail-table thead tr th:nth-child(1) {
  text-align: left;
  width: 166px;
}

.library-detail-table thead tr th:nth-child(2) {
  width: 40px;
  text-align: center;
}

.library-detail-table thead tr th:nth-child(3) {
  width: 80px;
  text-align: right;
}

.library-detail-table tbody tr td:nth-child(2) {
  text-align: center;
}

.library-detail-table tbody tr td:nth-child(3) {
  text-align: right;
}

.library-detail-table tbody .total td {
  padding: 8px 7px;
  text-align: center;
  color: #ff6633;
  font-weight: bold;
}

.library-detail-table tbody .total td .price {
  font-size: 25px;
  padding-left: 6px;
}

.library-detail-table th,
.library-detail-table td {
  border: 1px solid #dcdcdc;
  color: #6e401a;
  font-size: 12px;
  line-height: 1.33333;
  padding: 6px 7px;
  vertical-align: middle;
}

.library-detail-cv {
  margin: 18px auto 0;
  padding: 24px 0 0;
}

.library-detail-cv-inner {
  padding: 18px 12px 12px;
  background: url("/s/pet/img/library/bg_library_cv.png") repeat center center;
  background-size: 320px;
  position: relative;
}

.library-detail-cv-inner:before {
  content: '';
  display: block;
  background: url("/s/pet/img/library/icon_library_cv.png") no-repeat center center;
  background-size: 84px 32px;
  width: 84px;
  height: 32px;
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.library-detail-cv-title {
  font-size: 17px;
  line-height: 1.29412;
  font-weight: bold;
  color: #0066cc;
  padding: 0;
  margin: 0;
  text-align: center;
  background: transparent;
}

.library-detail-cv-title span {
  display: block;
}

.library-detail-cv-title span:first-child:before, .library-detail-cv-title span:first-child:after {
  content: '';
  display: inline-block;
  vertical-align: top;
  width: 17px;
  height: 22px;
}

.library-detail-cv-title span:first-child:before {
  background: url("/s/pet/img/library/icon_library_hdg_01.png") no-repeat center 2px;
  background-size: 17px 14px;
  margin-right: 4px;
}

.library-detail-cv-title span:first-child:after {
  margin-left: 4px;
}

.library-detail-cv-lead {
  font-size: 11px;
  font-weight: bold;
  color: #6e401a;
  margin: 6px -12px 0;
  text-align: center;
  padding: 0;
}

.library-detail-cv-btns {
  border-radius: 5px;
  background: #ffffff;
  overflow: hidden;
  padding: 12px;
  margin: 12px auto 0;
}

.library-detail-cv-btn {
  display: block;
  width: 100%;
}

.library-detail-cv-btn + .library-detail-cv-btn {
  margin-top: 10px;
}

.library-detail-cv-btn img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.library-detail-about {
  margin-top: 4px;
  padding: 12px;
}

.library-detail-about-title {
  font-size: 14px;
  color: #0066cc;
  font-weight: bold;
  text-align: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.library-detail-about-title:before, .library-detail-about-title:after {
  content: '';
  display: inline-block;
  vertical-align: top;
  width: 8px;
  height: 14px;
}

.library-detail-about-title:before {
  background: url("/s/pet/img/library/icon_library_before_01.png") no-repeat center 2px;
  background-size: 8px 14px;
  width: 8px;
  height: 18px;
  margin-right: 4px;
}

.library-detail-about-title:after {
  background: url("/s/pet/img/library/icon_library_after_01.png") no-repeat center 2px;
  background-size: 8px 14px;
  width: 8px;
  height: 18px;
  margin-left: 4px;
}

.library-detail-about-subtitle {
  font-size: 14px;
  font-weight: bold;
  margin: 8px auto 0;
  padding: 0;
  text-align: center;
}

.library-detail-about-lead {
  margin: 18px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.66667;
  width: 75%;
}

.library-detail-about-link {
  font-size: 14px;
  font-weight: bold;
  color: #6e401a;
  display: block;
  padding: 9px 9px 9px 27px;
  border-radius: 5px;
  border: 1px solid #f2cdb3;
  background-color: #fff5ee;
  position: relative;
}

.library-detail-about-link:before {
  content: '';
  display: block;
  background: url("/s/pet/img/library/icon_library_arrow_02.png") no-repeat center center;
  background-size: 17px 17px;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 9px;
  left: 5px;
}

.library-detail-about-link-wrapper {
  margin: 10px auto 0;
  position: relative;
}

.library-detail-about-link-wrapper:after {
  content: '';
  display: block;
  background: url("/s/pet/img/library/img_library_people_01.png") no-repeat center center;
  background-size: 33px 76px;
  width: 33px;
  height: 76px;
  position: absolute;
  right: 28px;
  top: -76px;
}

.library-detail-compensation {
  margin-top: 32px;
  padding: 16px;
  background-color: #fff5ed;
  border: none;
  letter-spacing: normal;
  border-radius: 6px;
}

.library-detail-compensation .compensation-title {
  padding: 6px 0 10px;
  text-align: center;
  border-bottom: 2px dotted #f58d40;
  background: none;
  margin: 0;
  color: #333333;
}

.library-detail-compensation .compensation-title-main {
  display: block;
  font-size: 18px;
}

.library-detail-compensation .compensation-title-sub {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.library-detail-compensation .compensation-title-sub::before {
  content: "";
  display: inline-block;
  vertical-align: top;
  width: 20px;
  height: 20px;
  background: url("/img/pet/library/icon_library_before_02.png") no-repeat center center;
  background-size: 14px 13px;
}

.library-detail-compensation .compensation-title-sub::after {
  content: "";
  display: inline-block;
  vertical-align: top;
  width: 20px;
  height: 20px;
  background: url("/img/pet/library/icon_library_after_02.png") no-repeat center center;
  background-size: 14px 13px;
}

.library-detail-compensation .compensation-column {
  width: 100%;
  margin: 16px auto 0;
}

.library-detail-compensation .compensation-thumb {
  width: 100%;
  font-size: 0;
  text-align: center;
}

.library-detail-compensation .compensation-thumb-image {
  max-width: 207px;
}

.library-detail-compensation .compensation-content {
  width: 100%;
  margin: 20px auto 0;
}

.library-detail-compensation .compensation-content-text {
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.library-detail-compensation .compensation-content-note {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  font-size: 12px;
  padding: 0;
  margin: 12px auto 0;
}

.library-detail-compensation .compensation-content-note-icon {
  width: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  margin-right: 6px;
}

.library-detail-compensation .compensation-content-note-text {
  width: 12px;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
