/* ==========================================================================
   Design System & Root Variables
   ========================================================================== */
:root {
    --primary-color: #2D5A27;       /* Forest Green */
    --primary-light: #4A8B3D;
    --primary-dark: #1E3F1A;
    --accent-color: #06C755;        /* LINE Brand Color */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F8F9F8;
    --white: #FFFFFF;
    --danger: #E74C3C;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section {
    padding: 100px 20px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tel-link {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: var(--transition);
}

.btn-line {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-line:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 250px;
    overflow: hidden;
}

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

.service-info {
    padding: 30px;
}

.service-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==========================================================================
   Area
   ========================================================================== */
.area {
    background-color: var(--bg-light);
}

.area-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.area-text {
    flex: 1;
    min-width: 300px;
}

.area-map {
    flex: 1;
    min-width: 300px;
}

/* ==========================================================================
   Flow
   ========================================================================== */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-line {
    background: #E8F5E9;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.line-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.required::after {
    content: '*';
    color: var(--danger);
    margin-left: 4px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Sticky Navigation (Mobile)
   ========================================================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 2000;
}

.sticky-btn {
    text-align: center;
    padding: 15px;
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sticky-tel { background-color: var(--primary-color); }
.sticky-line { background-color: var(--accent-color); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-links, .header-cta { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    section { padding: 60px 20px; }
    .hero-content h1 { font-size: 2rem; }
    .contact-container { grid-template-columns: 1fr; }
    .sticky-cta { display: grid; }
    body { padding-bottom: 60px; }
}
