/* =========================================================
   Front Page Layout
   File: assets/css/4_pages/front-page.css
========================================================= */

/* --- 1. メインビジュアル (Hero Section) --- */
.p-hero {
    position: relative;
    width: 100%;
    height: 60vh; /* 画面の高さの60% */
    min-height: 400px;
    background-color: #eee; /* 画像がない時のプレースホルダー */
    background-image: url('images/main-visual.jpg'); /* 背景画像パス */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* 画像の上に薄い影を落として文字を読みやすく */
}

.p-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- 2. 検索セクション (Search Section) --- */
.p-staySearchSection {
    position: relative;
    z-index: 10;
}

.p-staySearchSection__inner {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.p-staySearchSection__title {
    font-size: 26px;
    margin-bottom: 30px;
    color: #333;
    letter-spacing: 0.05em;
    font-weight: 800;
}

/* --- 3. スマホ対応 --- */
@media screen and (max-width: 768px) {
    .p-hero {
        height: 50vh;
    }

    .p-staySearchSection__inner {
        padding: 30px 15px;
    }

    .p-staySearchSection__title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* =========================================================
    Top Page: Feature Section (1列リスト形式)
========================================================= */


/* 特集エリアの外枠（1列に並べる） */
.p-featureGrid {
    display: flex;
    flex-direction: column;
    gap: 0; /* カード側の margin-bottom を活かすため 0 に設定 */
	margin-top: 24px;
}
