/* ====================================
   ベース設定
   ==================================== */
:root {
    --primary-color: #2E5D38;
    --accent-color: #8BC34A;
    --text-color: #333333;
    --bg-light: #F9Fbf9;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; vertical-align: bottom; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================
   ヘッダー
   ==================================== */
.header {
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.header.is-scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo-img { height: 50px; width: auto; }

.nav ul { display: flex; align-items: center; gap: 40px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--primary-color); position: relative; }
.nav a:not(.btn-contact)::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent-color); transition: width 0.3s;
}
.nav a:not(.btn-contact):hover::after { width: 100%; }

.btn-contact {
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(46, 93, 56, 0.3);
}

/* ====================================
   メインビジュアル
   ==================================== */
.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    background: url('main.png') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
}

.hero-badge {
    position: absolute;
    top: -40px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    animation: floating 4s ease-in-out infinite; /* 浮かぶ動き */
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-sub { color: var(--accent-color); font-weight: 700; letter-spacing: 0.2em; margin-bottom: 20px; }
.hero-content h2 { font-size: 4.5rem; line-height: 1.2; margin-bottom: 30px; font-weight: 700; }
.hero-text { font-size: 1.2rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); display: inline-block; padding: 10px 20px; border-left: 4px solid var(--accent-color); }

/* ====================================
   動きの演出用 (JSで使用)
   ==================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ====================================
   セクション共通・サービス・コンセプト等
   ==================================== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.en-title { color: var(--accent-color); font-weight: 700; font-family: var(--font-en); font-size: 1rem; letter-spacing: 0.2em; }
.jp-title { font-size: 2.2rem; color: var(--primary-color); }

.concept { background-color: var(--bg-light); }
.concept-content { display: flex; align-items: center; gap: 60px; }
.concept-text-box { flex: 1; }
.concept-image-box { flex: 1; }
.concept-image-box img { border-radius: 20px 0 20px 0; box-shadow: 20px 20px 0px rgba(46, 93, 56, 0.1); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .card-img img { transform: scale(1.1); }
.card-content { padding: 25px; }

.company-row { display: flex; padding: 20px 0; border-bottom: 1px solid #eee; }
.company-row dt { width: 30%; font-weight: 700; color: var(--primary-color); }

.contact-container { background: var(--primary-color); padding: 80px 20px; border-radius: 20px 20px 0 0; text-align: center; color: #fff; }
.tel-link { display: inline-block; background: #fff; color: var(--primary-color); font-size: 2rem; font-weight: 700; padding: 15px 50px; border-radius: 50px; margin-top: 30px; }

.footer { background: #204128; color: #fff; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }

/* スマホ対応 */
@media (max-width: 900px) {
    .service-grid { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 2.5rem; }
    .concept-content { flex-direction: column; }
    .nav { display: none; }
}