/* --- 基本設定と変数 --- */
:root {
    --white: #FFFFFF;
    --black: #2c3e50;
    --gray: #f8f9fa;
    --text-color: #555;

    --color-blue: #5B92E5; /* 空・海 */
    --color-green: #63B47A; /* 森・草原 */
    --color-brown: #C7A87C; /* 大地・砂 */

    --font-family-base: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* --- 共通コンポーネント --- */
.section-title {
    font-size: 2.8rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--color-blue), var(--color-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
    background-color: var(--color-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.earth-gradient-bg {
    background-image: linear-gradient(135deg, var(--color-blue), var(--color-green), var(--color-brown));
}


/* --- ナビゲーション --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--black);
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-image: linear-gradient(to right, var(--color-blue), var(--color-green));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger { display: none; }


/* --- ヒーローセクション --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* ボタン間のスペース */
    flex-wrap: wrap; /* スマホ表示でボタンが縦に並ぶように */
}

.hero-background-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,192L80,176C160,160,320,128,480,133.3C640,139,800,181,960,186.7C1120,192,1280,160,1360,144L1440,128L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: -1;
}

/* --- 会社概要セクション --- */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.8);
}

.promises {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promise-icon {
    font-size: 1.5rem;
}


/* --- サービスセクション --- */
.services {
    padding: 100px 0;
    background-color: #fcfcfc;
    position: relative;
}

/* 斜めの背景 */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gray);
    transform: skewY(-2deg);
    z-index: -1;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}


/* --- お問い合わせセクション --- */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.07);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}
.contact-info p {
    margin-bottom: 2rem;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.info-item i {
    font-size: 1.2rem;
    color: var(--color-blue);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family-base);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 2px rgba(91, 146, 229, 0.2);
}
.contact-form button {
    width: 100%;
}


/* --- フッター --- */
.footer {
    padding: 2rem 0;
    text-align: center;
    background: var(--gray);
    color: #999;
}

/* --- アニメーション --- */
.animated-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }

    .nav-menu { display: none; }
    .hamburger { display: flex; flex-direction: column; cursor: pointer; gap: 5px;}
    .hamburger span { width: 25px; height: 3px; background: var(--black); }

    .about-content, .contact-wrapper { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 2rem; }
}