﻿/* ============================================
    全体
============================================ */
.breadcrumb {
    padding-bottom: 70px;
}

/* ============================================
    MV
============================================ */

.mv {
    background: url("../images/company/mv_sp.jpg") center / cover no-repeat;
}

/* ============================================
    代表あいさつ（greeting）
============================================ */

.section_content--greeting {
    padding: 0 0 65px;
}

.section_content--greeting .section_space {
    width: 100%;
}

.cmp_greeting_title {
    font-size: 28px;
    font-weight: 400;
    font-family: var(--sub-font);
    line-height: calc(44 / 28);
    color: var(--text-color);
    padding: 0 20px;
    margin-bottom: 25px;
}

.cmp_greeting_title_shadow {
    display: none;
}

.cmp_greeting_visual {
    width: 100%;
    height: 375px;
    margin: 0 auto 25px;
}

.cmp_greeting_video {
    width: 100%;
    height: 100%;
}

.cmp_greeting_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
    display: block;
    background: #E8E8E8;
    filter: drop-shadow(0px 0px #000);
}

.cmp_greeting_text {
    padding: 0 20px;
}

.cmp_greeting_text p {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(40 / 16);
    color: var(--text-color);
}

/* ============================================
    代表あいさつ（message）
============================================ */

.section_content--message {
    padding: 0 0 65px;
}

.section_content--message .section_space {
    position: relative;
    width: 100%;
}

.section_content--message .content_box {
    position: relative;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.section_content--message .section_space::after {
    content: "";
    position: absolute;
    bottom: 80px;
    right: -20px;
    width: 190px;
    height: 186px;
    background: url("../images/company/company_logo.png") center / cover no-repeat;
    pointer-events: none;
}

/* --- 見出し --- */

.cmp_heading {
    margin-bottom: 40px;
}

.cmp_title {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(30 / 20);
    font-family: var(--sub-font);
    margin-bottom: 3px;
}

.cmp_subtitle {
    font-size: 14px;
    font-weight: 400;
    font-family: var(--point-font);
    color: #6D6D6D;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cmp_subtitle::before {
    content: "";
    background: #6D6D6D;
    width: 11px;
    height: 1px;
}

.cmp_heading.is_white .cmp_title,
.cmp_heading.is_white .cmp_subtitle {
    color: #fff;
}

.cmp_heading.is_white .cmp_subtitle::before {
    background: #fff;
}

/* --- スライダー --- */

.msg_slider {
    margin-bottom: 40px;
}

.msg_slider .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
}

.msg_slider .swiper-slide img {
    width: 100%;
    height: clamp(13.75rem, 0.596rem + 56.12vw, 27.5rem);
    object-fit: cover;
    display: block;
}

.msg_slider .swiper-pagination {
    position: relative;
    margin-top: 15px;
    --swiper-pagination-bullet-horizontal-gap: 8px;
}

.msg_slider .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    background: #525252;
    border-radius: 0;
    opacity: 0.4;
}

.msg_slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* --- 本文 --- */

.msg_text {
    margin-bottom: 30px;
}

.msg_text p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(28 / 16);
}

.msg_text p:not(:last-child) {
    margin-bottom: 25px;
}

/* --- 署名 --- */

.msg_sign {
    width: fit-content;
    margin-left: auto;
}

.msg_role {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(26 / 14);
    margin-bottom: 5px;
}

.msg_name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    line-height: calc(28 / 18);
}

/* ============================================
    トラスト犬の紹介
============================================ */

.section_content--dogs {
    background: url("../images/common/ui-bk_bg_sp.jpg") center / cover repeat;
    padding: 65px 0 200px;
    position: relative;
}

/* --- 犬カード（共通） --- */

.dog_list {
    display: flex;
    flex-direction: column;
    gap: 55px;
}

.dog_card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- スライダー（共通） --- */

.dog_main {
    border-radius: 6px;
    overflow: hidden;
}

.dog_main .swiper-slide img {
    width: 100%;
    height: clamp(13.75rem, 0.596rem + 56.12vw, 27.5rem);
    object-fit: cover;
    display: block;
}

.dog_thumbs_wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.dog_thumbs {
    flex: 1;
    min-width: 0;
}

.dog_thumbs .swiper-slide {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.dog_thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.dog_thumbs .swiper-slide img {
    width: 100%;
    height: clamp(4.375rem, 0.19rem + 17.86vw, 8.75rem);
    object-fit: cover;
    border-radius: 6px;
}

.dog_thumbs_prev,
.dog_thumbs_next {
    width: 15px;
    height: 15px;
    background: url("../images/common/pagination_arrows.png") center / contain no-repeat;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
    filter: brightness(0) invert(1);
}

.dog_thumbs_next {
    transform: scaleX(-1);
}

/* --- プロフィール（共通） --- */

.dog_profile {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.dog_profile_row {
    display: flex;
    gap: 15px;
    padding: 0 0 3px;
    border-bottom: 1px solid #CDCDCD;
    font-size: 14px;
    color: #fff;
    line-height: calc(26 / 14);
}

.dog_profile_row dt {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.dog_profile_row dd {
    flex: 1;
}

/* --- ひとこと（共通） --- */

.dog_comment {
    margin-top: 25px;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}

.dog_comment_label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.dog_paw_icon {
    width: 16px;
    height: 16px;
}

.dog_card:hover .dog_paw_icon {
    animation: pawShake 0.5s ease;
}

@keyframes pawShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-15deg) scale(1.1);
    }

    40% {
        transform: rotate(12deg) scale(1.15);
    }

    60% {
        transform: rotate(-10deg) scale(1.1);
    }

    80% {
        transform: rotate(8deg);
    }
}

.dog_comment p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(26 / 14);
}

/* --- CTA --- */

.dog_cta {
    text-align: center;
    margin-top: 25px;
}

.dog_cta p {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: calc(28 / 16);
    margin-bottom: 25px;
}

.dog_insta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background: #fff;
    line-height: 1;
    font-family: var(--sub-font);
}

/* --- 足跡デコ --- */

.dog_paw_deco {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 140px;
    height: 160px;
    pointer-events: none;
}

.dog_paw {
    position: absolute;
    width: 18px;
    opacity: 0;
}

.dog_paw img {
    width: 100%;
    height: auto;
    display: block;
}

/* 左下→右上へ歩く配置（SP） */
.dog_paw--1 {
    bottom: 25%;
    left: 0;
}

.dog_paw--2 {
    bottom: 25%;
    left: 35%;
}

.dog_paw--3 {
    bottom: 49%;
    left: 20%;
}

.dog_paw--4 {
    bottom: 37%;
    left: 60%;
}

.dog_paw--5 {
    bottom: 55%;
    left: 45%;
}

.dog_paw--6 {
    bottom: 60%;
    left: 80%;
}

/*
    ループアニメーション
    全体 6s = 出現バウンド(0-12%) → 表示キープ(12-70%) → フェードアウト(70-85%) → 非表示(85-100%)
    各肉球を0.5s(≒8.3%)ずつずらして順番に出現
*/
.dog_paw.is-active {
    animation: pawLoop 6s ease infinite;
}

.dog_paw--1.is-active {
    animation-delay: 0s;
}

.dog_paw--2.is-active {
    animation-delay: 0.5s;
}

.dog_paw--3.is-active {
    animation-delay: 1.0s;
}

.dog_paw--4.is-active {
    animation-delay: 1.5s;
}

.dog_paw--5.is-active {
    animation-delay: 2.0s;
}

.dog_paw--6.is-active {
    animation-delay: 2.5s;
}

@keyframes pawLoop {
    0% {
        opacity: 0;
        transform: scale(0) translateY(-30px);
    }

    8% {
        opacity: 1;
        transform: scale(1.25) translateY(0);
    }

    12% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    70% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    85% {
        opacity: 0;
        transform: scale(0.8) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0) translateY(-30px);
    }
}

/* ============================================
    会社概要
============================================ */

.section_content--profile {
    padding: 65px 0 150px;
}

/* --- テーブル --- */

.profile_table {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile_row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid #CDCDCD;
    padding-bottom: 3px;
}

.profile_row dt {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    line-height: calc(28 / 16);
}

.profile_row dd {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(28 / 16);
}

.profile_row dd a {
    color: var(--text-color);
}

/* --- 地図 --- */

.profile_map {
    margin-top: 10px;
}

.profile_map iframe {
    width: 100%;
    height: 200px;
}

/* ============================================
    PC
============================================ */

@media (min-width: 768px) {

    /* --- MV・パンくず --- */

    .mv {
        background: url("../images/company/mv.jpg") center / cover no-repeat;
    }

    .breadcrumb {
        padding-bottom: 120px;
    }

    /* --- 代表あいさつ（greeting） --- */

    .section_content--greeting {
        padding: 0 0 120px;
    }

    .section_content--greeting .section_space {
        max-width: 100%;
    }

    .cmp_greeting {
        max-width: 75%;
        margin-left: auto;
        position: relative;
    }

    .cmp_greeting_visual {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 597px;
        margin: 0;
    }

    .cmp_greeting_title {
        position: absolute;
        top: 40px;
        left: -75px;
        z-index: 1;
        font-size: clamp(2.625rem, 1.958rem + 1.39vw, 3.625rem);
        line-height: calc(88 / 58);
        margin-bottom: 0;
        padding: 0;
    }

    .cmp_greeting_title_shadow {
        display: block;
        color: var(--text-color);
    }

    .cmp_greeting_title_main {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        clip-path: inset(0 0 0 75px);
    }

    .cmp_greeting_text {
        position: absolute;
        top: 220px;
        left: 40px;
        z-index: 1;
        max-width: 350px;
        padding: 0;
        text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.35);
    }

    .cmp_greeting_text p {
        color: #fff;
        font-size: clamp(0.875rem, 0.708rem + 0.35vw, 1.125rem);
        font-weight: 500;
        line-height: calc(42 / 18);
    }

    /* --- 代表あいさつ（message） --- */

    .section_content--message {
        padding: 0 20px 80px;
    }

    .section_content--message .section_space {
        max-width: 100%;
    }

    .section_content--message .content_box {
        max-width: 878px;
        margin: 0 auto;
    }

    .section_content--message .section_space::after {
        width: 328px;
        height: 321px;
    }

    .cmp_heading {
        margin-bottom: 50px;
    }

    .cmp_title {
        font-size: 24px;
        line-height: calc(36 / 24);
    }

    .cmp_subtitle {
        font-size: 16px;
    }

    .cmp_subtitle::before {
        width: 20px;
    }

    /* --- スライダー PC --- */

    .msg_slider {
        max-width: 635px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .msg_slider .swiper-pagination-bullet {
        width: 50px;
        height: 3px;
    }

    .msg_slider .swiper-slide img {
        height: 357px;
    }

    .msg_slider .swiper-pagination {
        margin-top: 30px;
        --swiper-pagination-bullet-horizontal-gap: 4px;
    }

    /* --- 本文 PC --- */

    .msg_body {
        position: relative;
    }

    .msg_text {
        margin-bottom: 40px;
    }

    /* --- 署名 PC --- */

    .msg_role {
        font-size: 16px;
        line-height: calc(28 / 16);
    }

    .msg_name {
        font-size: 20px;
        line-height: calc(30 / 20);
    }

    /* --- トラスト犬の紹介 --- */

    .section_content--dogs {
        background: url("../images/common/ui-bk_bg.jpg") center / cover repeat;
        padding: 80px 20px;
    }

    .section_content--dogs .content_box {
        max-width: 817px;
        margin: 0 auto;
        position: relative;
    }

    .dog_list {
        gap: 70px;
    }

    .dog_card {
        flex-direction: row;
        gap: 30px;
        align-items: flex-start;
    }

    .dog_main .swiper-slide img {
        height: 289px;
    }

    .dog_thumbs .swiper-slide img {
        height: auto;
    }

    .dog_media {
        flex: 1 1 50%;
        max-width: 427px;
        flex-shrink: 0;
    }

    .dog_info {
        flex: 1;
    }

    .dog_profile {
        gap: 8px;
    }

    .dog_profile_row {
        padding: 0;
    }

    .dog_comment {
        margin-top: 20px;
    }

    .dog_comment_label {
        margin: 0;
    }

    .dog_thumbs_prev,
    .dog_thumbs_next {
        transition: opacity 0.3s ease;
    }

    .dog_thumbs_prev:hover,
    .dog_thumbs_next:hover {
        opacity: 0.6;
    }

    .dog_cta {
        margin-top: 50px;
    }

    .dog_cta p {
        margin-bottom: 15px;
    }

    .dog_insta_btn {
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .dog_insta_btn:hover {
        background: var(--accent-color);
        color: #fff;
    }

    .dog_paw_deco {
        bottom: -40px;
        width: 180px;
        height: 210px;
    }

    .dog_paw {
        width: 23px;
    }

    /* 左下→右上へ歩く配置（SP） */
    .dog_paw--1 {
        bottom: 25%;
        left: 0;
    }

    .dog_paw--2 {
        bottom: 20%;
        left: 35%;
    }

    .dog_paw--3 {
        bottom: 41%;
        left: 20%;
    }

    .dog_paw--4 {
        bottom: 30%;
        left: 60%;
    }

    .dog_paw--5 {
        bottom: 55%;
        left: 45%;
    }

    .dog_paw--6 {
        bottom: 50%;
        left: 80%;
    }

    /* --- 会社概要 --- */

    .section_content--profile {
        padding: 80px 20px 150px;
    }

    .section_content--profile .content_box {
        max-width: 878px;
    }

    .profile_table {
        gap: 40px;
    }

    .profile_row {
        flex-direction: row;
        gap: 0;
    }

    .profile_row dt {
        width: 200px;
        flex-shrink: 0;
    }

    .profile_row dd {
        flex: 1;
    }

    .profile_map iframe {
        height: 371px;
    }

}
