/*
Theme Name: Kajishin Corporate Theme
Theme URI: https://kajishin.co.jp
Author: Kajishin
Author URI: https://kajishin.co.jp
Description: Premium outdoor & indoor living products showcase theme with modern design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kajishin-theme
*/

/* ========================================
   Main styles are located in /assets/css/style.css
   This file is required by WordPress for theme detection
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* ========================================
   Layout
   ======================================== */

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #222;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #0066cc;
    margin: 20px auto 0;
}

/* ========================================
   Header
   ======================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}

.site-logo a {
    color: #222;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #0066cc;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* ========================================
   Main Content
   ======================================== */

.site-main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 1;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.card-text {
    color: #4D4947;
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
    border-top: 1px solid #444;
    text-align: center;
    color: #999;
}

/* ========================================
   Page & Post Styles
   ======================================== */

.page-header {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        transition: left 0.3s ease;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #eee;
    }

    .main-navigation a {
        padding: 15px 0;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Large Screen Responsive (1280px+, 1440px+)
   ======================================== */

/* 大画面デスクトップ (1280px以上) */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding: 0 60px;
    }

    html {
        font-size: 18px;
    }

    .section {
        padding: 120px 0;
    }

    .section-title {
        font-size: 3rem;
        margin-bottom: 80px;
    }

    .hero {
        padding: 160px 0;
    }

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

    .hero-description {
        font-size: 1.3rem;
    }

    .page-header {
        padding: 80px 0;
    }

    .page-title {
        font-size: 3rem;
    }

    .card-content {
        padding: 32px;
    }

    .card-title {
        font-size: 1.5rem;
    }
}

/* ワイドスクリーン (1440px以上) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 80px;
    }

    html {
        font-size: 19px;
    }

    .section {
        padding: 160px 0;
    }

    .section-title {
        font-size: 3.5rem;
        margin-bottom: 100px;
    }

    .hero {
        padding: 200px 0;
    }

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

    .hero-description {
        font-size: 1.4rem;
    }

    .page-header {
        padding: 100px 0;
    }

    .page-title {
        font-size: 3.5rem;
    }

    .card-content {
        padding: 40px;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .grid {
        gap: 48px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}
