@charset "utf-8";

/* =========================================================
   index.css
   役割：index.html 専用スタイル
   ※ 既存HTML内の style を外出しした版
   ========================================================= */

@import url(../components.css);

    .container{
      max-width: 1100px;
      margin: 0 auto;
      padding: 24px 16px;
    }

    /* -------------------------------
       Hero（スライドショー）
    -------------------------------- */
    .hero{
      background:#fff;
      border:1px solid #e5e7eb;
      border-radius: 12px;
      overflow: hidden;
    }
    .hero-slider{
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 5;
      background:#f1f5f9;
    }
    .hero-slider img{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity .6s ease;
    }
    .hero-slider img.is-active{ opacity: 1; }

    /* キャッチ（クリックで物件一覧へ） */
    .hero-caption{
      position: absolute;
      left: 14px;
      bottom: 12px;
      background: rgba(255,255,255,0.88);
      border: 1px solid rgba(0,0,0,0.06);
      border-radius: 12px;
      padding: 10px 12px;
      max-width: min(92%, 520px);
      text-decoration: none;
      color: inherit;
      display: block;
    }
    .hero-caption h2{
      margin: 0 0 4px;
      font-size: 18px;
      font-weight: 900;
      color:#0f172a;
    }
    .hero-caption p{
      margin: 0;
      color:#334155;
      font-weight: 700;
      font-size: 14px;
      line-height: 1.5;
    }

    /* CTA */
    .cta-row{
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
      padding: 12px 14px;
      border-top: 1px solid #e5e7eb;
      background: #fff;
    }

    /* ボタン（トップ専用の小さなUI） */
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding: 10px 14px;
      border-radius: 12px;
      border: 1px solid #cdd6e4;
      background: #fff;
      color: #1f2a44;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      line-height: 1;
      white-space: nowrap;
    }
    .btn.primary{
      background: #e0f2fe;
      border-color: #7dd3fc;
      color: #075985;
    }
    .btn.pink{
      background: #fce7f3;
      border-color: #f9a8d4;
      color: #9d174d;
    }
    .btn.outline{
      background: #fff;
      border-color: #cdd6e4;
      color: #1f2a44;
    }




    /* -------------------------------
       Topic（追加トピック：お知らせ / スタッフ）
       ※既存デザインと馴染むよう統一
    -------------------------------- */
    .topics{
      margin-top: 16px;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .topic-card{
      background:#fff;
      border:1px solid #e5e7eb;
      border-radius: 12px;
      padding: 14px;
    }
    .topic-title{
      margin: 0 0 10px;
      font-size: 16px;
      font-weight: 900;
      color:#0f172a;
    }
    .news-list{
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .news-list li{
      padding: 10px 0;
      border-bottom: 1px dashed #e5e7eb;
      color:#334155;
      font-weight: 600;
      line-height: 1.5;
    }
    .news-list li:last-child{ border-bottom: none; }
    .news-list time{
      display:inline-block;
      min-width: 110px;
      color:#64748b;
      font-weight: 800;
      font-size: 13px;
      margin-right: 8px;
    }

    .staff-wrap{
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 12px;
      align-items: start;
    }
    .staff-wrap img{
      width: 150px;
      height: auto;
      border-radius: 10px;
      border: 1px solid #e5e7eb;
      display:block;
      background:#f1f5f9;
    }
    .staff-wrap h4{
      margin: 0 0 8px;
      font-size: 15px;
      font-weight: 900;
      color:#0f172a;
    }
    .staff-wrap p{
      margin: 0;
      color:#334155;
      font-weight: 600;
      line-height: 1.65;
      font-size: 14px;
    }
    .highlight{
      margin-top: 10px;
      font-weight: 900;
      color: #b91c1c; /* fudousanBの代替（より自然） */
    }

    /* 追加バナー */
    .bnr-row{
      margin-top: 12px;
      display:flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .bnr-row a{
      text-decoration:none;
      color:inherit;
    }
    .bnr-box{
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      overflow:hidden;
      background:#f8fafc;
      padding: 10px;
      display:flex;
      align-items:center;
      gap: 10px;
    }
    .bnr-box img{
      display:block;
      height: 44px;
      width: auto;
    }
    .bnr-box .bnr-text{
      font-weight: 800;
      color:#0f172a;
    }

    /* レスポンシブ */
    @media (max-width: 860px){
      .cards{ grid-template-columns: 1fr; }
      .hero-slider{ aspect-ratio: 16 / 8; }
      .topics{ grid-template-columns: 1fr; }
      .staff-wrap{ grid-template-columns: 1fr; }
      .staff-wrap img{ width: 100%; max-width: 280px; }
    }
  

	.topic-actions{
	  margin-top:12px;
	  text-align:right;
	}

