/* ==========================================================================
   1. 基本設定 ＆ 共通リセット
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #111111;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. 共通ヘッダー（固定配置・すりガラス効果）
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-symbol {
    color: #2e7d32;
    font-size: 32px;
    margin-right: 6px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: #2e7d32;
}

.nav-menu a.btn-contact {
    background-color: #111111;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
}

.nav-menu a.btn-contact:hover {
    background-color: #2e7d32;
}

/* ==========================================================================
   3. ホーム画面専用
   ========================================================================== */
.home-hero-section {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 0 40px;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.94) 30%, rgba(255,255,255,0.5) 100%);
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: calc((100% - 1200px) / 2);
}

@media (max-width: 1250px) {
    .home-hero-content { margin-left: 40px; }
}

.home-hero-sub {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #2e7d32;
    margin-bottom: 15px;
}

.home-hero-title {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
    margin-bottom: 25px;
}

.home-hero-text {
    font-size: 18px;
    color: #444444;
    margin-bottom: 40px;
}

.home-btn-main {
    display: inline-block;
    background: #2e7d32;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
    transition: transform 0.3s;
}

.home-btn-main:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   4. 下層ページ共通レイアウト
   ========================================================================== */
.subpage-main {
    padding: 80px 0 120px 0;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

.subpage-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subpage-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.subpage-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #2e7d32;
    margin-bottom: 10px;
}

.subpage-title {
    font-size: 36px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
}

.subpage-lead {
    font-size: 16px;
    color: #64748b;
}

/* ==========================================================================
   5. 製品紹介（カテゴリ選択）ページ専用スタイル
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.product-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tag-blue   { background: #e0f2fe; color: #0ea5e9; }
.tag-green  { background: #dcfce7; color: #10b981; }
.tag-purple { background: #f3e8ff; color: #a855f7; }
.tag-orange { background: #ffeded; color: #f97316; }

.product-card h2 { font-size: 24px; color: #111111; margin-bottom: 12px; }
.product-card-desc { font-size: 15px; color: #64748b; margin-bottom: 30px; }

/* カテゴリ内の2つの子商品を横並びで美しく配置する部分 */
.sub-products-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 25px;
}

.sub-product-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.02);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.sub-product-img-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
}

.sub-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.sub-product-info {
    padding: 12px 15px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 5px;
    line-height: 1.4;
}

.sub-product-arrow {
    font-size: 12px;
    color: #2e7d32;
    font-weight: bold;
    text-align: right;
    margin-top: 5px;
}

/* ホバー時に写真がズームして枠線が緑に変わる、超おしゃれ演出 */
.sub-product-item:hover {
    border-color: #2e7d32;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.08);
    transform: translateY(-2px);
}
.sub-product-item:hover .sub-product-img-box img {
    transform: scale(1.08);
}

/* ==========================================================================
   6. 各個別商品ページ専用スタイル（画像＋解説の高級レイアウト）
   ========================================================================== */
.detail-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    max-width: 1100px;
    margin: 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.detail-body {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-features {
    margin: 30px 0;
    list-style: none;
}

.detail-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #334155;
}

.detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

.detail-image-box {
    position: relative;
    min-height: 480px;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-back-box {
    text-align: center;
    margin-top: 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s;
}
.btn-back:hover { color: #111111; }

/* 会社概要 ＆ お問い合わせコンテナ */
.company-card, .contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid #edf2f7; }
.company-table tr:last-child { border-bottom: none; }
.company-table th { text-align: left; padding: 24px 16px; font-weight: 700; color: #2e7d32; width: 25%; vertical-align: top; }
.company-table td { padding: 24px 16px; color: #334155; }

/* お知らせ */
.news-card { background: #ffffff; border-radius: 16px; padding: 20px 50px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); max-width: 960px; margin: 0 auto; }
.news-item { padding: 24px 0; border-bottom: 1px solid #edf2f7; display: flex; align-items: center; }
.news-item:last-child { border-bottom: none; }
.news-date { color: #94a3b8; width: 120px; }
.news-label { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-right: 25px; min-width: 75px; text-align: center; }
.label-press { background: #e8f5e9; color: #2e7d32; }
.label-info  { background: #edf2f7; color: #4a5568; }
.news-link { color: #334155; text-decoration: none; font-weight: 500; }

/* ==========================================================================
   7. 共通フッター
   ========================================================================== */
.site-footer {
    padding: 35px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
}
.site-footer p { font-size: 13px; color: #777777; }

/* ==========================================================================
   8. レスポンシブ
   ========================================================================== */
@media (max-width: 960px) {
    .product-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-image-box { min-height: 300px; height: 300px; grid-row: 1; }
    .detail-body { padding: 40px 30px; }
    .company-table th, .company-table td { display: block; width: 100%; padding: 10px; }
    .news-item { flex-wrap: wrap; }
    .news-link { width: 100%; margin-top: 10px; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .home-hero-title { font-size: 34px; }
    .product-card, .company-card, .news-card, .contact-card { padding: 30px 20px; }
}