@charset "utf-8";
/* CSS Document */

@charset "utf-8";

/* 全体 */
body {
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* 全体コンテナ */
.full-window {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 10vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.main-header {
    background: #fff;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.header-logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e40af;
}

.contact-text {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

/* TOP画像 */
.image-space- {
    width: 100%;
    height: auto;
    display: block;
}

/* TOPカード */
.top-card {
    background: #fff;
    overflow: hidden;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

/* カード共通 */
.card-item {
    background: #fff;
    overflow: hidden;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

/* 写真スペース（グレー背景） */
.image-space {
    width: 100%;
    background-color: #cccccc;
    text-align: center;
    padding: 60px 0;
    color: #333;
    font-weight: bold;
}

/* テキスト部分 */
.content-space {
    padding: 15px 20px;
}

.content-space h2 {
    margin: 15px 0 10px;
    font-size: 18px;
    color: #222;
}

.content-space p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* PC版 */
@media screen and (min-width: 568px) {
    .header-logo {
        font-size: 48px;
    }
}


/* ==========================================
   共通ヘッダー
========================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-contact {
    text-align: right;
}

.contact-label {
    display: block;
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 3px;
    font-weight: bold;
}

.contact-phone {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
}

/* ==========================================
   お問い合わせフォーム（contact.html専用）※幅960px統一版
========================================== */
.contact-container {
    max-width: 960px; /* ここを800pxから960pxに変更してトップと揃えます */
    margin: 40px auto 50px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.image-space {
    width: 100%;
    overflow: hidden;
}

.image-space img {
    width: 100%;
    height: auto;
    display: block;
}

/* 枠が広がった分、中のフォームが間伸びしないように最大幅を少し絞って中央寄せにします */
.content-space {
    padding: 40px 50px;
}

.contact-form {
    max-width: 800px; /* 入力欄自体は書きやすいように程よい幅に制限 */
    margin: 0 auto;   /* フォームを中央に寄せる */
}

.content-space h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}

.required {
    color: #e74c3c;
    margin-left: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.checkbox-group {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkbox-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group label:last-child {
    margin-bottom: 0;
}

.checkbox-group input {
    margin-right: 8px;
    transform: scale(1.1);
}

#submitBtn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0 auto;
    padding: 15px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: background 0.2s ease;
}

#submitBtn:hover {
    background-color: #2980b9;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    text-decoration: underline;
}

/* ==========================================
   スマホ用レスポンシブ
========================================== */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .header-contact {
        text-align: center;
    }
    .contact-phone {
        font-size: 18px;
    }
    .content-space {
        padding: 30px 20px;
    }
}



/* どんな設定よりも最優先でh1のサイズをaタグに強制適用する */
h1 a {
    font-size: 100% !important;
    font-weight: bold !important;
    color: inherit !important;
    text-decoration: none !important;
    display: inline !important;
}





/* ロゴエリア全体の並び（縦並びにする） */
.header-logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 1. ロゴの下線を完全に消し、文字装飾をなくす */
h1.header-logo {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

h1.header-logo a.no-underline {
    color: #2c3e50 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 28px; /* 必要に応じてサイズ変更してください */
}

/* 2. 下に配置する「有限会社エコワークス」のデザイン */
.header-sub-logo {
    margin: 3px 0 0 0; /* ロゴとの隙間を小さく調整 */
    padding: 0;
    font-size: 12px;   /* 少し小さめの文字に */
    color: #7f8c8d;    /* 落ち着いたグレー */
    font-weight: bold;
    letter-spacing: 0.5px;
}







/* ==========================================
   会社概要（センター寄せ・最大幅960px）
========================================== */
.company-profile-section {
    width: 100%;
    padding: 40px 20px;
    background-color: #f4f6f9; /* フォームと同じ背景色 */
    box-sizing: border-box;
}

/* 全体を画面中央に寄せる枠（バナー画像と同じ最大960px） */
.company-profile-container {
    max-width: 960px;
    margin: 0 auto; /* これで完全にセンターに寄ります */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    padding: 40px 50px;
    box-sizing: border-box;
}

/* タイトル部分（青背景のバー） */
.profile-title {
    background-color: #1e4f9c; /* 元のサイトに近いブルー */
    color: #ffffff;
    margin: 0 0 30px 0;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
}

/* 会社概要のグリッド配置（PCでは2カラム並び） */
.profile-table {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右均等に2分割 */
    gap: 15px 30px; /* 縦の隙間 15px、横の隙間 30px */
}

/* 各項目の1行（ラベルと値のセット） */
.profile-row {
    display: flex;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 12px;
    align-items: flex-start;
}

/* 左側：青いラベル部分 */
.profile-label {
    width: 110px;
    background-color: #3b74c4; /* 濃いめの青 */
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 6px 0;
    border-radius: 3px;
    flex-shrink: 0; /* ラベルの幅が縮まないように固定 */
}

/* 右側：内容テキスト部分 */
.profile-value {
    flex-grow: 1;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* ==========================================
   スマホ用の表示調整
========================================== */
@media (max-width: 768px) {
    .company-profile-container {
        padding: 30px 20px;
    }
    
    /* スマホ時は2カラムから1列の縦並びにする */
    .profile-table {
        grid-template-columns: 1fr;
        gap: 15px 0;
    }
    
    .profile-row {
        flex-direction: column; /* スマホではラベルの下にテキストを置く */
        gap: 8px;
    }
    
    .profile-label {
        width: 100%; /* ラベルを横いっぱいに広げる */
        text-align: left;
        padding-left: 15px;
        box-sizing: border-box;
    }
    
    .profile-value {
        padding-left: 5px;
    }
}



/* PC表示ではスマホ用ボタンとスライドメニューを完全に非表示にする */
@media (min-width: 769px) {
    .menu-trigger, 
    #menuTrigger,
    .mobile-menu,
    #mobileMenu {
        display: none !important;
    }
}

/* PC用のヘッダー並びを右端に寄せる */
.header-right {
    display: flex;
    flex-direction: row; /* 縦並びから横並びに */
    align-items: center;
    gap: 30px; /* お問い合わせとメニューの間のスペース */
}






/* PC表示ではスマホ用ボタンとスライドメニューを完全に非表示にする */
@media (min-width: 769px) {
    .menu-trigger, 
    #menuTrigger,
    .mobile-menu,
    #mobileMenu {
        display: none !important;
    }
}

/* PC用のヘッダー並びを右端に寄せる */
.header-right {
    display: flex;
    flex-direction: row; /* 縦並びから横並びに */
    align-items: center;
    gap: 30px; /* お問い合わせとメニューの間のスペース */
}



/* ==========================================
   共通ヘッダー（電話を上、メニューを下にする配置）
========================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左側：ロゴエリア */
.header-logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

h1.header-logo {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

h1.header-logo a.no-underline {
    color: #2c3e50 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 28px;
}

.header-sub-logo {
    margin: 3px 0 0 0;
    padding: 0;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* 右側：縦並びにするエリア */
.header-right {
    display: flex;
    flex-direction: column; /* 上下に並べる */
    align-items: flex-end;   /* 右端に揃える */
    gap: 8px;              /* 電話とメニューの間の隙間 */
}

/* 上段：電話番号エリア */
.header-contact {
    text-align: right;
}

.contact-label {
    display: block;
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 2px;
    font-weight: bold;
}

.contact-phone {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
}

/* 下段：ナビゲーション */
.header-nav {
    display: flex;
    gap: 15px; /* HOMEと応募メールの間の隙間 */
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 3px 5px;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #3498db;
}

/* PC表示ではスマホ用ボタンとメニューを完全に非表示 */
@media (min-width: 769px) {
    .menu-trigger, 
    #menuTrigger,
    .mobile-menu,
    #mobileMenu {
        display: none !important;
    }
}






/* 既存の .contact-container の設定をこれに置き換えてください */
.contact-container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

/* 採用情報のコンテナも同様に中央寄せにする場合 */
.recruit-container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}



/* ページ全体をフレックスボックスにする */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* フッター以外のコンテンツを囲むエリアを押し広げる */
main {
    flex: 1;
}

/* フッターの青い帯とセンター配置 */
.footer {
    width: 100%;
    background-color: #0000FF; /* 青色 */
    color: #FFFFFF; /* 文字色白 */
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* コンテンツが短くても下に追従させる */
}
  /* 他の要素の上に重ならないように（必要に応じて） */
  z-index: 1000;
}