/*
 * グリーン不動産テーマ
 * Theme Name: Green Real Estate
 * Version: 3.0.0
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #ffffff;
}

a {
    color: #1E8449;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #155a37;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 {
    font-size: 60px;
    margin-bottom: 30px;
    line-height: 1.1;
}

h2 {
    font-size: 48px;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 6px;
    background-color: #1E8449;
}

h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: #555;
}

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

.bg-white {
    background-color: #ffffff;
    padding: 140px 30px;
}

.bg-light {
    background-color: #f8f8f8;
    padding: 140px 30px;
}

/* ========== ヘッダー ========== */

header {
    background-color: #ffffff;
    border-bottom: 2px solid #1E8449;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 45px;
    margin: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1E8449;
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: #1E8449;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* サブメニュー */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    margin: 0;
}

.main-navigation ul ul a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.main-navigation ul ul a:hover {
    background-color: #e8f5e9;
    color: #1E8449;
}

/* ========== ハンバーガーメニュー ========== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューが開いている時のアニメーション */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

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

/* メニューオーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== ヒーロー ========== */

.hero-image-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding: 0;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    color: #ffffff;
    font-size: 60px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    line-height: 1.7;
}

/* ========== メッセージセクション ========== */

.message-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.message-content h2 {
    color: #1a1a1a;
}

.message-content p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.9;
}

.message-image {
    width: 100%;
    height: 450px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 事業内容 ========== */

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 80px;
}

.business-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.business-card-image {
    width: 100%;
    height: 280px;
    background-color: #e8f5e9;
    overflow: hidden;
}

.business-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-card-content {
    padding: 50px;
}

.business-card-content h3 {
    color: #1E8449;
    margin-bottom: 15px;
}

.business-card-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* ========== 強みセクション ========== */

.strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.strength-item {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 8px;
    border-left: 6px solid #1E8449;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.strength-item:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.strength-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    border-radius: 50%;
    background-color: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.strength-icon-1::before {
    content: '';
    width: 35px;
    height: 35px;
    border: 3px solid #1E8449;
    border-radius: 4px;
}

.strength-icon-2::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #1E8449;
    border-radius: 50%;
}

.strength-icon-3::before {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid #1E8449;
    border-radius: 4px;
}

.strength-icon-4::before {
    content: '';
    width: 28px;
    height: 28px;
    border: 3px solid #1E8449;
    border-radius: 50%;
}

.strength-item h4 {
    color: #1E8449;
    margin-bottom: 12px;
}

.strength-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* ========== 物件情報 ========== */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.property-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.property-image {
    width: 100%;
    height: 220px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    padding: 40px;
}

.property-category {
    display: inline-block;
    background-color: #e8f5e9;
    color: #1E8449;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.property-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.property-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.more-info {
    color: #1E8449;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.property-card:hover .more-info {
    margin-left: 5px;
}

/* ========== ニュース ========== */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 80px;
}

.news-item {
    padding: 40px;
    border-left: 6px solid #1E8449;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f0f7f4;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.news-date {
    display: block;
    color: #999;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-item h4 {
    margin-bottom: 12px;
}

.news-item h4 a {
    color: #1a1a1a;
}

.news-item h4 a:hover {
    color: #1E8449;
}

.news-item p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

/* ========== ボタン ========== */

.btn {
    display: inline-block;
    background-color: #1E8449;
    color: #ffffff;
    padding: 16px 45px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #1E8449;
    cursor: pointer;
}

.btn:hover {
    background-color: #155a37;
    border-color: #155a37;
}

.btn-large {
    padding: 18px 60px;
    font-size: 16px;
}

.btn-white {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-white:hover {
    background-color: #ffffff;
    color: #1E8449;
}

/* ========== CTA ========== */

.cta-section {
    background: linear-gradient(135deg, #1E8449 0%, #155a37 100%);
    color: #ffffff;
    padding: 120px 30px;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 25px;
}

.cta-section h2::after {
    background-color: #ffffff;
    margin: 0 auto;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== フッター ========== */

footer {
    background-color: #1E8449;
    color: #ffffff;
    padding: 80px 30px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-company-info p {
    font-size: 15px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-company-info strong {
    color: #ffffff;
    display: block;
    margin-top: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff;
}

/* ========== テーブル ========== */

.company-info-table table,
.company-history-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.company-info-table th,
.company-history-table th {
    background-color: #1E8449;
    color: #ffffff;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.company-info-table td,
.company-history-table td {
    padding: 20px;
    border: 1px solid #ddd;
    line-height: 1.8;
}

.company-info-table tr:nth-child(even),
.company-history-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.company-info-table tr:hover,
.company-history-table tr:hover {
    background-color: #f0f7f4;
}

.page-header {
    background-color: #f8f8f8;
    padding: 80px 30px;
    text-align: center;
}

.page-header h1 {
    color: #1a1a1a;
    font-size: 48px;
    margin: 0;
}

/* ========== レスポンシブ ========== */

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .hero-image-section {
        height: 400px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .message-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .strength-grid {
        grid-template-columns: 1fr;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    nav ul {
        gap: 30px;
    }

    .bg-white,
    .bg-light,
    .cta-section {
        padding: 100px 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-image-section {
        height: 300px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    .bg-white,
    .bg-light,
    .cta-section {
        padding: 80px 20px;
    }

    .container {
        padding: 0 20px;
    }

    .message-section,
    .business-grid,
    .strength-grid {
        gap: 30px;
    }
}

/* ========== ページテンプレート ========== */

.business-detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.business-detail-content h3 {
    color: #1E8449;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.business-detail-content ul {
    list-style: none;
    padding: 0;
}

.business-detail-content li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.business-detail-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1E8449;
    font-weight: bold;
}

.business-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.property-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-card a {
    text-decoration: none;
    color: inherit;
}

.property-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    padding: 25px;
}

.property-category {
    display: inline-block;
    background-color: #1E8449;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.property-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.property-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.more-info {
    color: #1E8449;
    font-weight: 600;
    font-size: 14px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.news-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.news-year {
    font-size: 18px;
    font-weight: 600;
    color: #1E8449;
}

.news-month-day {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.news-content h3 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.news-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #1E8449;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-link {
    color: #1E8449;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #155a3a;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    background: #ffffff;
}

.contact-form h2 {
    color: #1E8449;
    margin-bottom: 15px;
}

.contact-form > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-info {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.contact-info h2 {
    color: #1E8449;
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item h3 {
    color: #1E8449;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-phone,
.contact-fax {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-hours,
.contact-address {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.contact-map {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .business-detail-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   物件詳細ページ
======================================== */

.property-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.property-detail-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.property-main-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-property-image {
    width: 100%;
    height: auto;
    display: block;
}

.property-thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.property-thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-thumbnail:hover {
    border-color: #1E8449;
    transform: scale(1.05);
}

.property-detail-content {
    padding: 20px 0;
}

.property-info-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #1E8449;
}

.property-info-section h3 {
    font-size: 24px;
    color: #1E8449;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.property-info-table {
    width: 100%;
    border-collapse: collapse;
}

.property-info-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.property-info-table tr:last-child {
    border-bottom: none;
}

.property-info-table th {
    width: 30%;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    color: #555;
    background: #fff;
    font-size: 15px;
}

.property-info-table td {
    padding: 15px 10px;
    color: #333;
    font-size: 16px;
}

/* 金額を大きく太字で表示 */
.property-info-table tr:first-child th,
.property-info-table tr:first-child td {
    font-size: 18px;
}

.property-info-table tr:first-child td {
    font-size: 32px;
    font-weight: 700;
    color: #1E8449;
}

/* 坪単価も少し大きく */
.property-info-table tr:nth-child(2) td {
    font-size: 20px;
    font-weight: 600;
    color: #1E8449;
}

.property-description {
    line-height: 1.8;
    color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .property-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .property-detail-images {
        position: relative;
        top: 0;
    }
    
    .property-info-section {
        padding: 20px;
    }
    
    .property-info-table th {
        width: 40%;
        font-size: 14px;
    }
    
    .property-info-table td {
        font-size: 15px;
    }
    
    .property-info-table tr:first-child td {
        font-size: 24px;
    }
    
    .property-info-table tr:nth-child(2) td {
        font-size: 18px;
    }
}

/* ========================================
   レスポンシブデザイン（スマホ対応）
======================================== */

@media (max-width: 768px) {
    /* 基本設定 */
    body {
        font-size: 14px;
    }
    
    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }
    
    /* ナビゲーションメニューを右からスライドイン */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 80px 0 30px 0;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation a {
        display: block;
        padding: 18px 25px;
        font-size: 15px;
        color: #333;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .main-navigation a:hover {
        background-color: #f0f0f0;
        color: #1E8449;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .bg-white,
    .bg-light {
        padding: 60px 15px;
    }
    
    /* 見出し */
    h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 28px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    h2::after {
        width: 60px;
        height: 4px;
    }
    
    h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    /* ヘッダー */
    .site-header {
        padding: 15px 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-logo img {
        max-height: 50px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    /* ヒーローセクション */
    .hero {
        height: 400px;
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* 物件一覧グリッド */
    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-card {
        margin-bottom: 10px;
    }
    
    .property-card h3 {
        font-size: 18px;
    }
    
    .property-detail-item {
        font-size: 13px;
    }
    
    .detail-label {
        min-width: 70px;
        font-size: 12px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    /* ページヘッダー */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    /* フッター */
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* お知らせ一覧 */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-content {
        padding: 20px 15px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    /* 会社情報 */
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 事業内容 */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* テーブル */
    table {
        font-size: 13px;
    }
    
    table th,
    table td {
        padding: 10px 8px;
    }
    
    /* ボタン */
    .btn-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .company-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 38px;
    }
}
