@charset "UTF-8";

/* =========================================
   基本設定 (Variables & Reset)
========================================= */
:root {
    --primary: #2C4A42; /* 深い緑 */
    --accent: #E8A843;  /* アクセントのゴールド/オレンジ */
    --text: #333333;
    --bg-light: #F8F9FA;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.6;
    letter-spacing: 0.05em;
    background-color: #ffffff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.bg-light {
    background-color: var(--bg-light);
}

/* =========================================
   ヘッダー (Header)
========================================= */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左詰めにして margin-right: auto で制御 */
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-right: auto; /* これでロゴを左端に固定し、以降の要素（インスタ・三本線）を右端に寄せます */
}

.logo img {
    height: 40px;
}

/* インスタアイコン（常時表示） */
.header-insta {
    display: flex;
    align-items: center;
    margin-right: 25px; /* PCでのメニューとの間隔 */
    z-index: 10;
}

.header-insta img {
    width: 24px;
    height: 24px;
    display: block;
    transition: opacity 0.3s;
}

.header-insta:hover img {
    opacity: 0.7;
}

/* ナビゲーションメニュー (PC) */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* スマホ用メニュー制御用（非表示） */
.menu-btn {
    display: none;
}

/* =========================================
   ファーストビュー (Hero Slider)
========================================= */
.hero-slider {
    position: relative;
    height: 90vh; 
    height: 90svh;
    min-height: 500px;
    display: flex;
    align-items: flex-end; 
    justify-content: flex-start; 
    overflow: hidden;
    margin-top: 70px; 
    background-color: #000; 
    z-index: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-slider .slide {
    position: absolute;
    top: -2%; 
    left: -2%; 
    width: 104%; 
    height: 104%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeZoom 15s infinite;
    z-index: 1;
    filter: brightness(0.7) blur(2px);
    transform: translateZ(0);
    will-change: opacity, transform;
}

.hero-slider .bg-img1 { background-image: url('hero1.jpg'); animation-delay: 0s; }
.hero-slider .bg-img2 { background-image: url('hero2.jpg'); animation-delay: 5s; }
.hero-slider .bg-img3 { background-image: url('hero3.jpg'); animation-delay: 10s; }

@keyframes fadeZoom {
    0% { opacity: 0; transform: scale(1) translateZ(0); }
    10% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.05) translateZ(0); } 
    43% { opacity: 0; transform: scale(1.05) translateZ(0); } 
    100% { opacity: 0; transform: scale(1.05) translateZ(0); }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 5% 60px 5%;
    text-align: left;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #ffffff; 
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); 
}

/* =========================================
   セクションタイトル
========================================= */
.sec-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 60px;
    font-family: 'Noto Serif JP', serif;
}

.sec-title span {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

/* =========================================
   事業内容 (Business Section)
========================================= */
.business-section {
    padding: 100px 0;
}

.business-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.business-row:nth-child(even) { flex-direction: row-reverse; }
.business-row:last-child { margin-bottom: 0; }

.business-img { flex: 1; }
.business-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.business-text { flex: 1; }
.business-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.business-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* =========================================
   採用バナー (Recruit Banner)
========================================= */
.recruit-banner {
    background: var(--primary);
    color: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(44, 74, 66, 0.2);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: transparent;
    color: #fff;
}

/* =========================================
   フッター (Footer)
========================================= */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* =========================================
   フローティングLINEボタン
========================================= */
.float-line {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #06C755;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.float-line:active { transform: scale(0.95); }
.float-line::before {
    content: '💬';
    margin-right: 8px;
    font-size: 1.2rem;
}

/* =========================================
   レスポンシブデザイン (スマホ用)
========================================= */
@media (max-width: 768px) {
    /* ヘッダーのスマホ調整：ロゴ左、アイコンと三本線を右寄せ */
    .header-inner {
        padding: 10px 5%;
    }

    .header-insta {
        margin-right: 15px; /* 三本線ボタンに近づける */
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary);
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    #menu-btn:checked ~ .nav-links { display: flex; }
    
    #menu-btn:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #menu-btn:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    #menu-btn:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* その他スマホ調整 */
    .hero-content { padding: 0 5% 40px 5%; }
    .hero-content p { font-size: 1rem; }

    .business-row, .business-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .float-line {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }
}