/* 追加スタイル（single/archive/breadcrumb 等） */

/* パンくず */
.wh-breadcrumb {
    max-width: 1200px;
    margin: 16px auto;
    padding: 0 24px;
    font-size: 12px;
    color: var(--wh-text-sub);
}
.wh-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wh-breadcrumb li:not(:last-child):after { content: "›"; margin-left: 6px; color: var(--wh-border); }
.wh-breadcrumb a { color: var(--wh-primary); text-decoration: none; }
.wh-breadcrumb a:hover { text-decoration: underline; }

/* 2カラム */
.wh-front-columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
}
@media (max-width: 960px) { .wh-front-columns { grid-template-columns: 1fr; } }
.wh-front-side { display: flex; flex-direction: column; gap: 32px; }

/* 単発記事 */
.wh-single {
    max-width: 860px;
    margin: 24px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius);
}
.wh-single__title { font-size: 28px; font-weight: 800; color: var(--wh-primary-dark); margin: 8px 0 16px; line-height: 1.4; }
.wh-single__meta { font-size: 13px; color: var(--wh-text-sub); margin-bottom: 24px; }
.wh-single__thumb { margin: 0 -24px 24px; }
.wh-single__thumb img { width: 100%; height: auto; display: block; }
.wh-single__content { line-height: 1.9; }
.wh-single__content p { margin-bottom: 1.5em; }
.wh-single__content h2 { font-size: 22px; border-left: 4px solid var(--wh-primary); padding-left: 12px; margin: 32px 0 16px; }
.wh-single__content h3 { font-size: 18px; border-bottom: 2px solid var(--wh-primary-light); padding-bottom: 6px; margin: 24px 0 12px; }

/* 情報テーブル */
.wh-info-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.wh-info-table th, .wh-info-table td { border-bottom: 1px solid var(--wh-border); padding: 12px; text-align: left; vertical-align: top; }
.wh-info-table th { background: var(--wh-primary-light); width: 30%; color: var(--wh-primary-dark); font-weight: 700; }
@media (max-width: 640px) {
    .wh-info-table th, .wh-info-table td { display: block; width: 100%; border: none; }
    .wh-info-table th { background: var(--wh-primary-light); padding: 6px 12px; }
    .wh-info-table td { padding: 6px 12px 16px; border-bottom: 1px solid var(--wh-border); }
}

/* 地域ページヒーロー */
.wh-area-hero {
    max-width: 1200px;
    margin: 16px auto;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--wh-primary) 0%, var(--wh-primary-dark) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: var(--wh-radius);
}
.wh-area-hero__tag { display: inline-block; background: rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px; font-size: 12px; margin-bottom: 12px; }
.wh-area-hero__title { font-size: 32px; margin: 0 0 12px; }
.wh-area-hero__desc { font-size: 14px; opacity: .95; margin-bottom: 16px; }
.wh-area-hero__meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.wh-area-hero__meta a { color: #fff; text-decoration: underline; }

/* FAQ */
.wh-faq { margin-top: 40px; padding: 24px; background: var(--wh-bg); border-radius: var(--wh-radius); }
.wh-faq h2 { margin-top: 0; }
.wh-faq__item { border-bottom: 1px solid var(--wh-border); padding: 12px 0; }
.wh-faq__item summary { cursor: pointer; font-weight: 700; color: var(--wh-primary-dark); padding-left: 24px; position: relative; }
.wh-faq__item summary:before { content: "Q."; position: absolute; left: 0; color: var(--wh-primary); }
.wh-faq__answer { margin-top: 8px; padding-left: 24px; position: relative; color: var(--wh-text); }
.wh-faq__answer:before { content: "A."; position: absolute; left: 0; color: var(--wh-accent); font-weight: 700; }

/* モバイル：ハンバーガー */
.wh-header__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.wh-header__toggle span { display: block; width: 24px; height: 2px; background: var(--wh-text); margin: 5px 0; transition: .2s; }
@media (max-width: 960px) {
    .wh-header__toggle { display: block; margin-left: auto; }
    .wh-header__cta { display: none; }
    .wh-header__search { max-width: 200px; }
    .wh-nav { display: none; }
    .wh-nav.is-open, #wh-primary-nav.is-open { display: block; }
    .wh-nav__list { flex-direction: column; }
    .wh-nav__list > li > a { padding: 12px 20px; }
}

/* フェードイン */
.wh-card, .wh-job-card, .wh-ranking__item { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.wh-card.wh-in-view, .wh-job-card.wh-in-view, .wh-ranking__item.wh-in-view { opacity: 1; transform: none; }

/* ============================================
   v2: 写真素材 + 新アイコン用スタイル
   ============================================ */

/* ヒーロー：写真背景版 */
.wh-hero--photo {
    position: relative;
    color: #fff;
    background: var(--wh-hero-photo) center/cover no-repeat;
    padding: 88px 0 120px;
    overflow: hidden;
}
.wh-hero--photo .wh-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(30,94,174,0.85) 0%, rgba(59,165,92,0.55) 60%, rgba(30,94,174,0.35) 100%);
    z-index: 0;
}
.wh-hero--photo .wh-hero__inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.wh-hero--photo .wh-hero__body { max-width: 720px; }
.wh-hero--photo .wh-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
}
.wh-hero--photo .wh-hero__title {
    font-size: 42px; font-weight: 800; line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
    margin: 0 0 18px;
}
.wh-hero--photo .wh-hero__accent {
    background: linear-gradient(90deg, #FFE45E 0%, #3BA55C 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; font-weight: 900;
}
.wh-hero--photo .wh-hero__subtitle {
    font-size: 16px; line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin: 0 0 24px;
}
.wh-hero--photo .wh-hero__badges {
    display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px;
}
.wh-hero--photo .wh-hero__badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.95); color: #1E2A3B;
    padding: 10px 16px; border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.wh-hero--photo .wh-hero__badge-label { font-size: 11px; color: #6B7280; font-weight: 600; }
.wh-hero--photo .wh-hero__badge-value { font-size: 14px; font-weight: 700; color: #1E5EAE; }
.wh-hero--photo .wh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.wh-hero--photo .wh-hero__cta-primary,
.wh-hero--photo .wh-hero__cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.wh-hero--photo .wh-hero__cta-primary {
    background: linear-gradient(135deg, #FFE45E 0%, #FFB627 100%);
    color: #1E2A3B; box-shadow: 0 8px 22px rgba(255,182,39,0.4);
}
.wh-hero--photo .wh-hero__cta-secondary {
    background: rgba(255,255,255,0.15); color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.wh-hero--photo .wh-hero__cta-primary:hover,
.wh-hero--photo .wh-hero__cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.wh-hero--photo .wh-hero__wave {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
    background:
        radial-gradient(circle at 20% 100%, #fff 0 40px, transparent 41px),
        radial-gradient(circle at 60% 100%, #fff 0 50px, transparent 51px),
        radial-gradient(circle at 90% 100%, #fff 0 30px, transparent 31px);
    z-index: 1;
}
@media (max-width: 720px) {
    .wh-hero--photo { padding: 56px 0 80px; }
    .wh-hero--photo .wh-hero__title { font-size: 28px; }
    .wh-hero--photo .wh-hero__subtitle { font-size: 14px; }
}

/* カテゴリーショートカット（8種類・トーン別カラー） */
.wh-shortcut__head { text-align: center; margin: 40px 0 24px; }
.wh-shortcut__title {
    font-size: 26px; font-weight: 800; color: #1E5EAE; margin: 0 0 8px;
    position: relative; display: inline-block;
}
.wh-shortcut__title::before,
.wh-shortcut__title::after {
    content: ""; display: inline-block; width: 32px; height: 2px;
    background: linear-gradient(90deg, #1E5EAE, #3BA55C);
    vertical-align: middle; margin: 0 12px;
}
.wh-shortcut__lead { font-size: 14px; color: #6B7280; margin: 0; }
.wh-shortcut__grid--8 {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px;
    max-width: 1200px; margin: 0 auto 40px; padding: 0 24px;
}
.wh-shortcut__item {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 8px; border-radius: 18px;
    background: #fff; box-shadow: 0 4px 14px rgba(30,94,174,0.08);
    text-decoration: none; color: #1E2A3B; text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(30,94,174,0.06);
}
.wh-shortcut__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(30,94,174,0.16);
}
.wh-shortcut__img-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 88px; height: 88px; border-radius: 50%;
    background: linear-gradient(135deg, #EEF4FC 0%, #E8F5EE 100%);
    margin-bottom: 12px;
    transition: transform .3s ease;
}
.wh-shortcut__item:hover .wh-shortcut__img-wrap {
    transform: rotate(-6deg) scale(1.05);
}
.wh-shortcut__img-wrap img { width: 72px; height: 72px; }
.wh-shortcut__label { font-size: 13px; font-weight: 700; }
/* トーンカラー */
.wh-shortcut__item--blue   .wh-shortcut__img-wrap { background: linear-gradient(135deg,#DCE9FA,#B5D0F5); }
.wh-shortcut__item--green  .wh-shortcut__img-wrap { background: linear-gradient(135deg,#DFF3E4,#B7E1C1); }
.wh-shortcut__item--sky    .wh-shortcut__img-wrap { background: linear-gradient(135deg,#E1F3FA,#B9E3F4); }
.wh-shortcut__item--orange .wh-shortcut__img-wrap { background: linear-gradient(135deg,#FDE8D1,#F7CB99); }
.wh-shortcut__item--yellow .wh-shortcut__img-wrap { background: linear-gradient(135deg,#FFF3C4,#FFE082); }
.wh-shortcut__item--purple .wh-shortcut__img-wrap { background: linear-gradient(135deg,#E9E3F7,#C6B8E8); }
@media (max-width: 960px) { .wh-shortcut__grid--8 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .wh-shortcut__grid--8 { grid-template-columns: repeat(3, 1fr); } }

/* 対応エリア：写真背景オーバーレイ */
.wh-section--photo-bg { position: relative; overflow: hidden; padding: 56px 24px; }
.wh-section--photo-bg::before {
    content: ""; position: absolute; inset: 0;
    background: var(--wh-photo-bg) center/cover no-repeat;
    opacity: 0.18; z-index: 0;
}
.wh-section--photo-bg .wh-section__photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(238,244,252,0.85) 0%, rgba(255,255,255,0.98) 100%);
    z-index: 0;
}
.wh-section--photo-bg > * { position: relative; z-index: 1; }
.wh-section__lead {
    text-align: center; color: #4B5563; font-size: 14px; margin: 0 0 24px;
}
.wh-area-card {
    position: relative; padding: 16px 8px 14px;
    border-radius: 16px; background: #fff;
    border: 1px solid rgba(30,94,174,0.08);
    box-shadow: 0 3px 10px rgba(30,94,174,0.06);
    text-align: center; text-decoration: none; color: #1E2A3B;
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
}
.wh-area-card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 12px 22px rgba(30,94,174,0.16); }
.wh-area-card__pin {
    position: absolute; top: 8px; right: 8px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #1E5EAE;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(30,94,174,0.3);
}
.wh-area-card__pin img { filter: brightness(0) invert(1); }

/* 住まい特集：写真オーバーレイカード */
.wh-feature-grid--photo {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
@media (max-width: 960px) { .wh-feature-grid--photo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wh-feature-grid--photo { grid-template-columns: 1fr; } }
.wh-feature-card--photo {
    position: relative; overflow: hidden;
    min-height: 260px; border-radius: 20px;
    text-decoration: none; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; box-shadow: 0 8px 22px rgba(30,94,174,0.14);
    transition: transform .3s, box-shadow .3s;
}
.wh-feature-card--photo:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 32px rgba(30,94,174,0.22); }
.wh-feature-card__photo {
    position: absolute; inset: 0;
    background: var(--wh-card-photo) center/cover no-repeat;
    transition: transform .5s ease;
}
.wh-feature-card--photo:hover .wh-feature-card__photo { transform: scale(1.08); }
.wh-feature-card__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,94,174,0.1) 0%, rgba(30,94,174,0.85) 90%);
}
.wh-feature-card__icon-badge {
    position: absolute; top: 16px; left: 16px;
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}
.wh-feature-card__body { position: relative; z-index: 2; }
.wh-feature-card--photo .wh-feature-card__title {
    color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.wh-feature-card--photo .wh-feature-card__desc {
    color: rgba(255,255,255,0.95); font-size: 13px; margin: 0 0 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.wh-feature-card--photo .wh-feature-card__more {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(6px);
    color: #fff; font-size: 12px; font-weight: 700;
    border: 1px solid rgba(255,255,255,0.4);
}

/* 企業カード：写真ヘッダー */
.wh-card--company-photo {
    position: relative; overflow: hidden;
    border-radius: 18px; padding-top: 130px;
    background: #fff; box-shadow: 0 6px 18px rgba(30,94,174,0.1);
    transition: transform .25s, box-shadow .25s;
}
.wh-card--company-photo:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(30,94,174,0.18); }
.wh-card__company-photo {
    position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: var(--wh-card-photo) center/cover no-repeat;
}
.wh-card__company-scrim {
    position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: linear-gradient(180deg, rgba(30,94,174,0.35) 0%, rgba(255,255,255,0) 100%);
}
.wh-card--company-photo .wh-card__company-head {
    position: relative; z-index: 2;
    display: flex; gap: 14px; align-items: flex-end;
    padding: 0 20px; margin-top: -50px;
}
.wh-card--company-photo .wh-card__company-img {
    width: 84px; height: 84px; border-radius: 20px;
    background: #fff; padding: 10px;
    box-shadow: 0 6px 16px rgba(30,94,174,0.2);
    object-fit: contain;
}
.wh-card__company-city {
    display: inline-flex; align-items: center; gap: 4px;
    background: #1E5EAE; color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
    box-shadow: 0 2px 6px rgba(30,94,174,0.3);
}
.wh-card__company-city img { filter: brightness(0) invert(1); }
.wh-card--company-photo .wh-card__title {
    font-size: 16px; font-weight: 800; margin: 8px 0 0;
    color: #1E2A3B;
}
.wh-card--company-photo .wh-card__excerpt {
    padding: 12px 20px 0; font-size: 13px; color: #4B5563; line-height: 1.7;
}
.wh-card--company-photo .wh-card__link {
    display: inline-block; margin: 12px 20px 20px;
    color: #1E5EAE; font-weight: 700; text-decoration: none;
}
.wh-card-grid--company {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
@media (max-width: 960px) { .wh-card-grid--company { grid-template-columns: 1fr; } }

/* 求人セクション：写真ヘッダー付き */
.wh-section__header--photo {
    position: relative; overflow: hidden;
    padding: 32px 24px; border-radius: 16px;
    margin: 0 24px 24px; color: #fff;
    background: var(--wh-header-photo) center/cover no-repeat;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.wh-section__header-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(30,94,174,0.85) 0%, rgba(59,165,92,0.6) 100%);
}
.wh-section__header--photo .wh-section__title-wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.wh-section__title--on-photo { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.wh-section__more--on-photo {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.95); color: #1E5EAE;
    padding: 8px 18px; border-radius: 999px;
    font-weight: 700; text-decoration: none; font-size: 13px;
}
.wh-section__header--photo .wh-section__icon {
    background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.wh-job-card__icon-badge {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg,#EEF4FC,#DCE9FA);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(30,94,174,0.15);
}
.wh-job-card__badge img,
.wh-job-card__salary img { vertical-align: -2px; margin-right: 4px; }

/* 新着記事：プレースホルダーを写真＋アイコンに */
.wh-card__thumb-placeholder--photo {
    position: relative; width: 100%; padding-top: 62.5%; overflow: hidden;
    background: var(--wh-ph-photo) center/cover no-repeat;
}
.wh-card__thumb-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,94,174,0.15) 0%, rgba(30,94,174,0.5) 100%);
}
.wh-card__thumb-icon {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.95); border-radius: 50%; padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ヘッダー検索ボタン：新アイコン */
.wh-header__search button {
    background: linear-gradient(135deg, #1E5EAE, #3BA55C);
    border: none; border-radius: 0 999px 999px 0;
    padding: 8px 16px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: filter .2s;
}
.wh-header__search button:hover { filter: brightness(1.1); }
.wh-header__search button img { filter: brightness(0) invert(1); }

/* サイドバー：王冠アイコン強調 */
.wh-sidebox__header {
    position: relative;
    background: linear-gradient(135deg, #FFF3C4 0%, #FFE082 100%);
    border-radius: 12px 12px 0 0;
    padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
}
.wh-sidebox__icon {
    filter: drop-shadow(0 2px 4px rgba(255,182,39,0.4));
}
.wh-sidebox__title {
    font-size: 16px; font-weight: 800; color: #8B5A00; margin: 0;
}

/* ============================================
   v3: 対応エリア刷新 / 住まい特集調整 / 企業カード刷新
   ============================================ */

/* --- 対応エリア: 大型ピン＋市名 --- */
.wh-area-grid--pin {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 1024px) { .wh-area-grid--pin { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px)  { .wh-area-grid--pin { grid-template-columns: repeat(3, 1fr); } }

.wh-area-card--pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(30,94,174,0.10);
    box-shadow: 0 3px 10px rgba(30,94,174,0.08);
    text-decoration: none;
    color: #1E2A3B;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    overflow: hidden;
}
.wh-area-card--pin::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #1E5EAE, #3BA55C);
    opacity: .85;
}
.wh-area-card--pin:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px rgba(30,94,174,0.18);
    border-color: rgba(30,94,174,0.25);
}
.wh-area-card__pref {
    font-size: 11px;
    color: #6B7280;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: .04em;
}
.wh-area-card__pin-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EEF4FC 0%, #DCE9FA 100%);
    box-shadow: inset 0 2px 6px rgba(30,94,174,0.12);
    margin-bottom: 10px;
    transition: transform .3s ease;
}
.wh-area-card__pin-lg img {
    width: 42px; height: 42px;
    filter: drop-shadow(0 3px 4px rgba(30,94,174,0.35));
}
.wh-area-card--pin:hover .wh-area-card__pin-lg {
    transform: translateY(-3px) scale(1.05);
}
.wh-area-card__name {
    font-size: 15px;
    font-weight: 800;
    color: #1E2A3B;
    letter-spacing: .02em;
}
.wh-area-card__arrow {
    position: absolute;
    right: 10px; bottom: 8px;
    color: #1E5EAE;
    font-weight: 700;
    opacity: .55;
    transition: opacity .2s, transform .2s;
}
.wh-area-card--pin:hover .wh-area-card__arrow {
    opacity: 1;
    transform: translateX(3px);
}
/* 千葉トーン */
.wh-area-card--green::before { background: linear-gradient(90deg, #3BA55C, #1E5EAE); }
.wh-area-card--green .wh-area-card__pin-lg {
    background: linear-gradient(135deg, #E8F5EE 0%, #D0EBD8 100%);
}

/* 家イラスト付きの旧CSSは無効化（重複防止） */
.wh-area-grid--rich .wh-area-card__img-wrap,
.wh-area-grid--rich .wh-area-card__pin { display: none; }

/* --- 住まい特集: タイトルプレート・下グラデ --- */
.wh-feature-card--photo {
    min-height: 280px;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}
/* スクリムを下半分中心に */
.wh-feature-card__scrim {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(30,94,174,0.15) 40%,
        rgba(30,94,174,0.75) 78%,
        rgba(15,52,110,0.92) 100%
    );
}
/* 旧アイコンバッジ（左上絶対配置）は解除 */
.wh-feature-card--photo .wh-feature-card__icon-badge {
    position: static;
    top: auto; left: auto;
    width: 40px;
    height: 40px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    flex: 0 0 40px;
}
.wh-feature-card--photo .wh-feature-card__icon-badge img {
    width: 26px; height: 26px;
}
/* タイトルプレート：アイコンと横並び */
.wh-feature-card__title-plate {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 20px 0;
    padding: 8px 16px 8px 8px;
    background: rgba(255,255,255,0.94);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    align-self: flex-start;
    max-width: calc(100% - 40px);
}
.wh-feature-card--photo .wh-feature-card__title {
    color: #1E2A3B;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    text-shadow: none;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wh-feature-card__body {
    position: relative;
    z-index: 2;
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wh-feature-card--photo .wh-feature-card__desc {
    color: #fff;
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.wh-feature-card--photo .wh-feature-card__more {
    align-self: flex-start;
    padding: 7px 16px;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
}

/* --- 企業カード: 写真ヘッダー中心 --- */
.wh-card--company-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(30,94,174,0.10);
    transition: transform .25s, box-shadow .25s;
}
.wh-card--company-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(30,94,174,0.18);
}
.wh-card__company-photo-link {
    position: relative;
    display: block;
    height: 180px;
    text-decoration: none;
    overflow: hidden;
}
.wh-card__company-photo-v2 {
    position: absolute;
    inset: 0;
    background: var(--wh-card-photo) center/cover no-repeat;
    transition: transform .5s ease;
}
.wh-card--company-v2:hover .wh-card__company-photo-v2 {
    transform: scale(1.06);
}
.wh-card__company-scrim-v2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.05) 40%,
        rgba(15,52,110,0.75) 100%
    );
}
.wh-card__city-pin {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: #1E5EAE;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(30,94,174,0.35);
}
.wh-card__city-pin img {
    filter: brightness(0) invert(1);
}
.wh-card__company-name-on-photo {
    position: absolute;
    left: 16px; right: 16px; bottom: 14px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
    letter-spacing: .02em;
}
.wh-card__company-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wh-card--company-v2 .wh-card__excerpt {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}
.wh-card--company-v2 .wh-card__link {
    align-self: flex-start;
    color: #1E5EAE;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}
.wh-card--company-v2 .wh-card__link:hover {
    text-decoration: underline;
}
/* 旧v1企業カードの装飾は非表示 */
.wh-card--company-v2 .wh-card__company-head,
.wh-card--company-v2 .wh-card__company-img { display: none; }

/* ============================================
   v4: ヘッダー再構築 / ロゴ拡大 / モバイル対応
   ============================================ */

/* ---- 上部ユーティリティ帯：1行整列 ---- */
.wh-header__top {
    background: linear-gradient(90deg, #F4F8FD 0%, #EEF6F1 100%);
    border-bottom: 1px solid rgba(30,94,174,0.08);
    font-size: 12px;
    color: #4B5563;
}
.wh-header__top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 36px;
}
.wh-header__tagline {
    font-size: 12px;
    color: #4B5563;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wh-header__utility-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.wh-header__utility-list li {
    position: relative;
    padding: 0 14px;
}
.wh-header__utility-list li + li::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 12px;
    background: rgba(30,94,174,0.25);
}
.wh-header__utility-list a {
    color: #1E5EAE;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.wh-header__utility-list a:hover { color: #3BA55C; text-decoration: underline; }

/* ---- ヘッダーメイン：ロゴ拡大 ---- */
.wh-header__main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.wh-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.wh-header__logo img,
.wh-header__logo .custom-logo {
    height: 96px !important;  /* 70 → 96px */
    width: auto !important;
    max-height: 96px;
    max-width: 420px;
    display: block;
}
.wh-header__search {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    max-width: 340px;
    width: 100%;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(30,94,174,0.15);
    transition: border-color .2s, box-shadow .2s;
}
.wh-header__search:focus-within {
    border-color: #1E5EAE;
    box-shadow: 0 0 0 3px rgba(30,94,174,0.15);
}
.wh-header__search input {
    flex: 1;
    border: 0;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    background: transparent;
    min-width: 0;
}
.wh-header__cta {
    flex-shrink: 0;
    padding: 12px 22px;
    background: linear-gradient(135deg, #3BA55C 0%, #2F8A4B 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(59,165,92,0.35);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.wh-header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(59,165,92,0.5);
}

/* ---- フッターロゴ拡大 ---- */
.wh-footer__logo {
    width: 340px !important;
    max-width: 100%;
    height: auto !important;
    display: block;
    margin-bottom: 4px;
}

/* ---- カテゴリーショートカット：アイコン表示拡大＆コントラスト強化 ---- */
.wh-shortcut__img-wrap {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #E4EEFB 0%, #D9EDE2 100%);
    box-shadow: inset 0 2px 6px rgba(30,94,174,0.08);
}
.wh-shortcut__img-wrap img {
    width: 78px;
    height: 78px;
}
.wh-shortcut__item--blue   .wh-shortcut__img-wrap { background: linear-gradient(135deg,#CFE2FA,#A5C6F2); }
.wh-shortcut__item--green  .wh-shortcut__img-wrap { background: linear-gradient(135deg,#D2EEDA,#A6D6B4); }
.wh-shortcut__item--sky    .wh-shortcut__img-wrap { background: linear-gradient(135deg,#D4EEF7,#A8D8EE); }
.wh-shortcut__item--orange .wh-shortcut__img-wrap { background: linear-gradient(135deg,#FCE0BE,#F5BC7A); }
.wh-shortcut__item--yellow .wh-shortcut__img-wrap { background: linear-gradient(135deg,#FFEDB2,#FFD86B); }
.wh-shortcut__item--purple .wh-shortcut__img-wrap { background: linear-gradient(135deg,#E0D8F3,#B9A9E0); }

/* ============================================
   モバイル対応 (≤768px)
   ============================================ */
@media (max-width: 768px) {
    /* 上部帯：縦2段だが整った表示に */
    .wh-header__top-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 6px 16px;
    }
    .wh-header__tagline {
        font-size: 11px;
        white-space: normal;
    }
    .wh-header__utility-list li { padding: 0 8px; }
    .wh-header__utility-list a { font-size: 11px; }

    /* ヘッダーメイン */
    .wh-header__main {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .wh-header__logo img,
    .wh-header__logo .custom-logo {
        height: 64px !important;
        max-height: 64px;
    }
    .wh-header__search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
    .wh-header__cta {
        margin-left: auto;
        padding: 9px 14px;
        font-size: 12px;
    }

    /* フッターロゴ */
    .wh-footer__logo {
        width: 260px !important;
    }

    /* カテゴリーショートカット：3列 */
    .wh-shortcut__grid--8 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
        padding: 0 16px;
    }
    .wh-shortcut__img-wrap {
        width: 76px;
        height: 76px;
    }
    .wh-shortcut__img-wrap img {
        width: 60px;
        height: 60px;
    }

    /* 対応エリア：3列 */
    .wh-area-grid--pin { grid-template-columns: repeat(3, 1fr) !important; }
    .wh-area-card__pin-lg { width: 56px; height: 56px; }
    .wh-area-card__pin-lg img { width: 34px; height: 34px; }
    .wh-area-card__name { font-size: 13px; }
    .wh-area-card__pref { font-size: 10px; }

    /* 住まい特集：1列 */
    .wh-feature-grid--photo { grid-template-columns: 1fr !important; }
    .wh-feature-card--photo { min-height: 240px; }

    /* 企業カード：1列 */
    .wh-card-grid--company { grid-template-columns: 1fr !important; }
    .wh-card__company-photo-link { height: 200px; }

    /* ヒーロー：文字サイズ調整 */
    .wh-hero--photo .wh-hero__title { font-size: 24px; }
    .wh-hero--photo .wh-hero__subtitle { font-size: 13px; }

    /* ハンバーガー */
    .wh-header__toggle { display: inline-flex; }
    .wh-nav .wh-nav__list {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .wh-header__logo img,
    .wh-header__logo .custom-logo {
        height: 56px !important;
        max-height: 56px;
    }
    .wh-shortcut__grid--8 { grid-template-columns: repeat(2, 1fr) !important; }
    .wh-area-grid--pin { grid-template-columns: repeat(2, 1fr) !important; }
    .wh-header__cta {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* ============================================
   v5: 対応エリアのホバー修正（都道府県ラベルの視認性確保）
   ============================================ */
.wh-area-card--pin:hover .wh-area-card__pref {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.wh-area-card--pin:hover .wh-area-card__name {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.wh-area-card--pin:hover {
    background: linear-gradient(135deg, #1E5EAE 0%, #2872C7 100%);
    border-color: #1E5EAE;
}
.wh-area-card--green:hover {
    background: linear-gradient(135deg, #3BA55C 0%, #4CB871 100%);
    border-color: #3BA55C;
}
.wh-area-card--pin:hover .wh-area-card__pin-lg {
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.15);
}
.wh-area-card--pin:hover .wh-area-card__pin-lg img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.wh-area-card--pin:hover .wh-area-card__arrow {
    color: #fff;
    opacity: 1;
}

/* ============================================
   v6: フッター3カラム対応 / LINEアイコン拡大
   ============================================ */
.wh-footer__grid--3col {
    grid-template-columns: 1.4fr 1fr 1.2fr !important;
}
@media (max-width: 960px) {
    .wh-footer__grid--3col {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 640px) {
    .wh-footer__grid--3col {
        grid-template-columns: 1fr !important;
    }
}
.wh-line-box__logo {
    width: 72px !important;
    height: 72px !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(6,199,85,0.35);
}
