/* Styles are scoped to the three Tenjin options pages. */
.tenjin-options-page-title h1 {
    width: 100%;
    margin: 0 0 .5em;
    color: #000;
    font-size: 2em;
    font-weight: 600;
    line-height: 1.35;
}

.tenjin-options-page-title h1 span {
    display: block;
    color: #2ca5ac;
    font-family: "Roboto", sans-serif;
    font-size: .6em;
    font-weight: 600;
    letter-spacing: .2em;
}

.tenjin-options {
    padding: 0 20px 80px;
}

.tenjin-options__main {
    box-sizing: border-box;
}

.tenjin-options__intro {
    max-width: 920px;
    margin: 0 auto 50px;
    text-align: center;
}

.tenjin-options__intro h2 {
    width: auto;
    margin: 0 0 20px;
    color: #243746;
    font-size: 2rem;
    line-height: 1.5;
}

.tenjin-options__intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 2;
}

.tenjin-options-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    margin: 0 auto 48px;
    padding: 0;
    border: 1px solid #2ca5ac;
    background: #2ca5ac;
}

.tenjin-options-tabs__item {
    position: relative;
    display: flex;
    min-height: 86px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 52px 16px 24px;
    background: #fff;
    color: #243746;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.tenjin-options-tabs__item::after {
    position: absolute;
    right: 24px;
    content: '›';
    color: #2ca5ac;
    font-size: 2rem;
    line-height: 1;
}

.tenjin-options-tabs__item:hover,
.tenjin-options-tabs__item:focus-visible,
.tenjin-options-tabs__item.is-active {
    background: #2ca5ac;
    color: #fff;
}

.tenjin-options-tabs__item:hover::after,
.tenjin-options-tabs__item:focus-visible::after,
.tenjin-options-tabs__item.is-active::after {
    color: #fff;
}

.tenjin-options-tabs__item span {
    margin-bottom: 3px;
    color: #2ca5ac;
    font-family: "Roboto", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.tenjin-options-tabs__item:hover span,
.tenjin-options-tabs__item:focus-visible span,
.tenjin-options-tabs__item.is-active span {
    color: #fff;
}

.tenjin-options-tabs__item strong {
    font-size: 1.3rem;
    line-height: 1.35;
}

.tenjin-options-section {
    margin-top: 64px;
}

.tenjin-options-section > h2 {
    width: auto;
    margin: 0 0 28px;
    padding: 0 0 14px;
    border-bottom: 3px solid #2ca5ac;
    color: #243746;
    font-size: 2rem;
    line-height: 1.4;
}

.tenjin-options-section > h2 span {
    display: block;
    margin-bottom: 3px;
    color: #2ca5ac;
    font-family: "Roboto", sans-serif;
    font-size: .45em;
    letter-spacing: .16em;
}

.tenjin-options-section > h3 {
    margin: 38px 0 16px;
    padding: 12px 18px;
    border-left: 5px solid #2ca5ac;
    background: #f2f7f7;
    color: #243746;
    font-size: 1.35rem;
}

.tenjin-room-filter {
    margin: 0 0 34px;
    padding: 26px;
    border-radius: 10px;
    background: #f5f7f7;
}

.tenjin-room-filter h3 {
    margin: 0 0 18px;
    color: #243746;
    font-size: 1.2rem;
    text-align: left;
}

.tenjin-room-filter__buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.tenjin-room-filter__buttons button {
    min-height: 52px;
    padding: 10px 8px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .08);
    color: #2ca5ac;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.tenjin-room-filter__buttons button:hover,
.tenjin-room-filter__buttons button:focus-visible {
    border-color: #2ca5ac;
}

.tenjin-room-filter__buttons button.is-active {
    border-color: #2ca5ac;
    background: #2ca5ac;
    color: #fff;
}

.tenjin-room-filter__status {
    margin: 18px 0 0;
    color: #52636f;
    text-align: right;
}

.tenjin-room-filter__status strong {
    color: #243746;
    font-size: 1.15em;
}

.tenjin-category-tabs {
    margin-bottom: 22px;
}

.tenjin-category-tabs ul {
    gap: 2.5%;
}

.tenjin-category-tabs li {
    padding: 0;
}

.tenjin-category-tabs li button {
    width: 100%;
    min-height: 62px;
    padding: 12px 8px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: inherit;
}

.tenjin-category-tabs li.goods_active {
    background: #2ca5ac;
    color: #fff;
}

.tenjin-category-tabs li:focus-within {
    border-color: #2ca5ac;
    outline: 2px solid #2ca5ac;
    outline-offset: 2px;
}

.tenjin-rental-goods {
    margin-bottom: 0;
}

.tenjin-equipment-category + .tenjin-equipment-category {
    margin-top: 42px;
}

.tenjin-equipment-category > h3 {
    margin: 40px 0 20px;
    padding: 4px 0 4px 16px;
    border-left: 5px solid #2ca5b1;
    color: #243746;
    font-size: 1.35rem;
    text-align: left;
}

.tenjin-equipment-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.tenjin-rental-goods table {
    width: 100%;
    min-width: 800px;
}

.tenjin-rental-goods table td {
    vertical-align: middle;
}

.tenjin-rental-goods table .tenjin-rental-goods__image {
    width: 10%;
}

.tenjin-rental-goods table .tenjin-rental-goods__maker {
    width: 9.25%;
}

.tenjin-rental-goods table .tenjin-rental-goods__price {
    width: 150px;
}

.tenjin-rental-goods table td img {
    width: 100px;
    margin: 0 .5em 0 0;
    object-fit: contain;
}

.tenjin-equipment-room-tags {
    display: none;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.tenjin-rental-goods.is-all-rooms .tenjin-equipment-room-tags {
    display: flex;
}

.tenjin-equipment-room-tags em {
    display: inline-block;
    padding: 3px 7px;
    border: 1px solid #2ca5ac;
    border-radius: 999px;
    background: #f2fbfb;
    color: #167f86;
    font-size: .72rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.tenjin-rental-goods table p {
    margin: 0;
}

.tenjin-rental-goods__price {
    white-space: nowrap;
}

[data-equipment-row][hidden],
[data-equipment-category][hidden] {
    display: none !important;
}

.tenjin-options-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d9e0e3;
}

.tenjin-options-table {
    width: 100%;
    min-width: 850px;
    border: 0;
    border-collapse: collapse;
    background: #fff;
}

.tenjin-options-table th,
.tenjin-options-table td {
    box-sizing: border-box;
    padding: 16px 14px;
    border: 0;
    border-bottom: 1px solid #d9e0e3;
    vertical-align: middle;
    line-height: 1.7;
}

.tenjin-options-table thead th {
    background: #d8eef0;
    color: #243746;
    font-weight: 700;
    text-align: center;
}

.tenjin-options-table tbody tr:nth-child(even) {
    background: #f7f8f8;
}

.tenjin-options-table tbody th {
    width: 19%;
    color: #188e98;
    font-weight: 600;
    text-align: left;
}

.tenjin-options-table__image {
    width: 105px;
    text-align: center;
}

.tenjin-options-table__image img {
    width: 80px;
    height: 64px;
    object-fit: contain;
}

.tenjin-options-table__noimage {
    display: inline-flex;
    width: 80px;
    height: 64px;
    align-items: center;
    justify-content: center;
    background: #edf2f3;
    color: #9aa7ad;
    font-size: .62rem;
    letter-spacing: .08em;
}

.tenjin-options-table__price {
    width: 150px;
    text-align: right;
    white-space: nowrap;
}

.tenjin-options-table__price strong,
.tenjin-options-table__price small {
    display: block;
}

.tenjin-options-table__price small {
    margin-top: 3px;
    color: #52636f;
}

.tenjin-options-table p {
    margin: 0;
}

.tenjin-options-notes {
    margin: 24px 0 0;
    padding: 20px 24px 20px 44px;
    background: #f5f6f7;
    color: #52636f;
    line-height: 1.8;
}

.tenjin-support-list {
    border-top: 1px solid #d9e0e3;
}

.tenjin-support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 32px;
    align-items: start;
    padding: 30px 18px;
    border-bottom: 1px solid #d9e0e3;
    text-align: left;
}

.tenjin-support-card h3 {
    margin: 0 0 10px;
    color: #243746;
    font-size: 1.35rem;
}

.tenjin-support-card p {
    margin: 0;
    line-height: 1.8;
}

.tenjin-support-card__lead {
    margin-bottom: 8px !important;
    color: #188e98;
    font-weight: 600;
}

.tenjin-support-card__fee {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 10px;
    border: 1px solid #b9d8da;
    background: #f3fbfb;
    color: #243746;
    font-weight: 600;
    text-align: left;
}

.tenjin-support-card__fee span {
    display: block;
    margin-bottom: 3px;
    color: #52636f;
    font-size: .78rem;
    font-weight: 400;
}

.tenjin-support-card__fee strong {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.55;
}

.tenjin-support-card__fee strong.is-primary {
    color: #243746;
    font-size: .92rem;
    font-weight: 700;
}

.tenjin-support-card__fee strong + strong {
    margin-top: 4px;
    color: #52636f;
}

.tenjin-options-crosslink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 70px;
    padding: 30px 36px;
    background: #243746;
    color: #fff;
}

.tenjin-options-crosslink div > span,
.tenjin-options-crosslink div > strong {
    display: block;
}

.tenjin-options-crosslink div > span {
    margin-bottom: 7px;
    color: #7ad5d9;
    font-family: "Roboto", sans-serif;
    font-size: .8rem;
    letter-spacing: .16em;
}

.tenjin-options-crosslink div > strong {
    font-size: 1.25rem;
}

.tenjin-options-crosslink a {
    flex: 0 0 auto;
    padding: 14px 28px;
    background: #2ca5ac;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.tenjin-options-crosslink a:hover,
.tenjin-options-crosslink a:focus-visible {
    background: #238e94;
}

@media (max-width: 767px) {
    .tenjin-options-page-title h1 {
        font-size: 1.6em;
    }

    .tenjin-options {
        padding: 0 15px 50px;
    }

    .tenjin-options__intro {
        margin-bottom: 36px;
        text-align: left;
    }

    .tenjin-options__intro h2,
    .tenjin-options-section > h2 {
        font-size: 1.45rem;
    }

    .tenjin-options__intro p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .tenjin-options-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 32px;
    }

    .tenjin-options-tabs__item {
        min-height: 72px;
        padding: 12px 30px 12px 10px;
    }

    .tenjin-options-tabs__item::after {
        right: 10px;
        font-size: 1.6rem;
    }

    .tenjin-options-tabs__item strong {
        font-size: 1rem;
    }

    .tenjin-options-section {
        margin-top: 46px;
    }

    .tenjin-options-section > h3 {
        margin-top: 28px;
        font-size: 1.15rem;
    }

    .tenjin-room-filter {
        padding: 18px 14px;
    }

    .tenjin-room-filter__buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .tenjin-room-filter__buttons button {
        min-height: 46px;
        padding: 8px 4px;
        font-size: .85rem;
    }

    .tenjin-room-filter__status {
        text-align: left;
    }

    .tenjin-category-tabs ul {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tenjin-category-tabs li {
        width: calc(50% - 4px);
        font-size: .85rem;
    }

    .tenjin-category-tabs li button {
        min-height: 52px;
        padding: 8px 4px;
    }

    .tenjin-rental-goods {
        padding: 14px;
    }

    .tenjin-options-table th,
    .tenjin-options-table td {
        padding: 12px 10px;
    }

    .tenjin-support-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 24px 5px;
    }

    .tenjin-support-card__fee {
        grid-column: 1;
        justify-self: stretch;
        min-width: 0;
    }

    .tenjin-options-crosslink {
        align-items: stretch;
        flex-direction: column;
        padding: 26px 22px;
    }

    .tenjin-options-crosslink a {
        text-align: center;
    }
}
