/* 商品ページ用の追加 CSS（customize.css の後に読み込む） */

/* 左カラムのカテゴリ・タブなど、リンクを選択（クリック）したときに出る枠線を消す */
.ec-layoutRole a:focus,
.ec-layoutRole a:active,
.ec-layoutRole a:focus-visible,
.ec-layoutRole button:focus,
.ec-layoutRole select:focus {
    outline: none;
    box-shadow: none;
}

/* 404 ページ（ページが見つかりません） */
.wkp-notfound {
    padding: 60px 20px 80px;
    text-align: center;
}

.wkp-notfound__code {
    margin: 0;
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    color: #d6c9bb;
    letter-spacing: 0.05em;
}

.wkp-notfound__title {
    margin: 20px 0 16px;
    font-size: 22px;
    font-weight: bold;
}

.wkp-notfound__text {
    margin: 0 0 32px;
    line-height: 1.9;
}

.wkp-notfound__btn a {
    display: inline-block;
    min-width: 240px;
    padding: 14px 32px;
    background: #d35b28;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.wkp-notfound__btn a:hover {
    opacity: 0.85;
    color: #fff;
}

@media (max-width: 767px) {
    .wkp-notfound {
        padding: 40px 10px 60px;
    }

    .wkp-notfound__code {
        font-size: 56px;
    }

    .wkp-notfound__title {
        font-size: 18px;
    }
}

/* ヘッダーのメニュー（取扱商品のタイル）など、ページ全体のリンクをクリックしたときの枠線を消す。
   原因: 商品ページだけが読み込む Bootstrap 3 の a:focus { outline: auto }。ルートサイトには影響しない。 */
body.product_page a:focus,
body.product_page a:active,
body.product_page a:focus-visible,
body.product_page button:focus,
body.product_page button:focus-visible,
body.product_page [tabindex]:focus,
body.product_page [tabindex]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
