/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333;
    --accent-color: #4a90e2;
    --text-color: #333;
    --background-color: #fff;
    --section-padding: 80px 0;
    --gradient-primary: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --gradient-secondary: linear-gradient(135deg, #e6e9f0 0%, #eef1f5 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

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(--background-color);
}

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

/* ヘッダー・ナビゲーション */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #00bcd4;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

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

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s;
}

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

.menu-toggle {
    display: none;
}

.menu-toggle span {
    background-color: #fff;
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://fuk.jp/images/cover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
}

.greeting {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature p {
    color: #333;
    font-weight: 500;
}

/* セクション共通 */
section {
    padding: var(--section-padding);
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color);
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* 会社情報 */
.company {
    background: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.70)), url('https://fuk.jp/images/rekishi1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.info-item h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
}

dt {
    font-weight: bold;
    color: var(--secondary-color);
}

.history dt {
    color: var(--accent-color);
}

/* 事業紹介 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.business-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.business-thumbnail {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.business-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.business-item:hover {
    transform: translateY(-5px);
}

.business-item:hover .business-thumbnail img {
    transform: scale(1.05);
}

.business-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.business-item p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-more {
    display: inline-block;
    margin-top: auto;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-more:hover {
    background-color: #357abd;
}

/* 強み */
.strength {
    background: var(--gradient-secondary);
}

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

.strength-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.strength-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* お問い合わせ */
.contact {
    background: var(--gradient-primary);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tel, .fax, .email {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: var(--accent-color);
}

.time {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-mail {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-mail:hover {
    background-color: #357abd;
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-info {
    text-align: center;
}

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.address {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* アクセス */
.map {
    background: #fff;
    padding: var(--section-padding);
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-info {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.map-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.map-info p {
    color: var(--secondary-color);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #00bcd4;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 1.8rem;
    }

    dl {
        grid-template-columns: 1fr;
    }

    dt {
        margin-top: 10px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        text-align: center;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* iOSでのズーム防止 */
    }

    .map-container {
        height: 300px;
    }
}

/* お問い合わせページ */
.inquiry-page {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
}

.inquiry-content {
    max-width: 1000px;
    margin: 0 auto;
}

.inquiry-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.inquiry-method {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.inquiry-method h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.inquiry-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    text-align: center;
}

.inquiry-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.form-description {
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.8;
}

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.inquiry-map {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.inquiry-map h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
    text-align: center;
}

.address-info {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
}

.address-info p {
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .inquiry-page {
        padding: 100px 0 60px;
    }

    .inquiry-methods {
        grid-template-columns: 1fr;
    }

    .inquiry-form,
    .inquiry-map {
        padding: 30px 20px;
    }
} 