@charset "UTF-8";

@media screen and (min-width: 768px) {
    :root {
        --fs-24: 24px;
        --fs-20: 20px;
        --fs-18: 18px;
        --fs-16: 16px;
        --fs-14: 14px;
        --fs-12: 12px;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --fs-30: 30px;
        --fs-24: 24px;
        --fs-20: 20px;
        --fs-18: 18px;
        --fs-16: 16px;
        --fs-14: 14px;
        --fs-12: 12px;
    }
}

img {
    width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}

/************
* scroll page top
************/
.pTop {
    text-align: right;
    margin: 40px auto 0;
    padding: 0;
    width: min(100%, 1000px);
}
.pTop a{
    display: inline-block;
    padding: 4px 16px 4px 32px;
    position: relative;
    color: #FFF;
    background: #393231;
    border-radius: 5px 5px 0 0;
    font-size:14px;
    text-decoration: none;
}

.pTop a::after {
    position: absolute;
    top: 50%;
    left: 14px;
    display: block;
    content: '';
    width: 4px;
    height: 4px;
    margin-top: -1px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* フッター */
/* 商品詳細に表示されている一覧へのリンクを非表示にする */
.catePrev {
    display: none;
}

/* 上書き */
#detailWrap {
    padding: 16px 0 60px;
}

@media screen and (min-width: 768px) {
    .aphd2025-footer {
        border-top: 1px solid #393231;
        border-bottom: 10px solid #393231;
        font-size: var(--fs-14);
    }

    .aphd2025-footer__inner {
        position: relative;
        display: flex;
        width: min(100%, 1000px);
        margin: 0 auto;
        padding: 20px;
    }

    .aphd2025-footer-left {
        border-right: 1px solid #D5D5D5;
        padding: 30px 30px 30px 0;
        width: 60%;
    }

    .aphd2025-footer-left__aphd2025 {
        padding-bottom: 18px;
        margin-left: 30px;
    }

    .aphd2025-footer-left__aphd2025 > img {
        width: min(456px, 100%);
    }

    .aphd2025-footer-left__gp {
        display: flex;
        gap: 10px;
        margin-left: 40px;
    }

    .aphd2025-footer-left__gp__image {
        width: 23%;
    }

    .aphd2025-footer-center {
        width: 40%;
        padding: 30px;
        font-size: var(--fs-12);
    }
    .aphd2025-footer-center a{
        color:#393231;
        text-decoration: none;
    }
    .aphd2025-footer-center a:hover{
        opacity: 0.6;
    }

    .aphd2025-footer-center__note {
    }

    .aphd2025-footer-center__inquiry {
        display: flex;
        margin: 20px 0;
        background-color: #D5D5D5;
        border-radius: 5px;
        padding: 10px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .aphd2025-footer-center__inquiry__image {
        width: 10%;
    }

    .aphd2025-footer-right {
        width: 32%;
        font-size: var(--fs-12);
        padding: 30px 0 30px 30px;
    }

    .aphd2025-footer-right__title {
        font-size: var(--fs-14);
    }

    .aphd2025-footer-right__phone {
        font-size: var(--fs-24);
    }
}

/* mobile */
@media screen and (max-width: 767px) {
    .pTop a{
        margin-right:10px;
    }

    .aphd2025-footer {
        border-top: 1px solid #393231;
        border-bottom: 10px solid #393231;
        font-size: var(--fs-14);
    }

    .aphd2025-footer__inner {
        position: relative;
        display: flex;
        margin: 0 auto;
        padding: 16px;
        flex-direction: column;
        align-items: center;
    }

    .aphd2025-footer-left {
        padding: 10px;
    }

    .aphd2025-footer-left__aphd2025 {
        padding-bottom: 18px;
        width: min(100%, 280px);
        margin: auto;
        text-align: center;
    }

    .aphd2025-footer-left__aphd2025 > img {
        width: min(456px, 100%);
    }

    .aphd2025-footer-left__gp {
        display: flex;
        gap: 5px;
        align-items: center;
        flex-direction: column;
        margin-left: 0;
    }

    .aphd2025-footer-left__gp__image {
        width: min(50%, 150px);
    }

    .aphd2025-footer-center {
        font-size: var(--fs-12);
    }

    .aphd2025-footer-center a{
        color:#393231;
        text-decoration: none;
    }

    .aphd2025-footer-center__note {
        text-align: center;
    }

    .aphd2025-footer-center__inquiry {
        display: flex;
        margin: 20px 0;
        background-color: #D5D5D5;
        border-radius: 5px;
        padding: 10px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .aphd2025-footer-center__inquiry__image {
        width: 10%;
    }

    .aphd2025-footer-right {
        font-size: var(--fs-12);
        text-align: center;
    }

    .aphd2025-footer-right__title {
        font-size: var(--fs-14);
    }

    .aphd2025-footer-right__phone {
        font-size: var(--fs-30);
    }
}
