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

/* ==========================================================================
   1. 変数定義・基本リセット
   ========================================================================== */
:root {
    --bg-primary: #f8f7f5;       /* メイン背景 */
    --bg-secondary: #eeebe7;     /* サブ背景 */
    --color-dark: #3a3835;       /* メインカラー */
    --color-muted: #6e6a65;      /* テキスト用 */
    --color-light: #9fa4a6;      /* シルバーグレー */
    --white: #ffffff;
    
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none !important;
    
}

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

/* ==========================================================================
   2. 共通パーツ・アニメーション
   ========================================================================== */
.fade-in-target {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: 0.15em;
    margin-bottom: 70px;
    color: var(--color-dark);
    position: relative;
}



/* ==========================================================================
   3. ヘッダー
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 10000 !important;
    border-bottom: 1px solid rgba(58, 56, 53, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.header-logo-img {
    height: 45px;
    width: auto;
}

.header-logo h1 {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    color: var(--color-dark);
    line-height: 1.1;
    margin: 0;
	letter-spacing: 0.04em; 
	
}

.header-logo h1 span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    font-weight: 400;
    margin-top: 3px;
	
}





header nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

header nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-dark);
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

header nav ul li a:hover::after { width: 100%; }

.btn-contact {
    background: linear-gradient(135deg, var(--color-muted), var(--color-dark));
    color: var(--white) !important;
    padding: 13px 28px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* ハンバーガー用チェックボックス・ボタン：PC では非表示 */
#menu-btn-check { display: none; }
.menu-btn { display: none; }

/* ==========================================================================
   レスポンシブ：1200px 以下
   ========================================================================== */
@media screen and (max-width: 1200px) {

    header {
        padding: 0 20px;
        height: 80px;
    }

    /* ── ハンバーガーボタン ── */
    .menu-btn {
        display: flex;
        height: 60px;
        width: 40px;
        justify-content: center;
        align-items: center;
        z-index: 100000;
        cursor: pointer;
        position: relative;
        flex-shrink: 0;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 2px;
        width: 30px;
        border-radius: 2px;
        background-color: var(--color-dark);
        position: absolute;
        transition: all 0.3s ease;
    }

    .menu-btn span:before { top: -8px; }
    .menu-btn span:after  { top:  8px; }

    /* チェック時：× に変形 */
    #menu-btn-check:checked ~ .menu-btn span { background-color: transparent; }
    #menu-btn-check:checked ~ .menu-btn span:before { top: 0; transform: rotate(45deg); }
    #menu-btn-check:checked ~ .menu-btn span:after  { top: 0; transform: rotate(-45deg); }

    /* ── スライドメニュー本体 ── */
    .nav-container {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 99999;
        transition: left 0.45s cubic-bezier(0.77, 0, 0.18, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
        padding: 90px 0 40px; /* ヘッダー高さ分だけ上を空ける */
    }

    #menu-btn-check:checked ~ .nav-container { left: 0; }

    /* ── ナビリスト ── */
    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 320px;
    }

    /* 各項目 */
    header nav ul li {
        width: 100%;
        text-align: center;
        
    }

    header nav ul li:first-child {
        
    }

    /* テキストリンク */
    header nav ul li a {
        display: block;
        font-size: 0.95rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        color: var(--color-dark);
        padding: 22px 0;
        width: 100%;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    header nav ul li a:hover {
        color: var(--color-muted);
        background-color: rgba(58, 56, 53, 0.02);
    }

    /* PC版のホバー下線を非表示 */
    header nav ul li a::after { display: none; }

    /* ── お問い合わせボタン ── */
    header nav ul li:last-child {
        border: none;
        padding-top: 32px;
    }

    header nav ul li .btn-contact {
        display: inline-block;
        padding: 16px 48px;
        font-size: 0.88rem;
        letter-spacing: 0.12em;
        border-radius: 2px;
        background: linear-gradient(135deg, var(--color-muted), var(--color-dark));
        color: var(--white) !important;
    }

    header nav ul li .btn-contact::after { display: none; }
}

/* ==========================================================================
   4. メインビジュアル（ヒーロー）
   ========================================================================== */
.hero-section {
    height: 95vh;
    position: relative; /* スライドを背面に配置するため */
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background-color: var(--bg-primary); /* 読み込み時のバックアップ色 */
}

/* スライドショー本体 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* コンテンツより下 */
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: hero-slider-animation 24s infinite; /* 8秒×3枚 = 24秒 */
}

/* スライド画像の設定（お好みの画像URLに差し替えてください） */
.slide-item:nth-child(1) {
    background-image: url('images/iwakuni.webp');
    animation-delay: 0s;
}
.slide-item:nth-child(2) {
    background-image: url('images/todoroki.webp');
    animation-delay: 8s;
}
.slide-item:nth-child(3) {
    background-image: url('images/minamimachi.webp');
    animation-delay: 16s;
}

/* オーバーレイ（画像の上に薄く被せるフィルター） */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左側を明るくして文字を読みやすくするグラデーション */
    background: linear-gradient(90deg, rgba(248,247,245,0.9) 20%, rgba(248,247,245,0.2) 60%, transparent 100%);
    z-index: 2;
}

/* フェードアニメーション */
@keyframes hero-slider-animation {
    0% { opacity: 0; transform: scale(1.0); }
    5% { opacity: 1; } /* 現れる */
    30% { opacity: 1; } /* 表示維持 */
    38% { opacity: 0; transform: scale(1.1); } /* 消える瞬間に少しズームアウトして動きを出す */
    100% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10; /* 最前面へ */
    max-width: 600px;
	padding-top: 120px !important;
}

.hero-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.punctuation {
    /* 。の右側の余白分（約0.5文字分）を左に引っ張る */
    margin-right: -0.8em; 
    /* ブラウザによってズレ方が違う場合があるため、inline-blockにする */
    display: inline-block;
}

.hero-content p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--color-muted);
}

.btn-action {
    display: inline-block;
    background-color: var(--color-dark);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    font-family: var(--font-serif);
}

.btn-action:hover {
    background-color: var(--color-muted);
    transform: translateY(-3px);
}
/* --- ヒーロー：レスポンシブ（SP版白いフィルター仕様） --- */
@media screen and (max-width: 800px) {
    .hero-section {
        padding: 0 20px;
        justify-content: center;
        /* ★修正：グラデーションを廃止し、均一な白いフィルター（透明度60%）を画像に重ねます */
        background: linear-gradient(0deg, rgba(248, 247, 245, 0.6) 0%, rgba(248, 247, 245, 0.6) 100%)
    }
    
    /* ★修正：重ねるオーバーレイ（::after）も、上から下までムラのない均一な白（透明度70%）に固定 */
    .hero-slider::after {
        background: rgba(248, 247, 245, 0.6) !important;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 120px !important; /* 上の文字の詰まりを防ぐパディング */
        margin-bottom: 60px;
    }

    .hero-content h2 {
        font-size: clamp(2.5rem, 6vw, 3.2rem) !important;
        white-space: normal !important;
        word-break: keep-all;
        margin-bottom: 20px;
        color: var(--color-dark) !important;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }

    .hero-content p {
        font-size: clamp(0.85rem, 2.5vw, 1rem) !important;
        white-space: normal !important;
        margin-bottom: 30px;
    }

    .btn-action {
        margin: 0 auto;
    }
}

/* ==========================================================================
   5. サービスセクション
   ========================================================================== */
.services-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--bg-primary);
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: var(--white);
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--white);
    box-shadow: 0 20px 45px rgba(58, 56, 53, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-muted);
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.4s ease, color 0.4s ease;
}

.service-card:hover .service-icon {
    color: var(--color-dark);
    transform: scale(1.05);
}

.service-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--color-dark);
    letter-spacing: 0.05em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.7;
	max-width: 300px;
	margin: 0 auto; 
}
	
@media screen and (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .services-section {
        padding: 80px 20px; /* 左右の余白を削減 */
    }
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .service-card {
        padding: 40px 20px;
    }
}



/* ==========================================================================
   6. リノベーションの流れ
   ========================================================================== */
.flow-section {
    padding: 120px 50px;
    background-color: var(--bg-secondary);
}

.flow-timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 10%;
    width: 82%;
    height: 1px;
    background-color: rgba(58, 56, 53, 0.1);
}

.flow-step {
    width: 18%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-light);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.flow-icon-wrap {
    width: 55px;
    height: 55px;
    background-color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1.2rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon-wrap {
    background-color: var(--color-dark);
    color: var(--white);
}

.flow-step h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* ==========================================================================
   1000px以下：縦タイムライン
   ========================================================================== */
@media screen and (max-width: 1000px) {

    .flow-section {
        padding: 80px 30px;
	
    }
	
	.section-title {
    white-space: nowrap;
}

    /* 横並び → 縦並びに切り替え */
    .flow-timeline {
        display: flex;
        flex-direction: column;
        gap: 50px; /* ★ステップごとの上下の間隔を50pxに均等化して広げる */
        padding: 20px 0;
    }

    /* 横ライン → 縦ライン（左端） */
    .flow-timeline::before {
		display: none !important;
        top: 0;
        left: 27px;        /* アイコン中心に揃える */
        width: 1px;
        height: 100%;
    }

    /* 各ステップの幅を100%にして、中身を中央寄せにする */
    .flow-step {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center; /* ★中身（数字、アイコン、文字）をすべて中央に */
        text-align: center;
        margin: 0 auto;
    }

    .flow-step:last-child {
        padding-bottom: 0;
    }

    /* 左カラム：番号 ＋ アイコンを縦に並べる */
    .flow-step-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .step-number {
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .flow-icon-wrap {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    /* 右カラム：テキスト */
    .flow-step-right {
        padding-top: 18px; /* 番号分下げて、アイコンの中心に揃える */
    }

    .flow-step h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .flow-step p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 1000px) {
    .section-title {
        white-space: nowrap;
        font-size: clamp(1rem, 5vw, 2rem);
    }
}

@media screen and (max-width: 480px) {
    .flow-section {
        padding: 60px 20px;
    }
    .section-title {
        font-size: clamp(0.9rem, 6vw, 1.4rem);
	    margin-bottom: 30px;
    }
}



/* ==========================================================================
   7. 施工事例（メイン ＆ 最新物件）
   ========================================================================== */
.cases-section {
    padding: 120px 50px;
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--white);
}

.case-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.case-tabs .tab-btn {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #3a3835;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.case-tabs .tab-btn:hover,
.case-tabs .tab-btn.active {
    background-color: #3a3835;
    border-color: #3a3835;
    color: #ffffff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.case-item { display: block; }

.case-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
}

.case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-img-wrap img {
    transform: scale(1.06);
}

.case-item p {
    font-size: 0.85rem;
    margin-top: 12px;
    font-weight: 500;
    color: var(--color-dark);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--color-dark);
    padding: 15px 50px;
    font-size: 0.9rem;
    color: var(--color-dark);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--white);
}

/* --- 最新物件情報背景セクション --- */
.recent-properties-section {
    background-color: #5b5a5b;
    padding: 100px 0;
    color: #ffffff;
	
}

.recent-properties-section .section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
	margin-top: 20px;
}

.property-section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}


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

.property-card {
    display: flex;
    flex-direction: column;
}

.property-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 0px;
    background-color: rgba(255, 255, 255, 0.1);
}

.property-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.property-card:hover .property-img-wrap img {
    transform: scale(1.04);
}

.property-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 15px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.property-more-wrap {
    width: 100% !important;
    text-align: center !important;
    margin-top: 80px;
    padding: 0;
}

.text-link-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.text-link-more i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.text-link-more:hover { opacity: 0.8; }
.text-link-more:hover i { transform: translateX(6px); }



/* 850px以下：2列 */
@media screen and (max-width: 850px) {

  .cases-section {
    padding: 80px 25px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .recent-properties-section {
    padding: 70px 0;
  }

  .recent-properties-section .section-inner {
    padding: 0 25px;
  }

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

  .property-more-wrap {
    margin-top: 50px;
  }
}

/* 480px以下：1列 */
@media screen and (max-width: 480px) {

  .cases-section {
    padding: 60px 16px;
  }

  .case-tabs {
    gap: 8px;
    padding: 0 4px;
  }

  .case-tabs .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .recent-properties-section {
    padding: 60px 0;
	
  }

  .recent-properties-section .section-inner {
    padding: 0 16px;
	margin-top: 0px;
  }

  .property-section-title {
    font-size: 1.6rem;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .text-link-more {
    font-size: 1rem;
  }

  .property-more-wrap {
    margin-top: 40px;
  }
}

/* ==========================================================================
   8. フッター共通設定
   ========================================================================== */
footer {
    background-color: #333333;
    color: #cbd1d4;
    padding: 80px 50px 30px;
    font-family: "Yu Mincho", "YuMincho", "MS Mincho", "Hiragino Mincho ProN", serif;
}

/* ==========================================================================
   PC版（901px以上）: 5列横並び
   ========================================================================== */
@media screen and (min-width: 901px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1.2fr 1.3fr 1.1fr 1.1fr 1fr;
        gap: 2.5vw;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 4vw;
        margin-bottom: 3vw;
        align-items: start;
    }
    .footer-copy-text {
        font-size: clamp(0.75rem, 1vw, 0.95rem);
        white-space: nowrap;
    }
    .footer-block-title {
        font-size: clamp(0.9rem, 1.3vw, 1.2rem);
        margin: 0 0 1.2vw 0;
        white-space: nowrap;
        font-weight: 700;
        color: #ffffff;
    }
    .footer-call h3 {
        color: #ffffff;
        font-size: clamp(1.1rem, 1.7vw, 1.6rem);
        margin-bottom: 0.5vw;
        white-space: nowrap;
    }
    .footer-call p {
        font-size: clamp(0.7rem, 0.9vw, 0.8rem);
        margin-bottom: 1.8vw;
        line-height: 1.5;
    }
    .btn-footer-contact {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        padding: 0.8vw 2vw;
        font-size: clamp(0.7rem, 0.9vw, 0.85rem);
        white-space: nowrap;
    }
    .footer-address-text {
        font-size: clamp(0.7rem, 0.9vw, 0.85rem);
        line-height: 1.7;
    }
    .footer-links-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.8vw;
        padding: 0;
        margin: 0;
    }
    .footer-links-list li a {
        font-size: clamp(0.7rem, 0.9vw, 0.85rem);
        color: #9fa4a6;
        transition: color 0.2s ease;
    }
}

/* ==========================================================================
   共通
   ========================================================================== */
.btn-footer-contact:hover { background-color: #ffffff; color: #333333; }
.footer-links-list li a:hover { color: #ffffff; }
.copyright { text-align: center; font-size: 0.75rem; color: #72787a; }

.footer-logo-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo-link { display: block; margin-bottom: 12px; }
.footer-logo-img { display: block; width: 150px; height: auto; }

/* ==========================================================================
   タブレット（481px〜900px）
   ========================================================================== */
@media screen and (max-width: 900px) and (min-width: 481px) {

    footer {
        padding: 60px 30px 30px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "logo  logo"
            "call  call"
            "addr2 addr1"
            "link  link";
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 40px;
        margin-bottom: 25px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    /* ロゴ：全幅 */
    .footer-logo-wrap {
        grid-area: logo;
        align-items: center;
        text-align: center;
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-copy-text {
        font-size: 0.8rem;
        color: #9fa4a6;
    }

    /* 電話：全幅 */
    .footer-call {
        grid-area: call;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-call h3 {
        color: #ffffff;
        font-size: 1.5rem;
        margin-bottom: 8px;
        white-space: nowrap;
    }

    .footer-call p {
        font-size: 0.82rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .btn-footer-contact {
        display: inline-block;
        padding: 12px 32px;
        font-size: 0.85rem;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .footer-container > div:nth-child(3) { grid-area: addr1; }
    .footer-container > div:nth-child(4) { grid-area: addr2; }
    .footer-container > div:nth-child(5) { grid-area: link; }

    .footer-info-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 32px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-block-title {
        font-size: 0.72rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.4);
        letter-spacing: 0.14em;
        text-transform: uppercase;
        margin: 0 0 14px;
    }

    .footer-address-text {
        font-size: 0.88rem;
        line-height: 1.9;
        color: #cbd1d4;
    }

    .footer-container > div:nth-child(5) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .footer-container > div:nth-child(5) .footer-block-title {
        margin: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .footer-links-list {
        list-style: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 28px;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .footer-links-list li a {
        font-size: 0.85rem;
        color: #9fa4a6;
        transition: color 0.2s ease;
    }

    .footer-links-list li a:hover {
        color: #ffffff;
    }
}

/* ==========================================================================
   SP（480px以下）
   ========================================================================== */
@media screen and (max-width: 480px) {

    footer {
        padding: 48px 20px 24px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 32px;
        margin-bottom: 20px;
    }

    /* ロゴ */
    .footer-logo-wrap {
        align-items: center;
        text-align: center;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-copy-text {
        font-size: 0.78rem;
        color: #9fa4a6;
    }

    /* 電話 */
    .footer-call {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-call h3 {
        color: #ffffff;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .footer-call p {
        font-size: 0.78rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .btn-footer-contact {
        display: inline-block;
        padding: 12px 28px;
        font-size: 0.82rem;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    /* 住所・リンク：縦積み・左寄せ */
    .footer-info-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 20px;
    }

    .footer-info-block:last-child { margin-bottom: 0; }

    .footer-block-title {
        font-size: 0.88rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0 0 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .footer-address-text {
        font-size: 0.82rem;
        line-height: 1.7;
        color: #9fa4a6;
    }

    .footer-links-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0;
        margin: 0;
    }

    .footer-links-list li a {
        font-size: 0.82rem;
        color: #9fa4a6;
        display: block;
    }

    .cases-grid { grid-template-columns: 1fr; }
    .property-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 768px) {
    .cases-section { padding: 80px 20px; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}