body { font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif; margin: 0; color: #333; line-height: 1.6; }
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; background: #fff; border-bottom: 1px solid #eee; }
nav a { margin-left: 20px; text-decoration: none; color: #555; font-weight: bold; }
nav a:hover { color: #007bff; }
/* ==================== 首页 AI Hero 区域 ==================== */
.hero { 
    background: url('/images/hero-ai.png') no-repeat center center/cover; 
    position: relative;
    min-height: 450px; /* 给予足够的展示高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== 案例页 大楼 Banner 区域 ==================== */
.cases-hero {
    background: url('/images/cases-bg.png') no-repeat center center/cover; 
    position: relative;
    min-height: 300px; /* 案例页顶部横幅稍矮一些，更内敛 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== 通用文字半透明遮罩（让文字更清晰，高级感核心） ==================== */
.hero-overlay {
    background: rgba(0, 0, 0, 0.45); /* 45%浓度的黑色半透明滤镜，极具现代感 */
    padding: 40px 60px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(3px); /* 微微的毛玻璃效果，科技感拉满 */
    color: #fff;
    max-width: 800px;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
}
.hero-overlay p span {
    display: inline-block; /* 保证被 span 包裹的短句在内部不碎裂，整体换行 */
}
.services, .content { padding: 60px 50px; max-width: 1200px; margin: 0 auto; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.card { padding: 25px; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; transition: transform 0.2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.profile-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.profile-table th, .profile-table td { border-bottom: 1px solid #ddd; padding: 15px; text-align: left; }
.profile-table th { width: 25%; background: #f4f4f4; }
.contact-form { display: flex; flex-direction: column; max-width: 600px; }
.contact-form input, .contact-form textarea { margin-bottom: 20px; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.contact-form button { padding: 12px; background: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; }
.contact-form button:hover { background: #0056b3; }
footer { text-align: center; padding: 30px; background: #333; color: #fff; margin-top: 50px; }
/* 控制LOGO图片的显示大小 */
.logo-img {
    height: 40px;      /* 限制高度为40像素，宽度会自动按比例缩放 */
    width: auto;
    display: block;
}
/* ==========================================================================
   会社概要ページ（image_fa9ebd.png 再現スタイル）
   ========================================================================== */

/* 全体コンテナ */
.about-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}

/* タイトルエリア（下線付き） */
.about-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 4px solid #5ca4a4; /* 画像のメインカラー */
    margin-bottom: 0;
}
.about-header h2 {
    font-size: 2.2rem;
    color: #5ca4a4;
    margin: 0;
    font-weight: bold;
}
.about-icon {
    font-size: 2.2rem;
    color: #5ca4a4;
}

/* 左右2カラム構造 */
.about-main {
    display: flex;
    background-color: #f9f9f9; /* 左側の薄いグレー背景 */
    min-height: 500px;
}

/* 左カラム：会社情報 */
.about-info-side {
    flex: 1.3;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}
.info-row {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 8px;
}
/* 下線と右端のドットを表現 */
.info-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #5ca4a4;
}
.info-row::before {
    content: '●';
    position: absolute;
    bottom: -5px;
    right: 0;
    color: #5ca4a4;
    font-size: 0.6rem;
    z-index: 2;
}
/* 緑のラベル */
.info-label {
    width: 125px;                  /* 稍微再拓宽10px，给6个字留足空间 */
    background-color: #5ca4a4;
    color: #ffffff;
    text-align: center;            /* 文字水平居中 */
    padding: 6px 8px;              /* 加上左右各8px的内边距，防止文字贴边被切 */
    font-size: 0.95rem;            /* 稍微调小一点点字号，让6个字更精致地排在一行 */
    letter-spacing: 1px;           /* 缩减字间距，彻底解决最后一个字被切掉一半的问题 */
    font-weight: bold;
    white-space: nowrap;           /* 强制不换行 */
    box-sizing: border-box;        /* 确保padding不会撑大整体宽度 */
}
/* 情報の値 */
.info-value {
    padding-left: 25px;
    color: #444444;
    font-size: 1.05rem;
}

/* 右カラム：ミッション（背景ベタ塗り） */
.about-mission-side {
    flex: 1;
    background-color: #5ca4a4; /* 全面メインカラー */
    color: #ffffff;
    padding: 60px 40px;
    display: flex;
    align-items: stretch;
}
/* 画像にあるL字型の白枠線を再現 */
.mission-wrapper {
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0 0 30px 30px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* 白枠線の右端のドット */
.mission-wrapper::before {
    content: '●';
    position: absolute;
    bottom: -5px;
    right: -2px;
    color: #ffffff;
    font-size: 0.6rem;
}
.about-mission-side h3 {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 25px;
    text-transform: lowercase;
    letter-spacing: 1px;
}
.mission-content {
    font-size: 1.1rem;
    line-height: 1.8;
}
.mission-content p {
    margin-bottom: 15px;
}

/* レスポンシブ対応（スマホ表示の時は縦並びにする） */
@media (max-width: 850px) {
    .about-main {
        flex-direction: column;
    }
    .about-info-side {
        padding: 30px 20px;
    }
    .about-mission-side {
        padding: 40px 20px;
    }
    .mission-wrapper {
        padding: 0 0 20px 20px;
    }
}
/* ==========================================================================
   お問い合わせページ（image_f7e790.jpg 再現スタイル）
   ========================================================================== */

/* 上部ヒーローバナー */
.contact-hero-banner {
    width: 100%;
    height: 250px;
    background: url('../images/contact-hero.jpg') no-repeat center center/cover; /* パソコンの背景画像 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px; /* 显式增加与上方导航栏的间距，防止毛玻璃上溢 */
    clear: both;      /* 清除浮动带来的错位 */
    overflow: hidden; /* 掐断一切超出范围的阴影或毛玻璃边缘 */
}
/* 画像の上に文字をくっきり見せるための薄い白いモヤ（グラデーション遮罩） */
/* 【已修复】联系我们页面专属：中央独立毛玻璃方块 */
.contact-hero-overlay {
    text-align: center;
    background: rgba(255, 255, 255, 0.35); /* 70%浓度的舒适白，既能看清暗色文字，又能透出背景 */
    padding: 35px 60px;                    /* 上下四周的小天地，撑起方块感 */
    border-radius: 12px;                   /* 优雅的圆角 */
    
    /* 🌟 核心修改：取消全屏铺满，改为中间一小块 */
    max-width: 750px;                      /* 限制方块的最大宽度 */
    width: 90%;                            /* 在手机端时自动缩小，防止贴边 */
    box-sizing: border-box;                /* 防止 padding 撑爆宽度 */
    
    /* 🌟 局部毛玻璃与高级感阴影 */
    backdrop-filter: blur(6px);            /* 磨砂质感拉满 */
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* 淡淡的投影，让毛玻璃方块“悬浮”于背景之上 */
}
/* .contact-hero-overlay {
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 🌟 把这个核心属性补上，毛玻璃质感立刻回归！ */
    backdrop-filter: blur(4px); 
    -webkit-backdrop-filter: blur(4px); /* 确保苹果 Safari 浏览器也能完美显示 */
} */
.contact-hero-banner h1 {
    font-size: 3.5rem;
    color: #333333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 4px;
    margin: 0;
    font-weight: 700;
}
.contact-hero-banner p {
    font-size: 1rem;
    color: #e66c53; /* 画像のような温かみのあるオレンジ・赤系の差し色 */
    margin-top: 5px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* メインコンテナ */
.contact-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}

/* 案内テキスト */
.contact-intro-text {
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
    color: #555555;
    font-size: 1.05rem;
}

/* フォーム構造 */
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-group label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 赤色の「必須」バッジ */
.badge-required {
    background-color: #d9381e; /* 画像の鮮やかな赤色 */
    color: #ffffff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 画像特有の「淡い黄色」の入力エリア */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #fffde6; /* 画像通りの淡いクリームイエロー */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
/* クリック（フォーカス）した時の挙動 */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e66c53;
    background-color: #ffffff; /* フォーカス時は白にして入力しやすく */
    box-shadow: 0 0 8px rgba(230, 108, 83, 0.2);
}

/* 送信ボタンのラッパー */
.form-submit-wrapper {
    text-align: center;
    margin-top: 20px;
}
/* 送信ボタン */
.submit-btn {
    background-color: #333333;
    color: #ffffff;
    padding: 15px 60px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 2px;
}
.submit-btn:hover {
    background-color: #555555;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .contact-hero-banner h1 { font-size: 2.5rem; }
    .contact-intro-text { font-size: 0.95rem; }
    .submit-btn { width: 100%; padding: 15px 0; }
}
/* 橙色的「任意」バッジ */
.badge-optional {
    background-color: #f2994a; /* 温暖且醒目的商务橙色 */
    color: #ffffff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
}
