/*
Theme Name: UNIX HOME
Theme URI: https://example.com/
Author: あなたの名前
Author URI: https://example.com/
Description: ニセコ不動産投資のプロフェッショナル向けWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unixhome
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

/* --- ここから提供CSS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Real Estate Services Section */
.realestate-section {
    padding: 80px 0;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-content {
    flex: 1;
    padding: 60px;
    position: relative;
}

.service-title {
    font-size: 25px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.service-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.service-description ul {
    list-style: none;
    padding: 0;
}

.service-description li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.service-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Alternating Layout */
.service-left {
    flex-direction: row;
}

.service-right {
    flex-direction: row-reverse;
}

.service-right .service-title::after {
    left: auto;
    right: 0;
}
.realestate-description{
    text-align: left;
}
/* デスクトップ表示での順序を明示的に設定 */
@media (min-width: 993px) {
    .service-left .service-image {
        order: 1 !important;
    }
    
    .service-left .service-content {
        order: 2 !important;
    }
    
    .service-right .service-image {
        order: 2 !important;
    }
    
    .service-right .service-content {
        order: 3 !important;
    }
    
    /* PCでservice-imageとservice-contentの高さを統一 */
    .service-item {
        align-items: stretch;
    }
    
    .service-image {
        display: flex;
        align-items: stretch;
    }
    
    .service-image img {
        height: 100%;
        object-fit: cover;
    }
    
    .service-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-item {
        flex-direction: column !important;
        margin-bottom: 80px;
    }
    
    /* スマホ表示では常に画像が上、コンテンツが下になるように順序を固定 */
    .service-item .service-image {
        order: 1 !important;
    }
    
    .service-item .service-content {
        order: 2 !important;
        padding: 20px 0 20px 0;
    }
    
    .service-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .service-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-right .service-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .service-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .realestate-section {
        padding: 60px 0;
    }
    
    .service-item {
        margin-bottom: 60px;
        border-radius: 15px;
    }
    
    .service-content {
        padding: 0;
    }
    
    .service-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .service-description li {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .service-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .realestate-section {
        padding: 40px 0;
    }
    
    .service-item {
        margin-bottom: 40px;
        border-radius: 10px;
    }
    
    .service-content {
        padding: 0;
    }
    
    .service-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .service-description li {
        font-size: 0.95rem;
        margin-bottom: 12px;
        padding-left: 20px;
    }
    
    .service-image img {
        height: 200px;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        135deg,
        rgba(0, 40, 80, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(40, 80, 120, 0.6) 100%
    );
    z-index: -1;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Property Hero - 物件詳細ページ専用 */
.property-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 20px 60px 20px;
    z-index: 2;
}

/* Property Search Main - 物件検索ページ専用 */
.property-search-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px 20px;
    z-index: 2;
}

/* Page Header - 汎用ページヘッダーセクション */
.page-header {
    position: relative;
    height: 650px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ページごとの背景画像設定 */
.page-header-company {
    background-image: url('/wp-content/uploads/2025/07/prr_bg.jpg');
}

.page-header-contact {
    background-image: url('/wp-content/uploads/2025/07/contact_bg.jpg');
}

.page-header-about {
    background-image: url('/wp-content/uploads/2025/07/about-bg.jpg');
}

.page-header-realestate {
    background-image: url('/wp-content/uploads/2025/07/re_bg.jpg');
}
.page-header-vacationrental {
    background-image: url('/wp-content/uploads/2025/07/minpaku_bg.jpg');
}
.page-header-architecture {
    background-image: url('/wp-content/uploads/2025/07/arc_bg.jpg');
}
.page-header-internationalstudent {
    background-image: url('/wp-content/uploads/2025/08/chinese_bg.jpg');
}
.page-header-foreigninvestor {
    background-image: url('/wp-content/uploads/2025/08/fore_bg.jpg');
}
.page-header-privacypolicy{
    background-image: url('/wp-content/uploads/2025/08/25561114_m.jpg');
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header .page-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.property-search-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 0.05em;
}

.hero-video.loaded {
    opacity: 1;
}

/* 動画が読み込めない場合のフォールバック背景 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px 20px; /* ヘッダーの高さ分のパディングを追加 */
    background: transparent;
    z-index: 2;
    transition: background 0.5s ease;
}



/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 50px;
    z-index: 1000;
    transition: opacity 0.6s ease;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
    opacity: 0;
    animation: headerFadeIn 1s ease 0.5s forwards;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    padding: 10px 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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



/* 子メニューのスタイル */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 10px 0;
    opacity: 0;
    transition: all 0.3s ease;
    /* ホバー領域を拡張 */
    margin-top: -10px;
}

/* 子メニューのホバー領域を確保 */
.nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.nav-menu .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.nav-menu .sub-menu a {
    color: #fff;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-menu .sub-menu a::before {
    display: none;
}

/* 親メニューアイテムのスタイル */
.nav-menu .menu-item-has-children {
    position: relative;
}

/* 子メニューが表示されている時のスタイル */
.nav-menu .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.hero-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Property Search Form */
.search-container {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto 30px auto;
    animation: slideInUp 0.8s ease-out 0.3s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 931px;
    width: 100%;
    box-sizing: border-box;
}

.search-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    align-items: end;
    width: 100%;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group select,
.form-group input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* エリアグループのスタイル */
.area-group {
    grid-column: 1 / -1;
    text-align: center;
}

.area-label {
    text-align: center !important;
    font-size: 1rem !important;
    margin-bottom: 15px !important;
}

/* 全選択ボタンのスタイル */
.area-select-all {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.select-all-btn,
.deselect-all-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-all-btn:hover,
.deselect-all-btn:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-1px);
}

.deselect-all-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.deselect-all-btn:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
}

/* エリアチェックボックスグループのスタイル */
.area-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.area-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    min-width: 0;
    word-wrap: break-word;
}

.area-checkbox-item:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
}

.area-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4a90e2;
    cursor: pointer;
}

.area-checkbox-item label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 検索ボタングループのスタイル */
.search-button-group {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.search-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 35px;
    border: 2px solid white;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: white;
    color: #333;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    background: #f0f0f0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ▼ 三角矢印 - 円形背景付き */
.step-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 30px auto;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.step-arrow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* パルスアニメーション */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    }
    100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
}

/* Responsive */
/* 中間ブレークポイント */
@media (max-width: 1024px) {
    
    .search-form {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .area-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 5px 15px 40px 15px;
    }
    
    .header {
        padding: 0 20px 0 10px;
        margin-bottom: 20px;
    }

    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }

    /* ナビゲーションメニューを非表示 */
    .nav-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-container.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 20px;
    }

    .nav-menu a {
        padding: 15px 20px;
        font-size: 1.1rem;
        display: block;
        border-radius: 10px;
    }

    /* モバイルでの子メニュー */
    .nav-menu .sub-menu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
    }

    .nav-menu .sub-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }

    /* ハンバーガーメニュー内でフッターメニューを表示 */
    .nav-menu-container .nav-menu {
        display: none;
    }

    .nav-menu-container .mobile-footer-menu {
        display: block !important;
        width: 100%;
    }

    .nav-menu-container .mobile-nav-menu {
        display: block !important;
    }

    .search-container {
        padding: 30px 20px;
        margin: 0 auto 30px auto;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .area-select-all {
        align-items: center;
    }

    .select-all-btn,
    .deselect-all-btn {
        width: 120px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .property-hero {
        padding: 80px 10px 30px 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-content {
        width: 100%;
    }

    .search-container {
        padding: 15px;
        margin: 0 auto 30px auto;
    }
    
    .search-form {
        gap: 10px;
    }
    
    .area-checkbox-item {
        padding: 6px 8px;
    }
    
    .area-checkbox-item label {
        font-size: 0.8rem;
    }
}

/* 物件検索結果リスト */
.property-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}
.property-item {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: box-shadow 0.2s;
}
.property-item:hover {
    box-shadow: 0 8px 32px rgba(74,144,226,0.15);
}
.property-thumb img {
    border-radius: 12px;
    max-width: 180px;
    height: auto;
}
.property-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.property-meta {
    font-size: 1rem;
    color: #333;
}
@media (max-width: 600px) {
    .property-item {
        flex-direction: column;
        padding: 16px 8px;
        gap: 12px;
    }
    .property-thumb img {
        max-width: 100%;
    }
}

/* Latest Properties Section */
.latest-properties {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 2px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.property-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.1rem;
}

.property-info {
    padding: 24px;
}

.property-info .property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-meta span {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
}

.property-type {
    color: #4a90e2 !important;
    font-weight: 500;
}

.property-area {
    color: #28a745 !important;
    font-weight: 500;
}

.property-price {
    color: #dc3545 !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

.property-size {
    color: #6c757d !important;
}

.property-status {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 5px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff !important;
    border-radius: 5px;
    white-space: nowrap;
    text-align: center;
    background: #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    letter-spacing: 1px;
}

.property-status.status-for_sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #fff !important;
    border: 1px solid #4CAF50;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.3);
}

.property-status.status-under_offer {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff !important;
    border: 1px solid #ff6b35;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.property-status.status-sold {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: #fff !important;
    border: 1px solid #ff4757;
    box-shadow: 0 3px 12px rgba(255, 71, 87, 0.3);
}

.view-all-container {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
    color: white;
}

.no-properties {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
    padding: 40px;
}

/* Business Contents Section */
.business-contents {
    background: #ffffff;
    padding: 80px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    transition: background 0.4s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.business-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.business-card-1 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/realestate.jpg');
}

.business-card-2 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/architecture.jpg');
}

.business-card-3 {
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/vacation-rental.jpg');
}

.business-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}

.business-card-title {
    color: #111;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    font-size: 1.3rem;
    font-weight: bold;
}

.business-card-subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 20px;
}

.business-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 既存の小さなボタン用のスタイル（別の用途で使用されている場合） */
.business-card-link.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.business-card-link:hover {

}

.business-card-link.button:hover {
    background: #4a90e2;
    color: white;
    transform: scale(1.1);
}

/* Latest Properties Responsive */
.latest-properties {
    font-size: 1rem;
}

/* Business Contents Responsive */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    height: 400px;
}

@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .business-card {
        height: 400px;
    }

    /* Area Checkboxes Responsive */
    .area-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .search-container {
        padding: 12px;
        margin: 0 auto 30px auto;
    }
    
    .area-checkboxes {
        grid-template-columns: 1fr;
    }

    .business-card {
        height: 350px;
    }

    .business-card-title {
        margin-bottom: 10px;
    }

    .business-card-subtitle {
        font-size: 0.9rem;
    }

    .business-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    .business-card-link.button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .area-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* 非常に小さい画面用 */
@media (max-width: 360px) {
    
    .search-container {
        padding: 10px;
        margin: 0 auto 30px auto;
    }
    
    .search-title {
        font-size: 1.4rem;
    }
    
    .form-group select,
    .form-group input[type="text"] {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .area-checkbox-item {
        padding: 5px 6px;
    }
    
    .area-checkbox-item label {
        font-size: 0.75rem;
    }
    
    .search-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* 言語切り替え */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-link {
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    line-height: 1.2;
    height: 36px;
    box-sizing: border-box;
}

.lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-link.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ナビゲーションメニュー内の言語切り替え */
.language-menu-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-menu-item .language-switcher {
    display: flex;
    gap: 5px;
}

.language-menu-item .lang-link {
    padding: 6px 10px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    line-height: 1.2;
    height: 32px;
    box-sizing: border-box;
}

.language-menu-item .lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.language-menu-item .lang-link.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* フッター内の言語切替ボタン */
.footer-nav .language-menu-item .lang-link.active {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* フッターナビゲーション内の言語切替ボタン（より具体的） */
.footer-nav-list .language-menu-item .lang-link.active {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ヘッダーの調整 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-switcher {
        justify-content: center;
    }
    
    .lang-link {
        padding: 6px 10px;
        font-size: 0.8rem;
        color: #fff;
        height: 32px;
        min-width: 50px;
    }
}

/* ========== 会社概要ページ ========== */
.company-main {
    padding: 0 0 60px 0;
    min-height: 100vh;
}
.company-container {
    max-width: 900px;
    margin: 0 auto;
}

.company-logo {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.company-logo-img {
    max-width: 550px;
    width: 100%;
    height: auto;
}
.company-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.company-lead {
    font-size: 1.2rem;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: 2px;
}
.company-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;}
.company-profile, .company-group {
    margin-bottom: 40px;
}
.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}
.company-table th, .company-table td {
    padding: 18px 16px;
    font-size: 1rem;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: left;
}
.company-table th {
    background: #f2f2f2;
    color: #333;
    font-weight: 700;
    width: 180px;
    text-align: center;
}
.company-table tr:last-child th, .company-table tr:last-child td {
    border-bottom: none;
}
.company-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}
.company-topics {
    margin-bottom: 40px;
}
.company-topics p {
    font-size: 1.05rem;
    color: #333;
    padding: 18px 0 18px 0;
}
.company-topics strong {
    color: #dc3545;
    font-weight: 700;
}
.company-footer-info {
    text-align: center;
    margin-top: 40px;
    color: #222;
    font-size: 1.1rem;
}
.company-footer-info address {
    font-style: normal;
    color: #357abd;
    margin-top: 10px;
    line-height: 1.7;
}
@media (max-width: 700px) {
    .company-container {
        padding: 30px 20px 20px 20px;
    }
    .company-title {
        font-size: 2rem;
    }
    .company-lead {
        font-size: 1rem;
    }
    .company-table th, .company-table td {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
    .company-section-title {
        font-size: 1.1rem;
        padding-left: 8px;
    }
} 

.business-card-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.business-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.business-card-title,
.business-card-subtitle {
    color: #111;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.business-card-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 1px solid #fff;
    width: 120px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    cursor: pointer;
    overflow: hidden;
}
.business-card-arrow span {
    position: relative;
    z-index: 2;
    color: #fff;
    transition: color 0.15s;
    display: inline-block;
}
.business-card-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: 1;
    transition: width 0.15s cubic-bezier(0.4,0,0.2,1);
}
.business-card-arrow:hover::before {
    width: 100%;
}
.business-card-arrow:hover span {
    color: #111;
}

/* カード全体のホバーで矢印装飾を反転 */
.business-card:hover .business-card-arrow::before {
    width: 100%;
}
.business-card:hover .business-card-arrow span {
    color: #111;
}

.investor-section {
    padding: 60px 0;
}
.investor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.investor-main-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: #111;
}
.investor-content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.investor-image-col {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.investor-image {
    width: 560px;
    height: auto;
    object-fit: cover;
    display: block;
}
@media (max-width: 800px) {
    .investor-image {
        width: 100%;
        height: auto;
    }
}
.investor-text-col {
    flex: 2 1 400px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.investor-text-col p {
    color: #111;
    font-size: 1.1rem;
    line-height: 2;
    margin: 0;
    text-align: left;
}
.investor-arrow {
    position: relative;
    background: transparent;
    border: 1px solid #111;
    width: 100px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: normal;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: color 0.15s;
    cursor: pointer;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}
.investor-arrow span {
    position: relative;
    z-index: 2;
    color: #111;
    transition: color 0.15s;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: normal;
}
.investor-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: #111;
    z-index: 1;
    transition: width 0.15s cubic-bezier(0.4,0,0.2,1);
}
.investor-arrow:hover::before {
    width: 100%;
}
.investor-arrow:hover span {
    color: #fff;
}
@media (max-width: 992px) {
    .investor-content {
        flex-direction: column;
        gap: 5px;
    }
    .investor-image-col,
    .investor-text-col {
        max-width: 100%;
        min-width: 0;
    }
    .investor-image {
        width: 100%;
        height: auto;
    }
} 

.parallax-section {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('/wp-content/uploads/2025/07/prr_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

/* モバイルデバイス用のパララックス背景 */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        height: 140%;
        transform: translateY(0);
        will-change: transform;
    }
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}
.parallax-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}
.parallax-title {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 24px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.parallax-text {
    color: #fff;
    font-size: 1.15rem;
    line-height: 2;
    margin: 0;
    text-align: left;
}
@media (max-width: 800px) {
    .parallax-section {
        min-height: 220px;
    }
    .parallax-content {
        padding: 32px 10px;
    }
    .parallax-title {
        font-size: 1.3rem;
    }
    .parallax-text {
        font-size: 1rem;
    }
} 

.mg-top-100 {
    margin-top: 100px;
}
@media (max-width: 800px) {
    .mg-top-100 {
        margin-top: 50px;
    }
}

.contact-section {
    padding: 60px 0 40px 0;
}
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-description {
    text-align: left;
    margin-bottom: 40px;
}

.contact-description p {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #333;
    margin-bottom: 20px;
}

.contact-section-title {
    border-bottom: 3px solid #000;
    padding-bottom: 20px;
    margin-top: 80px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.contact-phone-number {
    color: #ffffff;
    width: 350px;
    max-width: 95%;
    font-size: 150%;
    padding: .8em 1.5em .7em;
    background-color: #535353;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
}

.contact-chat {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.contact-chat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-chat-item span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.contact-qr {
    width: 250px;
    height: 262px;
    object-fit: cover;
}
.contact-image-col {
    margin: 0 auto 32px auto;
    width: 100%;
    display: flex;
    justify-content: center;
}
.contact-image {
    height: auto;
    max-width: 1180px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.contact-text-col {
    margin: 0 auto;
    max-width: 700px;
    text-align: left;
}
.contact-text-col p {
    color: #111;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 24px;
    text-align: left;
}
.contact-arrow {
    margin: 0 auto;
}
@media (max-width: 800px) {
    .contact-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .contact-section {
        padding: 32px 0 24px 0;
    }
    
    .contact-chat {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-qr {
        width: 200px;
        height: auto;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

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

/* Footer Menu */
.footer-menu {
    margin-bottom: 40px;
    border-bottom: 1px solid #555555;
    padding-bottom: 30px;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.footer-nav-list li {
    margin: 0;
}

.footer-nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* フッターナビゲーション内の言語切替ボタンは通常のリンクスタイルを適用しない */
.footer-nav-list .language-menu-item .lang-link {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    transition: inherit;
    position: static;
}

.footer-nav-list a:hover {
    color: #cccccc;
}

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

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

/* Footer Content */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 40px;
    text-align: center;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
}

.footer-info {
    flex: 0 1 auto;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.4;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
    font-style: normal;
    margin: 0;
    text-align: left;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #000000;
    border-top: 1px solid #555555;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #999999;
    margin: 0;
}

/* Responsive Design */
/* Mobile Search Section */
.mobile-search-section {
    display: none;
    padding: 40px 0;
}
@media (min-width: 768px) {
    .property-card {
        max-width: 600px;
    }
}
@media (max-width: 768px) {
    /* モバイルでhero-contentのsearch-containerを非表示 */
    .hero-content .search-container {
        display: none;
    }
    
    /* モバイル検索セクションを表示 */
    .mobile-search-section {
        display: block;
    }
    
    /* 768px以下でCSS Gridを無効化し、縦並びに変更 */
    .properties-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
        align-items: center;
    }
    
    /* 768px以下でproperty-cardを中央配置 */
    .property-card {
        width: 100%;
    }
    
    /* モバイルでページヘッダーを調整 */
    .page-header {
        height: 200px;
        background-attachment: scroll;
    }
    
    .page-header .page-title {
        font-size: 2rem;
    }
    
    .site-footer {
        padding: 40px 0 0 0;
        margin-top: 60px;
    }
    
    .footer-nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo-img {
        max-height: 70%;
        max-width: 100%;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-address {
        font-size: 0.9rem;
    }
    
    /* 768px以下でロゴの高さを調整 */
    .logo img {
        height: 55px;
    }
    
    /* 768px以下でcompany-tableを縦並びに変更 */
    .company-table {
        display: block;
        border: 1px solid #ddd;
    }
    
    .company-table thead,
    .company-table tbody,
    .company-table tr {
        display: block;
    }
    
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 12px 8px;
    }
    
    .company-table th {
        background: #f8f9fa;
        font-weight: bold;
        border-bottom: 2px solid #ddd;
        text-align: center;
        border-right: none;
    }
    
    .company-table tr:last-child td {
        border-bottom: 1px solid #ddd;
    }
    
    /* 見出しの下線を確実に表示 */
    .company-table th {
        border-bottom: 2px solid #ddd !important;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-nav-list {
        gap: 15px;
    }
    
    .footer-nav-list a {
        font-size: 0.95rem;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
    }
    
    .footer-address {
        font-size: 0.85rem;
    }
}

/* ========== スクロールアニメーション ========== */

/* CSS for scroll animations */
.animated {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.from-bottom {
    transform: translateY(20px);
}

.from-right {
    transform: translateX(20px);
}

.from-left {
    transform: translateX(-20px);
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* 既存のクラスとの互換性を保つ */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* アニメーション遅延設定 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* Property Search Page Styles */
.property-search-main {
    padding: 120px 0;
    background: #f8f9fa;
}

.property-search-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.property-search-content .page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.property-search-content .page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

/* 検索フォームのスタイリング */
.property-search-content .search-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.property-search-content .search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.property-search-content .search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
}

.property-search-content .form-group {
    margin-bottom: 0;
}

.property-search-content .search-button-group {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.property-search-content .search-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.property-search-content .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

/* 検索結果エリアのスタイリング */
.search-results {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-results .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
}

.search-results .property-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-results .property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.search-results .property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-results .property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.search-results .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-results .property-card:hover .property-image img {
    transform: scale(1.05);
}

.search-results .property-info {
    padding: 24px;
}

.search-results .property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results .property-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-results .property-meta span {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
}

.search-results .property-type {
    color: #4a90e2 !important;
    font-weight: 500;
}

.search-results .property-area {
    color: #28a745 !important;
    font-weight: 500;
}

.search-results .property-price {
    color: #dc3545 !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

.search-results .property-status {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 5px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff !important;
    border-radius: 5px;
    white-space: nowrap;
    text-align: center;
    background: #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    letter-spacing: 1px;
}

.search-results .property-status.status-for_sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #fff !important;
    border: 1px solid #4CAF50;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.3);
}

.search-results .property-status.status-under_offer {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff !important;
    border: 1px solid #ff6b35;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.search-results .property-status.status-sold {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: #fff !important;
    border: 1px solid #ff4757;
    box-shadow: 0 3px 12px rgba(255, 71, 87, 0.3);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .property-search-content .search-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .property-search-content .search-container {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .search-results .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .property-search-content .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .property-search-content .search-container {
        padding: 20px 15px;
    }
    
    .search-results .properties-grid {
        padding: 15px;
    }
    
    .search-results .property-info {
        padding: 15px;
    }
    
    .property-search-content .page-title {
        font-size: 1.8rem;
    }
}

/* パンフレットリンクのスタイル */
.pamphlet-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pamphlet-link-item {
    line-height: 1.4;
}

.pamphlet-link-item a {
    color: #4a90e2;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-block;
    line-height: 1.4;
}

.pamphlet-link-item a:hover {
    color: #357abd;
}

/* パンフレットセルのスタイル */
.property-table .pamphlet-cell {
    white-space: normal !important;
    vertical-align: top;
    padding: 8px 12px;
}

.property-table .pamphlet-row {
    line-height: 1.4;
}

/* プライバシーポリシーページスタイル */
.privacy-policy-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafa 0%, #ffffff 100%);
}



.privacy-content {
    padding: 100px 0;
    background: #ffffff;
}

.privacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.privacy-intro {
    background: linear-gradient(135deg, #f8fafa 0%, #f0f4f4 100%);
    padding: 50px 60px;
    border-bottom: 3px solid #e8f2f2;
}

.privacy-intro .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
    font-weight: 400;
}

.privacy-articles {
    padding: 40px 60px;
}

.privacy-article {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
}

.privacy-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-article::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #27ae60 0%, #20957a 100%);
    border-radius: 2px;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.article-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    margin: 0;
    text-align: justify;
    padding-left: 20px;
}

.contact-info {
    background: linear-gradient(135deg, #27ae60 0%, #20957a 100%);
    padding: 50px 60px;
    text-align: center;
}

.contact-box {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.contact-details .company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.contact-tel {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #555;
}

.contact-tel a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-tel a:hover {
    color: #20957a;
    text-decoration: underline;
}

.contact-label {
    font-weight: 600;
    margin-right: 10px;
    color: #666;
}

.contact-hours {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header-privacy .page-title {
        font-size: 2.5rem;
    }
    
    .page-header-privacy .page-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-wrapper {
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .privacy-intro {
        padding: 30px 30px;
    }
    
    .privacy-articles {
        padding: 30px 30px;
    }
    
    .privacy-article::before {
        left: -30px;
    }
    
    .contact-info {
        padding: 30px 30px;
    }
    
    .contact-box {
        padding: 25px;
    }
    
    .contact-details .company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header-privacy {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-header-privacy .page-title {
        font-size: 2rem;
    }
    
    .privacy-intro {
        padding: 20px 20px;
    }
    
    .privacy-articles {
        padding: 20px 20px;
    }
    
    .privacy-article::before {
        left: -20px;
    }
    
    .contact-info {
        padding: 20px 20px;
    }
}

/* 同じ物件タイプの物件一覧 */
.similar-properties {
    padding: 80px 0;
}

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

.similar-properties .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.similar-properties .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.similar-properties .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.similar-properties .property-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.similar-properties .property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.similar-properties .property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-properties .property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.similar-properties .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-properties .property-card:hover .property-image img {
    transform: scale(1.05);
}

.similar-properties .property-info {
    padding: 24px;
}

.similar-properties .property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-properties .property-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-properties .property-meta span {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
}

.similar-properties .property-type {
    color: #4a90e2 !important;
    font-weight: 500;
}

.similar-properties .property-area {
    color: #28a745 !important;
    font-weight: 500;
}

.similar-properties .property-price {
    color: #dc3545 !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

.similar-properties .property-status {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 5px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff !important;
    border-radius: 5px;
    white-space: nowrap;
    text-align: center;
    background: #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    letter-spacing: 1px;
}

.similar-properties .property-status.status-for_sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #fff !important;
    border: 1px solid #4CAF50;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.3);
}

.similar-properties .property-status.status-under_offer {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff !important;
    border: 1px solid #ff6b35;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.similar-properties .property-status.status-sold {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: #fff !important;
    border: 1px solid #ff4757;
    box-shadow: 0 3px 12px rgba(255, 71, 87, 0.3);
}

.no-similar-properties {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .similar-properties {
        padding: 60px 0;
    }
    
    .similar-properties .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .similar-properties .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .similar-properties .property-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .similar-properties {
        padding: 40px 0;
    }
    
    .similar-properties .section-title {
        font-size: 1.8rem;
    }
    
    .similar-properties .property-image {
        height: 200px;
    }
}

/* パンくずリスト */
.breadcrumb-container {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
    margin-bottom: 0;
}

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

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 12px;
    color: #adb5bd;
    font-weight: 300;
}

.breadcrumb-link {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #357abd;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 15px 0;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 8px;
    }
    
    .breadcrumb-current {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        padding: 12px 0;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 6px;
    }
    
    .breadcrumb-current {
        max-width: 150px;
    }
}

@media (max-width: 1200px) {
    .property-hero {
        padding: 5px 15px 40px 15px;
    }
    
    .header {
        padding: 0 20px 0 10px;
        margin-bottom: 20px;
    }

    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }

    /* ナビゲーションメニューを非表示 */
    .nav-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-container.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 20px;
    }

    .nav-menu a {
        padding: 15px 20px;
        font-size: 1.1rem;
        display: block;
        border-radius: 10px;
    }

    /* モバイルでの子メニュー */
    .nav-menu .sub-menu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
    }

    .nav-menu .sub-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }

    .language-menu-item {
        display: block;
        margin-top: 50px!important;
    }

    .search-container {
        padding: 30px 20px;
        margin: 0 auto 30px auto;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .area-select-all {
        align-items: center;
    }

    .select-all-btn,
    .deselect-all-btn {
        width: 120px;
        padding: 10px 16px;
    }
}

/* モバイルでの言語切り替え */
.language-menu-item {
    margin-left: 0;
    margin-top: 10px;
}

.language-menu-item .language-switcher {
    flex-direction: row;
    gap: 5px;
    justify-content: center;
}

.language-menu-item .lang-link {
    padding: 6px 10px;
    font-size: 0.8rem;
    text-align: center;
    color: #fff;
    height: 32px;
    min-width: 50px;
}

/* ハンバーガーメニュー内の言語切り替え（中央揃え） */
.mobile-language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mobile-language-switcher .lang-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.mobile-language-switcher .lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-language-switcher .lang-link.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 600;
}

/* --- Contact Form (custom) --- */
.unixhome-contact-form {
    max-width: 760px;
    margin: 20px auto;
    text-align: left;
}
.unixhome-contact-form .form-row {
    margin-bottom: 16px;
}
/* 送信ボタンの中央寄せ用 */
.unixhome-contact-form .form-row.center {
    text-align: center;
}
/* 規約チェックボックスの中央寄せとインライン配置 */
.unixhome-contact-form .terms-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.unixhome-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.unixhome-contact-form .required {
    color: #d33;
    margin-left: 6px;
}
.unixhome-contact-form input[type="text"],
.unixhome-contact-form input[type="email"],
.unixhome-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}
.unixhome-contact-form textarea {
    min-height: 160px;
}
.unixhome-contact-form .radio-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.unixhome-contact-form .btn.btn-primary {
    background: #008080;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.unixhome-contact-form .btn.btn-primary:hover {
    opacity: 0.9;
}
.unixhome-contact-form .form-error-text {
    color: #d33;
    font-size: 0.95rem;
    margin-top: 6px;
}
.contact-alert {
    max-width: 760px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 4px;
    line-height: 1.6;
}
.contact-alert.success { background: #e8f7ef; color: #146c2e; border: 1px solid #bde5c8; }
.contact-alert.error { background: #fff4f4; color: #7a1f1f; border: 1px solid #f3caca; }

.contact-privacy {
    text-align: left;
}