@charset "utf-8";

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { color: #333; font-family: "serif", "Hiragino Mincho ProN", "游明朝", serif; font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; background-color: #fff; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: #162d50; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
li { list-style: none; }
.sp_br { display: none; }

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
#header { width: 100%; background: rgba(255, 255, 255, 0.8); position: fixed; top: 0; left: 0; z-index: 1000; border-bottom: 1px solid rgba(0, 0, 0, 0.05); backdrop-filter: blur(8px); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; }
.header-inner h1 a { display: flex; align-items: center; }

.logo-mark { width: 45px; margin-right: 12px; }
.logo-mark img { width: 45px; height: auto; display: block; }
.logo-text { font-size: 20px; font-weight: 600; letter-spacing: 0.15em; color: #162d50; }

#g-nav ul { display: flex; gap: 15px; }
#g-nav ul li a { display: flex; flex-direction: column; align-items: center; min-width: 65px; padding: 5px 0; }
#g-nav ul li a .en { font-size: 9px; color: #888; letter-spacing: 0.1em; margin-bottom: 2px; }
#g-nav ul li a .jp { font-size: 11px; font-weight: 600; color: #333; }

/* ==========================================================================
   3. Product & Series Grid
   ========================================================================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* 商品グリッド */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-top: 40px; 
}
.product-item { 
    border: 1px solid #eee; 
    background: #fff; 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
    text-align: center; 
}
.product-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-item a { display: block; padding: 15px; pointer-events: none;}
.product-item img { display: block; width: 100%; height: auto; margin-bottom: 10px; }
.product-item h3 { font-size: 14px; margin-top: 10px; color: #333; }

.product-item .price-text {
    font-size: 13px;
    color: #162d50;
    margin-top: 8px;
    font-weight: 500;
}

.product-item .spec {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    line-height: 1.4;
}

.no-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
}

/* シリーズグリッド */
.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.series-item {
    border: 1px solid #eee;
    background: #fff;
    transition: 0.3s;
    overflow: hidden; /* 角丸やはみ出しを綺麗に収める */
}

.series-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.series-item a {
    display: block;
    padding: 0; /* パディングをゼロにして画像を枠いっぱいに */
}
.series-item img { display: block; width: 100%; height: auto; }
.series-img {
    width: 100%;
    aspect-ratio: 4/3; /* 画像の縦横比（お好みで調整可） */
    background: #fcfcfc;
    margin-bottom: 0;
    color: #ccc;
    border: none; /* 内側のグレー枠を消去 */
    overflow: hidden;
    padding: 15px;
}
.series-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠に合わせて綺麗にトリミング表示 */
}

.series-info {
    padding: 15px 10px; /* 文字部分だけに余白を設定 */
}

.series-info h3 {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #333;
}

/* ==========================================================================
   Section Title & Button
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title span {
    display: block;
    font-size: 12px;
    color: #162d50;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #333;
}

.btn-wrap {
    text-align: center;
    margin-top: 50px;
}
.btn-detail {
    display: inline-block;
    background-color: #162d50;
    color: #fff !important;
    font-size: 15px;
    padding: 15px 40px;
    letter-spacing: 0.1em;
    transition: 0.3s;
    border: 1px solid #162d50;
}
.btn-detail:hover {
    background-color: #fff;
    color: #162d50 !important;
}
/* ==========================================================================
   Webカタログ (PDF) バナー設定
   ========================================================================== */
.catalog-pdf-banner {
    text-align: center;
    margin-bottom: 40px;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f8f9fa;
    color: #162d50;
    border: 2px solid #162d50;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.btn-pdf:hover {
    background-color: #162d50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 45, 80, 0.2);
}

.pdf-icon {
    font-size: 18px;
}

/* ==========================================================================
   お問い合わせセクション設定
   ========================================================================== */
.contact-banner {
    margin-top: 80px;
    padding: 50px 20px;
    background-color: #f4f6f8;
    border-radius: 8px;
    text-align: center;
}

.contact-lead {
    font-size: 15px;
    color: #333333;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.btn-contact {
    display: inline-block;
    background-color: #162d50;
    color: #ffffff !important;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.12em;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #162d50;
}

.btn-contact:hover {
    background-color: #ffffff;
    color: #162d50 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* ==========================================================================
   商品一覧・シリーズ一覧 切り替えタブ
   ========================================================================== */
.catalog-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.catalog-nav-tabs .tab-item {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #162d50;
    background-color: #f4f6f8;
    border: 1px solid #162d50;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.catalog-nav-tabs .tab-item:hover,
.catalog-nav-tabs .tab-item.active {
    background-color: #162d50;
    color: #ffffff !important;
}
/* ==========================================================================
   ECサイト非運営の案内メッセージ
   ========================================================================== */
.ec-notice-box {
    max-width: 700px;
    margin: -15px auto 40px auto; /* PDFボタンとの間隔調整 */
    padding: 18px 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: center;
}

.ec-notice-title {
    font-size: 13px;
    font-weight: 600;
    color: #162d50;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.ec-notice-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}
/* ==========================================================================
   4. Footer
   ========================================================================== */
footer { background: #f8f8f8; padding: 80px 20px 40px; text-align: center; }
.f-logo { margin-bottom: 30px; }
.f-logo .logo-mark { width: 45px; margin-right: 12px; }
.f-logo a { display: inline-flex; align-items: center; }
.f-sub-nav { margin-bottom: 25px; }
.f-sub-nav a { font-size: 13px; text-decoration: underline; color: #666; }
address { font-style: normal; font-size: 14px; line-height: 2; color: #444; }
.copy { font-size: 11px; color: #aaa; margin-top: 50px; }

/* ==========================================================================
   5. Responsive
   ========================================================================== */
@media screen and (max-width: 1100px) {
    .menu-trigger { display: block; width: 30px; height: 24px; position: relative; z-index: 10001; cursor: pointer; }
    .menu-trigger span { position: absolute; left: 0; width: 100%; height: 2px; background: #162d50; transition: 0.4s; }
    .menu-trigger span:nth-child(1) { top: 0; }
    .menu-trigger span:nth-child(2) { top: 11px; }
    .menu-trigger span:nth-child(3) { bottom: 0; }
    
    #g-nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: #fff; z-index: 10000; padding-top: 80px; transition: 0.5s; }
    #g-nav.open { right: 0; }
    #g-nav ul { flex-direction: column; gap: 0; }
    #g-nav ul li a { padding: 20px 30px; flex-direction: row; justify-content: flex-start; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .series-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .sp_br { display: block; }
    .container { padding: 0 15px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .series-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-item h3 {
        line-height: 1.3;
        font-size: 15px !important;
        margin: 8px 5px !important;
    }
    .product-item .price-text { font-size: 11px !important; }
    .product-item .spec { font-size: 9px !important; }
    .section-title h2 { font-size: 22px; }
    .btn-detail { padding: 12px 30px; font-size: 14px; }
    .btn-pdf {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .contact-banner {
        margin-top: 50px;
        padding: 35px 15px;
    }
    
    .contact-lead {
        font-size: 13px;
        line-height: 1.6;
    }

    .btn-contact {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
.catalog-nav-tabs {
        gap: 8px;
        margin-bottom: 25px;
    }
    .catalog-nav-tabs .tab-item {
        padding: 8px 14px;
        font-size: 12px;
    }
.ec-notice-box {
        margin: -10px auto 30px auto;
        padding: 15px;
    }
    .ec-notice-text {
        font-size: 12px;
        text-align: left; /* スマホでは読みやすさ重視で左寄せ */
    }
}