@charset "utf-8";

/* MEMBERS CSS ================================= */

/* page lead */
#members__lead p.lead-text {
    text-align: center;
    line-height: 2;
    margin: 0 0 48px;
    padding: 0;
}

#members__lead p.lead-text span {
    display: block;
    font-size: 14px;
}

.members-search__keyword label,
.members-search__category p {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 8px;
    padding: 0;
}

.members-search__keyword label i,
.members-search__category p i {
    margin-right: 16px;
}

.members-search__keyword {
    margin-bottom: 48px;
}

.members-search__keyword div {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    display: flex !important;
    justify-content: space-between !important;
    /*margin-bottom: 8px;*/
}

.members-search__keyword div a,.members-search__keyword .keyword-search{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #333;
    border-radius: 8px;
    width: 96px;
    height: 48px;
    transition: all 0.6s ease;
    margin-left: 8px;
}

.members-search__keyword .is-search-input {
	width:calc(100% - 95px) !important;
	 height: 48px !important;
	 border-radius:8px !important;
	 font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif !important;
    font-weight: 500 !important;
	font-size:16px !important;
}

.members-search__keyword input[type="search"]
{
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
}

.members-search__keyword input[type="search"]
{
    font-size:16px !important;
}

.members-search__keyword .is-search-input::placeholder {
	 font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif !important;
    font-weight: 500 !important;
	font-size:1rem !important;
}

.members-search__keyword input.is-search-submit{
    color: #fff !important;
    background-color: #333 !important;
    border-radius: 8px !important;
    width: 90px !important;
    height: 48px !important;
    transition: all 0.6s ease !important;
    margin-left: 8px !important;
	padding: 0px !important;
	font-size:1rem !important;
}

.is-search-form
{
	width:100% !important;
	padding: 0px !important;
	margin-bottom: 0px !important;
}


.members-search__keyword p {
    font-size: 14px;
}

.members-category {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    margin: 0 auto;
}

.members-category__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #333;
    border-radius: 8px;
    width: auto;
    height: 48px;
    transition: all 0.6s ease;
}

.members-category__item.active,
.members-category__item:hover {
    opacity: 1;
    background: firebrick;
}

#members {
    padding-bottom: 120px;
}

@media (max-width: 576px) {
    #members__lead p.lead-text {
        text-align: left;
        font-size: 14px;
        margin: 0 0 32px;
    }

    #members__lead p.lead-text span {
        display: block;
        font-size: 12px;
    }

    .members-search__keyword {
        margin-bottom: 32px;
    }

    .members-search__keyword p {
        font-size: 12px;
    }

    .members-category {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .members-category__item {
        font-size: 14px;
        margin: 0 4px;
    }

    #members {
        padding-bottom: 60px;
    }
}

.search-result {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 40px;
    padding: 0;
}

.search-result i {
    margin-right: 16px;
}

/* members list */
.members-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px 32px;
}

.members-list__item {
    display: flex;
    flex-direction: column;
    max-width: 256px;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    margin: 0 auto;
}

.members-list__item--inner {
    flex-grow: 1;
}

.members-list__item .category-icon {
    display: inline-block;
    border-radius: 4px 4px 0 0;
    background: #333;
    font-weight: 500;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
}

.members-list__item--img {
    margin-bottom: 16px;
}

.members-list__item--img img {
    width: 100%;
    object-fit: cover;
}

.members-list__item--ttl {
    font-weight: 700;
    /* font-size: 18px; */
    text-align: justify;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.members-list__item--sitelink {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
}

.members-list__item--sitelink span {
    margin: 0 10px 0 6px;
}

.members-list__item--modal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    color: firebrick;
    background: #fff;
    border-top: 2px solid firebrick;
    border-bottom: 2px solid firebrick;
    border-left: none;
    border-right: none;
    padding: 8px 4px;
    /* margin-bottom: 12px; */
}

.members-list__item--modal i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: firebrick;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.members-list__item--modal:hover {
    background: whitesmoke;
}

@media (max-width: 1168px) {
    .members-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 48px 24px;
        width: calc(256px * 3 + 48px);
        margin: 0 auto;
    }
}

@media (max-width: 864px) {
    .members-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 24px;
        width: calc(256px * 2 + 48px);
        margin: 0 auto;
    }
}

@media (max-width: 584px) {
    .members-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 48px 24px;
        font-size: 14px;
        width: 256px;
        margin: 0 auto;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .members-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 48px 24px;
        font-size: 14px;
    }
}



/* modal */
.modal-content {
    padding: 16px;
}

.modal-content,
.modal-title {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 14px;
    color: #999;
}

/* modal-body */
.modal-body__ttl {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.modal-body__img {
    margin: 24px 0;
}

.modal-body__img img {
    width: 100%;
    object-fit: cover;
}

.modal-body__list {
    font-weight: 500;
}

.modal-body__list div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-bottom: 1px dotted #ccc;
    padding: 12px 0;
}

.modal-body__list div dt,
.modal-body__list div dd {
    margin: 0;
    padding: 0;
}

.modal-body__list div dt {
    font-weight: normal;
    width: 120px;
}

.modal-body__list div dd {
    width: calc(100% - 120px);
}

.modal-body__list div dd a {
    color: firebrick;
    text-decoration: underline;
    overflow-wrap: break-word;
}

.modal-body__list div dd a:hover {
    color: darkred;
    opacity: 1;
}

/* modal-footer */
.modal-footer {
    border-top: none;
}

.modal-footer button {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background: #333;
    margin: 0 auto;
    padding: 8px 24px;
}

.modal-footer button:hover {
    color: #fff;
    background: #333;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin-top: 72px;
    }

    .modal-content {
        padding: 0;
    }

    .modal-body__img {
        margin: 16px 0;
    }

    .modal-body__list {
        font-size: 14px;
    }

    .modal-body__list div {
        padding: 8px 0;
    }

    .modal-body {
        padding-top: 0;
        padding-bottom: 0;
    }

    .modal-footer {
        padding-top: 0;
    }
}

@media (max-width: 400px) {
    .modal-header {
        padding-bottom: 8px;
    }

    .modal-title {
        font-weight: 600;
        font-size: 12px;
        color: #999;
    }

    .modal-body__ttl {
        font-size: 16px;
    }

    .modal-body__img {
        margin: 8px 0;
    }

    .modal-body__list {
        font-size: 12px;
    }

    .modal-body__list div {
        padding: 6px 0;
    }

    .modal-body__list div dt {
        font-weight: normal;
        width: 90px;
    }

    .modal-footer button {
        font-weight: 500;
        font-size: 12px;
        color: #fff;
        background: #333;
        margin: 0 auto;
        padding: 0 12px;
        height: 24px;
    }
}

a.member-photo
{
	cursor: pointer !important;
}