/*-----------------------------
 * productページ　デザイン適用
 * ---------------------------*/

/*オンラインストアへのリンク用ボタン*/

.p-online-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

	width: 220px;
    margin-top: 20px;
    padding: 10px 24px;

    background: #30283D;
    color: #FFFFFF;

    border-radius: 9999px;
    text-decoration: none;

    font-size: 14px;
    letter-spacing: 0.12em;
    line-height: 1;
}

.p-online-store:hover {
    opacity: 0.8;
}

/* カートアイコン*/
.p-online-store__icon {
    width: 28px;
    height: auto;
	filter: brightness(0) invert(1);
}

/*-------------
 * 問い合わせ・購入するボタンのデザイン
 * ------------------------------------*/

/* 2つのボタンを横並び */
.p_detail__main__links ul.p-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 既存テーマのli幅指定をリセット */
.p_detail__main__links ul.p-product-actions > li {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ボタン本体 */
.p_detail__main__links .p-product-action {
    position: relative;

    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 170px;
    padding: 28px 80px 28px 32px;
    box-sizing: border-box;
	background: #55afcc;
	border-radius: 6px;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

/* ボタンテキスト */
.p_detail__main__links .p-product-action__heading p {
    margin: 0;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.p_detail__main__links .p-product-action__heading .jp {
    color: #FFFFFF;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* 右下の白丸 */
.p_detail__main__links .p-product-action__arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #30283D;
    font-size: 18px;
    line-height: 1;
}

/* hover */
.p_detail__main__links a.p-product-action:hover {
    opacity: 0.85;
}

/* オンラインストア取り扱いなし */
.p_detail__main__links .p-product-action__note {
    position: absolute;
    left: 32px;
    bottom: 24px;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1.5;
}

.p-product-action__heading .jp {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.p-product-action__heading .p-online-store__icon {
    width: 28px;
    height: auto;
    flex-shrink: 0;
}

/* --------------------------------
 * 右下固定 ONLINE STORE ボタン
 * -------------------------------- */


.p-fixed-online-store {
    position: fixed;
    right: 24px;
    bottom: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    background: #30283D;
    border-radius: 50%;

    pointer-events: auto;
    text-decoration: none;

    opacity: 1 !important;
    visibility: visible !important;
}

.p-fixed-online-store__icon {
    display: block;
    width: 34px;
    height: auto;

    filter: brightness(0) invert(1);
}

/* SDS・カタログボタン */
.btn-download-pdfs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.btn-download-pdfs .btn-download-sds,
.btn-download-pdfs .btn-download-catalogs {
    width: 100%;
}

/* 文字サイズ */
.btn-download-pdfs .card_white__heading .jp {
    font-size: 20px;
}

@media screen and (max-width: 750px) {

    .p_detail__main__links ul.p-product-actions {
        grid-template-columns: 1fr;
        gap: 16px;

        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .p_detail__main__links ul.p-product-actions > li {
        width: 100%;
    }

    .p_detail__main__links .p-product-action {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 750px) {
    .p_detail__main__links .p-product-action {
        width: calc(100% - 30px);
    }
}