/**
 * Specialist Search Form Styles
 * 専門医検索フォーム専用スタイル - 再検索ボタンの開閉機能のみ
 */

/* Search Form Container */
.research {
    margin-bottom: 30px;
}

.research .btn { /* Re-search Button - 矩形デザイン */
    position: relative;
    display: block;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #2761A9; /* 単色背景 */
    border: none;
    border-radius: 0; /* 角丸なし */
    padding: 15px 20px;
    margin: 0 auto 30px auto;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 4px 15px rgba(39, 97, 169, 0.3);
}

/* Plus/Minus Icon - 16px左にずらす */
.research .btn:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 31px; /* 15px + 16px = 31px */
    width: 2px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
    transition: all 0.3s ease;
}

.research .btn:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 22px; /* 6px + 16px = 22px */
    width: 20px;
    height: 2px;
    margin-top: -1px;
    background: #fff;
    transition: all 0.3s ease;
}

/* When form is open, hide vertical line (minus icon) */
.research .btn.open:before {
    opacity: 0;
}

/* Hover Effects */
.research .btn:hover {
    background: #1e4f8a; /* 単色のホバー効果 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 97, 169, 0.4);
}

/* Search Form Animation - 開閉機能のみ */
.research .sp_search {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-20px);
    display: none;
    margin-top: 0;
}

.research .sp_search.open {
    opacity: 1;
    max-height: 1000px;
    transform: translateY(0);
    display: block;
    margin-top: 20px;
} 