:host { position: relative; display: block; min-height: 100vh; background: #f4eee4; color: #2f2720; } .search-page { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; padding: 0 38px 36px 0; background: #f4eee4; } .search-main { min-width: 0; box-sizing: border-box; } .search-panel { min-height: 760px; padding: 34px 42px 40px; background: #ffffff; border: 2px solid #d8caba; border-radius: 64px; box-sizing: border-box; } .page-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; } .page-title-row h1 { margin: 0; color: #2f2720; font-size: 34px; line-height: 1.1; font-weight: 800; } .top-action-list { display: flex; gap: 8px; } .top-button { width: 92px; height: 36px; border: 2px solid #d8caba; border-radius: 6px; background: #ffffff; color: #2f2720; font-size: 15px; font-weight: 800; text-decoration: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box; cursor: pointer; } .top-button:hover { background: #f6efe6; } .search-condition-area { margin-top: 0; } .search-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 104px; gap: 12px; align-items: center; } .search-input-box { height: 46px; border: 2px solid #d8caba; border-radius: 6px; background: #fffdf9; display: flex; align-items: center; padding: 0 16px; box-sizing: border-box; } .search-icon { width: 30px; color: #7b6b5c; font-size: 24px; font-weight: 800; } .search-input-box input { width: 100%; border: none; outline: none; background: transparent; color: #2f2720; font-size: 16px; font-weight: 700; font-family: inherit; } .search-input-box input::placeholder { color: #7b6b5c; font-weight: 600; } .search-button, .filter-button-main, .back-list-button { height: 46px; border-radius: 6px; font-size: 16px; font-weight: 800; cursor: pointer; box-sizing: border-box; } .search-button { border: 2px solid #8a6543; background: #8a6543; color: #ffffff; } .search-button:hover { background: #765639; } .filter-button-main, .back-list-button { border: 2px solid #d8caba; background: #ffffff; color: #2f2720; text-decoration: none; display: flex; align-items: center; justify-content: center; } .filter-button-main:hover, .back-list-button:hover { background: #f6efe6; } .search-filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .search-filter-button { min-width: 120px; height: 34px; padding: 0 14px; border: 2px solid #d8caba; border-radius: 6px; background: #f1e7d8; color: #2f2720; font-size: 14px; font-weight: 700; cursor: pointer; box-sizing: border-box; } .search-filter-button:hover { background: #eadfce; } .search-filter-button.active { background: #8a6543; border-color: #8a6543; color: #ffffff; } .search-result-panel { margin-top: 16px; padding: 0; border: 2px solid #d8caba; border-radius: 8px; background: #fffdf9; box-sizing: border-box; overflow: hidden; } .search-result-panel h2 { min-height: 40px; margin: 0; padding: 0 14px; background: #efe4d6; color: #2f2720; font-size: 22px; font-weight: 800; display: flex; align-items: center; } .result-group { margin-top: 0; padding: 14px; border-top: 1px solid #d8caba; } .result-group h3 { margin: 0 0 6px; color: #6f6257; font-size: 17px; font-weight: 800; } .result-row { min-height: 52px; margin-top: 6px; padding: 0 12px; border: 2px solid #d8caba; border-radius: 8px; background: #ffffff; color: #2f2720; text-decoration: none; display: grid; align-items: center; column-gap: 18px; box-sizing: border-box; } .result-row:hover { background: #f6efe6; } .danka-result-row { grid-template-columns: 1.1fr 1.4fr 1.8fr 80px; } .family-result-row { grid-template-columns: 1.1fr 1.6fr 1.2fr 1.6fr; } .kakocho-result-row { grid-template-columns: 1.2fr 1.4fr 1.4fr 1.2fr; } .result-main-text { font-weight: 800; } .result-link-text { color: #3f6f45; font-weight: 800; } .empty-result { min-height: 72px; padding: 22px; border: 2px solid #d8caba; border-radius: 10px; background: #ffffff; color: #7b6b5c; font-size: 16px; font-weight: 700; box-sizing: border-box; } .inside-note { margin: 16px 0 0; color: #7b6b5c; font-size: 14px; } .bottom-note { width: 700px; margin: 18px 0 22px 36px; padding: 4px 12px; border: 2px solid #d8caba; border-radius: 4px; background: #eadfce; color: #7b6b5c; font-size: 14px; box-sizing: border-box; } @media (max-width: 1100px) { .search-page { grid-template-columns: 1fr; padding: 0 24px 32px; } .search-panel { min-height: auto; border-radius: 28px; padding: 28px 24px 32px; } .search-input-row { grid-template-columns: 1fr 104px 104px; } .filter-button-main, .back-list-button { width: 100%; } .result-row { overflow-x: auto; } .danka-result-row, .family-result-row, .kakocho-result-row { min-width: 860px; } } @media (max-width: 800px) { .page-title-row { flex-direction: column; } .page-title-row h1 { font-size: 26px; } .search-input-row { grid-template-columns: 1fr; gap: 10px; } .search-filter-button { flex: 1; min-width: 100px; } .bottom-note { width: auto; margin: 10px 20px 22px; } }