/* リセットと基礎スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 萬橡和カラースキーム - オレンジ・グリーン・紫 */
    --primary-color: #ff6b35;      /* オレンジ（メインカラー） */
    --secondary-color: #2d9c5e;    /* グリーン（セカンダリ） */
    --accent-color: #7b4397;       /* 紫（WORTHOME関連アクセント） */
    --dark-color: #1a1a1a;         /* ダークグレー */
    --mid-gray: #666666;           /* ミディアムグレー */
    --light-gray: #f5f5f5;         /* ライトグレー背景 */
    --white: #ffffff;
    --text-color: #333333;         /* テキストカラー */
    --border-color: #e0e0e0;       /* ボーダー */
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c5f 100%);
    --gradient-secondary: linear-gradient(135deg, #2d9c5e 0%, #4db380 100%);
    --gradient-accent: linear-gradient(135deg, #7b4397 0%, #9b5fb7 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background: var(--white);
    font-size: 15px;
    font-weight: 400;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   ヘッダー・ナビゲーション
======================================== */

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand-logo {
    height: 50px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: 0.02em;
}

.nav-subtitle {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

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

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: var(--light-gray);
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 0.35rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    list-style: none;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--text-color);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: var(--light-gray);
    border-left: 3px solid var(--primary-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* ========================================
   ヒーローセクション (画像背景)
======================================== */

.hero {
    position: relative;
    background: var(--white);
    padding: 0;
}

.hero-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    color: var(--mid-gray);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.85));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(206, 212, 218, 0.5);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 249, 250, 0.95));
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ========================================
   セクション共通
======================================== */

.intro-section,
.content-section,
.cta-section {
    padding: 3rem 2rem;
}

.intro-section {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

/* イントロセクション（文章のみ） */
.intro-text-centered {
    max-width: 900px;
    margin: 2rem 0;
    text-align: left;
}

.intro-text-centered p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
}

/* 画像付きコンテンツセクション */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-image:hover img {
    transform: scale(1.05);
}

.visual-section {
    position: relative;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 8px;
}

.section-with-bg {
    position: relative;
    padding: 5rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.section-with-bg .container {
    position: relative;
    z-index: 2;
}

.philosophy-card {
    background: var(--white);
    padding: 1.5rem 1.2rem;
    border-radius: 3px;
    box-shadow: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
}

.philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* アイコン装飾 */
.decorative-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 2px 6px rgba(196, 30, 58, 0.2);
}

@media (max-width: 768px) {
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse {
        direction: ltr;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: none;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.intro-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* 会社情報グリッド */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-item {
    text-align: left;
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s;
}

.info-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-item i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--mid-gray);
    letter-spacing: 0.05em;
}

.info-item p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color);
}

/* ========================================
   ページヘッダー
======================================== */

.page-header {
    background: linear-gradient(135deg, rgba(233, 236, 239, 0.85), rgba(173, 181, 189, 0.8)),
                url('https://page.gensparksite.com/v1/base64_upload/3241ab792c53d3c60c8ee058d4f69684');
    background-size: cover;
    background-position: center;
    color: var(--dark-color);
    padding: 3rem 2rem;
    text-align: left;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(248, 249, 250, 0.75));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    color: var(--dark-color);
}

.breadcrumb {
    font-size: 0.95rem;
    opacity: 0.95;
}

.breadcrumb a {
    color: var(--mid-gray);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.breadcrumb a:hover {
    border-bottom: 1px solid var(--mid-gray);
    color: var(--primary-color);
}

.breadcrumb i {
    margin: 0 0.75rem;
    font-size: 0.7rem;
}

/* ========================================
   コンテンツブロック
======================================== */

.content-block {
    margin: 3rem 0;
}

.content-block h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.highlight-box {
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.highlight-box i {
    margin-right: 0.75rem;
    color: #ff9800;
}

.name-origin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.origin-item {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.origin-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.info-table th,
.info-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--light-gray);
    font-weight: 500;
    color: var(--primary-color);
    width: 28%;
}

.info-table th i {
    margin-right: 0.75rem;
}

.info-table a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.info-table a:hover {
    border-bottom: 1px solid var(--secondary-color);
}

.integrated-system {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.9));
    padding: 2rem;
    border-radius: 3px;
    margin: 2rem 0;
    border-left: 3px solid var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.integrated-system h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.integrated-system i {
    margin-right: 0.75rem;
}

/* ========================================
   企業理念の柱
======================================== */

.philosophy-intro {
    text-align: left;
    margin-bottom: 4rem;
}

.pillars {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.pillar {
    background: var(--white);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    border-top: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
}

.pillar-number {
    position: absolute;
    top: -25px;
    left: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.pillar-icon {
    text-align: left;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.pillar h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    text-align: left;
    font-weight: 500;
}

.pillar-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.pillar-highlight {
    background: var(--light-gray);
    padding: 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.commitment-box {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 4px;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
}

.commitment-box h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
    text-align: left;
    font-weight: 500;
}

.commitment-box h3 i {
    margin-right: 0.75rem;
}

.commitment-list {
    list-style: none;
}

.commitment-list li {
    padding: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.9;
}

.commitment-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

/* ========================================
   社長メッセージ
======================================== */

.message-header {
    text-align: left;
    margin-bottom: 3rem;
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
}

.message-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-color);
    text-align: left;
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 4px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.message-quote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.75rem;
}

.president-profile {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 4px;
    margin: 3rem 0;
    border-left: 4px solid var(--primary-color);
}

.president-profile h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.president-profile .profile-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

/* ========================================
   パートナーシップ
======================================== */

.partnership-diagram {
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
    border: 1px solid var(--border-color);
}

.partnership-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.partner-box {
    background: var(--light-gray);
    padding: 2rem 2.5rem;
    border-radius: 4px;
    text-align: left;
    min-width: 320px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.partner-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.partner-box.main {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    border-color: var(--primary-color);
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* ========================================
   取引モデル
======================================== */

.process-steps {
    margin: 3rem 0;
}

.step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 500;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.role-tag {
    background: var(--light-gray);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.role-tag.worthome {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.role-tag.anko {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.role-tag.cosco {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

/* ========================================
   製品カード
======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-header i {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.product-header h3 {
    font-size: 1.35rem;
    font-weight: 500;
}

.product-body {
    padding: 2.5rem 2rem;
}

.product-body h4 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.product-body ul {
    list-style: none;
    margin-left: 0;
}

.product-body li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.product-body li:last-child {
    border-bottom: none;
}

.product-body li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.product-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.product-link:hover {
    border-bottom: 1px solid var(--secondary-color);
}

/* ========================================
   製品詳細
======================================== */

.product-detail-header {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.product-detail-header h2 {
    color: var(--dark-color);
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.badge {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(26, 115, 232, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 400;
}

.badge.jis {
    background: rgba(52, 168, 83, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(52, 168, 83, 0.3);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--border-color);
}

.specs-table th,
.specs-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.specs-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.specs-table tr:nth-child(even) {
    background: var(--light-gray);
}

/* ========================================
   お問い合わせフォーム
======================================== */

.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.form-group label.required::after {
    content: ' *';
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.contact-info p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
}

/* ========================================
   ボタン
======================================== */

.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    text-align: left;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn i {
    margin-left: 0.75rem;
}

/* ========================================
   CTAセクション
======================================== */

.cta-section {
    background: var(--dark-color);
    text-align: left;
    padding: 4rem 2rem;
    position: relative;
    color: var(--white);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-section .btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.cta-section .btn:hover {
    background: var(--accent-color);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

/* ========================================
   フッター
======================================== */

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    position: relative;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.footer-section h4 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--light-gray);
    font-weight: 500;
}

.footer-section p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-address {
    line-height: 1.9;
}

.footer-address i {
    margin-right: 0.75rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    border-bottom: 1px solid transparent;
}

.footer-section a:hover {
    opacity: 1;
    border-bottom: 1px solid var(--white);
}

.footer-bottom {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

/* ========================================
   レスポンシブ
======================================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        background: var(--white);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu a {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        border-bottom: none;
        border-left: 3px solid var(--primary-color);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
        border: none;
        border-left: 2px solid var(--border-color);
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-number {
        width: 65px;
        height: 65px;
        margin: 0 auto;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .hero {
        min-height: 400px;
        padding: 3rem 1.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .company-info-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .name-origin {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   スライドショー
======================================== */

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 769px) {
    .slideshow-container {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .slideshow-container {
        height: 550px;
    }
}

.slideshow-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--dark-color);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slide-nav.prev {
        left: 10px;
    }
    
    .slide-nav.next {
        right: 10px;
    }
    
    .slideshow-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}
