/*
Theme Name: お仕事ノート 東三河版 2026
*/

:root {
    --pink: #f08380;
    --green: #7dc7b2;
    --yellow: #f9d558;
    --blue: #7ab8c6;
    --bg: #fdfaf5;
}

body {
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #444;
    line-height: 1.8;
}

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

/* 1. メインビジュアルを画面幅いっぱいに */
.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. 見出しのデザイン（ドット線） */
[class^="headline-"] {
    text-align: center;
    font-size: 26px;
    margin: 80px 0 40px;
    padding-bottom: 15px;
    position: relative;
    font-weight: bold;
}
[class^="headline-"]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 10px;
}
.headline-pink::after { background: var(--pink); }
.headline-blue::after { background: var(--blue); }
.headline-green::after { background: var(--green); }

/* 3. もこもこ白ボックス */
.moco-container {
    background: #fff;
    border-radius: 50px;
    padding: 50px;
    border: 4px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.text-content { flex: 1; }
.image-content { flex: 0 0 300px; }
.frame-img { width: 100%; border-radius: 20px; border: 8px solid #f9f9f9; }

/* 4. 3つの理由（グリッド） */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.reason-card {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    border: 3px solid;
    text-align: center;
}
.reason-card.pink { border-color: var(--pink); }
.reason-card.green { border-color: var(--green); }
.reason-card.yellow { border-color: var(--yellow); }

.badge {
    display: inline-block;
    padding: 3px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
}
.pink .badge { background: var(--pink); }
.green .badge { background: var(--green); }
.yellow .badge { background: var(--yellow); }

/* 5. 企業ロゴ一覧（4列グリッド） */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.logo-item {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #666;
    transition: transform 0.2s;
}
.logo-item:hover { transform: translateY(-5px); border-color: var(--green); }
.logo-img-wrap { height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.logo-img-wrap img { max-width: 100%; max-height: 80px; object-fit: contain; }

/* 6. 働く人の声（4列グリッド） */
.worker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.worker-item img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .flex-container, .reason-grid, .worker-grid { flex-direction: column; grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .moco-container { padding: 30px; border-radius: 30px; }
}

/* --- エリア別表示用の追加スタイル --- */

.area-block {
    margin-bottom: 60px;
}

/* 静岡版を意識したエリア見出し（緑の角丸タグ） */
.area-header {
    margin-bottom: 20px;
    border-bottom: 3px solid var(--green); /* 下に線を引く */
}

.area-header span {
    display: inline-block;
    background-color: var(--green);
    color: #fff;
    padding: 8px 30px;
    border-radius: 15px 15px 0 0; /* 上だけ丸くする */
    font-weight: bold;
    font-size: 18px;
}

/* ロゴグリッドの調整（静岡版に似た白背景・枠線） */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 0 20px 20px 20px;
    border: 2px solid #eee;
}

.logo-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #444;
    transition: 0.3s;
}

.logo-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--green);
}

.logo-img-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.logo-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-item p {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* スマホ表示 */
@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0 0 20px 20px;
    }
}