@charset "UTF-8";

/* -------------------------
    このファイルは services.html（07_サービスを探す）専用のスタイルです。
    ヘッダー・フッター・共通ボタン・共通見出し（.c-heading）・
    ヒーロー波形マスク（.c-photo-wave-mask）は css/common.css を参照しています。
    絞り込みUI・カードのレイアウト思想は facilities.html（05_施設を探す）に合わせています。
------------------------- */

:root {
    --color-tag: #C4A865;
}

.l-main {
    min-width: 1000px;
    background: var(--color-cream);
}


/* -------------------------
    ページタイトル（ヒーロー）
------------------------- */

.services-hero {
    position: relative;
    width: 100%;
    height: 473px;
    overflow: hidden;
}

.services-hero__photo {
    position: absolute;
    inset: 0;
    background-color: var(--color-yellow);
}

.services-hero__inner {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.services-hero__title {
    position: absolute;
    left: 220px;
    top: 231px;
    margin: 0;
    color: #000;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 5px;
}

.services-hero__lead {
    position: absolute;
    left: 220px;
    top: 319px;
    margin: 0;
    color: #000;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

.services-hero__illust {
    position: absolute;
    left: 1045px;
    top: 262px;
    width: 241px;
    height: auto;
}


/* -------------------------
    絞り込み検索
------------------------- */

.services-search {
    padding: 100px 20px 90px;
}

.services-search__inner {
    max-width: 1136px;
    margin: 0 auto;
}

.services-search .c-search-panel__row + .c-search-panel__row {
    padding-top: 0;
    border-top: none;
}

/* -------------------------
    サービス一覧
------------------------- */

.services-list {
    padding: 0 20px 400px;
}

.services-list__inner {
    max-width: 1136px;
    margin: 0 auto;
}

.services-list__group {
    position: relative;
    margin-bottom: 70px;
}

.services-list__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin: 0 0 50px;
    padding: 0 30px;
    background: var(--color-orange);
    border-radius: 100px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.services-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 5px rgba(152, 124, 82, 0.1);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.service-card a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card a:hover .service-card__photo {
    transform: scale(1.08);
}

.service-card__photo--placeholder {
    object-fit: contain;
    padding: 40px 40px 111px;
    background: var(--color-cream);
}

.service-card__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 71px;
    padding: 0 30px;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.service-card__name {
    overflow: hidden;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-card__arrow {
    flex-shrink: 0;
    width: 33px;
    height: 33px;
}

.service-card--placeholder,
.service-card--placeholder-photo {
    background-color: #D9D9D9;
}

.service-card--placeholder .service-card__comingsoon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.service-card--placeholder-photo .service-card__comingsoon {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
}

.service-card__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.service-card__note {
    color: var(--color-orange);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.service-card__comingsoon {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.services-list__group--with-bubble {
    position: relative;
    padding-top: 10px;
}

.services-list__group--pt-lg {
    padding-top: 50px;
}

.services-bubble {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 349px;
    aspect-ratio: 349 / 102;
    margin: 0 0 20px 60px;
    top: -15px;
    left: 190px;
    padding: 8px 24px 26px;
    background: url("../images/services/deco_bubble_new_service.svg") no-repeat center / 100% 100%;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 0.85px;
    color: #ff6d33;
    text-align: center;
}

.services-bubble--sm {
    position: absolute;
    top: 40px;
    left: 190px;
    width: 169px;
    aspect-ratio: 169 / 112;
    z-index: 2;
    padding: 6px 12px 22px;
    background-image: url("../images/services/deco_bubble_wakuwaku.svg");
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.9px;
}

.services-list__more {
    display: flex;
    margin: 150px auto 0;
}
