/*
Theme Name: 引張試験ナビ
Theme URI: https://e-optimize.jp/
Author: 株式会社イーオプティマイズ
Author URI: https://e-optimize.jp
Description: Flexible Bootstrap WordPress starter-theme for developers with full WooCommerce support. <a href="https://bootscore.me/category/documentation/" target="_blank">Documentation</a>
Version: 6.3.1
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
License: MIT License
License URI: https://github.com/bootscore/bootscore/blob/main/LICENSE
Text Domain: bootscore
Tags: featured-images, threaded-comments, translation-ready

Use this theme to make something cool, have fun, and share what you've learned with others.

Bootscore is based on Underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* 
All style editing is done via /assets/scss/_bootscore-custom.scss
*/
@media(max-width:500px) {
	header nav#nav-main img.logo {
		max-width: 160px;
	}
}
@media(min-width:991px) {
	header nav#nav-main .top-nav-widget-2 {
		display: none !important;
	}
}

@media(max-width:991px) {
	header nav#nav-main .search-toggler {
		display: none;
	}
}

.icon-box {
	height:48px;
	width:48px;
    background-color: rgba(var(--bs-primary-rgb), 0.1); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box i {
	font-size: 1.5em;
	color: #0d6efd
}

/* ---スライダー バナー--- */
.carousel-control-prev, .carousel-control-next{
	width: 8%;
}
@media(max-width:767px) {
	.slider-body {
		justify-content: center;
	}
	.slider-text-area {
		position: absolute;
		bottom: 10%;
		text-align: center;
		justify-content: center;
	}
	.slider-text-area .slider-sub-title {
		padding: 0 !important;
		margin-bottom: 1rem !important;
		border: none !important;
		font-weight: 500 !important;
	}
	.slider-text-area h1.slider-title {
		font-size: 1.5rem !important;
		
	}
	.slider-text-area .slider-btn {
		justify-content: center;
	}
}

/* --- Category Section Styles --- */

/* Base Card Styling */
.category-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    background-color: #ffffff;
    border: 1px solid #dee2e6 !important; /* Standard Bootstrap border color */
}

/* Hover Effects */
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: #0d6efd !important; /* Change to your primary color hex if different */
}

/* Link Text Animation inside Card */
.category-card .learn-more-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.category-card:hover .learn-more-link {
    text-decoration: underline;
}

.category-card:hover .learn-more-link i {
    display: inline-block;
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

/* Badge Styling for Subtlety (Light Backgrounds) */
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

/* Typography Helpers */
.tracking-widest {
    letter-spacing: 0.2em;
}

/* Ensure the Serif font applies to the headings */
.font-serif {
    font-family: "Noto Serif JP", serif !important;
}

/* Custom icon sizing */
.category-card .display-4 i {
    font-style: normal;
}
/* Product Card Transitions */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #0d6efd !important; /* Your primary color */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Helper for 2-line text clamping */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Extra small text for price labels */
.x-small {
    font-size: 0.7rem;
}

/* Smooth transition for images */
.object-fit-cover {
    object-fit: cover;
}
.transition-transform {
    transition: transform 0.5s ease;
}

/* Custom badge styling to match industrial look */
.badge {
    font-weight: 500;
}
/* News List Container */
.news-list-container {
    border-radius: 4px;
    overflow: hidden;
}

.news-item {
    transition: background-color 0.2s ease-in-out;
}

.news-item:hover {
    background-color: #f8f9fa !important;
}

.news-item:hover .news-title {
    color: #0d6efd !important;
    text-decoration: underline;
}

/* Badge Styling */
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

/* Typography */
.news-title {
    font-size: 1rem;
    line-height: 1.5;
}

.news-item:last-child {
    border-bottom: none !important;
}

/* --- single-product-detail --- */
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
	width: 100%;
}

.font-serif { 
	font-family: "Noto Serif JP", serif !important; 
}
.x-small {
	font-size: 0.72rem; line-height: 1.3; 
}
.usage_title span {
    display: block;
    font-weight: 700;
    color: #000;
    font-size: 12px;
    line-height: 2;
}

.display-5 {
	letter-spacing: -1.5px; 
}
span.woobt-qty-num {
    display: none;
}
.woobt-description {
	font-size: x-small;
}
.single_add_to_cart_button {
    border-radius: 0 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    background-color: #0d6efd !important;
}

.quantity { 
	margin-bottom: 10px; 
}

.related.products .products {
    display: flex;
    flex-wrap: wrap;
}
.tab-fixed-width {
    width: 180px; 
}

.product-specs-tabs .nav-link {
    color: #333;
    font-size: 0.95rem;
    border: 1px solid #999 !important;
    margin-right: -1px; 
    text-align: center;
}

.product-specs-tabs .nav-link.active {
    background: var(--bs-primary) !important; 
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    border-bottom: none !important;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
}

.tab-content th {
    background-color: #f8f9fa; 
    width: 20%;
    border: 1px solid #ccc;
    padding: 12px;
    font-weight: normal;
}

.tab-content td {
    border: 1px solid #ccc;
    padding: 12px;
}
@media (max-width: 768px) {
    .tab-fixed-width {
        width: 33.33%;
        font-size: 0.8rem;
    }
}
@media (max-width: 992px) {
	.product-side-bar {
		display: none;
	}
}
/*-----------------ご利用規約ページ----------------*/
.terms h3 {
	font-size: 18px;
	margin-top: 3rem;
}


/*-----------------ご利用ガイドページ----------------*/
@media (min-width: 992px) {
	.sticky-sidebar {
		position: sticky;
		top: 120px;
		height: fit-content;
	}
}

.logged-in .c-login, .logged-in .c-register {
   display:none;	
}
.c-account {
   display: none;	
}
.logged-in .c-account {
	display: block !important;
}
/*-----------------お問い合わせページ----------------*/
.confirm_block table tr td:first-child {
	background:#f6f9fb;
}
.confirm_block table td p {
	margin-bottom: 0;
	font-weight: 600;
} 