:root {
    --orange: #ff8c00;
    --light_orange: #fcd69e;
}

body {
    font-family: sans-serif, '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    color: #333333;
}

/* 汎用CSS */
ul, ol {
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}
    a:hover {
        color: #000;
        text-decoration: none;
    }

.bg-orange {
    background-color: var(--orange)!important;
    border-color: var(--orange)!important;
}
.bg-light_orange {
    background-color: var(--light_orange)!important;
    border-color: var(--light_orange)!important;
}
.btn-orange {
    background-color: var(--orange);
    border-color: var(--orange);
}
    .btn-orange:hover {
        filter: brightness(85%);
    }
.bg-deleted {
    background-color: #ebebeb!important;
    border-color: #adadad!important;
}
    .bg-deleted:hover {
        box-shadow: 0 0 5px #ebebeb!important;
    }

/* pagination */
.page-link {
    color: rgb(0, 0, 0);
}
.page-item.active .page-link {
    z-index: 3;
    color: rgb(255, 255, 255);
    background-color: var(--orange);
    border-color: var(--orange);
}
.page-item.disabled .page-link {
    color: #8f98a1;
}



.topList-board {
    border: 1px solid #d6dfe5;
}


.sp-show {
    display: none;
}
.breadcrumbs {
    padding: 4px 6px;
}
header {
    padding: 10px 10px 20px;
    background-image: linear-gradient(20deg , #ff8c00, #ffa500);
    color: #fff;
}
.link-right {
    float: right;
    color: #fff;
    text-align: center;
    line-height: 60px;
}

.topHeader h1 {
    margin-top: 40px;
    font-size: 2.5em;
    text-align: center;
}
.keywordSearch-form {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 20px 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
}
.keywordSearch-input {
    width: calc(100% - 66px);
    height: 50px;
    padding: 0 15px;
    background: #fff;
    vertical-align: top;
    border-radius: 5px 0 0 5px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.keywordSearch-button {
    width: 60px;
    height: 50px;
    background: #e9e9e9;
    position: relative;
    left: -5px;
    border-radius: 0 5px 5px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    color: #000;
}
main {
    max-width: 900px;
    margin: 10px auto 80px;
    padding: 0 20px;
}
.h2Title {
    font-weight: inherit;
    font-size: 1.5em;
    margin: 35px 0 20px;
    padding: 0.5em 1em 0.5em 0.5em;
    display: inline-block;
    line-height: 1.3;
    background: #fcd69e;
    border-radius: 25px 0px 0px 25px;
}
.h2Title::before {
    content: "●";
    color: white;
    margin-right: 8px;
}
.homeList {
    display: flex;
    text-align: center;
}
.homeList-elem {
    width: 19%;
    margin: 0 3px;
    padding: 0 5px 10px;
    border: 1px solid #d6dfe5;
}
.rankingCount {
    display: block;
    position: relative;
    width: 22px;
    height: 18px;
    margin: 0 0 10px 5px;
    padding: 2px 0 0;
    background: #ff8c00;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.rankingCount::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    border-top: 7px solid #ff8c00;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
}
.rank1 {
    background-color: gold;
}
.rank1::after {
    border-top-color: gold;
}
.rank2 {
    background-color: silver;
}
.rank2::after {
    border-top-color: silver;
}
.rank3 {
    background-color: #AC6B25;
}
.rank3::after {
    border-top-color: #AC6B25;
}
.homeName {
    font-weight: bold;
    margin: 10px 0;
    height: 70px;
    overflow: hidden;
}
.homeList-kuchikomiCount {
    font-size: 0.8em;
    color: #555;
}
.homeList-star {
  margin: auto;
}
.homeList-starNum {
    padding: 10px 0 5px;
}
.pickup-homeName {
    font-size: 2em;
    font-weight: bold;
}
.pickup-starNum,
.result-starNum,
.detail-starNum{
    margin: 0 10px;
}
.pickup-kuchikomiCount,
.result-kuchikomiCount {
}
.pickup-content,
.result-homeContent {
    display: flex;
    margin-top: 20px;
}
.pickup-img,
.result-img {
    margin-right: 10px;
}
.pickup-img{
  width: 300px !important;
}

.pickup-kuchikomi {
    width: 70%;
}
.pickup-kuchikomi-title {
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #d6dfe5;
}
.pickup-kuchikomi-content {
    height: 90%;
    overflow: hidden;
}
#headText {
    font-weight: inherit;
    padding: 4px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}
.search-form {
    background-color: #dcdcdc;
    padding: 20px 50px 30px;
}
.search-form-div {
    max-width: 900px;
    margin: 0 auto;
}
.pagination {
    margin: 30px 0;
    text-align: center;
}
.pagination-item {
    display: inline-block;
    margin: 0 auto;
}
.pagination-item form,
.pagination-item p {
    display: inline-block;
}
.pagination-item p {
    margin: 0 20px;
}
.pagination-button {
    padding: 7px;
    border: 1px solid #aaa;
}
.result-condition {
    margin: 20px 0 30px;
}
.result-home {
    padding: 10px 0 30px;
    border-bottom: 1px solid #000;
}
.result-service,
.detail-service {
    font-size: 0.8em;
}
.result-homeName,
.detail-homeName {
    font-size: 1.5em;
}
.result-homeInfo {
    display: flex;
    padding: 5px 0;
}
.result-homeInfo label {
    width: 100px;
}
.search_link, .detail_link {
    color: #166c9d;
    text-decoration: underline;
}

.detail-header {
    padding: 0 10px;
}
.detail-keywordSearch-form {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin-left: 40px;
    position: relative;
    bottom: 20px;
}
.detail-keywordSearch-input {
    background: #fff;
    // color: #aaa;
    color: #000;
    border: 1px solid #aaa;
    width: 250px;
    border-radius: 5px;
}
.detail-keywordSearch-button {
    background: #e9e9e9;
    color: #000;
    padding: 0 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
}
.detail-summary {
    margin: 20px 5px;
}
#googleMap {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
}
.googleMap-item {
    width: 49%;
    height: 300px;
}
.detail-chart {
    width: 300px;
    margin-bottom: 20px;
}
#detail-tab {
    display: flex;
    border-bottom: 2px solid #ffa500;
}
#detail-tab li {
    width: 20%;
}
.detail-tab-item {
    display: inline-block;
    width: 100%;
    padding: 5px 0;
    background-color: darkgray;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    text-align: center;
}
.currentTab {
    background-color: #ffa500;
}
.tab-content {
    padding: 0px 1px;
    overflow: hidden;
}
.tab-content h2 {
    margin: 20px 0 10px;
}
.contents-table {
    border-collapse: collapse;
    width: 100%;
}
.contents-table  th{
    border: 1px solid #d6dfe5;
    background: #fbecd7;
    padding: 5px 10px;
    font-weight: bold;
}
.contents-table  td{
    border: 1px solid #d6dfe5;
    background: #fff;
    padding: 5px 10px;
}
#kuchikomi_button,
#kuchikomi_submit_button {
    min-width: 240px;
    margin: 20px auto;
    display: block;
    padding: 10px;
    font-weight: bold;
    border: 1px solid gray;
    border-radius: 5px;
}
.detail-kuchikomi-summary {
    padding: 10px 0;
}
.detail-kuchikomi {
    margin: 15px 0;
    padding: 20px 15px;
    border: 1px solid darkgray;
}
.detail-kuchikomi-user {
    padding-bottom: 10px;
    border-bottom: 1px solid darkgray;
}
.detail-kuchikomi .star-line {
    margin: 10px 0;
}
#kuchikomi_area div {
    padding: 10px 0;
}
#kuchikomi_area label {
    display: inline-block;
    width: 200px;
    text-align: right;
}
.kuchikomi_area_input {
    width: 400px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 5px;
}
#kuchikomi_area textarea {
    width: 400px;
    height: 300px;
    border: 1px solid #000;
    border-radius: 5px;
}
#rule, #owner, #privacy {
    margin: 20px auto;
    padding: 15px;
    border: 1px solid darkgray;
}
.rule-p-title,
.privacy-p-title {
    margin: 15px 0 10px;
}
.rule-elem a,
.privacy-elem a {
    color: #166c9d;
    text-decoration: underline;
}
#rule ul {
    list-style: inherit;
    margin: 10px 0 10px 30px;
}
.rule-elem,
.privacy-elem {
    overflow-wrap: break-word;
}
footer {
    padding: 30px 0;
    text-align: center;
    display: block;
    background: #f2f2f2;
    color: #555;
    border-top: 1px solid #fff;
}
.footerMenu {
    margin: 30px 0 10px;
}
.footerMenu li {
    display: inline;
    padding: 0 5px;
}

/* 掲示板 */
.border-bottom-dot {
    border-bottom: 1px dotted #a4a7ab;
}
.new-postForm {
    max-width: 500px;
}
    .new-postForm .postForm-header {
        display: block;
        border-bottom: 1px dotted #a4a7ab;
        margin-bottom: 0.5rem;
    }
@media screen and (max-width: 1024px) {

}


/* 都道府県別一覧ページ */
.pref-category {
    position: relative;
}
.pref-category-name {
    display: inline;
    font-size: 1.5em;
    color: #0077cc;
}
.pref-category-hits {
    display: inline;
    padding-left: 5px;
}
.pref-page-name {
    width: 100%;
    text-align: center;
}
.pref-page-hits {
    display: block;
    width: 100%;
    text-align: right;
}
.pref-home {
    border: 1px solid #ff8c00;
    border-left: 22px solid #ff8c00;
    border-radius: 5px;
    padding: 10px;
    padding-bottom: 30px;
    margin-bottom: 5px;
    cursor: pointer;
}
    .pref-home:hover {
        box-shadow: 0 0 5px #ff8c00;
    }
.pref-home-name {
    color: #0077cc;
}


/* 管理画面 */
.loginHeader {
    padding: 0 10px;
}
.loginTitle {
    text-align: center;
    padding: 10px 0;
}
#loginForm {
    text-align: center;
}
.loginForm-item {
    padding: 5px 0;
}
.loginForm-label {
    display: inline-block;
    width: 100px;
}
.loginForm-input {
    width: 300px;
}
.loginForm-submit {
    padding: 5px 10px;
}

/* dashboard common */
.dashboard-container {
    max-width: 1200px;
}
/*
.dashboard-left-menu {
    border-radius: 0.25rem;
    background-color: #e3e3e3;
    border-color: #e3e3e3;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
}
*/
.dashboard-left-menu {
    border: 1px solid #ff8c00;
    border-left: 15px solid #ff8c00;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}
    .dashboard-left-menu:hover {
        box-shadow: 0 0 5px #ff8c00;
    }
    .dashboard-left-menu.top {
        margin-top: 22px;
    }
    @media (max-width: 960px){
    .dashboard-left-menu.top {
        margin-top: 0;
    }
    }
    .dashboard-left-menu a {
        display: block;
    }

/* dashboard ip-address */
.table-ip {
    border-collapse: collapse;
    width: 100%;
}
    .table-ip th, .table-ip td {
        border: 1px solid #d0d0d0;
        min-width: 20px;
        padding: 5px 0;
    }
    .table-ip tr:nth-of-type(odd) {
        background-color: rgba(0,0,0,.05);
    }
    .table-ip tr:hover {
        background-color: rgba(0,0,0,.10);
    }

#dashboard-menu {
    float: right;
}
.dashboard-menu-item {
    display: inline-block;
}
#dashboard-main {
    max-width: inherit;
}
#dashboard-main h2 {
    margin: 10px 0;
}
#dashboard-table {
    width: 100%;
}
#dashboard-header {
    background-color: #fcd69e;
}
#csv-upload-form {
    padding: 20px 0;
}
.dashboard-link {
    color: #166c9d;
    text-decoration: underline;
}
.kuchikomi-elem {
    padding: 20px 10px;
    border-bottom: 1px solid;
}
.kuchikomi-insert_at {
    font-size: 0.8em;
}
.kuchikomi-name {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}
.kuchikomi-content {
    margin: 10px 0;
}
.kuchikomi-elem label {
    font-weight: bold;
    font-size: 0.9em;
    border-bottom: 1px solid;
}
.kuchikomi-delete {
    margin: 10px 0;
}
.kuchikomi-delete-button {
    padding: 3px 5px;
}
#nursing_home_image {
    height: 250px;
    margin-bottom: 15px;
    overflow: hidden;
}
.nursing_home_tr {
    padding: 10px 0;
}
.nursing_home_th {
    width: 200px;
    padding: 0 10px;
    text-align: right;
}
.nursing_home_th_quarter {
    width: 80px;
    padding: 0 10px;
    text-align: right;
}
.nursing_home_input {
    width: 500px;
}
.nursing_home_input_half {
    width: 250px;
}
.nursing_home_input_quarter {
    width: 100px;
}
.nursing_home_keyword {
    width: 100%;
    height: 250px;
}
.error {
    color: red;
}
.url {
    overflow-wrap: anywhere;
}
.w50 {
    width: 50px;
}
.w100 {
    width: 100px;
}
.w200 {
    width: 200px;
}
.w300 {
    width: 300px;
}
.minw300 {
    min-width: 300px;
}
.w100per {
    width: 100%;
}


@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 896px) {

}
@media screen and (max-width: 480px) {
    .sp-show {
        display: block;
    }
    .logo {
        width: 200px;
    }
    .topHeader h1 {
        font-size: 2em;
    }
    .h2Title {
        font-size: 1.4em;
    }
    .link-right {
        line-height: inherit;
    }
    .keywordSearch-form {
        padding: 20px;
    }
    .homeList {
        overflow: scroll;
    }
    .homeList-elem {
        width: 180px;
        margin: 0 3px 20px;
        flex-shrink: 0;
    }
    .homeName {
        height: auto;
        padding: 0 10px;
        font-size: 1.2em;
    }
    .rankingCount {
        width: 32px;
        height: 27px;
        font-size: 15px;
    }
    .rankingCount::after {
        top: 26px;
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
    }
    .pickup-homeName {
        font-size: 1.5em;
    }
    .pickup-content,
    .result-homeContent {
        display: block;
    }
    .pickup-img,
    .result-img{
        width: 100%;
        margin: 0
    }
    .pickup-kuchikomi {
        width: 100%;
    }
    .pickup-kuchikomi-title {
        margin-top: 15px;
    }
    .pickup-kuchikomi-content {
        height: auto;
    }
    .search-form {
        padding: 20px 15px 30px;
    }
    .result-homeInfo {
        display: block;
    }
    .result-homeInfo label {
        display: block;
        width: auto;
        margin-bottom: 5px;
        border-bottom: 1px solid #d6dfe5;
    }
    .detail-keywordSearch-form {
        display: block;
        height: auto;
        margin: 10px 0;
        position: inherit;
        padding-bottom: 15px;
    }
    #googleMap {
        display: block;
    }
    .googleMap-item {
        width: 100%;
        height: 200px;
        margin-bottom: 10px;
    }
    .detail-chart {
        margin: 0 auto 20px;
    }
    #detail-tab li {
        width: 33%;
    }
    .detail-tab-item {
        height: 100%;
        padding: 5px 15px;
    }
    #kuchikomi_area div {
        padding: 5px 0;
    }
    #kuchikomi_area label {
        display: block;
        width: 100%;
        text-align: left;
    }
    .kuchikomi_area_input {
        width: 100%;
    }
    #kuchikomi_area textarea {
        width: 100%;
    }
    #rule, #owner, #privacy {
        margin: 10px;
    }
}