@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   Service Key Visual
======================================== */
.service-kv {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.service-kv > .wp-block-columns {
    align-items: center;
    margin-bottom: 0 !important;
    gap: 2rem;
}

.service-kv .service-kv__text {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.service-kv .service-kv__title {
    font-size: clamp(2rem, 3.5vw, 45px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
}

.service-kv .service-kv__subtitle {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.service-kv .service-kv__image figure {
    margin: 0;
}

.service-kv .service-kv__image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 599px) {
    .service-kv .service-kv__text {
        text-align: center;
        padding-bottom: 0;
    }
}

/* ========================================
   Top Page Key Visual
======================================== */
/* service-kv / top-kv があるページはSWELLのデフォルトタイトルを非表示 */
.has-custom-kv .c-pageTitle,
.has-custom-kv .l-topTitleArea {
    display: none !important;
}

.has-custom-kv .l-content {
    padding-top: 0 !important;
}

.top-kv {
    padding-top: 5rem !important;
    padding-bottom: 4rem !important;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.top-kv__badges {
    margin-bottom: 0 !important;
}

.top-kv__badge {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 100px;
    padding: 0.3rem 1rem;
    background: #fff;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.top-kv__title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.top-kv__desc {
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .top-kv {
        text-align: left;
        padding-top: 7rem !important;
        padding-bottom: 6rem !important;
    }
}

/* ========================================
   汎用シャドウカード
======================================== */
.shadow-card-row {
    gap: 1.5rem !important;
    align-items: stretch;
}

.shadow-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    height: 100%;
}

.shadow-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}

/* カード全体リンク用オーバーレイ。カスタムHTMLブロックで <a class="shadow-card__overlay" href="URL"></a> を追加して使う */
.shadow-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

