/* ===================================
   リセットと基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - 温かみと信頼感 */
    --primary-color: #2d5016;
    --primary-dark: #1d3610;
    --secondary-color: #3a6b1f;
    --accent-color: #4a7f2a;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #FAF9F6;
    --bg-white: #FFFFFF;
    --border-color: #E8E8E8;
    
    /* フォント */
    --font-primary: 'メイリオ', Meiryo, sans-serif;
    --font-secondary: 'メイリオ', Meiryo, sans-serif;
    
    /* スペーシング */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* ===================================
   ヘッダー・ナビゲーション
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.nav-logo a {
    color: inherit;
    text-decoration: none;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f5f5f0;
    padding: 140px 0 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('../images/office.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-text {
    max-width: 600px;
    padding-right: 40px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--text-dark);
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.2s both;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   セクション共通スタイル
   =================================== */
section {
    padding: var(--section-padding);
}

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

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   メッセージセクション
   =================================== */
.message-section {
    background-color: var(--bg-light);
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.message-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.message-signature {
    text-align: right;
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

.signature-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.signature-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

/* ===================================
   事業内容セクション
   =================================== */
.services-section {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 10px;
    line-height: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    opacity: 0.3;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.service-card.coming-soon {
    position: relative;
    opacity: 0.85;
}

.service-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

/* ===================================
   会社概要セクション
   =================================== */
.company-section {
    background-color: var(--bg-light);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--border-color);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 25px 20px;
    text-align: left;
}

.company-table th {
    font-weight: 600;
    color: var(--text-dark);
    width: 180px;
    font-size: 16px;
}

.company-table td {
    color: var(--text-light);
    font-size: 16px;
}

.company-table a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-table a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.contact-section .section-label,
.contact-section .section-title,
.contact-section .section-description {
    color: white;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 15px;
}

.required {
    color: var(--primary-color);
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 18px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(98, 184, 80, 0.4);
}

/* ===================================
   フッター
   =================================== */
.footer {
    background-color: #2C3E50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-secondary);
    text-align: center;
}
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}



.footer-text {
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        flex-direction: column-reverse;
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-bg {
        position: relative;
        width: 100%;
        height: 350px;
        margin-bottom: 50px;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-text {
        max-width: 100%;
        padding-right: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .service-content {
        width: 100%;
        padding: 30px 25px;
    }

    .service-number {
        font-size: 48px;
    }

    .service-title {
        font-size: 22px;
    }

    .service-description {
        font-size: 15px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .message-content,
    .contact-form {
        padding: 30px;
    }

    .company-info {
        padding: 30px 20px;
    }

    .company-table th {
        width: 120px;
        font-size: 14px;
    }

    .company-table td {
        font-size: 14px;
    }

    .company-table th,
    .company-table td {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-bg {
        height: 280px;
        margin-bottom: 40px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

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

    .service-content {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .message-content,
    .contact-form,
    .company-info {
        padding: 25px;
    }

    .company-table {
        font-size: 13px;
    }

    .company-table th,
    .company-table td {
        padding: 15px 10px;
        display: block;
        width: 100%;
    }

    .company-table th {
        padding-bottom: 5px;
        font-weight: 700;
        border-bottom: none;
    }

    .company-table td {
        padding-top: 5px;
        padding-bottom: 20px;
    }

    .company-table tr {
        display: block;
        margin-bottom: 10px;
    }
}