@import url('https://fonts.googleapis.com/css?family=Pacifico');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');

body {
    color: #000;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    letter-spacing: 0.1em;
    line-height: 1.5;
    width: 100%;
    min-width: 1300px;
    overflow-x: hidden;
    background: #FFFDF8;
}

a {
    color: #5ca53b;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
    color: #ff9d2e;
}

a:hover img {
    opacity: 0.7;
}

#container .inner {
    width: 1300px;
    margin: 0 auto;
}

.contentIn {
    background: #FFFDF8 !important;
    padding: 40px 0 30px !important;
}

#content {
    width: 1300px;
    margin: 0 auto;
    position: relative;
}

#main {
    width: 850px;
    float: left;
}

#side {
    width: 400px;
    float: right;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
}

/* --- ヘッダー・スライド周り --- */
.headerIn {
    position: relative;
    width: 100%;
    min-width: 1300px;
    background: #FFFDF8 !important;
}

header {
    margin: 0 auto;
    display: table;
    width: 100%;
}

header .siteTtlIn {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 30px 40px !important;
    position: relative;
    z-index: 99;
}

header .siteTtlIn h1 {
    display: inline-block;
    position: relative;
    z-index: 100;
    padding: 15px 30px;
}

header .siteTtlIn h1:before {
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #fff;
    background: url(https://assets.toriaez.jp/thp2/pc/images/205/img-siteTtl_001.png) center top no-repeat;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: -70px;
}

header .siteTtlIn h1:after {
    width: 100%;
    height: 6px;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -6px;
    border-top: 2px solid #fff;
    border-bottom: 1px solid #fff;
}

header .siteTtlIn h1 a {
    text-decoration: none;
    color: #fff;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    font-size: 3.57em;
    position: relative;
    line-height: 1.5;
    letter-spacing: 0;
    display: block;
    max-height: 410px;
    overflow: hidden;
}

header .siteTtlIn h1 a:before,
header .siteTtlIn h1 a:after {
    content: "";
    display: block;
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    margin-top: -5px;
}

header .siteTtlIn h1 a:before { left: -40px; }
header .siteTtlIn h1 a:after { right: -40px; }
header .siteTtlIn h1 a img { max-width: 600px; height: auto; }
header .siteTtlIn h1 a:hover { color: #ff4747; }

.headerIn.slide {
    background: none;
}

.headerIn.slide header {
    height: 584px;
}

.headerIn.slide .siteTtlIn {
    background: none !important;
}

.headerIn.slide .siteTtlIn h1 {
    display: none !important;
}

/* ★パソコン版でのスライド右寄り現象の修正用 */
.mainSlideIn {
    position: absolute;
    top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 1402px;
    width: 100%;
    max-width: 100% !important;
    height: 584px !important;
    overflow: hidden;
    margin-bottom: 0;
}

.bx-wrapper {
    max-width: 100% !important;
}

#mainSlide li {
    position: relative;
    background: transparent !important;
    overflow: hidden;
    height: 584px !important;
}

#mainSlide li img {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
}

.bx-wrapper .bx-pager {
    padding-top: 0 !important;
    bottom: 15px !important;
    z-index: 10;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: #8e8d8d;
    text-indent: -9999px;
    display: block;
    width: 6px;
    height: 6px;
    margin: 0 4px;
    outline: 0;
    border-radius: 3px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #ff4747;
    opacity: 1;
}

.bx-wrapper .bx-controls-direction a {
    margin: 0;
    top: 50%;
    margin-top: -40px;
}

.bx-wrapper .bx-prev {
    width: 41px;
    height: 80px;
    background: url(https://assets.toriaez.jp/thp2/pc/images/205/btn-slider_001.png);
    left: 60px;
}

.bx-wrapper .bx-next {
    width: 40px;
    height: 78px;
    background: url(https://assets.toriaez.jp/thp2/pc/images/205/btn-slider_002.png);
    right: 60px;
}

.headerIn.noSlide {
    padding-bottom: 30px !important;
}

.headerIn.noSlide header {
    padding: 20px 0 10px !important;
}

/* --- メイン案内カード --- */
.mainImgIn {
    position: relative;
    margin: 40px auto 0 !important;
    padding: 20px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    width: 970px;
}

.mainImgIn:before,
.mainImgIn:after {
    display: none !important;
}

.mainImgIn .inner {
    display: table;
    width: 100% !important;
    color: #444 !important;
    text-align: center;
    font-weight: normal;
    padding: 10px 20px;
    background: #fff !important;
    position: relative;
    height: auto !important;
}

.mainImgIn .inner:before,
.mainImgIn .inner:after {
    display: none !important;
}

.mainImgIn .inner #mainImg {
    width: 365px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.mainImgIn .inner #mainImg img {
    border: none !important;
    border-radius: 20px;
}

.mainImgIn .inner #leadTxt {
    display: table-cell;
    vertical-align: middle;
    padding: 0 50px 0 70px;
    font-weight: normal;
    line-height: 2.14em;
}

/* --- ナビゲーションメニュー --- */
nav {
    background: #8ED973 !important;
}

nav ul {
    letter-spacing: -0.40em;
    text-align: center;
    margin: 0 -15px;
    padding: 15px 0 0 !important;
    font-size: 1em;
    line-height: 1;
}

nav ul li.parent {
    letter-spacing: 0.1em;
    display: inline-block;
    margin: 0 15px 15px !important;
    position: relative;
}

nav ul li.parent:last-child {
    border-right: none;
}

nav ul li.parent > a {
    color: #fff !important;
    text-decoration: none;
    padding: 12px 0 !important;
    display: block;
    min-width: 170px;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    border-radius: 30px;
    transition: 0.3s;
}

nav ul li.parent > a:hover {
    background: #FFA84A;
    color: #fff !important;
}

nav ul li.parent > a:hover:before,
nav ul li.parent > a:hover:after {
    display: none !important;
}

nav .child {
    position: absolute;
    letter-spacing: 0;
    left: 50%;
    margin-left: -115px;
    width: 230px;
    text-align: center;
    padding: 0;
    display: none;
    z-index: 10;
    padding-top: 24px;
}

nav .child li {
    background: #8ED973;
}

nav .child li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 15px 10px;
    position: relative;
}

nav .child li a:hover {
    background: #FFA84A;
    color: #fff;
}

/* --- お知らせ（ニュース欄） --- */
.newsIn {
    position: relative;
    padding-bottom: 40px !important;
    margin-bottom: 40px !important;
}

.newsIn:after {
    display: none !important;
}

#news .newsTtl {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

#news .newsTtl span {
    display: inline-block;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    line-height: 1;
    font-size: 34px;
    padding: 15px 40px;
    width: 300px !important;
    background: #8ED973;
    color: #fff;
    border: none;
    border-radius: 50px;
    position: relative;
}

#news .newsTtl span:before,
#news .newsTtl span:after {
    display: none;
}

#news ul {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    max-height: 250px;
    height: auto;
    overflow: scroll;
    line-height: 1.3;
    border: none;
    width: 700px !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
}

#news ul li {
    padding: 14px 20px 14px 150px;
    position: relative;
    border-bottom: 1px dotted #000;
}

#news ul .day {
    display: block;
    width: 50px;
    position: absolute;
    left: 0;
    color: #656565;
}

#news dl dd {
    float: left;
    width: 500px;
    padding: 10px 0;
    border-top: 1px dotted #000;
}

/* --- 記事カード（articleBox） --- */
.articleBox {
    background: #fff;
    padding: 20px !important;
    border-radius: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    margin-top: 30px !important;
    border: none;
}

.articleBox:first-child {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.articleBox .contTtl {
    font-size: 1.7em;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px !important;
    margin-bottom: 15px !important;
    color: #5ca53b;
}

.articleBox .contTtl:after {
    display: block;
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background: #FFA84A;
    left: 0;
    bottom: 0;
}

.articleBox .txtArea {
    width: 530px;
    float: left;
}

.articleBox.noImg .txtArea {
    width: auto;
    float: none;
}

.articleBox .txtArea strong {
    font-weight: bold;
}

.articleBox .txtArea p:last-child {
    margin-bottom: 0;
}

.articleBox .imgArea {
    float: right !important;
    width: 33% !important;
    margin-top: 0 !important;
}

.articleBox .imgArea figure {
    margin-bottom: 30px;
}

.articleBox .imgArea figure:last-child {
    margin-bottom: 0;
}

.articleBox .imgArea figure img {
    border: none !important;
    outline: none !important;
    border-radius: 15px;
}

.articleBox .imgArea figure figcaption {
    display: block;
    font-size: 0.85em;
    padding-top: 12px;
    line-height: 1.5;
}

.articleBox::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
}

/* --- テーブル（表設定） --- */
#main .articleBox table {
    width: auto;
    font-size: 1em;
}

.articleBox table {
    border-radius: 15px;
    overflow: hidden;
}

.articleBox table,
.articleBox table td,
.articleBox table th {
    border: 1px solid #000;
}

.articleBox table td,
.articleBox table th {
    text-align: left;
    padding: 10px 15px;
}

table th {
    background: #f5ffe9 !important;
}

.articleBox table th {
    background: #f5ffe9;
}

/* --- お問い合わせボタン --- */
.contactBtn {
    width: 505px;
    margin: 35px auto 0 !important;
}

.contactBtn a {
    display: block;
    background: #FFA84A !important;
    text-decoration: none;
    text-align: center;
    color: #fff;
    line-height: 90px;
    height: 90px;
    font-family: "Yu Gothic", sans-serif;
    font-size: 2.14em;
    border-radius: 50px;
}

.contactBtn a:hover {
    background: #ffb85a !important;
    color: #fff !important;
}

/* --- サイドバー各項目 --- */
#side div {
    margin-bottom: 40px !important;
}

#side div:last-child,
#side h2:last-child {
    margin-bottom: 0;
}

#side .sideTtl {
    font-size: 2.14em;
    color: #fff;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    line-height: 1.2;
    text-align: center;
    font-weight: normal;
    margin-bottom: 15px;
}

#side .sideTtl span {
    display: inline-block;
    position: relative;
}

#side .sideTtl span:before,
#side .sideTtl span:after {
    content: "";
    display: block;
    background: #fff;
    width: 5px;
    height: 5px;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    margin-top: -3px;
}

#side .sideTtl span:before { left: -15px; }
#side .sideTtl span:after { right: -15px; }

#side .sideBox {
    position: relative;
    background: #8ED973 !important;
    border: none !important;
    outline: none !important;
    padding: 0 15px 10px;
    border-radius: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

#side .sideBox:before,
#side .sideBox:after {
    display: none !important;
}

#side #sideCont {
    line-height: 1;
}

#side #sideCont ul {
    border: none;
}

#side #sideCont ul li {
    font-size: 1.143em;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

#side #sideCont ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    padding: 18px 0;
}

#side #sideCont ul li a:hover {
    background: #FFA84A;
    color: #fff;
}

#side #blog { display: none !important; }
#side #mobile { display: none !important; }

/* サイドバーの並び順（フリースペースを一番上へ） */
#side .freeArea { order: 1; }
#side div:not(.freeArea),
#side #sideCont { order: 2; }

/* --- その他共通パーツ --- */
#pageTop {
    position: fixed;
    z-index: 1000;
    right: 18px;
    bottom: 25px;
    display: none;
}

#pageTop a {
    display: block;
    width: 38px;
    height: 34px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: url(https://assets.toriaez.jp/thp2/pc/images/205/btn-pageTop_001.png);
}

footer {
    background: #8ED973;
}

footer .copy {
    width: 1200px;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    line-height: 1.2;
    padding: 40px 0 !important;
    font-size: 0.857em;
}

.freeArea {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

#main .freeArea {
    margin-top: 55px;
}

/* --- 下層・他ページ設定 --- */
#page .headerIn {
    display: block !important;
    padding: 0 !important;
}

#page .headNav,
#page .siteTtlIn {
    display: none !important;
}

#page .contentIn {
    padding-top: 40px !important;
}

.pageTtl {
    width: 1200px;
    margin: 0 auto 0;
}

.pageTtl h2 {
    font-size: 2.5em;
    line-height: 1.3;
    text-align: center;
    color: #5ca53b;
    font-family: 'Roboto Slab', "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
}

#pnkz {
    letter-spacing: -0.40em;
    text-align: right;
    width: 1200px;
    margin: 0 auto 35px;
    font-size: 0.85em;
}

#pnkz li {
    letter-spacing: 0;
    display: inline-block;
}

#pnkz li:after {
    content: ">";
    margin: 0 10px;
}

#pnkz li:last-child:after {
    display: none;
}

/* --- フォーム・マップ等 --- */
#main.form table,
#main.profile table,
#main.map table {
    border-bottom: 1px solid #000;
    width: 100%;
    margin-bottom: 50px;
}

#main.form table th, #main.form table td,
#main.profile table th, #main.profile table td,
#main.map table th, #main.map table td {
    vertical-align: middle;
    text-align: left;
    border-top: 1px solid #000;
    padding: 25px 20px;
}

#main.form table th,
#main.profile table th,
#main.map table th {
    font-weight: bold;
    padding-right: 0;
}

#main.form .txtBox,
#main.profile .txtBox,
#main.map .txtBox {
    line-height: 1.87;
    margin-bottom: 50px;
}

#main.form .txtBox p,
#main.profile .txtBox p,
#main.map .txtBox p {
    margin-bottom: 30px;
}

#main.form .requiredMark {
    color: #ce0000;
}

#main.form table th {
    width: 270px;
}

#main.form table td {
    height: 80px;
}

#main.form .inputArea {
    background: #f1f1f1;
    line-height: 1;
    padding: 8px 15px;
    border-radius: 2px;
    width: 520px;
    border: 1px solid #ddd;
}

#main.form .inputArea.short {
    width: 200px;
    display: inline-block;
}

#main.form .inputArea input {
    width: 100%;
}

#main.form .inputArea input:focus,
#main.form .inputArea textarea:focus,
#main.form .inputArea button:focus {
    outline: none;
}

#main.form .inputArea textarea {
    width: 100%;
    height: 190px;
    padding: 10px 0;
    line-height: 1.5;
}

#main.form table {
    border-bottom: none;
}

#main.form #submit td {
    text-align: center;
    letter-spacing: -0.40em;
    padding-top: 40px;
}

#main.form #submit input {
    display: inline-block;
    width: 240px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    line-height: 1;
    padding: 18px 0;
    cursor: pointer;
    letter-spacing: 0.1em;
    margin: 0 10px;
    font-size: 1.12em;
}

#main.form #submit input.submitBtn {
    background: #FFA84A !important;
}

#main.form #submit input.resetBtn {
    background: #bbb;
}

#main.form #submit input:hover {
    opacity: 0.7;
}

#main.map #frame {
    margin-bottom: 70px;
}

#main.map #frame iframe {
    width: 890px;
    height: 478px;
}

#side-area img,
#foot-area img,
img {
    max-width: 100%;
    border-radius: 15px;
}

.box ul, .box1 ul, .box2 ul, .box3 ul, .articleBox ul, .entry_box ul, .entryBox ul, .article-box ul, .article ul, .article_box ul {
    list-style-type: disc;
}

.box ol, .box1 ol, .box2 ol, .box3 ol, .articleBox ol, .entry_box ol, .entryBox ol, .article-box ol, .article ol, .article_box ol {
    list-style-type: decimal;
}

.box ul, .box1 ul, .box2 ul, .box3 ul, .articleBox ul, .entry_box ul, .entryBox ul, .article-box ul, .article ul, .article_box ul,
.box ol, .box1 ol, .box2 ol, .box3 ol, .articleBox ol, .entry_box ol, .entryBox ol, .article-box ol, .article ol, .article_box ol {
    margin-left: 18px;
}

/* --- DearPartner 生体個別ページ --- */
.dog-cat-table {
    width: 100% !important;
    max-width: 650px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    margin-bottom: 25px;
}

.dog-cat-table th {
    width: 180px;
    background: #fff6ee;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #f0e0d4;
    vertical-align: middle;
}

.dog-cat-table th img {
    vertical-align: middle;
    margin-right: 8px;
}

.dog-cat-table td {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.dog-cat-table tr:last-child th,
.dog-cat-table tr:last-child td {
    border-bottom: none;
}

.price-box {
    background: linear-gradient(135deg,#fff7ef,#fff0df);
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    text-align: right;
}

.price-main {
    font-size: 42px;
    font-weight: bold;
    color: #ff7a00;
    line-height: 1;
}

.price-tax {
    font-size: 16px;
    color: #666;
}

.price-total {
    font-size: 18px;
    margin-top: 5px;
    color: #444;
}

.loan-box {
    background: #fffaf5;
    border: 2px dashed #ffb266;
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.loan-box strong {
    color: #ff6600;
}

.loan-box .monthly {
    font-size: 34px;
    font-weight: bold;
    color: #ff0000;
}

.sex-male {
    display: inline-block;
    background: #d9f0ff;
    color: #0074d9;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: bold;
}

.sex-female {
    display: inline-block;
    background: #ffe1ef;
    color: #ff1493;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: bold;
}

.youtube-box {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    margin-top: 25px;
    text-align: center;
}

.youtube-box iframe {
    border-radius: 15px;
    overflow: hidden;
}

.dog-cat-info {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    margin-top: 25px;
}

.dog-cat-info h3 {
    font-size: 28px;
    text-align: center;
    color: #4caf50;
    margin-bottom: 20px;
}

.dog-cat-info ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.dog-cat-info ul li {
    background: #f8fff5;
    border: 1px solid #d8f0d2;
    border-radius: 15px;
    padding: 15px;
    width: 220px;
    text-align: center;
}

.notice-box {
    background: #fff8e7;
    border-left: 5px solid #ffb300;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-box {
    background: linear-gradient(135deg,#ffb14a,#ff8c00);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    margin-top: 25px;
    color: #fff;
}

.contact-box a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.contact-box:hover {
    transform: translateY(-2px);
    transition: .3s;
}

.dog-cat-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

/* --- 新レイアウト生体ページ用 --- */
.pet-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.pet-top {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.pet-left, .pet-photo, .pet-right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: none !important;
    box-shadow: none !important;
}

.pet-left { width: 50%; }
.pet-right { width: 50%; }

.pet-name {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px !important;
    padding-bottom: 0 !important;
    color: #3d2a1a;
    line-height: 1.3;
    display: block;
    min-height: 52px;
}

.pet-tags {
    margin-bottom: 20px;
}

.pet-tags span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: #f7efe8;
    margin-right: 10px;
    font-weight: bold;
}

.pet-tags .female { background: #ff6b9b; color: #fff; }
.pet-tags .male { background: #6cb8ff; color: #fff; }

.pet-photo {
    width: 100%;
    border-radius: 25px;
    display: block;
}

.movie-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.movie-box h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #5b432d;
}

.movie-box iframe {
    border-radius: 15px;
    overflow: hidden;
}

.price-card {
    background: #fff;
    border: 2px solid #ffca8a;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    margin-bottom: 25px;
}

.price-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background: #ffb04c;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.price-sub {
    font-size: 30px;
    color: #555;
    margin-top: 20px;
}

.loan {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed #ffd39d;
    font-size: 30px;
    line-height: 1.8;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.info-table th {
    width: 35%;
    padding: 18px;
    background: #fff9f3;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.info-table td {
    padding: 18px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.guarantee {
    margin-top: 40px;
    background: #fff;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.guarantee h2 {
    text-align: center;
    font-size: 42px;
    color: #63b74f;
    margin-bottom: 30px;
}

.guarantee-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.guarantee-grid div {
    flex: 1;
    background: #f7fff2;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

.cost-box {
    margin-top: 25px;
    background: #fff9ea;
    border: 2px solid #ffd98d;
    border-radius: 20px;
    padding: 20px;
    font-size: 18px;
    text-align: center;
}

.contact-area {
    margin-top: 30px;
    text-align: center;
}

.contact-area a {
    display: inline-block;
    background: linear-gradient(135deg,#ffb447,#ff8f00);
    color: #fff;
    text-decoration: none;
    padding: 22px 60px;
    border-radius: 20px;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255,150,0,.25);
}

.contact-area a:hover {
    transform: translateY(-2px);
}

/* --- 強制上書きレイアウト調整 --- */
.pet-tag-wrap {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.pet-main-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 20px !important;
}
.pet-media-col { width: 48% !important; }
.pet-details-col { width: 50% !important; }

.pet-main-photo-wrap { width: 100% !important; margin-bottom: 8px !important; }
.pet-main-photo-wrap img { width: 100% !important; height: auto !important; display: block !important; border-radius: 8px !important; }

.pet-thumb-photos-wrap { display: flex !important; justify-content: space-between !important; gap: 8px !important; width: 100% !important; margin-bottom: 15px !important; }
.pet-thumb-photos-wrap a { width: 50% !important; display: block !important; }
.pet-thumb-photos-wrap img { width: 100% !important; height: auto !important; display: block !important; border-radius: 6px !important; }

.dog-cat-info h3.anshin-title {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #e03e2d !important;
    text-align: center !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    background: none !important;
}
.dog-cat-info h3.anshin-title::after,
.dog-cat-info h3.anshin-title::before {
    display: none !important;
    content: none !important;
}
.zero-text {
    font-size: 46px !important;
    font-weight: 900 !important;
    color: #e03e2d !important;
    margin: 0 4px !important;
    display: inline !important;
}

.dog-cat-info .notice-box {
    max-width: 500px !important;
    margin: 20px auto 0 auto !important;
    width: auto !important;
    display: block !important;
}

/* --- 生体一覧系デザイン共通設定 --- */
.dear-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 14px;
}

.dear-list td {
    border: none;
}

.pet-card {
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    text-align: center;
    vertical-align: top;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    border: 1px solid #f2f2f2;
}

.pet-photo {
    width: 100%;
    display: block;
    border-radius: 18px;
    transition: .25s;
}

.pet-photo:hover {
    transform: scale(1.03);
}

.pet-sex {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.pet-sex.male { background: #dff2ff; color: #1987d2; }
.pet-sex.female { background: #ffe5ef; color: #e84b91; }

.pet-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 16px;
    border: none;
}

.pet-list td {
    width: 33.33%;
    background: #fff;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    text-align: center;
    padding: 10px;
    transition: .25s;
    vertical-align: top;
}

.pet-list td:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.pet-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: .3s;
}

.pet-card:hover img {
    transform: scale(1.08);
}

.pet-list a {
    color: #444;
    text-decoration: none;
}

.pet-list a:hover {
    color: #ff8c00;
}

.pet-list .pet-id {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.pet-list .pet-name {
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}

.pet-image {
    position: relative;
    overflow: hidden;
}

.new-badge {
    position: absolute;
    top: 12px;
    left: -8px;
    background: #ff5a5f;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 20px 20px 0;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.male, .female {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
}

.male { background: #eaf4ff; color: #2d7ff9; }
.female { background: #ffe9f3; color: #ff4f8b; }

.pet-id {
    display: block;
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
    margin-top: 10px;
}

.detail-btn {
    display: block;
    margin-top: 15px;
    padding: 12px;
    background: #ff9f1c;
    color: #fff !important;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: .3s;
}

.detail-btn:hover {
    background: #f57c00;
    transform: scale(1.03);
}

.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #66bb6a;
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

/* --- 新レイアウト：3列/2列整列コンテナ --- 2026.06.30 OK*/
.pet-list-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
}

.pet-list-item {
    width: calc((100% - 40px) / 3) !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer !important;
}

.pet-list-item .pet-image {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.pet-list-item .pet-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
    display: block !important;
}

.pet-list-item .new-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    background: #e03e2d !important;
    color: #fff !important;
    padding: 2px 6px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    z-index: 2 !important;
}

.pet-list-item .pet-id {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 4px !important;
}

.pet-list-item .pet-name {
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
}

.pet-list-item .pet-name a {
    color: #333 !important;
    text-decoration: none !important;
}

.pet-list-item .female {
    color: #e25c80 !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-bottom: 12px !important;
}

.pet-list-item .male {
    color: #3498db !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-bottom: 12px !important;
}

.pet-list-item .detail-btn {
    display: block !important;
    width: 100% !important;
    background: #7dbb55 !important;
    color: #fff !important;
    text-align: center !important;
    padding: 8px 0 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    margin-top: auto !important;
    transition: background 0.2s !important;
}

.pet-list-item .detail-btn:hover {
    background: #6aa347 !important;
}

/* --- ポップアップ画像拡大共通設定 --- */
.popup-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
}

.popup-overlay:target {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.popup-close-layer {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    cursor: default;
}

.popup-content {
    position: relative !important;
    max-width: 90% !important;
    max-height: 85% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.popup-content img {
    max-width: 100% !important;
    max-height: 75vh !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    object-fit: contain !important;
}

.popup-video-box {
    width: 100% !important;
    max-width: 640px !important;
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.popup-close-btn {
    margin-top: 15px !important;
    color: #fff !important;
    background: rgba(255,255,255,0.3) !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.popup-close-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* ==========================================
   レスポンシブ：スマホ表示（max-width: 768px）
========================================== */
@media screen and (max-width: 768px) {
    .dog-cat-table th,
    .dog-cat-table td {
        display: block;
        width: 100%;
    }

    .price-main { font-size: 34px; }
    .dog-cat-info ul li { width: 100%; }

    .pet-top { display: block; }
    .pet-left, .pet-right { width: 100%; }
    .pet-right { margin-top: 20px; }
    .pet-name { font-size: 32px; }
    .monthly { font-size: 42px; }
    .guarantee-grid { display: block; }
    .guarantee-grid div { margin-bottom: 15px; }
    .contact-area a { display: block; font-size: 22px; }

    .pet-main-flex { display: block !important; }
    .pet-media-col { width: 100% !important; margin-bottom: 25px !important; }
    .pet-details-col { width: 100% !important; }
    .movie-card { margin-top: 25px !important; width: 100% !important; }
    
    .price-card { padding: 20px 15px !important; }
    .price-main span { font-size: 20px !important; }
    .price-tax span { font-size: 18px !important; }
    
    .loan-title { margin-top: 5px !important; margin-bottom: 2px !important; }
    .loan-title span { font-size: 16px !important; }
    .loan-sub { margin: 0 !important; line-height: 1.2 !important; }
    .loan-sub span { font-size: 18px !important; }
    .loan-sub span strong { font-size: 28px !important; }
    .loan-price { margin-top: 2px !important; line-height: 1.2 !important; }
    .loan-price span { font-size: 18px !important; }
    .loan-price span strong { font-size: 32px !important; }
    
    .pet-info-table th {
        width: 38% !important;
        padding: 10px 6px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }
    .pet-info-table td {
        width: 62% !important;
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .dog-cat-info h3.anshin-title { font-size: 24px !important; }
    .zero-text { font-size: 38px !important; }
    .dog-cat-info .notice-box { width: 92% !important; box-sizing: border-box !important; }

    .pet-list td { width: 50%; }

    .pet-list-container { gap: 10px !important; }
    .pet-list-item {
        width: calc((100% - 10px) / 2) !important;
        padding: 8px !important;
    }
    .pet-list-item:active {
        transform: scale(0.97) !important;
        opacity: 0.9 !important;
    }
    .pet-list-item .pet-name { font-size: 14px !important; }
    .pet-list-item .detail-btn { font-size: 12px !important; padding: 6px 0 !important; }
}

/* ==========================================
   ホバー演出（min-width: 769px）の切り分け
========================================== */
@media screen and (min-width: 769px) {
    .pet-list-item:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
        border-color: #7dbb55 !important;
    }
}
  /* =================================================
   一覧カードの犬種名と性別ラベルの間の余白調整 2026.06.30 OK
==================================================== */
/* 犬種名自体の下の余白を狭くする */
.pet-list-item h4, 
.pet-list-item .pet-name, 
.pet-list-item [class*="name"] {
    margin-bottom: 3px !important;
    padding-bottom: 0 !important;
}

/* 性別ラベル自体の上の余白を狭くする */
.pet-list-item .female, 
.pet-list-item .male, 
.pet-list-item .pet-tag-wrap, 
[class*="sex"], [class*="gender"] {
    margin-top: 2px !important;
}
/* ID（No.）の下の余白を狭くする */
.pet-list-item .pet-id,
.pet-list-item [class*="id"],
.pet-list-item [class*="no"] {
    margin-bottom: 1px !important;
    padding-bottom: 0 !important;
}