@charset "utf-8";

body {
    background: #FFFCED;
}
main#search{
    padding-top: 180px;
}

#search_result{
padding:30px;
display:flex;
flex-wrap:wrap;
}

#search_result div{
border:1px solid #234f9c;
margin:0 20px 50px;
width:260px;
box-sizing:border-box;
}
#search_result div h3{
background:#234f9c;
color:#fff;
margin:0;
padding:5px 10px;
font-size:15px;
font-weight:normal;
}
#search_result div h3 span{
display:block;
font-size:16px;
font-weight:bold;
}
#search_result div p{
padding:5px 10px;
font-size:14px;
}
#search_result div a{
display:block;
width:12em;
margin:10px auto;
padding:5px;
background:#3475bf;
color:#fff;
border-radius:5px;
text-align:center;
}
ul#pager{
text-align:center;
}
ul#pager li{
display:inline-block;
margin:0 5px;
}
ul#pager li.cur{
font-weight:bold;
}
ul#pager li:not([class]) a{
color:#fa5505;
text-decoration:underline;
}



/* --------------- modal --------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}
.modal-content {
    position: relative;
    background: #fff;
    margin: 10% auto;
    padding: 40px 35px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}
.modal-content p {
    margin-bottom: 1.5rem;
    padding: 0 8px;
    border-left: 5px solid #27A6DC;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}
.modal-close {
    position: absolute;
    top: 2px;
    right: 16px;
    font-size: 2.0rem;
    font-weight: bold;
    cursor: pointer;
}
.select-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
}
.select-list label {
  cursor: pointer;
}
.select-list input[type="checkbox"] {
  display: none; /* チェックボックスを完全非表示 */
}
.city-option,
.facility-option {
  display: block;
  padding: 10px 16px;
  border: 1px solid #a8a8a8;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s;
}
input[type="checkbox"]:checked + .city-option,
input[type="checkbox"]:checked + .facility-option {
  background-color: #27a6dc;
  color: white;
  border-color: #27a6dc;
}
.modal-ok {
    display: block;
    width: 75%;
    margin: 2rem auto 0;
    padding: 1rem;
    background: #ffb700;
    border: none;
    border-radius: 100px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}


/* pagination */
.pagination {
    text-align: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    background-color: #dfdfdf;
    margin: 2px;
    padding: 4px 12px;
    font-size: 1.1rem;
    font-weight: bold;
}
.pagination a {
    color: #1e90ff;
}

@media screen and (max-width:750px) { 
    main#search{
        padding-top:0;
    }
    #searchword h2{
        font-size:20px;
    }
    #searchword p{
        padding:0;
        margin-bottom:30px;
    }
    #search_result{
        padding:0;
    }
    #search_result div{
        width:100%;
        margin:0 0 30px;
    }
}



/*
 検索BOX（2025.5~）
 */
.search-box {
    margin: 11px;
    padding: 2.5rem 3.5rem;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 11px rgba(115, 115, 115, 0.25);
    text-align: center;
}
.search-box input[type="text"] {
    width: 675px;
    height: 42px;
    margin-right: 2px;
    padding: 5px 18px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #f8f8f8;
    font-size: 18px;
}
.search-box button[type="submit"] {
    height: 54px;
    padding: 5px;
    background: #FFB700;
    border: none;
    border-radius: 2px;
    vertical-align: bottom;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 2.0;
    cursor: pointer;
}
.search-box #sas-search-text button[type="submit"] {
    width: 100px;
}
.search-box #sas-search-select button[type="submit"] {
    width: 300px;
    margin-top: 25px;
}
.search-box button[type="submit"] img {
    position: relative;
    top: 3px;
    width: 24px;
    height: 24px;
}
.search-box hr {
    margin: 25px 0;
    border: none;
    border-top: 1px solid #a8a8a8;
}
.sas-btn-group {
    font-size: 0;
}
.search-box .sas-btn-group select,
.search-box .sas-btn-group button {
    -webkit-appearance: none;
    appearance: none;
    width: 32%;
    height: 54px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #f8f8f8;
    color: #666;
    font-size: 1.0rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    text-align-last: center;
    vertical-align: bottom;
    cursor: pointer;
}
.search-box .sas-btn-group button#city-modal-btn {
    margin: 0 2%;
}
.search-box .sas-btn-group button span {
    color: #27A6DC;
    font-weight: bold;
}

.search-result-wrapper {
    margin: 11px;
}
.search-result-head {
    margin-top: 2.8rem;
    font-size: 1.4rem;
    font-weight: bold;
}
.search-result-head span {
    display: inline-block;
    margin-left: 10px;
}
.search-result-head span b {
    position: relative;
    top: 2px;
    font-size: 1.8rem;
}
.search-result-head span i {
    display: inline-block;
    margin-left: 3px;
    font-size: 1.0rem;
    font-style: normal;
    font-weight: normal;
}
[data-tab="nursery"] .search-result-head span b {
    color: #27A6DC;
}
[data-tab="corp"] .search-result-head span b {
    color: #00a548;
}


.search-result-body {
    margin: 1.2rem 0 2.0rem;
    box-shadow: 2px 2px 10px 2px rgba(115, 115, 115, 0.25);
}
.search-result-body .search-results-tabs {
    display: flex;
    background: #f2f2f2;
    text-align: center;
}
.search-result-body .search-results-tabs li {
    width: 50%;
    padding: 18px 0;
    box-shadow: inset 0 -6px 6px rgba(100, 100, 100, 0.1);
    border-top: 5px solid #f2f2f2;
    color: #a8a8a8;
    font-size: 1.4rem;
    font-weight: bold;
}
.srb-content {
    padding: 3.2rem 2rem;
}

/* ---------- ページャー ---------- */
.search-result-pager {
    margin: 1.2rem 0 0;
    font-size: 1.2rem;
    text-align: center;
}
.search-result-pager span,
.search-result-pager a {
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    margin: 0 6px;
    padding: 6px 6px;
    border-radius: 100px;
    line-height: 1;

}
.search-result-pager span.current {
    color: #fff;
    background: #27A6DC;
}
[data-tab="nursery"] .search-result-pager span.current {
    background: #27A6DC;
}
[data-tab="corp"] .search-result-pager span.current {
    background: #00a548;
}
.search-result-pager .prev::before,
.search-result-pager .next::before {
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    border-top: 2px solid #333;
    position: relative;
    top: -3px;
}
.search-result-pager .prev::before {
    margin-right: 1.5rem;
    border-left: 2px solid #333;
    transform: rotate(-45deg);
}
.search-result-pager .next::before {
    margin-left: 1.5rem;
    border-right: 2px solid #333;
    transform: rotate(45deg);
}
.page-numbers.disabled {
  pointer-events: none;
  opacity: 0.4;
  cursor: default;
}

.result-count,
.pager {
    display: none;
}
.result-count.active,
.pager.active {
    display: block;
}

/* ---------- 施設一覧・法人一覧 ---------- */
/* 枠：article */
.srb-content.srb-tab2 {
    display: none;
}
.srb-content article {
    margin-bottom: 2.5rem;
    padding: 2.0rem 2.0rem 2.5rem;
    background: #fff;
    box-shadow: 2px 2px 7px 1px rgba(110, 110, 110, 0.25);
}
.srb-content article a {
    display: block;
}
.srb-content article a:hover {
    opacity: 1;
    color: #27A6DC;
}
.search-result-body .search-results-tabs li {
    cursor: pointer;
}
.search-result-body .search-results-tabs li:hover {
    opacity: 0.7;
}
.search-result-body .search-results-tabs li.srb-nav1.active {
    background: #DAEAFF;
    box-shadow: none;
    border-top: 5px solid #57a0ff;
    color: #333;
}
.search-result-body .search-results-tabs li.srb-nav2.active {
    background: #e5f9de;
    box-shadow: none;
    border-top: 5px solid #00a548;
    color: #333;
}
/* タブ */
.srb-tab1 {
    background: #DAEAFF;
}
.search-result-body .search-results-tabs li.srb-nav2.active {
    background: #E5F8DE;
}
.srb-tab2 {
    background: #E5F8DE;
}
/* コンテンツ */
.srb-head {
    padding: 0 1px;
    font-weight: bold;
}
.srb-head div {
    margin-top: 3px;
    font-size: 0.95rem;
    line-height: 1.4;
}
.srb-head h1 {
    font-size: 1.6rem;
    line-height: 1.2;
}
.srb-tab1 .srb-head h1 {
    margin: 0 0 12px;
}
.srb-tab2 .srb-head h1 {
    margin: 0 0 2px;
}
.srb-head p {
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.5;
}
.srb-tab2 .srb-head p {
    margin-top: 9px;
    line-height: 1.4;
}
.srb-content hr {
    margin: 14px 0 22px;
    border: 1px solid #ddd;
}
.srb-body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.srb-body figure {
    width: 260px;
    margin-bottom: 6px;
}
.srb-body figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    vertical-align: top;
}
.srb-body ul li {
    display: inline-block;
    margin: 6px 5px 0 0;
    padding: 3px 1.2rem;
    border: 2px solid #f96c84;
    border-radius: 100px;
    color: #f96c84;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}
.srb-body-left {
    width: 260px;
}
.srb-body-right {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin: 0 1px 0 25px;
    background: #f2f2f2;
}
.srb-body table {
    border-collapse: collapse;
    width: 100%;
    padding: 6px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    color: #333 !important;
}
.srb-body table tr {
    border-top: 1px solid #838181;
    vertical-align: top;
}
.srb-body table tr:first-child {
    border: none;
}
.srb-body table th,
.srb-body table td {
    padding: 9px 6px;
}
.srb-body table th {
    width: 110px;
    font-weight: bold;
}
.srb-body table th:before {
    content: '';
    display: block;
    float: left;
    width: 21px;
    height: 21px;
    margin-right: 9px;
    background-size: 100% 100%;
}
.srb-body .srb-nursery-capacity th:before,
.srb-body .srb-corp-job th:before {
    background-image: url('/images/common/icon-nursery-capacity.png');
}
.srb-body .srb-nursery-address th:before {
    background-image: url('/images/common/icon-nursery-address.png');
}
.srb-body .srb-nursery-access th:before,
.srb-body .srb-corp-place th:before {
    background-image: url('/images/common/icon-nursery-access.png');
}
.srb-body .srb-corp-salary th:before {
    background-image: url('/images/common/icon-corp-salary.png');
}
.srb-body .srb-corp-holiday th:before {
    background-image: url('/images/common/icon-corp-holiday.png');
}
.text-muted {
    display: block;
    color: #666;
    font-size: 12px;
}
.srb-content article > p {
    font-size: 11px;
    color: #838181;
    text-align: right;
}
/* リンク */
.srb-content .srb-links {
    margin: 2rem 0 0;
    text-align: center;
}
.srb-content .srb-links div {
    display: inline-block;
    width: 40%;
    margin: 0 2px;
}
.srb-content .srb-links div a {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-radius: 6px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}
.srb-content .srb-link-kengaku a {
    background: #EF862A;
}
.srb-content .srb-link-line a {
    background: #1BCE3E;
}


@media screen and (max-width: 750px) {
    body {
        background: #fff;
    }
    main.wrap {
        width: 100%;
        padding-top: 90px !important;
    }
    .search-result-wrapper {
        margin: 0;
    }
    .search-box {
        margin: 1rem;
        padding: 10px 12px 14px;
        box-shadow: 0 0 6px rgba(115, 115, 115, 0.25);
    }
    .search-box input[type="text"] {
        width: 65%;
        height: 30px;
        margin: 0;
        padding: 4px 10px;
        font-size: 12px;
    }
    .search-box #sas-search-text button[type="submit"] {
        width: 25%;
        height: 40px;
        font-size: 14px;
    }
    .search-box button[type="submit"] img {
        width: 18px;
        height: 18px;
        margin-right: 2px;
    }
    .search-box hr {
        margin: 11px 0;
    }
    .search-box .sas-btn-group select,
    .search-box .sas-btn-group button {
        height: 40px;
        margin-bottom: 8px;
        font-size: 13px;
    }
    .search-box .sas-btn-group button#city-modal-btn {
        margin: 0 2% 8px;
    }
    .search-box #sas-search-select button[type="submit"] {
        width: 100%;
        height: 40px;
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.5;
    }

    /* modal */
    .modal-close {
        top: 7px;
        right: 7px;
        padding: 2px;
    }
    .modal-content {
        width: 85%;
        padding: 30px 18px;
        line-height: 1.0;
    }
    .modal-content p {
        font-size: 1.2rem;
    }
    .select-list {
        gap: 10px;
    }
    .city-option,
    .facility-option {
        padding: 10px 5px;
        font-size: 13px;
        line-height: 1.2;
    }

    /* 検索結果（件数&ページネーション） */
    .search-result-head {
        margin: 20px 1rem;
        font-size: 1.2rem;
    }
    .search-result-head span {
        margin-left: 6px;
    }
    .search-result-head span b {
        top: 1px;
        font-size: 1.7rem;
    }
    .search-result-head span i {
        margin-left: 4px;
        font-size: 14px;
    }
    .search-result-pager {
        font-size: 16px;
    }
    .search-result-pager span,
    .search-result-pager a {
        min-width: 15px;
        min-height: 15px;
        margin: 0 2px;
        padding: 4px 4px;
        letter-spacing: -1px;
        text-indent: -1px;
    }
    .search-result-pager span.dots {
        margin: 0 0;
        padding: 0;
    }
    .search-result-pager .prev::before,
    .search-result-pager .next::before {
        width: 8px;
        height: 8px;
        top: -2px;
        border-width: 1px;
    }
    .search-result-pager .prev::before {
        margin-right: 4px;
    }
    .search-result-pager .next::before {
        margin-left: 4px;
    }

    /* 検索結果（コンテンツ） */
    .search-results-tabs li,
    .search-results-tabs li.active {
        border-width: 2px !important;
    }
    .search-result-body .search-results-tabs li {
        padding: 6px 0;
        font-size: 1.1rem;
    }
    .srb-content {
        padding: 2.0rem 10px 5px;
    }
    .srb-content hr {
        margin: 14px 0 19px;
    }
    .srb-content article {
        padding: 1.3rem 12px 1.6rem;
    }
    .srb-head {
        padding: 0 2px;
    }
    .srb-head h1 {
        font-size: 1.2rem;
    }
    .srb-head p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .srb-body {
        display: block;
    }
    .srb-body-left {
        width: 100%;
    }
    .srb-body figure {
        width: 100%;
    }
    .srb-body ul li {
        margin: 7px 5px 0 0;
        padding: 8px 1.5rem;
        border-width: 1px;
        font-size: 13px;
        font-weight: normal;
    }
    .srb-body-right {
        margin: 1rem 0 0;
    }
    .srb-body table {
        font-size: 0.95rem;
    }
    .srb-body table th,
    .srb-body table td {
        padding: 14px 3px;
    }
    .srb-body table th:before {
        margin-right: 8px;
    }
    .srb-content article > p {
        font-size: 10px;
        line-height: 1.6;
        text-align: left;
    }
    .srb-content .srb-links {
        margin-top: 14px;
    }
    .srb-content .srb-links div {
        width: 49%;
        margin: 0;
    }
    .srb-content .srb-links div a {
        padding: 16px 0;
        font-size: 1.2rem;
    }
}