html, body {
    font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
}

body {
    background-color: #c8c9ca;
}

.container {
    max-width: 800px;
}

body.type1 {
    background-color: #c8c9ca;
}

body.type2 {
    background-color: #e5d1e5;
}

body.type3 {
    background-color: #9fc1a9;
}

body.type4 {
    background-color: #d3cfb3;
}

body.type5 {
    background-color: #bad1e0;
}

body.type6 {
    background-color: #bd9e9d;
}

body.type7 {
    background-color: #b8c9a2;
}

body.type8 {
    background-color: #b0a8c0;
}

body.type9 {
    background-color: #ddd09c;
}

body.search {
    background-color: #efb7cf;
}

#category-title {
    text-align: center;
    border-bottom: 1px solid #2d2d2d;
    padding-bottom: 10px;
}

.search-keyword {
    font-size: 18px;
/*    height: 42px;*/
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px solid #2d2d2d;
    padding-bottom: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-keyword::before {
    content: '検索キーワード：';
    display: inline-block;
    margin-right: 10px;
}

#person-list {
    padding-bottom: 40px;
}

.person-list-item {
    padding: 15px;
    background-color: #ffffff;
    margin-bottom: 20px;
    overflow: hidden;
}

#person-list > .person-list-item:last-child {
    margin-bottom: 0px;
}

.person-type {
    margin-bottom: 30px;
    text-align: center;
}

.person-type a {
    display: inline-block;
    margin-right: 15px;
    overflow: hidden;
}

.person-type a:last-child {
    margin-right: 0px;
}

.person-type img {
    height: 60px;
    vertical-align: bottom;
}


.person-left {
    width: 200px;
    float: left;
    margin-right: 25px;
}

.person-right {
    width: calc(100% - 200px - 25px);
    float: right;
}

.person-img {
    width: 100%;
    border: 1px solid #000000;
    margin-bottom: 10px;
}

.person-img img {
    width: 100%;
    vertical-align: bottom;
}

.person-star img {
    width: 25px;
}

.person-data {
    position: relative;
    padding-left: 40px;
    font-size: 19px;
    line-height: 26px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #dddddd;
    padding-bottom: 3px;
}

.person-data.person-no {
    padding-left: 65px;
}

.person-data-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
}

.person-data-label.description {
    top: 20px;
}

.person-description {
    clear: both;
    position: relative;
    padding-top: 45px;
    margin-top: 0px;
    margin-bottom: 10px;
    min-height: 200px;
}

.person-description p {
    font-size: 19px;
    padding-bottom: 0.1em;
    background-color: #fff;
    background-image: linear-gradient(to right, #fff 1.1px, transparent 1px), linear-gradient(to bottom, #dddddd 1.1px, transparent 1px);
    background-size: 2px 2.2em;
    line-height: 2.2;
}

.person-homepage {
    margin-bottom: 20px;
}

.homepage-btn {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    background-color: rgb(255, 51, 0);
    display: inline-block;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
}

.person-mail {
    font-size: 26px;
    margin-bottom: 15px;
}

.person-mail img {
    height: 50px;
    margin-right: 15px;
    vertical-align: bottom;
}

.person-mail a {
    color: #000000;
}

.tap-icon {
    width: 42px;
    height: 42px;
    vertical-align: middle;
}

.person-contact {
    max-width: 100%;
    margin-top: 50px;
}

.person-contact-data {
    font-size: 26px;
    vertical-align: middle;
    padding-right: 15px;
}

.person-contact > tr > .person-contact-data:last-child {
    padding-right: 0px;
}

.person-contact-data.person-contact-num {
    padding-right: 15px;
}

.person-contact-num a {
    display: block;
    font-size: 24px;
    color: #000000;
    text-decoration: none;
}

.tel-label {
    position: relative;
    top: 3px;
}

.person-contact-num .tap-icon {
    margin-right: 10px;
}

.return-top {
    text-align: center;
    margin-bottom: 30px;
}

.return-top a {
    color: #2d2d2d;
}

footer .copyright {
    font-size: 14px;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #000000;
}

.error-message {
    padding: 20px 10px;
    text-align: center;
}

@media screen and (max-width: 767px){
    #person-list {
        padding-bottom: 15px;
    }
    
    .person-type img {
        height: 40px;
    }
    
    .person-left,
    .person-right {
        float: none;
        width: 100%;
    }
    
    .person-left {
        margin-bottom: 20px;
    }
    
    .person-data,
    .person-data.person-no,
    .person-description {
        padding-left: 0;
        font-size: 18px;
    }
    
    .person-data-label {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        line-height: normal;
        position: static;
        border-bottom: 1px dashed #dddddd;
    }
    
    .person-data-label.description {
        border-bottom: none;
    }
    
    .person-description {
        padding-top: 0;
        min-height: 0;
        margin-bottom: 50px;
    }
    
    .person-mail {
        margin-bottom: 5px;
    }
    
    .person-mail img {
        margin-right: 15px;
        margin-left: 5px;
        vertical-align: bottom;
    }
    
    .person-contact {
        float: none;
        width: 100%;
        overflow: hidden;
    }
    
    .person-contact-data {
        display: block;
        padding-right: 0;
        float: left;
        margin-right: 15px;
    }

    .person-contact tr .person-contact-data:last-child {
        margin-right: 0px;
    }

    .person-contact-data.person-contact-num {
        width: 100%;
        float: none;;
        padding-right: 0;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .person-contact-data.person-contact-num.mobile {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 768px){
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}